1 2013-02-19 Jakub Jelinek <jakub@redhat.com>
3 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9 * stdlib/tst-tls-atexit-lib.c: Likewise.
10 * stdlib/tst-tls-atexit.c: Likewise.
12 2013-02-18 Mike Frysinger <vapier@gentoo.org>
14 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
15 and __attribute_alloc_size__.
17 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19 * include/programs/xmalloc.h: Change __attribute_alloc_size to
20 __attribute_alloc_size__.
21 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24 2013-02-18 Mike Frysinger <vapier@gentoo.org>
26 * include/programs/xmalloc.h: New file.
27 * catgets/gencat.c: Include it.
28 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
29 * elf/pldd.c: Likewise.
30 * iconv/iconv_charmap.c: Likewise.
31 * iconv/iconvconfig.c: Likewise.
32 * iconv/strtab.c: Likewise.
33 * locale/programs/locale.c: Likewise.
34 * locale/programs/localedef.h: Likewise.
35 * locale/programs/simple-hash.c: Likewise.
36 * nscd/nscd.h: Likewise.
37 * nss/makedb.c: Likewise.
38 * sysdeps/generic/ldconfig.h: Likewise.
40 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
42 * Versions.def: Add GLIBC_2.18.
43 * include/link.h (struct link_map): New member l_tls_dtor_count.
44 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
45 (__call_tls_dtors): Likewise.
46 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
47 __cxa_thread_atexit_impl.
48 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
54 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
56 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
57 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
59 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
61 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
62 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
64 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
65 (tests): Add test case tst-tls-atexit.
66 (modules-names): Add shared library for tst-tls-atexit.
67 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
68 (GLIBC_PRIVATE): Add __call_tls_dtors.
69 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
71 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
72 * stdlib/tst-tls-atexit.c: New test case.
73 * stdlib/tst-tls-atexit-lib.c: New test case.
75 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
77 * elf/Versions (ld): Add _dl_find_dso_for_object.
78 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
79 * elf/dl-open.c (_dl_find_dso_for_object): New function.
80 (dl_open_worker): Use _dl_find_dso_for_object.
81 * elf/dl-sym.c (do_sym): Likewise.
82 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
84 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
86 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
87 Syntactic changes only.
88 (_dl_runtime_profile): Do a tail-call to the resolved function.
90 2013-02-17 Joseph Myers <joseph@codesourcery.com>
93 * sysdeps/x86_64/bp-asm.h: Remove file.
94 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
95 <bp-sym.h> and <bp-asm.h>.
96 (__clone): Do not use BP_SYM.
97 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
98 <bp-sym.h> and <bp-asm.h>.
99 * sysdeps/unix/x86_64/sysdep.S: Likewise.
100 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
102 (_setjmp): Do not use BP_SYM.
103 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
105 (setjmp): Do not use BP_SYM.
106 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
108 (mempcpy): Do not use BP_SYM in weak_alias.
109 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
111 (strchr): Do not use BP_SYM.
112 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
114 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
115 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
116 (_start): Do not use BP_SYM.
117 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
119 (strcat): Do not use BP_SYM.
120 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
122 (STRCMP): Do not use BP_SYM.
123 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
125 (STRCPY): Do not use BP_SYM.
126 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
128 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
130 (FUNCTION): Do not use BP_SYM.
131 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
133 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
135 2013-02-17 Andreas Jaeger <aj@suse.de>
137 * time/Versions: Sort entries.
138 * string/Versions: Likewise.
139 * resolv/Versions: Likewise.
140 * posix/Versions: Likewise.
141 * iconv/Versions: Likewise.
142 * elf/Versions: Likewise.
143 * wcsmbs/Versions: Likewise.
145 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
147 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
148 loop termination condition.
150 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
151 variable to calculate EZ.
154 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
155 the lower precision input.
157 2013-02-15 Joseph Myers <joseph@codesourcery.com>
160 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
161 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
162 (run-via-rtld-prefix): Do not handle %-bp tests.
163 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
164 (all-object-suffixes): Remove .ob.
165 (bppfx): Remove variable.
166 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
167 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
168 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
169 [$(build-bounded) = yes] (libtype.ob): Likewise.
170 * Makerules (elide-routines.ob): Remove variable.
171 (do-tests-clean): Do not handle *-bp.out.
172 (common-mostlyclean): Do not handle *-bp and *-bp.out.
173 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
174 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
175 (tests): Do not include $(tests-bp.out).
176 (xtests): Do not include $(xtests-bp.out).
177 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
178 [$(build-bounded) = yes] ($(addprefix
179 $(objpfx),$(binaries-bounded))): Remove rule.
180 ($(objpfx)%-bp.out): Remove rule.
181 * config.make.in (build-bounded): Remove variable.
182 * crypt/Makefile [$(build-bounded) = yes]
183 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
184 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
186 [$(build-bounded) = yes] (install-lib): Likewise.
187 [$(build-bounded) = yes] (generated): Likewise.
188 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
190 * intl/Makefile [$(build-bounded) = yes]
191 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
192 * math/Makefile [$(build-bounded) = yes]
193 ($(tests:%=$(objpfx)%-bp): Likewise.
194 * misc/Makefile [$(build-bounded) = yes]
195 ($(objpfx)tst-tsearch-bp): Likewise.
196 * nptl/Makeconfig (bounded-thread-library): Remove variable.
197 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
199 * string/Makefile (o-objects.ob): Remove variable.
200 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
201 (CFLAGS-.ob): Remove variable.
202 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
203 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
204 both definitions of variable.
205 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
206 (ASFLAGS-.ob): Remove variable.
208 2013-02-14 Joseph Myers <joseph@codesourcery.com>
211 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
212 Remove __BOUNDED_POINTERS__ from condition.
213 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
214 * string/bits/string2.h [!__NO_STRING_INLINES &&
215 !__BOUNDED_POINTERS__]: Likewise.
216 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
218 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
219 Remove conditional code.
220 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
221 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
222 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
226 * csu/libc-start.c: Do not include <bp-sym.h>.
227 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
228 * elf/dl-open.c: Do not include <bp-sym.h>.
229 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
230 * math/fegetenv.c: Do not include <bp-sym.h>.
231 (fegetenv): Do not use BP_SYM in versioned symbols.
232 * nptl/sysdeps/pthread/bits/libc-lockP.h
233 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
235 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
236 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
237 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
238 (__pthread_mutex_destroy): Likewise.
239 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
240 (__pthread_mutex_lock): Likewise.
241 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
242 (__pthread_mutex_trylock): Likewise.
243 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
244 (__pthread_mutex_unlock): Likewise.
245 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
246 (__pthread_mutexattr_init): Likewise.
247 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
248 (__pthread_mutexattr_destroy): Likewise.
249 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
250 (__pthread_mutexattr_settype): Likewise.
251 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
252 (__pthread_rwlock_init): Likewise.
253 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
254 (__pthread_rwlock_destroy): Likewise.
255 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
256 (__pthread_rwlock_rdlock): Likewise.
257 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
258 (__pthread_rwlock_tryrdlock): Likewise.
259 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
260 (__pthread_rwlock_wrlock): Likewise.
261 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
262 (__pthread_rwlock_trywrlock): Likewise.
263 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
264 (__pthread_rwlock_unlock): Likewise.
265 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
266 (__pthread_key_create): Likewise.
267 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
268 (__pthread_setspecific): Likewise.
269 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
270 (__pthread_getspecific): Likewise.
271 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
273 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
274 (_pthread_cleanup_push_defer): Likewise.
275 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
276 (_pthread_cleanup_pop_restore): Likewise.
277 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
278 (pthread_setcancelstate): Likewise.
279 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
281 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
282 (memchr): Do not use BP_SYM in weak_alias.
283 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
284 (fegetenv): Do not use BP_SYM in versioned symbols.
285 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
286 (fesetenv): Do not use BP_SYM in versioned symbols.
287 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
288 (feupdateenv): Do not use BP_SYM in versioned symbols.
289 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
290 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
291 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
292 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
293 (open64): Do not use BP_SYM in weak_alias.
294 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
295 (fegetenv): Do not use BP_SYM in versioned symbols.
296 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
297 (fesetenv): Do not use BP_SYM in versioned symbols.
298 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
299 (feupdateenv): Do not use BP_SYM in versioned symbols.
300 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
301 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
302 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
303 (feraiseexcept): Do not use BP_SYM in versioned symbols.
304 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
305 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
306 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
308 (__libc_start_main): Do not use BP_SYM.
310 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
312 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
313 redundant return line.
317 (sub_magnitudes): Likewise.
323 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
327 (sub_magnitudes): Likewise.
334 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
336 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
337 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
340 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
341 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
342 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
343 of __mul for squares.
344 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
346 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
348 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
349 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
351 2013-02-13 Joseph Myers <joseph@codesourcery.com>
354 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
356 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
357 prototype or function definition. Rename ubp_* variables and
358 parameters. Remove argv definitions conditional on
359 [__BOUNDED_POINTERS__].
360 * debug/backtrace.c (__backtrace): Do not use __unbounded.
361 * elf/dl-runtime.c (_dl_fixup): Likewise.
362 * include/set-hooks.h (RUN_HOOK): Likewise.
363 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
365 * string/strcpy.c (strcpy): Do not use __unbounded.
366 * sysdeps/generic/frame.h (struct layout): Likewise.
367 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
368 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
369 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
370 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
371 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
372 (__backtrace): Likewise.
373 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
375 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
376 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
377 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
379 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
380 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
381 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
382 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
383 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
384 Do not use __unbounded.
385 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
386 Rename __unboundedrlimits parameter to rlimits in prototype.
387 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
388 Do not use __unbounded.
389 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
391 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
392 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
393 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
394 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
395 __ptrvalue or __unbounded.
396 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
397 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
399 (__new_msgctl): Do not use __ptrvalue.
400 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
402 (__libc_msgrcv): Do not use __ptrvalue.
403 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
404 startup_info): Do not use __unbounded.
405 (__libc_start_main): Likewise. Rename ubp_* variables and
406 parameters. Remove argv definitions conditional on
407 [__BOUNDED_POINTERS__].
408 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
410 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
412 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
414 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
416 (__new_shmctl): Do not use __ptrvalue.
417 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
418 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
420 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
421 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
422 (__libc_sigaction): Likewise.
423 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
424 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
426 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
428 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
430 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
432 * string/mempcpy.c: Implement by calling memcpy.
434 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
436 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
438 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
441 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
442 values in the mantissa.
444 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
445 minimize writes to Z.
446 (sub_magnitudes): Simplify code a bit.
448 2013-02-12 Roland McGrath <roland@hack.frob.com>
450 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
451 from the message. The linker prefixes all warnings with that already.
453 2013-02-12 Andreas Schwab <schwab@suse.de>
456 * posix/regexec.c (extend_buffers): Add parameter min_len.
457 (check_matching): Pass minimum needed length.
458 (clean_state_log_if_needed): Likewise.
459 (get_subexp): Likewise.
460 * posix/Makefile (tests): Add bug-regex34.
461 (bug-regex34-ENV): Define.
462 * posix/bug-regex34.c: New file.
465 * posix/regcomp.c (parse_bracket_exp): When looking up collating
466 elements compare against the byte sequence of it, not its name.
467 * posix/Makefile (tests): Add bug-regex35.
468 (bug-regex35-ENV): Define.
469 * posix/bug-regex35.c: New file.
471 2013-02-11 Tom de Vries <tom@codesourcery.com>
473 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
475 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
476 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
477 (CHECK_EOL): Add undef.
479 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
481 * bits/stdlib-bsearch.h: New file.
482 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
483 * stdlib/stdlib.h: Likewise.
485 2013-02-11 Roland McGrath <roland@hack.frob.com>
487 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
488 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
490 * manual/search.texi (Array Search Function): Add missing const in
492 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
493 declaration to use rlim_t.
494 (Basic Scheduling Functions): Remove erroneous const from
495 sched_getparam prototype. Remove erroneous * from
496 sched_get_priority_max and sched_get_priority_min prototypes.
497 (Resource Usage): Fix summary @comment on vtimes to refer to
498 sys/vtimes.h rather than vtimes.h.
499 Add missing *s in vtimes prototype.
500 (Limits on Resources): Fix ulimit prototype to return long int.
501 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
502 prototypes to use long int rather than double.
503 (BSD Random): Fix initstate and setstate to use char *, not void *.
504 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
505 prototype to make second argument 'struct aiocb64 *const[]'.
506 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
507 (Status of AIO Operations): Remove erroneous const in aio_return and
508 aio_return64 prototypes.
509 (Synchronizing I/O): Fix sync prototype to return void.
510 * manual/startup.texi (Suboptions): Remove an erroneous const in
512 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
513 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
514 use size_t rather than int.
515 (Scanning All Users): Likewise for getpwent_r.
516 (Setting Groups): Add missing const to setgroups prototype.
517 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
518 * manual/socket.texi (Host Names): Fix gethostbyaddr and
519 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
520 'const void *' rather than 'const char *'.
521 (Host Address Functions): Likewise for inet_ntop.
522 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
523 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
524 ssize_t for return value.
525 (Sending Data): Likewise for send, sendto, sendmsg.
526 (Socket Option Functions): Add a missing const in setsockopt prototype.
527 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
528 use wchar_t for the argument.
529 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
530 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
532 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
533 double/float/long double for second argument.
534 Fix return types of significand, significandf, significandl.
535 * manual/filesys.texi (Setting Permissions): Use mode_t for second
536 argument in fchmod prototype.
537 (File Owner): Use uid_t and gid_t in fchown prototype.
538 (File Times): Add const to utimes, futimes, and lutimes prototypes.
539 (Making Special Files): Use mode_t and dev_t in mknod prototype.
540 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
541 use 'const struct dirent **' as argument types to CMP function pointer
543 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
544 (File Times): Fix summary magic @comment for struct utimbuf and utime
545 to refer to utime.h, not time.h.
546 * manual/string.texi (Argz Functions): Add missing const in
547 argz_extract and argz_next prototypes.
548 (Finding Tokens in a String): Likewise for basename.
549 (String/Array Comparison): Fix typo in wcscasecmp prototype.
550 (Copying and Concatenation): Fix typo in wmemmove prototype.
551 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
552 (Signal Stack): Remove erroneous const in sigstack prototype.
553 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
555 (Simple Calendar Time): Likewise for stime.
556 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
558 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
559 say sys/sysctl.h instead.
560 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
561 and vsyslog prototypes.
563 2013-02-11 Tom de Vries <tom@codesourcery.com>
565 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
568 2013-02-11 Roland McGrath <roland@hack.frob.com>
570 * misc/sys/mman.h: Fix typo in mremap comment.
572 2013-02-08 Roland McGrath <roland@hack.frob.com>
574 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
577 2013-02-08 Joseph Myers <joseph@codesourcery.com>
580 * debug/segfault.c: Don't include <bp-checks.h>.
581 * sysdeps/generic/bp-checks.h: Remove file.
582 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
583 (__GETDENTS): Don't use CHECK_N.
584 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
585 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
586 (__getgroups): Don't use CHECK_N.
587 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
588 (setgroups): Don't use CHECK_N.
589 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
590 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
591 (__libc_msgrcv): Don't use CHECK_N.
592 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
593 (__libc_msgsnd): Don't use CHECK_N.
594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
596 (__libc_pread): Don't use CHECK_N.
597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
598 include <bp-checks.h>.
599 (__libc_pread64): Don't use CHECK_N.
600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
601 include <bp-checks.h>.
602 (__libc_pwrite): Don't use CHECK_N.
603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
604 include <bp-checks.h>.
605 (__libc_pwrite64): Don't use CHECK_N.
606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
608 (__libc_pread): Don't use CHECK_N.
609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
610 include <bp-checks.h>.
611 (__libc_pread64): Don't use CHECK_N.
612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
613 include <bp-checks.h>.
614 (__libc_pwrite): Don't use CHECK_N.
615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
616 include <bp-checks.h>.
617 (__libc_pwrite64): Don't use CHECK_N.
618 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
619 (do_pread): Don't use CHECK_N.
620 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
621 (do_pread64): Don't use CHECK_N.
622 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
623 (do_pwrite): Don't use CHECK_N.
624 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
625 (do_pwrite64): Don't use CHECK_N.
626 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
627 (__libc_readv): Don't use CHECK_N.
628 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
629 (semop): Don't use CHECK_N.
630 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
632 (semtimedop): Don't use CHECK_N.
633 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
634 (__libc_pread): Don't use CHECK_N.
635 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
637 (__libc_pread64): Don't use CHECK_N.
638 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
640 (__libc_pwrite): Don't use CHECK_N.
641 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
643 (__libc_pwrite64): Don't use CHECK_N.
644 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
646 (__libc_msgrcv): Don't use CHECK_N.
647 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
648 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
649 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
650 (__libc_writev): Don't use CHECK_N.
652 2013-02-08 Roland McGrath <roland@hack.frob.com>
654 * string/strcpy.c: Removed unused variable.
656 * Makeconfig (+sysdep-includes): Define with := rather than =.
657 Use an existing include/ subdir of each sysdeps dir before it.
659 2013-02-08 Carlos O'Donell <carlos@redhat.com>
661 * nscd/connection.c (register_traced_file): Comment function.
662 [HAVE_INOTIFY] (union __inev): Define.
663 [HAVE_INOTIFY] (inotify_check_files): New function.
664 [HAVE_INOTIFY] (clear_db_cache): Likewise.
665 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
667 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
669 2013-02-08 Carlos O'Donell <carlos@redhat.com>
671 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
672 loaded if not already and that a failure is permanent.
674 2013-02-08 Carlos O'Donell <carlos@redhat.com>
677 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
678 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
680 2013-02-08 Joseph Myers <joseph@codesourcery.com>
683 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
684 (CHECK_1_NULL_OK): Likewise.
685 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
686 (__fxstat): Do not use CHECK_1.
687 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
689 (___fxstat64): Do not use CHECK_1.
690 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
692 (__fxstatat): Do not use CHECK_1.
693 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
695 (__fxstatat64): Do not use CHECK_1.
696 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
698 (__fxstat): Do not use CHECK_1.
699 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
701 (__fxstatat): Do not use CHECK_1.
702 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
704 (__getresgid): Do not use CHECK_1.
705 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
707 (__getresuid): Do not use CHECK_1.
708 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
710 (__lxstat): Do not use CHECK_1.
711 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
713 (__old_msgctl): Do not use CHECK_1.
714 (__new_msgctl): Likewise.
715 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
717 (__new_setrlimit): Do not use CHECK_1.
718 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
720 (__old_shmctl): Do not use CHECK_1.
721 (__new_shmctl): Likewise.
722 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
724 (__xstat): Do not use CHECK_1.
725 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
726 (__lxstat): Do not use CHECK_1.
727 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
729 (___lxstat64): Do not use CHECK_1.
730 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
731 (__old_msgctl): Do not use CHECK_1.
732 (__new_msgctl): Likewise.
733 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
735 (__gettimeofday): Do not use CHECK_1.
736 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
737 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
738 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
740 (__gettimeofday): Do not use CHECK_1.
741 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
742 (__old_shmctl): Do not use CHECK_1_NULL_OK.
743 (__new_shmctl): Do not use CHECK_1.
744 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
746 (do_sigtimedwait): Do not use CHECK_1.
747 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
749 (do_sigwaitinfo): Do not use CHECK_1.
750 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
752 (msgctl): Do not use CHECK_1.
753 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
755 (shmctl): Do not use CHECK_1.
756 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
757 (ustat): Do not use CHECK_1.
758 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
760 (__fxstat): Do not use CHECK_1.
761 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
763 (__fxstatat): Do not use CHECK_1.
764 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
766 (__lxstat): Do not use CHECK_1.
767 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
769 (__xstat): Do not use CHECK_1.
770 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
771 (__xstat): Do not use CHECK_1.
772 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
773 (___xstat64): Do not use CHECK_1.
776 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
778 (CHECK_BOUNDS_HIGH): Likewise.
779 * string/strcpy.c: Do not include <bp-checks.h>.
780 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
782 2013-02-07 Roland McGrath <roland@hack.frob.com>
784 * nscd/nscd-client.h (__nscd_drop_map_ref):
785 Add __attribute__ ((unused)).
786 * nis/nss-nisplus.h (niserr2nss): Likewise.
788 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
789 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
791 * csu/libc-tls.c (init_static_tls, init_slotinfo):
792 Remove inline keyword.
793 * include/rounding-mode.h (round_away): Likewise.
794 * libio/wfileops.c (adjust_wide_data): Likewise.
795 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
796 (__m128i_strloadu_tolower): Likewise.
797 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
798 (__m128i_strloadu_tolower): Likewise.
799 * time/mktime.c (ydhms_diff): Likewise.
800 * locale/elem-hash.h (elem_hash): Likewise.
801 * locale/setlocale.c (setdata): Likewise.
802 * posix/regex_internal.h (re_string_char_size_at): Likewise.
803 (re_string_wchar_at): Likewise.
804 (bitset_not, bitset_merge, bitset_mask): Likewise.
805 [!(__GNUC__ > 3)] (inline): Remove macro.
806 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
807 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
808 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
809 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
810 * string/memcmp.c (memcmp_bytes): Likewise.
811 * locale/programs/locarchive.c (compute_hashval): Likewise.
812 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
813 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
814 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
815 * nss/getent.c (print_rpc, print_protocols): Likewise.
816 (print_passwd, print_group, print_aliases): Likewise.
817 * nis/nss-nisplus.h (niserr2nss): Likewise.
818 * nscd/connections.c (restart_p): Likewise.
819 Change return type to bool.
821 2013-02-05 Roland McGrath <roland@hack.frob.com>
823 * Makeconfig (all-Depend-files): Add existing
824 $(sorted-subdirs:=/Depend) files.
825 (all-subdirs): Remove nss.
826 * sysdeps/unix/inet/Subdirs: Add it here instead.
827 * hesiod/Depend: New file.
829 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
830 instead of calling alloca.
832 * io/lseek.c (__lseek): Rename to __libc_lseek.
833 Define __lseek as an alias.
835 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
837 2013-02-04 Carlos O'Donell <carlos@redhat.com>
839 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
840 else clause and remove check for non-standard endianness.
842 2013-02-04 David S. Miller <davem@davemloft.net>
844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
846 2013-02-04 Joseph Myers <joseph@codesourcery.com>
849 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
850 (__ubp_memchr): Remove prototype.
851 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
852 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
853 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
854 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
855 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
857 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
858 (__ubp_memchr): Likewise.
859 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
860 (__ubp_memchr): Likewise.
861 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
862 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
863 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
864 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
866 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
867 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
868 (__getcwd): Do not use CHECK_STRING.
869 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
871 (__real_chown): Do not use CHECK_STRING.
872 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
874 (fchownat): Do not use CHECK_STRING.
875 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
877 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
879 (__lchown): Do not use CHECK_STRING.
880 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
881 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
882 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
883 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
885 include <bp-checks.h>.
886 (truncate64): Do not use CHECK_STRING.
887 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
889 (__real_chown): Do not use CHECK_STRING.
890 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
892 (__lchown): Do not use CHECK_STRING.
893 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
895 (__chown): Do not use CHECK_STRING.
896 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
898 (truncate64): Do not use CHECK_STRING.
899 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
901 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
902 (__xmknod): Do not use CHECK_STRING.
903 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
905 (__xmknodat): Do not use CHECK_STRING.
906 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
907 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
909 2013-02-04 Andreas Schwab <schwab@suse.de>
912 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
913 * include/netdb.h: Likewise for h_errno.
914 * elf/tst-stackguard1.c: Include <tls.h>.
916 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
918 * elf/link.h (struct link_map): Extend the l_addr comment.
919 * include/link.h (struct link_map): Likewise.
921 2013-02-01 Joseph Myers <joseph@codesourcery.com>
924 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
925 (BOUNDED_1): Remove macro.
926 * debug/backtrace.c: Don't include <bp-checks.h>.
927 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
928 (__backtrace): Likewise.
929 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
931 (__backtrace): Don't use BOUNDED_1.
932 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
934 (__backtrace): Don't use BOUNDED_1.
935 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
936 (__backtrace): Don't use BOUNDED_1.
937 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
938 (shmat): Don't use BOUNDED_N.
940 2013-01-31 Joseph Myers <joseph@codesourcery.com>
943 * sysdeps/generic/bp-start.h: Remove file.
944 * csu/libc-start.c: Don't include <bp-start.h>.
945 (LIBC_START_MAIN): Set up __environ directly instead of using
946 INIT_ARGV_and_ENVIRON.
947 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
951 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
953 (CHECK_FCNTL): Likewise.
954 (CHECK_N_PAGES): Likewise.
957 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
959 (CHECK_SIGSET_NULL_OK): Likewise.
960 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
962 (sigpending): Don't use CHECK_SIGSET.
963 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
965 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
966 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
968 (do_sigsuspend): Don't use CHECK_SIGSET.
969 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
971 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
972 (do_sigwait): Don't use CHECK_SIGSET.
973 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
975 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
976 include <bp-checks.h>.
977 (sigpending): Don't use CHECK_SIGSET.
978 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
979 include <bp-checks.h>.
980 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
981 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
983 (sigpending): Don't use CHECK_SIGSET.
984 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
986 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
989 * sysdeps/generic/bp-semctl.h: Remove file.
990 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
991 <bp-checks.h> and <bp-semctl.h>.
992 (__old_semctl): Don't use CHECK_SEMCTL.
993 (__new_semctl): Likewise.
994 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
996 (__old_semctl): Don't use CHECK_SEMCTL.
997 (__new_semctl): Likewise.
998 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
999 <bp-checks.h> and <bp-semctl.h>.
1000 (__old_semctl): Don't use CHECK_SEMCTL.
1001 (__new_semctl): Likewise.
1002 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
1003 <bp-checks.h> and <bp-semctl.h>.
1004 (semctl): Don't use CHECK_SEMCTL.
1007 * Makerules (elide-bp-thunks): Remove variable.
1008 (elide-routines.oS): Don't use $(elide-bp-thunks).
1009 (elide-routines.os): Likewise.
1010 (elide-routines.o): Likewise.
1011 (elide-routines.op): Likewise.
1012 (elide-routines.og): Likewise.
1013 (objects): Don't use $(bp-thunks).
1014 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
1016 (common-generated): Do not add s-proto-bp.d.
1017 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
1020 Do not generate makefile rules for bounded-pointer thunks.
1021 * sysdeps/generic/bp-thunks.h: Remove file.
1022 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
1023 * sysdeps/unix/s-proto-bp.S: Likewise.
1026 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
1027 parts of result separately when argument is not close to line from
1028 -i to i and one part of argument is small.
1029 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1030 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1031 * math/libm-test.inc (cacos_test): Add more tests.
1032 (casin_test): Likewise.
1033 (casinh_test): Likewise.
1034 * sysdeps/i386/fpu/libm-test-ulps: Update.
1035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1037 2013-01-31 David S. Miller <davem@davemloft.net>
1039 * po/de.po: Update from translation team.
1041 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
1043 * time/tzfile.c: Include stdint.h for SIZE_MAX.
1045 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
1047 * configure.in (_AC_PROG_CC_C89): New definition.
1048 * configure: Regenerate.
1050 * configure.in (AC_PROG_CPP): New definition.
1051 * configure: Regenerate.
1053 2013-01-23 Joseph Myers <joseph@codesourcery.com>
1055 * debug/tst-backtrace.h: New file.
1056 * debug/tst-backtrace2.c: Include tst-backtrace.h.
1057 (ret): Remove variable.
1059 (FAIL): Remove macro.
1060 (NO_INLINE): Likewise.
1061 (fn1): Use match function instead of strstr.
1062 * debug/tst-backtrace3.c: Include tst-backtrace.h.
1063 (ret): Remove variable.
1065 (FAIL): Remove macro.
1066 (NO_INLINE): Likewise.
1067 (fn): Use match function instead of strstr.
1068 * debug/tst-backtrace4.c: Include tst-backtrace.h.
1069 (ret): Remove variable.
1071 (FAIL): Remove macro.
1072 (NO_INLINE): Likewise.
1073 (handle_signal): Use match function instead of strstr.
1074 * debug/tst-backtrace5.c: Include tst-backtrace.h.
1075 (ret): Remove variable.
1077 (FAIL): Remove macro.
1078 (NO_INLINE): Likewise.
1079 (handle_signal): Use match function instead of strstr.
1081 2013-01-23 Roland McGrath <roland@hack.frob.com>
1083 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
1085 2013-01-23 David S. Miller <davem@davemloft.net>
1087 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
1088 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
1089 argument of CAS if possible.
1090 * sysdeps/sparc/sparc64/bits/atomic.h
1091 (__arch_compare_and_exchange_val_32_acq): Likewise.
1092 (__arch_compare_and_exchange_val_64_acq): Likewise.
1094 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
1096 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
1097 * sysdeps/posix/ulimit.c: ... this.
1099 * sysdeps/unix/bsd/ulimit.c: Remove file.
1101 2013-01-23 Adam Conrad <adconrad@0c3.net>
1103 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
1104 (LDFLAGS-tst-array5): Likewise.
1106 2013-01-23 Joseph Myers <joseph@codesourcery.com>
1109 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
1110 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
1111 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
1112 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
1114 2013-01-21 David S. Miller <davem@davemloft.net>
1116 * sysdeps/sparc/backtrace.c: New file.
1117 * sysdeps/sparc/sparc32/backtrace.h: New file.
1118 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
1119 * sysdeps/sparc/sparc64/backtrace.h: New file.
1120 * sysdeps/sparc/sparc64/backtrace.c: Delete.
1121 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
1124 2013-01-21 Andreas Schwab <schwab@suse.de>
1127 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
1130 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
1132 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
1134 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1136 2013-01-18 Joseph Myers <joseph@codesourcery.com>
1137 Mark Mitchell <mark@codesourcery.com>
1138 Tom de Vries <tom@codesourcery.com>
1139 Paul Pluzhnikov <ppluzhnikov@google.com>
1141 * debug/tst-backtrace2.c: New file.
1142 * debug/tst-backtrace3.c: Likewise.
1143 * debug/tst-backtrace4.c: Likewise.
1144 * debug/tst-backtrace5.c: Likewise.
1145 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
1146 (CFLAGS-tst-backtrace3.c): Likewise.
1147 (CFLAGS-tst-backtrace4.c): Likewise.
1148 (CFLAGS-tst-backtrace5.c): Likewise.
1149 (LDFLAGS-tst-backtrace2): Likewise.
1150 (LDFLAGS-tst-backtrace3): Likewise.
1151 (LDFLAGS-tst-backtrace4): Likewise.
1152 (LDFLAGS-tst-backtrace5): Likewise.
1153 (tests): Add new tests tst-backtrace2, tst-backtrace3,
1154 tst-backtrace4 and tst-backtrace5.
1156 2013-01-18 Anton Blanchard <anton@samba.org>
1157 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1159 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
1160 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
1161 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
1162 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
1163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1164 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
1165 "+r" and remove output regs list as redundant. Add explicit inline
1166 asm to specify register of return val to work around compiler codegen
1167 bug. Remove (int) cast on return value. Add return type parameter to
1168 use in macro so that this macro does not truncate return value for
1170 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
1171 pass to INTERNAL_VSYSCALL_NCS.
1172 (INLINE_VSYSCALL): Add 'long int' as return type to
1173 INTERNAL_VSYSCALL_NCS macro invocation.
1174 (INTERNAL_VSYSCALL): Add 'long int' as return type to
1175 INTERNAL_VSYSCALL_NCS macro invocation.
1176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1178 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1181 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
1182 Fix application of SIMD FP exception mask.
1184 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
1185 mp_no from a power of two.
1186 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
1187 __mpexp_twomm1. Use __pow_mp.
1189 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
1192 2013-01-17 David S. Miller <davem@davemloft.net>
1194 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1196 2013-01-17 Joseph Myers <joseph@codesourcery.com>
1199 * include/complex.h: Condition contents on [!_COMPLEX_H].
1200 (__kernel_casinhf): New prototype.
1201 (__kernel_casinh): Likewise.
1202 (__kernel_casinhl): Likewise.
1203 * math/Makefile (libm_calls): Add k_casinh.
1204 * math/k_casinh.c: New file.
1205 * math/k_casinhf.c: Likewise.
1206 * math/k_casinhl.c: Likewise.
1207 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
1208 finite nonzero arguments.
1209 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
1210 finite nonzero arguments.
1211 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
1212 finite nonzero arguments.
1213 * math/s_casinh.c: Do not include <float.h>.
1214 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
1215 * math/s_casinhf.c: Do not include <float.h>.
1216 (__casinhf): Move code for finite nonzero arguments to
1218 * math/s_casinhl.c: Do not include <float.h>.
1219 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
1221 (__casinhl): Move code for finite nonzero arguments to
1223 * math/libm-test.inc (cacos_test): Add more tests.
1224 * sysdeps/i386/fpu/libm-test-ulps: Update.
1225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1227 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
1229 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
1230 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
1231 [!HAVE_MREMAP]: Remove [defined linux] case.
1232 * malloc/arena.c: Do not include <malloc-sysdep.h>.
1234 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1236 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
1238 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
1240 * elf/elf.h (R_386_SIZE32): New relocation.
1241 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
1243 (elf_machine_rela): Likewise.
1244 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1245 R_X86_64_SIZE64 and R_X86_64_SIZE32.
1247 2013-01-17 Joseph Myers <joseph@codesourcery.com>
1249 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
1250 (FP_FAST_FMA): Do not define.
1251 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
1252 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
1253 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
1254 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
1255 !_SOFT_FLOAT]: Likewise.
1256 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
1257 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
1259 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
1260 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
1261 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
1262 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
1263 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
1264 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
1267 2013-01-16 Andreas Schwab <schwab@suse.de>
1270 * include/stdlib.h (__mktemp): Add declaration.
1271 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
1272 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
1274 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1276 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
1278 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1279 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
1280 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
1282 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
1283 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
1285 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
1287 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
1288 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
1289 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
1291 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
1292 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
1294 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1296 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
1298 2013-01-15 David S. Miller <davem@davemloft.net>
1300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1301 trunc{,f} to libm-sysdep_routes.
1302 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
1305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
1306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
1308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
1310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
1311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
1312 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
1313 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
1314 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
1315 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
1316 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
1317 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
1319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1320 nearbyint{,f} to libm-sysdep_routes.
1321 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
1324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
1326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
1328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
1330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
1331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
1332 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
1334 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
1335 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
1337 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
1338 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
1339 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
1341 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1342 libc_feholdexcept and libc_fesetenv.
1344 2013-01-15 Mike Frysinger <vapier@gentoo.org>
1346 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
1348 2013-01-14 David S. Miller <davem@davemloft.net>
1350 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
1351 (SPARC_ASM_VIS2_IFUNC): Likewise.
1352 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
1353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
1354 use of 'siam' instruction.
1355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
1357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
1359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
1361 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
1362 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1363 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
1364 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
1365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
1367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
1369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
1371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
1373 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
1374 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
1375 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
1376 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
1377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
1379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1383 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1384 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1385 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1386 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
1388 routines to libm-sysdep_routines.
1389 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1392 fdim/fdimf to libm-sysdep_routines.
1393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
1395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
1396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
1398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
1399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
1400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
1401 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
1402 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
1403 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
1404 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
1406 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1408 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
1411 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
1412 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1413 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1415 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
1416 local variable MPTWO.
1417 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1420 2013-01-13 Mike Frysinger <vapier@gentoo.org>
1422 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
1425 2013-01-13 Mike Frysinger <vapier@gentoo.org>
1427 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
1429 2013-01-13 Mike Frysinger <vapier@gentoo.org>
1431 * manual/pattern.texi (glob_t): Document gl_flags.
1432 (glob64_t): Likewise.
1434 2013-01-11 David S. Miller <davem@davemloft.net>
1436 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
1437 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
1438 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
1439 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
1440 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
1441 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
1442 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
1443 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
1444 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
1445 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
1446 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
1447 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
1448 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
1450 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
1451 sparc V9 rather than using V8 code.
1452 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1453 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1455 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1457 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
1460 2013-01-11 Roland McGrath <roland@hack.frob.com>
1462 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
1463 not in the main loop.
1464 * configure: Regenerated.
1466 2013-01-11 Joseph Myers <joseph@codesourcery.com>
1468 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
1469 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
1471 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
1472 [!__GLIBC_HAVE_LONG_LONG] case.
1473 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
1474 condition to just #else.
1475 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
1476 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
1477 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
1478 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
1480 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
1481 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
1482 #elif condition to just #else.
1483 * sysdeps/unix/sysv/linux/sys/sysmacros.h
1484 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
1485 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
1486 #elif condition to just #else.
1488 2013-01-11 Steve Ellcey <sellcey@mips.com>
1490 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
1491 (EF_MIPS_ARCH_64): Fix value.
1492 (EF_MIPS_ARCH_32R2): New.
1493 (EF_MIPS_ARCH_64R2): New.
1495 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
1497 * Makeconfig (+link-pie-before-libc): New.
1498 (+link-pie-after-libc): Likewise.
1499 (+link-pie-tests): Likewise.
1500 (+link-pie): Rewritten.
1501 (link-before-libc): Remove $(config-LDFLAGS).
1502 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
1503 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
1504 (config-LDFLAGS): Renamed to ...
1505 (rtld-LDFLAGS): This.
1506 (rtld-tests-LDFLAGS): New macro.
1507 (link-libc-rpath-link): Likewise.
1508 (link-libc-tests-rpath-link): Likewise.
1509 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
1510 (link-libc): Prepand $(link-libc-rpath-link).
1511 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
1512 (test-program-prefix): New macro.
1513 (test-via-rtld-prefix): Likewise.
1514 (test-program-cmd): Likewise.
1515 (host-test-program-cmd): Likewise.
1516 * Makefile ($(common-objpfx)testrun.sh): Replace
1517 $(run-program-prefix) with $(test-program-prefix).
1518 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
1520 ($(common-objpfx)shlib.lds): Likewise.
1521 (build-module-helper): Likewise.
1522 ($(common-objpfx)format.lds): Likewise.
1523 * Rules (binaries-pie-tests): New.
1524 (binaries-pie-notests): Likewise.
1525 (binaries-pie): Rewritten.
1526 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
1527 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
1528 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
1529 (make-test-out): Replace $(host-built-program-cmd) with
1530 $(host-test-program-cmd).
1531 * config.make.in (build-hardcoded-path-in-tests): New variable.
1532 * configure.in (--enable-hardcoded-path-in-tests): New configure
1534 (hardcoded_path_in_tests): New AC_SUBST.
1535 * configure: Regenerated.
1536 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
1537 $(built-program-cmd) with $(test-program-cmd).
1538 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
1539 (test_program_cmd): This.
1540 * elf/Makefile ($(objpfx)order.out): Run test with
1541 $(test-program-prefix).
1542 ($(objpfx)order2.out): Likewise.
1543 ($(objpfx)tst-initorder.out): Likewise.
1544 ($(objpfx)tst-initorder2.out): Likewise.
1545 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
1546 $(test-program-cmd).
1547 ($(objpfx)tst-array1-static.out): Likewise.
1548 ($(objpfx)tst-array2.out): Likewise.
1549 ($(objpfx)tst-array3.out): Likewise.
1550 ($(objpfx)tst-array4.out): Likewise.
1551 ($(objpfx)tst-array5.out): Likewise.
1552 ($(objpfx)tst-array5-static.out): Likewise.
1553 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
1554 $(test-program-cmd).
1555 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
1556 $(run-program-prefix) with $(test-program-prefix).
1557 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
1558 (test_program_prefix): This.
1559 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
1560 $(run-program-prefix) with $(test-program-prefix).
1561 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
1562 (test_program_prefix): This.
1563 * iconvdata/tst-tables.sh: Likewise.
1564 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
1565 $(run-program-prefix) with $(test-program-prefix).
1566 ($(objpfx)tst-translit.out): Likewise.
1567 ($(objpfx)tst-gettext2.out): Likewise.
1568 ($(objpfx)tst-gettext4.out): Likewise.
1569 ($(objpfx)tst-gettext6.out): Likewise.
1570 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
1571 (test_program_prefix): This.
1572 * intl/tst-gettext2.sh: Likewise.
1573 * intl/tst-gettext4.sh Likewise.
1574 * intl/tst-gettext6.sh: Likewise.
1575 * intl/tst-translit.sh: Likewise.
1576 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
1577 with $(test-program-cmd).
1578 * libio/Makefile ($(objpfx)test-freopen.out): Replace
1579 $(run-program-prefix) with $(test-program-prefix).
1580 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
1581 (test_program_prefix): This.
1582 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
1583 $(run-program-prefix) with $(test-program-prefix).
1584 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
1585 (test_program_prefix): This.
1586 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
1587 * posix/Makefile ($(objpfx)globtest.out): Replace
1588 $(run-via-rtld-prefix) and $(test-wrapper) with
1589 $(test-program-prefix) and $(test-via-rtld-prefix).
1590 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
1591 $(test-program-prefix).
1592 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
1593 $(host-test-program-cmd).
1594 (tst-spawn-ARGS): Likewise.
1595 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
1596 $(test-program-prefix).
1597 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
1598 (test_via_rtld_prefix): This.
1599 (test_wrapper): Renamed to ...
1600 (test_program_prefix): This.
1601 (run_program_prefix): Replaced by test_program_prefix.
1602 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
1603 (test_program_prefix): This.
1604 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
1605 with $(host-test-program-cmd).
1606 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
1607 $(run-program-prefix) with $(test-program-prefix).
1608 ($(objpfx)tst-printf.out): Likewise.
1609 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
1610 $(test-program-cmd).
1611 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
1612 (test_program_prefix): This.
1613 * stdio-common/tst-unbputc.sh: Likewise.
1614 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
1615 $(run-program-prefix) with $(test-program-prefix).
1616 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
1617 (test_program_prefix): This.
1618 * string/Makefile ($(objpfx)tst-svc.out): Replace
1619 $(built-program-cmd) with $(test-program-cmd).
1621 2013-01-11 Andreas Jaeger <aj@suse.de>
1624 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
1625 value. Sync with Linux 3.7.
1627 2013-01-10 David S. Miller <davem@davemloft.net>
1629 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
1630 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1631 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1633 2013-01-10 Roland McGrath <roland@hack.frob.com>
1635 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
1637 * configure: Regenerated.
1639 2013-01-10 David S. Miller <davem@davemloft.net>
1641 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
1642 sparc V9 rather than using V8 code.
1643 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1644 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1646 2013-01-10 Roland McGrath <roland@hack.frob.com>
1648 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
1649 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
1650 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
1651 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
1652 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
1653 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
1654 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
1655 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
1656 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
1657 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
1658 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
1659 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
1660 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
1661 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
1662 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
1663 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
1664 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
1665 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
1666 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
1667 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
1668 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
1669 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
1670 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
1671 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
1672 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
1673 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
1674 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
1676 2013-01-10 David S. Miller <davem@davemloft.net>
1678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1680 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1682 * posix/Makefile (tests-static): New variable.
1683 (tests): Add $(tests-static).
1684 (tst-exec-static-ARGS): New variable.
1685 (tst-spawn-static-ARGS): Likewise.
1686 * posix/tst-exec-static.c: New file.
1687 * posix/tst-spawn-static.c: Likewise.
1688 * posix/tst-exec.c: Support run directly.
1689 * posix/tst-spawn.c: Likewise.
1691 2013-01-10 Joseph Myers <joseph@codesourcery.com>
1693 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
1695 * math/bits/mathcalls.h (llrint): Likewise.
1696 (llround): Likewise.
1697 * stdlib/stdlib.h (struct drand48_data): Likewise.
1698 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
1699 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
1700 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
1702 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
1704 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
1705 (elf_greg_t): Likewise.
1706 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
1707 (__jmp_buf): Likewise.
1708 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
1710 (llrint): Likewise, for all definitions.
1711 (llrintl): Likewise.
1713 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
1714 Remove [__GNUC__] condition.
1715 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
1716 condition to just [__USE_ISOC99].
1717 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
1719 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1722 * sysdeps/unix/sysv/linux/x86/bits/environments.h
1723 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
1725 (_POSIX_V6_ILP32_OFF32): Likewise.
1726 (_XBS5_ILP32_OFF32): Likewise.
1727 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
1728 (__ILP32_OFFBIG_LDFLAGS): Likewise.
1730 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1732 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
1734 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
1735 doubles __mpexp_twomm1. Adjust usage.
1736 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
1739 2013-01-10 Andreas Schwab <schwab@suse.de>
1742 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
1743 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
1745 2013-01-09 David S. Miller <davem@davemloft.net>
1748 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
1749 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
1750 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
1751 TCP_FASTOPEN): Define.
1752 (tcp_repair_opt): New structure.
1753 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
1755 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
1756 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
1757 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
1758 (tcp_cookie_transactions): New structure.
1760 2013-01-09 Anton Blanchard <anton@samba.org>
1762 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
1763 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
1764 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
1765 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
1767 2013-01-09 Joseph Myers <joseph@codesourcery.com>
1769 * include/features.h (__USE_ANSI): Remove.
1771 2013-01-09 Roland McGrath <roland@hack.frob.com>
1773 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
1775 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
1777 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1779 * sysdeps/s390/fpu/libm-test-ulps: Update.
1781 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1783 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
1788 (__mp_dbl): Likewise.
1789 (__dbl_mp): Likewise.
1790 (add_magnitudes): Likewise.
1791 (sub_magnitudes): Likewise.
1797 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
1802 (__mp_dbl): Likewise.
1803 (__dbl_mp): Likewise.
1804 (add_magnitudes): Likewise.
1805 (sub_magnitudes): Likewise.
1811 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
1816 (__mp_dbl): Likewise.
1817 (__dbl_mp): Likewise.
1818 (add_magnitudes): Likewise.
1819 (sub_magnitudes): Likewise.
1826 2013-01-08 Joseph Myers <joseph@codesourcery.com>
1828 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
1829 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
1830 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
1831 2 && __USE_EXTERN_INLINES]: Likewise.
1833 2013-01-08 Andreas Jaeger <aj@suse.de>
1836 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
1838 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1839 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1841 2013-01-07 Anton Blanchard <anton@samba.org>
1843 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
1844 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1845 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
1846 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1847 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1848 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1849 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
1850 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1851 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1852 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1853 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1854 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1855 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1856 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1857 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1858 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1859 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1860 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1861 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1862 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1863 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1864 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
1865 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1866 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1867 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
1868 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1869 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1870 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1871 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
1872 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1873 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1874 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1875 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1876 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1877 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1878 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1879 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1880 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1881 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
1882 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1883 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
1884 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1885 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1887 2013-01-07 Joseph Myers <joseph@codesourcery.com>
1889 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
1890 (__MALLOC_PMT): Likewise.
1891 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
1892 [__GNUC__], only on [_LIBC].
1893 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1894 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
1895 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1896 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
1897 forward declaration.
1898 (realloc_hook_ini): Likewise.
1899 (memalign_hook_ini): Likewise.
1900 (__libc_memalign): Do not use __MALLOC_PMT in variable
1902 (__libc_valloc): Likewise.
1903 (__libc_pvalloc): Likewise.
1904 (__libc_calloc): Likewise.
1905 (__posix_memalign): Likewise.
1908 * math/s_casinh.c: Include <float.h>.
1909 (__casinh): Do not do computation with squaring and square root
1910 for large arguments.
1911 * math/s_casinhf.c: Include <float.h>.
1912 (__casinhf): Do not do computation with squaring and square root
1913 for large arguments.
1914 * math/s_casinhl.c: Include <float.h>.
1915 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
1916 (__casinhl): Do not do computation with squaring and square root
1917 for large arguments.
1918 * math/libm-test.inc (casin_test): Add more tests.
1919 (casinh_test): Likewise.
1920 * sysdeps/i386/fpu/libm-test-ulps: Update.
1921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1923 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
1925 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
1926 (__x86_64_raw_data_cache_size): Likewise.
1927 (__x86_64_data_cache_size_half): Likewise.
1928 (__x86_64_raw_data_cache_size_half): Likewise.
1929 (__x86_64_shared_cache_size): Likewise.
1930 (__x86_64_raw_shared_cache_size): Likewise.
1931 (__x86_64_shared_cache_size_half): Likewise.
1932 (__x86_64_raw_shared_cache_size_half): Likewise.
1933 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
1935 (__x86_data_cache_size): This.
1936 (__x86_64_raw_data_cache_size): Renamed to ...
1937 (__x86_raw_data_cache_size): This.
1938 (__x86_64_data_cache_size_half): Renamed to ...
1939 (__x86_data_cache_size_half): This.
1940 (__x86_64_raw_data_cache_size_half): Renamed to ...
1941 (__x86_raw_data_cache_size_half): This.
1942 (__x86_64_shared_cache_size): Renamed to ...
1943 (__x86_shared_cache_size): This.
1944 (__x86_64_raw_shared_cache_size): Renamed to ...
1945 (__x86_raw_shared_cache_size): This.
1946 (__x86_64_shared_cache_size_half): Renamed to ...
1947 (__x86_shared_cache_size_half): This.
1948 (__x86_64_raw_shared_cache_size_half): Renamed to ...
1949 (__x86_raw_shared_cache_size_half): This.
1950 * sysdeps/x86_64/memcpy.S: Updated.
1951 * sysdeps/x86_64/memset.S: Likewise.
1952 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1953 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1954 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1956 2013-01-04 David S. Miller <davem@davemloft.net>
1958 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1960 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
1962 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
1963 1 to avoid redefinition warning.
1964 (__USE_GNU): Don't define.
1965 (init_signaling_nan): Protoize.
1967 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1969 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1971 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
1972 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
1973 (__cpymn): Likewise.
1974 (norm): Remove commented code.
1976 (__mp_dbl): Likewise.
1978 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
1979 (__cpymn): Likewise.
1980 (norm): Remove commented code.
1982 (__mp_dbl): Likewise.
1985 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
1986 mp_no value for 1.0 and 2.0.
1987 (norm): Use RADIXI instead of radixi.d.
1989 (__mul): Use 0.0 instead of zero.d.
1990 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
1991 mp_no value for 1.0 and 2.0.
1992 (norm): Use RADIXI instead of radixi.d.
1994 (__mul): Use 0.0 instead of zero.d.
1996 2013-01-04 Joseph Myers <joseph@codesourcery.com>
1999 * math/s_casinh.c (__casinh): Reduce finite argument to first
2000 quadrant then set signs of results at the end.
2001 * math/s_casinhf.c (__casinhf): Likewise.
2002 * math/s_casinhl.c (__casinhl): Likewise.
2003 * math/libm-test.inc (casin_test): Add more tests.
2004 (casinh_test): Likewise.
2005 * sysdeps/i386/fpu/libm-test-ulps: Update.
2006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2008 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2010 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
2012 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
2014 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
2017 (__mp_dbl): Likewise.
2020 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
2021 and adjust the header comment.
2023 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
2024 variable name from declaration.
2026 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
2028 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2029 Initialize COMMON_CPUID_INDEX_7 element.
2030 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
2031 (CPUID_RTM): Likewise.
2032 (HAS_RTM): Likewise.
2033 (COMMON_CPUID_INDEX_7): New enum.
2035 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
2038 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
2039 size is zero, record memory as freed.
2041 2013-01-03 Andreas Jaeger <aj@suse.de>
2043 * po/ia.po: Add new Interlingua translation.
2045 2012-01-03 Allan McRae <allan@archlinux.org>
2047 * locale/programs/localedef.c: Fix description of '--posix' flag.
2049 2013-01-02 Joseph Myers <joseph@codesourcery.com>
2051 * NEWS: Update dates in second copyright notice.
2052 * README: Update copyright dates in example.
2053 * manual/libc.texinfo: Update copyright dates.
2054 * scripts/test-installation.pl: Update copyright date in --version
2057 * hurd/ctty-input.c: Fix copyright notice formatting.
2058 * hurd/ctty-output.c: Likewise.
2059 * hurd/dtable.c: Likewise.
2060 * hurd/hurd-raise.c: Likewise.
2061 * hurd/hurdprio.c: Likewise.
2062 * hurd/msgportdemux.c: Likewise.
2063 * misc/sys/file.h: Likewise.
2064 * misc/sys/ioctl.h: Likewise.
2065 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2066 * sysdeps/mach/hurd/chdir.c: Likewise.
2067 * sysdeps/mach/hurd/fchdir.c: Likewise.
2068 * sysdeps/mach/hurd/rename.c: Likewise.
2069 * sysdeps/mach/hurd/rmdir.c: Likewise.
2070 * sysdeps/mach/hurd/seekdir.c: Likewise.
2071 * sysdeps/mach/hurd/setsid.c: Likewise.
2072 * sysdeps/posix/wait3.c: Likewise.
2074 * All files with FSF copyright notices: Update copyright dates
2075 using scripts/update-copyrights.
2076 * intl/plural.c: Regenerated.
2077 * locale/programs/charmap-kw.h: Likewise.
2078 * locale/programs/locfile-kw.h: Likewise.
2080 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2082 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
2085 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
2086 calculation loop and add branch prediction.
2088 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
2089 check access beyond bounds of m1np.
2091 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2093 (__inv): Remove local variable MPTWO to use the global
2095 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
2096 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2098 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
2099 MP3HALFS static const.
2101 2013-01-01 David S. Miller <davem@davemloft.net>
2103 * po/ca.po: Update from translation team.
2105 2013-01-01 Joseph Myers <joseph@codesourcery.com>
2107 * scripts/update-copyrights: New file.
2108 * Makeconfig: Reformat copyright notice.
2109 * ctype/ctype.h: Likewise.
2110 * debug/swprintf_chk.c: Likewise.
2111 * elf/dl-cache.c: Likewise.
2112 * elf/dl-debug.c: Likewise.
2113 * elf/dl-object.c: Likewise.
2114 * grp/initgroups.c: Likewise.
2115 * hurd/Makefile: Likewise.
2116 * hurd/hurd/signal.h: Likewise.
2117 * hurd/hurdfault.c: Likewise.
2118 * hurd/hurdioctl.c: Likewise.
2119 * hurd/hurdlookup.c: Likewise.
2120 * hurd/intr-msg.c: Likewise.
2121 * iconv/gconv_open.c: Likewise.
2122 * libio/swprintf.c: Likewise.
2123 * locale/lc-ctype.c: Likewise.
2124 * locale/nl_langinfo.c: Likewise.
2125 * mach/Machrules: Likewise.
2126 * mach/Makefile: Likewise.
2127 * malloc/obstack.h: Likewise.
2128 * manual/Makefile: Likewise.
2129 * manual/tsort.awk: Likewise.
2130 * misc/bits/stab.def: Likewise.
2131 * nis/nis_print_group_entry.c: Likewise.
2132 * nis/nis_table.c: Likewise.
2133 * nis/nss_compat/compat-pwd.c: Likewise.
2134 * nis/nss_compat/compat-spwd.c: Likewise.
2135 * po/Makefile: Likewise.
2136 * posix/fnmatch.c: Likewise.
2137 * posix/regex.h: Likewise.
2138 * resolv/Makefile: Likewise.
2139 * resolv/nss_dns/dns-network.c: Likewise.
2140 * resolv/res_hconf.c: Likewise.
2141 * scripts/gen-sorted.awk: Likewise.
2142 * soft-fp/soft-fp.h: Likewise.
2143 * stdio-common/printf.h: Likewise.
2144 * stdlib/monetary.h: Likewise.
2145 * stdlib/random.c: Likewise.
2146 * stdlib/random_r.c: Likewise.
2147 * sysdeps/generic/Makefile: Likewise.
2148 * sysdeps/gnu/Makefile: Likewise.
2149 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2150 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2151 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2152 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2153 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2154 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2155 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2156 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2157 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2158 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2159 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2160 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2161 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
2162 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
2163 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
2164 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
2165 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2166 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2167 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2168 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2169 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2170 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2171 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2172 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2173 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
2174 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
2175 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2176 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
2177 * sysdeps/mach/hurd/errnos.awk: Likewise.
2178 * sysdeps/mach/hurd/fork.c: Likewise.
2179 * sysdeps/mach/hurd/getcwd.c: Likewise.
2180 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
2181 * sysdeps/mach/hurd/mmap.c: Likewise.
2182 * sysdeps/mach/hurd/utimes.c: Likewise.
2183 * sysdeps/mach/hurd/xmknod.c: Likewise.
2184 * sysdeps/posix/profil.c: Likewise.
2185 * sysdeps/posix/readdir_r.c: Likewise.
2186 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2187 * sysdeps/powerpc/bits/setjmp.h: Likewise.
2188 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
2189 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2190 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2191 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2192 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2193 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2194 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2195 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2196 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2197 * sysdeps/pthread/lio_listio.c: Likewise.
2198 * sysdeps/sparc/dl-procinfo.h: Likewise.
2199 * sysdeps/unix/i386/sysdep.S: Likewise.
2200 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2201 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
2202 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2203 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
2204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2205 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2206 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2207 * sysdeps/unix/sysv/linux/speed.c: Likewise.
2208 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2209 * sysdeps/wordsize-32/divdi3.c: Likewise.
2210 * time/sys/time.h: Likewise.
2211 * wcsmbs/Makefile: Likewise.
2213 2013-01-01 David S. Miller <davem@davemloft.net>
2215 * po/fr.po: Update from translation team.
2217 * catgets/gencat.c: Update copyright year.
2218 * csu/version.c: Likewise.
2219 * debug/catchsegv.sh: Likewise.
2220 * debug/pcprofiledump.c: Likewise.
2221 * debug/xtrace.sh: Likewise.
2222 * elf/ldconfig.c: Likewise.
2223 * elf/ldd.bash.in: Likewise.
2224 * elf/pldd.c: Likewise.
2225 * elf/sotruss.ksh: Likewise.
2226 * elf/sprof.c: Likewise.
2227 * iconv/iconv_prog.c: Likewise.
2228 * iconv/iconvconfig.c: Likewise.
2229 * locale/programs/locale.c: Likewise.
2230 * locale/programs/localedef.c: Likewise.
2231 * login/programs/pt_chown.c: Likewise.
2232 * malloc/memusage.sh: Likewise.
2233 * malloc/memusagestat.c: Likewise.
2234 * malloc/mtrace.pl: Likewise.
2235 * nscd/nscd.c: Likewise.
2236 * nss/getent.c: Likewise.
2237 * nss/makedb.c: Likewise.
2238 * posix/getconf.c: Likewise.
2240 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2242 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
2245 2012-12-30 Mike Frysinger <vapier@gentoo.org>
2247 * math/bits/mathcalls.h (modf): Use __nonnull.
2249 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2251 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
2252 (split): Use macro CN instead of the bare value.
2253 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
2255 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
2256 instead of the bare value.
2259 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2261 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
2263 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2265 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
2267 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2268 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2269 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
2270 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2272 2012-12-28 Andreas Jaeger <aj@suse.de>
2274 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
2275 values are from Linux 3.7.
2277 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
2278 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
2280 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2282 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
2285 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
2287 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
2288 variables with preprocessor constants.
2289 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2290 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
2291 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
2293 2012-12-27 Bruno Haible <bruno@clisp.org>
2296 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
2299 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2301 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
2302 and use variable directly.
2303 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
2305 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2307 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
2308 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2310 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2311 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2312 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
2313 include directive. Remove local variable MPONE.
2314 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
2315 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
2316 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2318 2012-12-25 David S. Miller <davem@davemloft.net>
2320 * version.h (RELEASE): Set to "development".
2321 (VERSION): Set to "2.17.90".
2322 * NEWS: Add 2.18 section.
2324 2012-12-21 David S. Miller <davem@davemloft.net>
2326 * po/hr.po: Update from translation team.
2328 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2330 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
2332 2012-12-19 Steve Ellcey <sellcey@mips.com>
2334 * NEWS: Mention new memcpy for MIPS.
2336 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2338 * manual/contrib.texi (Contributors): Spelling correction.
2340 2012-12-15 David S. Miller <davem@davemloft.net>
2342 * po/ru.po: Update from translation team.
2344 2012-12-13 David S. Miller <davem@davemloft.net>
2346 * NEWS: Mention IFUNC testsuite enhancements.
2348 * po/pl.po: Update from translation team.
2349 * po/bg.po: Likewise.
2351 * manual/contrib.texi (Contributors): Update entries for Hongjiu
2352 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
2354 2012-12-11 David S. Miller <davem@davemloft.net>
2356 * po/sv.po: Update from translation team.
2358 * po/vi.po: Update from translation team.
2360 * po/cs.po: Update from translation team.
2362 * po/de.po: Update from translation team.
2363 * po/eo.po: Likewise.
2364 * po/nl.po: Likewise.
2366 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2369 * manual/argp.texi (Argp Helper Functions): Move node to follow
2373 * manual/conf.texi (Limits on File System Capacity): Mention if
2374 terminating null is included in the max size.
2376 2012-12-10 Andreas Jaeger <aj@suse.de>
2378 * po/cs.po: Update from translation team.
2380 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2382 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
2383 void pointer and cast to uintptr_t.
2384 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
2386 * sysdeps/s390/s390-64/memcpy.S: Likewise.
2387 * sysdeps/s390/s390-64/memset.S: Likewise.
2389 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
2392 * menual/message.texi (Message Translation): Fix typos.
2393 (Helper programs for gettext): Likewise.
2395 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
2398 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
2401 2012-12-07 David S. Miller <davem@davemloft.net>
2403 * po/libc.pot: Update.
2405 2012-12-07 Richard Henderson <rth@redhat.com>
2408 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
2409 normal/normal case to before the switch.
2410 (_FP_DIV): Likewise.
2412 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
2413 Mike Frysinger <vapier@gentoo.org>
2415 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
2416 check for __NR_fadvise64_64.
2418 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
2420 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
2421 0, not just to plain "0" as a statement.
2422 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
2425 2012-12-06 Joseph Myers <joseph@codesourcery.com>
2427 * NEWS: Use sourceware.org in Bugzilla URL.
2429 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2432 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2434 * stdio-common/tst-put-error.c (do_test): Add newline to the
2435 padded test to ensure flush.
2437 2012-12-05 Jeff Law <law@redhat.com>
2439 * sunrpc/etc.rpc (fedfs_admin): Add entry.
2441 2012-12-05 Joseph Myers <joseph@codesourcery.com>
2443 * README: Don't refer to ports add-on as distributed separately.
2444 Mention AArch64 in list of systems supported in the ports add-on.
2446 * LICENSES: Add more non-FSF copyright and license notices.
2448 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
2451 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
2453 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
2454 10000 as width of padded output.
2456 2012-12-04 Joseph Myers <joseph@codesourcery.com>
2458 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
2460 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
2461 variable LX with __attribute__ ((unused)).
2462 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2464 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2465 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2466 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
2467 with __attribute__ ((unused)).
2469 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
2471 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
2473 2012-12-04 Joseph Myers <joseph@codesourcery.com>
2475 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
2476 (CFLAGS-nldbl-acos.c): New variable.
2477 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
2478 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
2479 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
2480 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
2481 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
2482 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
2483 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
2484 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
2485 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
2486 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
2487 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
2488 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
2489 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
2490 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
2491 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
2492 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
2493 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
2494 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
2495 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
2496 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
2497 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
2498 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
2499 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
2500 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
2501 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
2502 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
2503 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
2504 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
2505 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
2506 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
2507 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
2508 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
2509 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
2510 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
2511 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
2512 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
2513 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
2514 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
2515 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
2516 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
2517 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
2518 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
2519 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
2520 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
2521 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
2522 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
2523 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
2524 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
2525 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
2526 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
2527 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
2528 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
2529 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
2530 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
2531 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
2532 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
2533 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
2534 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
2535 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
2536 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
2537 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
2538 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
2539 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
2540 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
2541 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
2542 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
2543 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
2544 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
2545 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
2546 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
2547 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
2548 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
2549 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
2550 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
2551 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
2552 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
2553 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
2554 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
2555 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
2556 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
2557 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
2558 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
2559 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
2560 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
2561 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
2562 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
2563 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
2564 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
2565 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
2566 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
2567 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
2568 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
2569 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
2570 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
2571 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
2572 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
2573 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
2575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2576 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2579 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
2580 whole low double instead of just low 47 bits when splitting values
2583 2012-12-03 Allan McRae <allan@archlinux.org>
2585 * manual/stdio.texi (Predefined Printf Handlers): Remove
2586 @hsep and @vsep usage.
2588 2012-12-03 Mike Frysinger <vapier@gentoo.org>
2590 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
2591 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
2593 2012-12-03 Jeff Law <law@redhat.com>
2595 * time/sys/time.h (settimeofday): Do not mark TV argument
2598 2012-12-01 Mike Frysinger <vapier@gentoo.org>
2600 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
2601 when currently writing and seek to current position when not.
2602 * libio/Makefile (tests): Remove bug-fclose1.
2603 * libio/bug-fclose1.c: Delete.
2605 2012-12-01 Joseph Myers <joseph@codesourcery.com>
2607 * manual/arith.texi (feenableexcept): Fix typo.
2608 (fedisableexcept): Likewise.
2610 2012-11-30 Roland McGrath <roland@hack.frob.com>
2612 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
2613 second, differently-typed declaration, rather than a cast.
2615 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2617 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
2618 * include/rpc/svc.h: ... here.
2620 2012-11-30 Aurelien Jarno <aurel32@debian.org>
2623 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
2624 depending n and resplen2 to catch cases where answer
2627 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
2629 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
2630 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
2632 2012-11-29 Mike Frysinger <vapier@gentoo.org>
2634 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
2636 2012-11-29 Roland McGrath <roland@hack.frob.com>
2638 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
2640 2012-11-28 Jeff Law <law@redhat.com>
2643 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
2644 dataset_temporary. Track alloca usage into alloca_used.
2645 If dataset is large allocate and release it via malloc/free.
2647 2012-06-04 Florian Weimer <fweimer@redhat.com>
2650 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
2652 2012-11-28 David S. Miller <davem@davemloft.net>
2654 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2656 2012-11-28 Joseph Myers <joseph@codesourcery.com>
2659 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
2660 of pi/2 rounded to nearest to 64 bits.
2661 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
2663 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
2666 2012-11-28 Jeff Law <law@redhat.com>
2667 Martin Osvald <mosvald@redhat.com>
2670 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
2671 * sunrpc/svc.c: Include time.h.
2672 (__svc_accept_failed): New function.
2673 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
2674 any reason other than EINTR, call __svc_accept_failed.
2675 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
2676 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
2678 2012-11-28 Andreas Schwab <schwab@suse.de>
2680 * scripts/abilist.awk: Also handle indirect functions in .opd
2683 2012-11-28 Joseph Myers <joseph@codesourcery.com>
2686 * sysdeps/x86/fpu/powl_helper.c: New file.
2687 * sysdeps/x86/fpu/Makefile: Likewise.
2688 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
2690 (__ieee754_powl): Use __powl_helper for finite arguments except
2691 integer exponents below 8.
2692 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
2694 (__ieee754_powl): Use __powl_helper for finite arguments except
2695 integer exponents below 8.
2696 * math/libm-test.inc (pow_test): Add more tests and enable some
2697 previously disabled tests.
2698 * sysdeps/i386/fpu/libm-test-ulps: Update.
2699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2701 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2702 Carlos O'Donell <carlos_odonell@mentor.com>
2704 * nss/makedb.c (is_prime): Assert that input is odd and greater
2705 than 4. Note that fact in a comment too.
2706 (next_prime): Add 4 to input.
2708 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2711 * libio/Makefile (tests): Add test case tst-fwrite-error.
2712 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
2713 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
2714 * libio/tst-fwrite-error.c: New test case.
2716 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
2718 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
2719 before casting to void *.
2720 * include/libc-internal.h (__pointer_type): New macro.
2721 (__integer_if_pointer_type_sub): Likewise.
2722 (__integer_if_pointer_type): Likewise.
2723 (cast_to_integer): Likewise.
2724 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
2725 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
2726 before casting to atomic64_t.
2727 (atomic_exchange_acq): Likewise.
2728 (__arch_exchange_and_add_body): Likewise.
2729 (__arch_add_body): Likewise.
2730 (atomic_add_negative): Likewise.
2731 (atomic_add_zero): Likewise.
2733 2012-11-26 Joseph Myers <joseph@codesourcery.com>
2735 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
2736 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
2737 (add_fdes): Likewise.
2738 (linear_search_fdes): Likewise.
2739 (binary_search_unencoded_fdes): Likewise.
2741 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
2743 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
2745 2012-11-24 Adam Conrad <adconrad@0c3.net>
2747 * configure.in: Autodetect C++ header directories.
2748 * configure: Regenerated.
2750 2012-11-23 Mike Frysinger <vapier@gentoo.org>
2752 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
2754 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
2756 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2758 2012-11-22 Joseph Myers <joseph@codesourcery.com>
2760 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
2761 LDBL_MANT_DIG == 106]: Disable some tests.
2762 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2764 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2768 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
2769 input for small inputs. Return +/- pi/2 for large inputs.
2770 * math/libm-test.inc (atan_test): Add more tests.
2772 * sysdeps/generic/unwind-dw2-fde-glibc.c
2773 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
2774 __attribute__ ((unused)).
2777 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
2778 x * y if x and y are nonzero and z is zero.
2781 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
2782 nonzero exponents with absolute value below 0x1p-117 to +/-
2786 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
2787 up arguments below 2**-450, not just those below 2**-500.
2788 * math/libm-test.inc (hypot_test): Add another test.
2791 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2792 Return a+b for ratio over 2**120, not 2**60.
2793 * math/libm-test.inc (hypot_test): Add another test.
2795 * math/libm-test.inc (clog_test): Use
2796 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
2797 (clog10_test): Likewise.
2800 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
2802 2012-11-22 Andreas Schwab <schwab@suse.de>
2804 * sysdeps/i386/fpu/libm-test-ulps: Update.
2806 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
2808 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
2809 printf output with newline.
2811 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
2814 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
2815 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
2816 -z nodlopen, -z initfirst and -z execstack support.
2817 * configure: Regenerated.
2819 * elf/elf.h (DF_1_NODIRECT): New macro.
2820 (DF_1_IGNMULDEF): Likewise.
2821 (DF_1_NOKSYMS): Likewise.
2822 (DF_1_NOHDR): Likewise.
2823 (DF_1_EDITED): Likewise.
2824 (DF_1_NORELOC): Likewise.
2825 (DF_1_SYMINTPOSE): Likewise.
2826 (DF_1_GLOBAUDIT): Likewise.
2827 (DF_1_SINGLETON): Likewise.
2828 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
2829 DT_1_SUPPORTED_MASK bits.
2830 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
2832 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
2834 * sysdeps/unix/make-syscalls.sh: Document prefixes.
2836 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
2838 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
2841 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
2842 (sendmmsg): Move declarations...
2843 * socket/sys/socket.h: ... here.
2844 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
2845 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
2847 * socket/recvmmsg.c: ... this new file.
2848 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
2849 (sendmmsg): Rename to __sendmmsg, create weak alias and make
2850 definition of __sendmmsg hidden.
2851 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2852 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
2853 Move ENOSYS stub into and include it from...
2854 * socket/sendmmsg.c: ... this new file.
2855 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
2856 (sysdep_routines): Move recvmmsg and sendmmsg...
2857 * socket/Makefile (routines): ... here.
2858 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
2859 (GLIBC_PRIVATE): Add __sendmmsg.
2860 * include/sys/socket.h (__sendmmsg): Add declarations.
2861 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
2864 2012-11-20 Joseph Myers <joseph@codesourcery.com>
2866 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
2867 variable I1 with __attribute__ ((unused)).
2868 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2870 2012-11-19 Joseph Myers <joseph@codesourcery.com>
2872 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
2873 DUMMY variables with __attribute__ ((unused)).
2875 * bits/byteswap.h: Include <bits/types.h>.
2876 (__bswap_64): Use __uint64_t instead of unsigned long long int.
2878 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2880 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
2881 string_t. Do not manually set errno.
2882 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
2883 length with __strnlen. Make sure to both set errno and return it on
2886 2012-11-19 David S. Miller <davem@davemloft.net>
2888 With help from Joseph Myers.
2889 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
2890 very large arguments properly.
2891 * math/libm-test.inc (atan_test): New tests.
2892 (atan2_test): New tests.
2893 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2894 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2896 2012-11-19 Joseph Myers <joseph@codesourcery.com>
2899 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
2902 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
2903 [POSIX] (EADDRNOTAVAIL): Likewise.
2904 [POSIX] (EAFNOSUPPORT): Likewise.
2905 [POSIX] (EALREADY): Likewise.
2906 [POSIX] (ECONNABORTED): Likewise.
2907 [POSIX] (ECONNREFUSED): Likewise.
2908 [POSIX] (ECONNRESET): Likewise.
2909 [POSIX] (EDESTADDRREQ): Likewise.
2910 [POSIX] (EDQUOT): Likewise.
2911 [POSIX] (EHOSTUNREACH): Likewise.
2912 [POSIX] (EIDRM): Likewise.
2913 [POSIX] (EISCONN): Likewise.
2914 [POSIX] (ELOOP): Likewise.
2915 [POSIX] (EMULTIHOP): Likewise.
2916 [POSIX] (ENETDOWN): Likewise.
2917 [POSIX] (ENETUNREACH): Likewise.
2918 [POSIX] (ENOBUFS): Likewise.
2919 [POSIX] (ENODATA): Likewise.
2920 [POSIX] (ENOLINK): Likewise.
2921 [POSIX] (ENOMSG): Likewise.
2922 [POSIX] (ENOPROTOOPT): Likewise.
2923 [POSIX] (ENOSR): Likewise.
2924 [POSIX] (ENOSTR): Likewise.
2925 [POSIX] (ENOTCONN): Likewise.
2926 [POSIX] (ENOTSOCK): Likewise.
2927 [POSIX] (EOPNOTSUPP): Likewise.
2928 [POSIX] (EOVERFLOW): Likewise.
2929 [POSIX] (EPROTO): Likewise.
2930 [POSIX] (EPROTONOSUPPORT): Likewise.
2931 [POSIX] (EPROTOTYPE): Likewise.
2932 [POSIX] (ESTALE): Likewise.
2933 [POSIX] (ETIME): Likewise.
2934 [POSIX] (ETXTBSY): Likewise.
2935 [POSIX] (EWOULDBLOCK): Likewise.
2936 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
2937 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
2938 [POSIX] (SEEK_CUR): Likewise.
2939 [POSIX] (SEEK_END): Likewise.
2940 [POSIX || UNIX98] (mode_t): Do not require.
2941 [POSIX] (off_t): Likewise.
2942 [POSIX] (pid_t): Likewise.
2943 [POSIX] (sys/stat.h): Do not allow header.
2944 [POSIX] (unistd.h): Likewise.
2945 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
2946 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
2947 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
2948 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
2950 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
2951 sigevent): Specify elements.
2952 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
2954 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
2955 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
2957 * conform/data/cpio.h-data [POSIX]: Disable whole file.
2958 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
2959 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
2960 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
2961 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
2962 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
2963 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
2964 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
2965 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
2966 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
2967 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
2968 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
2969 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
2970 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
2972 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
2974 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
2976 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
2978 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
2979 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
2980 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
2981 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
2982 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
2983 Specify lower bound on value.
2984 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
2985 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
2986 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
2987 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
2988 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
2989 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
2990 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
2991 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
2993 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
2995 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
2996 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
2997 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
2998 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
2999 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
3000 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
3001 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
3002 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
3003 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
3004 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
3005 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
3006 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
3007 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
3008 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
3009 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
3010 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
3012 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
3014 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
3015 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
3016 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
3017 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
3018 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
3019 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
3021 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
3022 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
3023 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
3024 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
3025 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
3026 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
3027 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
3029 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
3030 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
3031 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
3032 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
3033 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
3034 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
3035 specify as optional.
3036 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
3037 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
3038 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
3039 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
3040 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
3041 [XPG3] (NL_LANGMAX): Likewise.
3042 [POSIX || XPG3] (NL_MSGMAX): Likewise.
3043 [POSIX || XPG3] (NL_NMAX): Likewise.
3044 [POSIX || XPG3] (NL_SETMAX): Likewise.
3045 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
3046 [XPG3] (NZERO): Likewise.
3047 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
3048 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
3049 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
3050 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
3051 (REG_ERANGE): Expect.
3052 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
3054 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
3055 Use (void) in prototype.
3056 [POSIX] (*_t): Allow.
3057 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
3058 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
3059 (WRDE_BADVAL): Expect.
3061 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
3063 [XPG3 || XPG4] (O_RSYNC): Likewise.
3064 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
3066 [XPG3 || XPG4] (pthread_sigmask): Likewise.
3067 [XPG3 || XPG4] (sigqueue): Likewise.
3068 [XPG3 || XPG4] (sigtimedwait): Likewise.
3069 [XPG3 || XPG4] (sigwaitinfo): Likewise.
3070 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
3071 [XPG3 || XPG4] (vsnprintf): Likewise.
3072 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
3074 [XPG3 || XPG4] (blksize_t): Likewise.
3075 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
3077 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
3078 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3079 [XPG3 || XPG4] (struct itimerspec): Likewise.
3080 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
3081 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
3082 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
3083 [XPG3 || XPG4] (clockid_t): Likewise.
3084 [XPG3 || XPG4] (timer_t): Likewise.
3085 [XPG3 || XPG4] (clock_getres): Likewise.
3086 [XPG3 || XPG4] (clock_gettime): Likewise.
3087 [XPG3 || XPG4] (clock_settime): Likewise.
3088 [XPG3 || XPG4] (nanosleep): Likewise.
3089 [XPG3 || XPG4] (timer_create): Likewise.
3090 [XPG3 || XPG4] (timer_delete): Likewise.
3091 [XPG3 || XPG4] (timer_gettime): Likewise.
3092 [XPG3 || XPG4] (timer_getoverrun): Likewise.
3093 [XPG3 || XPG4] (timer_settime): Likewise.
3094 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
3095 [XPG3 || XPG4] (getlogin_r): Likewise.
3096 [XPG3 || XPG4] (pread): Likewise.
3097 [XPG3 || XPG4] (pthread_atfork): Likewise.
3098 [XPG3 || XPG4] (pwrite): Likewise.
3101 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
3104 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3106 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
3107 finalizing MALLSTREAM.
3109 * sysdeps/mach/hurd/syncfs.c: New file.
3111 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3114 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
3115 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
3116 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
3117 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
3118 (_nss_dns_gethostbyname4_r): Likewise.
3119 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
3120 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
3122 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
3125 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
3127 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
3129 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
3130 * elf/cache.c (print_entry): Print ",AArch64" for
3133 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
3134 * elf/cache.c (print_entry): Print ",hard-float" for
3137 2012-11-18 David S. Miller <davem@davemloft.net>
3139 With help from Joseph Myers.
3140 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
3142 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
3144 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
3145 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
3147 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3148 * math/libm-test.inc (y0_test): New tests.
3149 (y1_test): New tests.
3150 * sysdeps/i386/fpu/libm-test-ulps: Update.
3151 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3154 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
3156 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
3158 * configure: Regenerated.
3160 2012-11-17 David S. Miller <davem@davemloft.net>
3163 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
3164 nonzero exponents with absolute value below 0x1p-128 to +/-
3167 2012-11-17 Joseph Myers <joseph@codesourcery.com>
3169 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
3171 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
3173 * posix/getconf-speclist.c: New file.
3174 * posix/posix-envs.def: Likewise.
3175 * posix/confstr.c (START_ENV_GROUP): New macro.
3176 (END_ENV_GROUP): Likewise.
3177 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3178 (KNOWN_PRESENT_ENV_STRING): Likewise.
3179 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3180 (UNKNOWN_ENVIRONMENT): Likewise.
3181 (confstr): Include posix-envs.def instead of handling
3182 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
3183 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
3184 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
3185 (END_ENV_GROUP): Likewise.
3186 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3187 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3188 (UNKNOWN_ENVIRONMENT): Likewise.
3189 (__sysconf): Include posix-envs.def instead of handling associated
3190 cases directly here.
3191 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
3192 preprocessing getconf-speclist.c rather than running getconf or
3193 generating empty file.
3195 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
3197 * scripts/check-local-headers.sh: Ignore 'mach' headers.
3199 2012-11-16 Andrej Lajovic <natrij@gmail.com>
3202 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
3204 2012-11-16 David S. Miller <davem@davemloft.net>
3206 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
3207 smaller than LDBL_EPSILON/2.0L, just return xm1.
3209 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
3211 * elf/tst-array1.c (init): Set constructor priority to 1000.
3212 (fini): Set destructor priority to 1000.
3213 * elf/tst-array2dep.c: Likewise.
3215 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3218 * libio/fileops.c (_IO_new_file_write): Correctly return error.
3219 (_IO_new_file_xsputn): Also return EOF if none of the input
3220 data was written when overflow failed.
3221 * libio/iopadn.c (_IO_padn): Likewise.
3222 * libio/iowpadn.c (_IO_wpadn): Likewise.
3223 * stdio-common/tst-put-error.c: Add copyright notice.
3224 (do_test): Add case for printing padded string.
3225 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
3226 _IO_padn returned error.
3227 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
3228 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
3231 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3233 * libio/libioP.h: Add comment note that the references to C++
3234 bits are now obsolete.
3236 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3238 * math/libm-test.inc (check_complex): Use asprintf.
3240 2012-11-14 Joseph Myers <joseph@codesourcery.com>
3242 * debug/pcprofiledump.c (print_version): Update copyright year.
3243 * malloc/memusagestat.c (print_version): Likewise.
3245 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
3248 * elf/Makefile (tests): Add tst-audit8.
3249 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
3250 ($(objpfx)tst-audit8.out): New target.
3251 (tst-audit8-ENV): New variable.
3252 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
3253 audit if l_reloc_result is NULL.
3254 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
3255 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
3256 * elf/tst-audit8.c: New file.
3258 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3260 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
3261 * misc/Makefile (CFLAGS-select.c): Define.
3262 * posix/Makefile (CFLAGS-pause.c): Define.
3264 2012-11-13 David S. Miller <davem@davemloft.net>
3266 * crypt/Makefile: Move test targets after toplevel Rules
3267 inclusion. Grab any necessary sysdep routines when linking.
3268 * crypt/md5.c (md5_process_block): Remove define, we will always
3269 name it __md5_process_block.
3270 (md5_finish_ctx): Update md5_process_block call.
3271 (md5_stream): Likewise.
3272 (md5_process_bytes): Likewise.
3273 (md5_process_block): Rename to __md5_process_block and move to ...
3274 * crypt/md5-block.c: ... here.
3275 * crypt/sha256.c (sha256_process_block): Move to ...
3276 * crypt/sha256-block.c: ... here.
3277 * crypt/sha512.c (sha512_process_block): Move to ...
3278 * crypt/sha512-block.c: ... here.
3279 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
3281 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
3282 * sysdeps/sparc/sparc64/multiarch/Makefile
3283 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
3285 (localedef-aux): Add md5 crypto assembler when in locale subdir.
3286 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
3288 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
3289 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
3290 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
3291 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
3292 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
3293 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
3294 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
3295 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
3296 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
3298 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
3299 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
3301 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
3303 2012-11-13 Joseph Myers <joseph@codesourcery.com>
3305 * timezone/tzselect.ksh: Update from tzcode git revision
3306 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
3307 * timezone/zdump.c: Likewise.
3308 * timezone/zic.c: Likewise.
3309 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
3310 in TZVERSION setting, not $(PKGVERSION).
3311 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
3312 REPORT_BUGS_TO settings.
3315 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
3318 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3320 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
3321 detection to immediately after _FP_ROUND().
3322 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
3325 2012-11-11 David S. Miller <davem@davemloft.net>
3327 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
3329 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
3330 __close rather than their public counterparts.
3332 2012-11-10 Joseph Myers <joseph@codesourcery.com>
3334 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
3336 [UNIX98] (sem_timedwait): Do not expect.
3337 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
3338 [XPG4 || UNIX98] (sockatmark): Do not expect.
3339 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
3340 (clock_getcpuclockid): Do not expect.
3341 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
3342 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
3344 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
3345 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
3346 [UNIX98] (vwscanf): Likewise.
3347 [UNIX98] (vswscanf): Likewise.
3349 2012-11-09 Joseph Myers <joseph@codesourcery.com>
3351 * timezone/version.h: Remove file.
3352 * timezone/README: Do not refer to version.h.
3353 * timezone/Makefile ($(objpfx)zic.o): New dependency on
3355 ($(objpfx)zdump.o): Likewise.
3356 ($(objpfx)version.h): New target.
3358 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
3360 * timezone/README: Don't mention modification to tzselect.ksh.
3361 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
3362 work on unmodified tzselect.ksh. Substitute version numbers in
3365 * Makefile (format-me): Remove.
3366 (INSTALL): Adjust indentation. Use commands directly instead of
3369 * aclocal.m4 (ACX_PKGVERSION): New macro.
3370 (ACX_BUGURL): Likewise.
3371 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
3372 (PKGVERSION): New AC_DEFINE_UNQUOTED.
3373 (REPORT_BUGS_TO): Likewise.
3374 * configure: Regenerated.
3375 * config.h.in (PKGVERSION): New macro.
3376 (REPORT_BUGS_TO): Likewise.
3377 * config.make.in (PKGVERSION): New variable.
3378 (PKGVERSION_TEXI): Likewise.
3379 (REPORT_BUGS_TO): Likewise.
3380 (REPORT_BUGS_TEXI): Likewise.
3381 * Makefile (format-me): Use -I$(common-objpfx)manual.
3382 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
3383 ($(common-objpfx)manual/%): New target.
3384 (manual/%): Remove target.
3385 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
3386 (print_version): Use PKGVERSION.
3387 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
3388 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
3390 ($(objpfx)xtrace): Likewise.
3391 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
3392 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
3393 (print_version): Use PKGVERSION.
3394 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
3395 (do_version): Use PKGVERSION.
3396 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
3398 (common-ldd-rewrite): Likewise.
3399 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
3400 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
3401 (print_version): Use PKGVERSION.
3402 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
3403 * elf/pldd.c (argp_program_bug_address): Remove variable.
3404 (more_help): New function.
3405 (argp): Use more_help.
3406 (print_version): Use PKGVERSION.
3407 * elf/sln.c (main): Use PKGVERSION.
3408 (usage): Use REPORT_BUGS_TO.
3409 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
3410 (top level): Use PKGVERSION.
3411 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
3412 (print_version): Use PKGVERSION.
3413 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
3414 (print_version): Use PKGVERSION.
3415 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
3416 (print_version): Use PKGVERSION.
3417 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
3418 (print_version): Use PKGVERSION.
3419 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
3420 (print_version): Use PKGVERSION.
3421 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
3422 (print_version): Use PKGVERSION.
3423 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
3425 ($(objpfx)memusage): Likewise.
3426 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
3427 (do_version): Use PKGVERSION.
3428 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
3429 (print_version): Use PKGVERSION.
3430 * malloc/mtrace.pl ($PACKAGE): Remove variable.
3431 ($PKGVERSION): New variable.
3432 ($REPORT_BUGS_TO): Likewise.
3433 (usage): Use $REPORT_BUGS_TO.
3434 (top level): Use $PKGVERSION.
3435 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
3436 ($(objpfx)pkgvers.texi): New rule.
3437 ($(objpfx)stamp-pkgvers): Likewise.
3438 * manual/install.texi: Include pkgvers.texi.
3439 (--with-pkgversion): Document new configure option.
3440 (--with-bugurl): Likewise.
3441 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
3442 than necessarily for this particular distribution. Use
3443 REPORT_BUGS_TO for where to report bugs.
3444 * INSTALL: Regenerated.
3445 * manual/libc.texinfo: Include pkgvers.texi.
3446 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
3447 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
3448 (print_version): Use PKGVERSION.
3449 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
3450 (print_version): Use PKGVERSION.
3451 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
3452 (print_version): Use PKGVERSION.
3453 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
3454 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
3456 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
3457 (print_version): Use PKGVERSION.
3458 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
3459 (print_version): Use PKGVERSION.
3460 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
3463 * timezone/checktab.awk: Update from tzcode 2012i.
3464 * timezone/ialloc.c: Likewise.
3465 * timezone/private.h: Likewise.
3466 * timezone/scheck.c: Likewise.
3467 * timezone/tzfile.h: Likewise.
3468 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
3469 (TZVERSION): Hardcode tzcode version number.
3470 * timezone/zdump.c: Update from tzcode 2012i.
3471 * timezone/zic.c: Likewise.
3472 * timezone/version.h: New file.
3473 * timezone/README: Describe version.h. Update upstream location.
3476 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
3477 (mktemp): Enable declaration.
3478 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
3479 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
3480 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
3481 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
3483 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
3485 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
3487 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
3489 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
3491 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
3495 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
3496 offset in buffer as u_int32_t not u_long. Consistently use memcpy
3497 for copies of such integer values.
3498 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
3499 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
3501 2012-11-09 Andreas Jaeger <aj@suse.de>
3503 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
3504 definitions and declarations that are provided by
3505 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3507 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3509 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
3510 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
3511 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
3514 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3516 * elf/elf.h: Update comment before AArch64 relocations.
3518 2012-11-07 David S. Miller <davem@davemloft.net>
3520 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
3521 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3522 (__start_context): Declare.
3523 (__makecontext_ret): Delete.
3524 (__makecontext): Hook up __start_context instead of
3526 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
3527 (sysdep_routines): Add __start_context when in stdlib.
3529 2012-11-07 Joseph Myers <joseph@codesourcery.com>
3531 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
3532 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
3533 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
3535 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
3536 (READELF): New variable. Use it instead of hardcoded "readelf".
3538 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
3540 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
3541 * sysdeps/x86/Makefile: Here.
3542 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
3543 * sysdeps/x86/tst-xmmymm.sh: This.
3545 2012-11-07 Joseph Myers <joseph@codesourcery.com>
3547 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
3549 [UNIX98] (pthread_barrier_t): Do not expect.
3550 [UNIX98] (pthread_barrierattr_t): Likewise.
3551 [UNIX98] (pthread_spinlock_t): Likewise.
3552 [UNIX98] (pthread_barrier_destroy): Likewise.
3553 [UNIX98] (pthread_barrier_init): Likewise.
3554 [UNIX98] (pthread_barrier_wait): Likewise.
3555 [UNIX98] (pthread_barrierattr_destroy): Likewise.
3556 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
3557 [UNIX98] (pthread_barrierattr_init): Likewise.
3558 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
3559 [UNIX98] (pthread_getcpuclockid): Likewise.
3560 [UNIX98] (pthread_mutex_timedlock): Likewise.
3561 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
3562 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
3563 [UNIX98] (pthread_sigmask): Likewise.
3564 [UNIX98] (pthread_spin_destroy): Likewise.
3565 [UNIX98] (pthread_spin_init): Likewise.
3566 [UNIX98] (pthread_spin_lock): Likewise.
3567 [UNIX98] (pthread_spin_trylock): Likewise.
3568 [UNIX98] (pthread_spin_unlock): Likewise.
3569 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
3571 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
3572 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
3573 [XPG3 || XPG4] (pthread_cond_t): Likewise.
3574 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
3575 [XPG3 || XPG4] (pthread_key_t): Likewise.
3576 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
3577 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
3578 [XPG3 || XPG4] (pthread_once_t): Likewise.
3579 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
3580 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
3581 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
3582 [XPG3 || XPG4] (pthread_t): Likewise.
3584 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
3586 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
3588 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
3589 Change function return type to int.
3591 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
3592 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
3593 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
3594 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
3595 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
3596 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
3597 [!POSIX] (posix_madvise): Likewise.
3598 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
3600 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
3601 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
3603 (posix_mem_offset): Likewise.
3604 (posix_typed_mem_get_info): Likewise.
3605 (posix_typed_mem_open): Likewise.
3607 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
3608 Change condition to [XOPEN2K8].
3610 * conform/conformtest.pl: Preprocess allow-header data with -x c
3611 instead of from stdin.
3612 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
3613 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
3614 [C99-based standards] (cerfc): Likewise.
3615 [C99-based standards] (cexp2): Likewise.
3616 [C99-based standards] (cexpm1): Likewise.
3617 [C99-based standards] (clog10): Likewise.
3618 [C99-based standards] (clog1p): Likewise.
3619 [C99-based standards] (clog2): Likewise.
3620 [C99-based standards] (clgamma): Likewise.
3621 [C99-based standards] (ctgamma): Likewise.
3622 [C99-based standards] (cerff): Likewise.
3623 [C99-based standards] (cerfcf): Likewise.
3624 [C99-based standards] (cexp2f): Likewise.
3625 [C99-based standards] (cexpm1f): Likewise.
3626 [C99-based standards] (clog10f): Likewise.
3627 [C99-based standards] (clog1pf): Likewise.
3628 [C99-based standards] (clog2f): Likewise.
3629 [C99-based standards] (clgammaf): Likewise.
3630 [C99-based standards] (ctgammaf): Likewise.
3631 [C99-based standards] (cerfl): Likewise.
3632 [C99-based standards] (cerfcl): Likewise.
3633 [C99-based standards] (cexp2l): Likewise.
3634 [C99-based standards] (cexpm1l): Likewise.
3635 [C99-based standards] (clog10l): Likewise.
3636 [C99-based standards] (clog1pl): Likewise.
3637 [C99-based standards] (clog2l): Likewise.
3638 [C99-based standards] (clgammal): Likewise.
3639 [C99-based standards] (ctgammal): Likewise.
3640 * conform/data/inttypes.h-data [C99-based standards]: Include
3641 stdint.h-data. Remove all expectations for stdint.h contents.
3642 [C99-based standards] (PRI*): Do not allow.
3643 [C99-based standards] (SCN*): Likewise.
3644 [C99-based standards] (*_t): Likewise.
3645 [C99-based-standards] (PRId8): Expect macro.
3646 [C99-based-standards] (PRIi8): Likewise.
3647 [C99-based-standards] (PRIo8): Likewise.
3648 [C99-based-standards] (PRIu8): Likewise.
3649 [C99-based-standards] (PRIx8): Likewise.
3650 [C99-based-standards] (PRIX8): Likewise.
3651 [C99-based-standards] (SCNd8): Likewise.
3652 [C99-based-standards] (SCNi8): Likewise.
3653 [C99-based-standards] (SCNo8): Likewise.
3654 [C99-based-standards] (SCNu8): Likewise.
3655 [C99-based-standards] (SCNx8): Likewise.
3656 [C99-based-standards] (PRIdLEAST8): Likewise.
3657 [C99-based-standards] (PRIiLEAST8): Likewise.
3658 [C99-based-standards] (PRIoLEAST8): Likewise.
3659 [C99-based-standards] (PRIuLEAST8): Likewise.
3660 [C99-based-standards] (PRIxLEAST8): Likewise.
3661 [C99-based-standards] (PRIXLEAST8): Likewise.
3662 [C99-based-standards] (SCNdLEAST8): Likewise.
3663 [C99-based-standards] (SCNiLEAST8): Likewise.
3664 [C99-based-standards] (SCNoLEAST8): Likewise.
3665 [C99-based-standards] (SCNuLEAST8): Likewise.
3666 [C99-based-standards] (SCNxLEAST8): Likewise.
3667 [C99-based-standards] (PRIdFAST8): Likewise.
3668 [C99-based-standards] (PRIiFAST8): Likewise.
3669 [C99-based-standards] (PRIoFAST8): Likewise.
3670 [C99-based-standards] (PRIuFAST8): Likewise.
3671 [C99-based-standards] (PRIxFAST8): Likewise.
3672 [C99-based-standards] (PRIXFAST8): Likewise.
3673 [C99-based-standards] (SCNdFAST8): Likewise.
3674 [C99-based-standards] (SCNiFAST8): Likewise.
3675 [C99-based-standards] (SCNoFAST8): Likewise.
3676 [C99-based-standards] (SCNuFAST8): Likewise.
3677 [C99-based-standards] (SCNxFAST8): Likewise.
3678 [C99-based-standards] (PRId16): Likewise.
3679 [C99-based-standards] (PRIi16): Likewise.
3680 [C99-based-standards] (PRIo16): Likewise.
3681 [C99-based-standards] (PRIu16): Likewise.
3682 [C99-based-standards] (PRIx16): Likewise.
3683 [C99-based-standards] (PRIX16): Likewise.
3684 [C99-based-standards] (SCNd16): Likewise.
3685 [C99-based-standards] (SCNi16): Likewise.
3686 [C99-based-standards] (SCNo16): Likewise.
3687 [C99-based-standards] (SCNu16): Likewise.
3688 [C99-based-standards] (SCNx16): Likewise.
3689 [C99-based-standards] (PRIdLEAST16): Likewise.
3690 [C99-based-standards] (PRIiLEAST16): Likewise.
3691 [C99-based-standards] (PRIoLEAST16): Likewise.
3692 [C99-based-standards] (PRIuLEAST16): Likewise.
3693 [C99-based-standards] (PRIxLEAST16): Likewise.
3694 [C99-based-standards] (PRIXLEAST16): Likewise.
3695 [C99-based-standards] (SCNdLEAST16): Likewise.
3696 [C99-based-standards] (SCNiLEAST16): Likewise.
3697 [C99-based-standards] (SCNoLEAST16): Likewise.
3698 [C99-based-standards] (SCNuLEAST16): Likewise.
3699 [C99-based-standards] (SCNxLEAST16): Likewise.
3700 [C99-based-standards] (PRIdFAST16): Likewise.
3701 [C99-based-standards] (PRIiFAST16): Likewise.
3702 [C99-based-standards] (PRIoFAST16): Likewise.
3703 [C99-based-standards] (PRIuFAST16): Likewise.
3704 [C99-based-standards] (PRIxFAST16): Likewise.
3705 [C99-based-standards] (PRIXFAST16): Likewise.
3706 [C99-based-standards] (SCNdFAST16): Likewise.
3707 [C99-based-standards] (SCNiFAST16): Likewise.
3708 [C99-based-standards] (SCNoFAST16): Likewise.
3709 [C99-based-standards] (SCNuFAST16): Likewise.
3710 [C99-based-standards] (SCNxFAST16): Likewise.
3711 [C99-based-standards] (PRId32): Likewise.
3712 [C99-based-standards] (PRIi32): Likewise.
3713 [C99-based-standards] (PRIo32): Likewise.
3714 [C99-based-standards] (PRIu32): Likewise.
3715 [C99-based-standards] (PRIx32): Likewise.
3716 [C99-based-standards] (PRIX32): Likewise.
3717 [C99-based-standards] (SCNd32): Likewise.
3718 [C99-based-standards] (SCNi32): Likewise.
3719 [C99-based-standards] (SCNo32): Likewise.
3720 [C99-based-standards] (SCNu32): Likewise.
3721 [C99-based-standards] (SCNx32): Likewise.
3722 [C99-based-standards] (PRIdLEAST32): Likewise.
3723 [C99-based-standards] (PRIiLEAST32): Likewise.
3724 [C99-based-standards] (PRIoLEAST32): Likewise.
3725 [C99-based-standards] (PRIuLEAST32): Likewise.
3726 [C99-based-standards] (PRIxLEAST32): Likewise.
3727 [C99-based-standards] (PRIXLEAST32): Likewise.
3728 [C99-based-standards] (SCNdLEAST32): Likewise.
3729 [C99-based-standards] (SCNiLEAST32): Likewise.
3730 [C99-based-standards] (SCNoLEAST32): Likewise.
3731 [C99-based-standards] (SCNuLEAST32): Likewise.
3732 [C99-based-standards] (SCNxLEAST32): Likewise.
3733 [C99-based-standards] (PRIdFAST32): Likewise.
3734 [C99-based-standards] (PRIiFAST32): Likewise.
3735 [C99-based-standards] (PRIoFAST32): Likewise.
3736 [C99-based-standards] (PRIuFAST32): Likewise.
3737 [C99-based-standards] (PRIxFAST32): Likewise.
3738 [C99-based-standards] (PRIXFAST32): Likewise.
3739 [C99-based-standards] (SCNdFAST32): Likewise.
3740 [C99-based-standards] (SCNiFAST32): Likewise.
3741 [C99-based-standards] (SCNoFAST32): Likewise.
3742 [C99-based-standards] (SCNuFAST32): Likewise.
3743 [C99-based-standards] (SCNxFAST32): Likewise.
3744 [C99-based-standards] (PRId64): Likewise.
3745 [C99-based-standards] (PRIi64): Likewise.
3746 [C99-based-standards] (PRIo64): Likewise.
3747 [C99-based-standards] (PRIu64): Likewise.
3748 [C99-based-standards] (PRIx64): Likewise.
3749 [C99-based-standards] (PRIX64): Likewise.
3750 [C99-based-standards] (SCNd64): Likewise.
3751 [C99-based-standards] (SCNi64): Likewise.
3752 [C99-based-standards] (SCNo64): Likewise.
3753 [C99-based-standards] (SCNu64): Likewise.
3754 [C99-based-standards] (SCNx64): Likewise.
3755 [C99-based-standards] (PRIdLEAST64): Likewise.
3756 [C99-based-standards] (PRIiLEAST64): Likewise.
3757 [C99-based-standards] (PRIoLEAST64): Likewise.
3758 [C99-based-standards] (PRIuLEAST64): Likewise.
3759 [C99-based-standards] (PRIxLEAST64): Likewise.
3760 [C99-based-standards] (PRIXLEAST64): Likewise.
3761 [C99-based-standards] (SCNdLEAST64): Likewise.
3762 [C99-based-standards] (SCNiLEAST64): Likewise.
3763 [C99-based-standards] (SCNoLEAST64): Likewise.
3764 [C99-based-standards] (SCNuLEAST64): Likewise.
3765 [C99-based-standards] (SCNxLEAST64): Likewise.
3766 [C99-based-standards] (PRIdFAST64): Likewise.
3767 [C99-based-standards] (PRIiFAST64): Likewise.
3768 [C99-based-standards] (PRIoFAST64): Likewise.
3769 [C99-based-standards] (PRIuFAST64): Likewise.
3770 [C99-based-standards] (PRIxFAST64): Likewise.
3771 [C99-based-standards] (PRIXFAST64): Likewise.
3772 [C99-based-standards] (SCNdFAST64): Likewise.
3773 [C99-based-standards] (SCNiFAST64): Likewise.
3774 [C99-based-standards] (SCNoFAST64): Likewise.
3775 [C99-based-standards] (SCNuFAST64): Likewise.
3776 [C99-based-standards] (SCNxFAST64): Likewise.
3777 [C99-based-standards] (PRIdMAX): Likewise.
3778 [C99-based-standards] (PRIiMAX): Likewise.
3779 [C99-based-standards] (PRIoMAX): Likewise.
3780 [C99-based-standards] (PRIuMAX): Likewise.
3781 [C99-based-standards] (PRIxMAX): Likewise.
3782 [C99-based-standards] (PRIXMAX): Likewise.
3783 [C99-based-standards] (SCNdMAX): Likewise.
3784 [C99-based-standards] (SCNiMAX): Likewise.
3785 [C99-based-standards] (SCNoMAX): Likewise.
3786 [C99-based-standards] (SCNuMAX): Likewise.
3787 [C99-based-standards] (SCNxMAX): Likewise.
3788 [C99-based-standards] (PRIdPTR): Likewise.
3789 [C99-based-standards] (PRIiPTR): Likewise.
3790 [C99-based-standards] (PRIoPTR): Likewise.
3791 [C99-based-standards] (PRIuPTR): Likewise.
3792 [C99-based-standards] (PRIxPTR): Likewise.
3793 [C99-based-standards] (PRIXPTR): Likewise.
3794 [C99-based-standards] (SCNdPTR): Likewise.
3795 [C99-based-standards] (SCNiPTR): Likewise.
3796 [C99-based-standards] (SCNoPTR): Likewise.
3797 [C99-based-standards] (SCNuPTR): Likewise.
3798 [C99-based-standards] (SCNxPTR): Likewise.
3799 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
3801 * conform/data/stdint.h-data: Update comments to clarify
3803 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
3805 [C99-based standards] (INT8_MAX): Likewise.
3806 [C99-based standards] (INT16_MIN): Likewise.
3807 [C99-based standards] (INT16_MAX): Likewise.
3808 [C99-based standards] (INT32_MIN): Likewise.
3809 [C99-based standards] (INT32_MAX): Likewise.
3810 [C99-based standards] (INT64_MIN): Likewise.
3811 [C99-based standards] (INT64_MAX): Likewise.
3812 [C99-based standards] (UINT8_MAX): Likewise.
3813 [C99-based standards] (UINT16_MAX): Likewise.
3814 [C99-based standards] (UINT32_MAX): Likewise.
3815 [C99-based standards] (UINT64_MAX): Likewise.
3816 [C99-based standards] (INT_LEAST8_MIN): Likewise.
3817 [C99-based standards] (INT_LEAST8_MAX): Likewise.
3818 [C99-based standards] (INT_LEAST16_MIN): Likewise.
3819 [C99-based standards] (INT_LEAST16_MAX): Likewise.
3820 [C99-based standards] (INT_LEAST32_MIN): Likewise.
3821 [C99-based standards] (INT_LEAST32_MAX): Likewise.
3822 [C99-based standards] (INT_LEAST64_MIN): Likewise.
3823 [C99-based standards] (INT_LEAST64_MAX): Likewise.
3824 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
3825 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
3826 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
3827 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
3828 [C99-based standards] (INT_FAST8_MIN): Likewise.
3829 [C99-based standards] (INT_FAST8_MAX): Likewise.
3830 [C99-based standards] (INT_FAST16_MIN): Likewise.
3831 [C99-based standards] (INT_FAST16_MAX): Likewise.
3832 [C99-based standards] (INT_FAST32_MIN): Likewise.
3833 [C99-based standards] (INT_FAST32_MAX): Likewise.
3834 [C99-based standards] (INT_FAST64_MIN): Likewise.
3835 [C99-based standards] (INT_FAST64_MAX): Likewise.
3836 [C99-based standards] (UINT_FAST8_MAX): Likewise.
3837 [C99-based standards] (UINT_FAST16_MAX): Likewise.
3838 [C99-based standards] (UINT_FAST32_MAX): Likewise.
3839 [C99-based standards] (UINT_FAST64_MAX): Likewise.
3840 [C99-based standards] (INTPTR_MIN): Likewise.
3841 [C99-based standards] (INTPTR_MAX): Likewise.
3842 [C99-based standards] (UINTPTR_MAX): Likewise.
3843 [C99-based standards] (INTMAX_MIN): Likewise.
3844 [C99-based standards] (INTMAX_MAX): Likewise.
3845 [C99-based standards] (UINTMAX_MAX): Likewise.
3846 [C99-based standards] (PTRDIFF_MIN): Likewise.
3847 [C99-based standards] (PTRDIFF_MAX): Likewise.
3848 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
3849 [C99-based standards] (SIZE_MAX): Likewise.
3850 [C99-based standards] (WCHAR_MAX): Likewise.
3851 [C99-based standards] (WINT_MAX): Likewise.
3852 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
3853 constraint on value.
3854 [C99-based standards] (WCHAR_MIN): Likewise.
3855 [C99-based standards] (WINT_MIN): Likewise.
3856 [C99-based standards] (*_t): Allow.
3857 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
3858 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
3859 Include math.h-data and complex.h-data. Remove all expectations
3860 of math.h and complex.h contents.
3861 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
3863 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
3864 (struct tm): Expect tag.
3865 [C99-based-standards] (wcstof): Expect function.
3866 [C99-based-standards] (wcstold): Likewise.
3867 [C99-based-standards] (wcstoll): Likewise.
3868 [C99-based-standards] (wcstoull): Likewise.
3869 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
3870 macro-int-constant. Specify type.
3871 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
3872 constraint on value.
3873 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3875 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
3877 [ISO C standards]: Do not allow headers.
3878 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
3879 wcs[abcdefghijklmnopqrstuvwxyz]*.
3880 [ISO C standards] (*_t): Do not allow.
3881 * conform/data/wctype.h-data [C99-based standards] (iswblank):
3883 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
3884 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3886 [ISO C standards]: Do not allow headers.
3887 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
3888 is[abcdefghijklmnopqrstuvwxyz]*.
3889 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
3890 to[abcdefghijklmnopqrstuvwxyz]*.
3891 [ISO C standards] (*_t): Do not allow.
3892 * conform/data/stdalign.h-data: New file.
3893 * conform/data/stdbool.h-data: Likewise.
3894 * conform/data/stdnoreturn.h-data: Likewise.
3896 2012-11-07 Roland McGrath <roland@hack.frob.com>
3899 * manual/filesys.texi (Directory Entries): Typo fix.
3900 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
3902 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3904 * elf/elf.h (EM_AARCH64): New macro.
3905 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
3906 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
3907 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
3908 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
3909 (R_AARCH64_TLSDESC): Likewise.
3910 (NT_ARM_TLS): Likewise.
3911 (NT_ARM_HW_BREAK): Likewise.
3912 (NT_ARM_HW_WATCH): Likewise.
3914 2012-11-07 Joseph Myers <joseph@codesourcery.com>
3917 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
3918 (__ieee754_powl): Saturate nonzero exponents with absolute value
3919 below 0x1p-79 to +/- 0x1p-79.
3920 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
3921 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
3922 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
3923 nonzero exponents with absolute value below 0x1p-32 to +/-
3925 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
3926 (__ieee754_powl): Saturate nonzero exponents with absolute value
3927 below 0x1p-79 to +/- 0x1p-79.
3928 * math/libm-test.inc (pow_test): Add more tests.
3930 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3932 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
3933 _dl_s390_cap_flags with kernel. Increase string length.
3934 (_dl_s390_platforms): Add z196 and zEC12.
3936 2012-11-07 Joseph Myers <joseph@codesourcery.com>
3938 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
3939 Change XOPEN21K to XOPEN2K.
3941 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
3943 * string/memmove.c: Use memcpy when possible.
3945 2012-11-06 Andreas Jaeger <aj@suse.de>
3947 * po/eo.po: Update from translation team.
3949 2012-11-06 Joseph Myers <joseph@codesourcery.com>
3952 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
3953 exponent and small x and y exponents, scale x or y up. Increase
3954 by 2 the exponent used in scaling up.
3955 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3956 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3957 * math/libm-test.inc (fma_test): Add more tests.
3958 (fma_test_towardzero): Likewise.
3959 (fma_test_downward): Likewise.
3960 (fma_test_upward): Likewise.
3962 2012-11-05 Joseph Myers <joseph@codesourcery.com>
3965 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
3969 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
3970 namespace for names of struct fields.
3971 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
3973 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3974 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
3976 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3979 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
3981 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3983 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
3987 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
3990 2012-11-04 Joseph Myers <joseph@codesourcery.com>
3993 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
3994 definitely overflow as x * y not x * y + z.
3995 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3996 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3997 * math/libm-test.inc (fma_test): Add more tests.
3998 (fma_test_towardzero): Likewise.
3999 (fma_test_downward): Likewise.
4000 (fma_test_upward): Likewise.
4002 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4006 * include/stub-tag.h: Remove file.
4007 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
4009 * manual/maint.texi (Porting): Don't reference it.
4010 * Makerules ($(objpfx)stubs): Likewise.
4011 * dirent/closedir.c: Don't include <stub-tag.h>.
4012 * dirent/dirfd.c: Likewise.
4013 * dirent/fdopendir.c: Likewise.
4014 * dirent/getdents.c: Likewise.
4015 * dirent/getdents64.c: Likewise.
4016 * dirent/opendir.c: Likewise.
4017 * dirent/readdir.c: Likewise.
4018 * dirent/readdir64.c: Likewise.
4019 * dirent/readdir64_r.c: Likewise.
4020 * dirent/readdir_r.c: Likewise.
4021 * dirent/rewinddir.c: Likewise.
4022 * dirent/seekdir.c: Likewise.
4023 * dirent/telldir.c: Likewise.
4024 * gmon/profil.c: Likewise.
4025 * grp/setgroups.c: Likewise.
4026 * inet/if_index.c: Likewise.
4027 * io/access.c: Likewise.
4028 * io/chdir.c: Likewise.
4029 * io/chmod.c: Likewise.
4030 * io/chown.c: Likewise.
4031 * io/close.c: Likewise.
4032 * io/dup.c: Likewise.
4033 * io/dup2.c: Likewise.
4034 * io/dup3.c: Likewise.
4035 * io/euidaccess.c: Likewise.
4036 * io/faccessat.c: Likewise.
4037 * io/fchdir.c: Likewise.
4038 * io/fchmod.c: Likewise.
4039 * io/fchmodat.c: Likewise.
4040 * io/fchown.c: Likewise.
4041 * io/fchownat.c: Likewise.
4042 * io/fcntl.c: Likewise.
4043 * io/flock.c: Likewise.
4044 * io/fstatfs.c: Likewise.
4045 * io/fstatfs64.c: Likewise.
4046 * io/fstatvfs.c: Likewise.
4047 * io/fstatvfs64.c: Likewise.
4048 * io/futimens.c: Likewise.
4049 * io/fxstat.c: Likewise.
4050 * io/fxstat64.c: Likewise.
4051 * io/fxstatat.c: Likewise.
4052 * io/fxstatat64.c: Likewise.
4053 * io/getcwd.c: Likewise.
4054 * io/isatty.c: Likewise.
4055 * io/lchmod.c: Likewise.
4056 * io/lchown.c: Likewise.
4057 * io/link.c: Likewise.
4058 * io/linkat.c: Likewise.
4059 * io/lseek.c: Likewise.
4060 * io/lseek64.c: Likewise.
4061 * io/lxstat64.c: Likewise.
4062 * io/mkdir.c: Likewise.
4063 * io/mkdirat.c: Likewise.
4064 * io/mkfifo.c: Likewise.
4065 * io/mkfifoat.c: Likewise.
4066 * io/open.c: Likewise.
4067 * io/open64.c: Likewise.
4068 * io/openat.c: Likewise.
4069 * io/openat64.c: Likewise.
4070 * io/pipe.c: Likewise.
4071 * io/pipe2.c: Likewise.
4072 * io/poll.c: Likewise.
4073 * io/posix_fadvise.c: Likewise.
4074 * io/posix_fadvise64.c: Likewise.
4075 * io/posix_fallocate.c: Likewise.
4076 * io/posix_fallocate64.c: Likewise.
4077 * io/read.c: Likewise.
4078 * io/readlink.c: Likewise.
4079 * io/readlinkat.c: Likewise.
4080 * io/rmdir.c: Likewise.
4081 * io/sendfile.c: Likewise.
4082 * io/sendfile64.c: Likewise.
4083 * io/statfs.c: Likewise.
4084 * io/statfs64.c: Likewise.
4085 * io/statvfs.c: Likewise.
4086 * io/statvfs64.c: Likewise.
4087 * io/symlink.c: Likewise.
4088 * io/symlinkat.c: Likewise.
4089 * io/ttyname.c: Likewise.
4090 * io/ttyname_r.c: Likewise.
4091 * io/umask.c: Likewise.
4092 * io/unlink.c: Likewise.
4093 * io/unlinkat.c: Likewise.
4094 * io/utime.c: Likewise.
4095 * io/utimensat.c: Likewise.
4096 * io/write.c: Likewise.
4097 * io/xmknod.c: Likewise.
4098 * io/xmknodat.c: Likewise.
4099 * io/xstat.c: Likewise.
4100 * io/xstat64.c: Likewise.
4101 * login/getpt.c: Likewise.
4102 * login/grantpt.c: Likewise.
4103 * login/unlockpt.c: Likewise.
4104 * math/e_acoshl.c: Likewise.
4105 * math/e_acosl.c: Likewise.
4106 * math/e_asinl.c: Likewise.
4107 * math/e_atan2l.c: Likewise.
4108 * math/e_atanhl.c: Likewise.
4109 * math/e_coshl.c: Likewise.
4110 * math/e_expl.c: Likewise.
4111 * math/e_fmodl.c: Likewise.
4112 * math/e_gammal_r.c: Likewise.
4113 * math/e_hypotl.c: Likewise.
4114 * math/e_j0l.c: Likewise.
4115 * math/e_j1l.c: Likewise.
4116 * math/e_jnl.c: Likewise.
4117 * math/e_lgammal_r.c: Likewise.
4118 * math/e_log10l.c: Likewise.
4119 * math/e_log2l.c: Likewise.
4120 * math/e_logl.c: Likewise.
4121 * math/e_powl.c: Likewise.
4122 * math/e_rem_pio2l.c: Likewise.
4123 * math/e_sinhl.c: Likewise.
4124 * math/e_sqrtl.c: Likewise.
4125 * math/fclrexcpt.c: Likewise.
4126 * math/fedisblxcpt.c: Likewise.
4127 * math/feenablxcpt.c: Likewise.
4128 * math/fegetenv.c: Likewise.
4129 * math/fegetexcept.c: Likewise.
4130 * math/fegetround.c: Likewise.
4131 * math/feholdexcpt.c: Likewise.
4132 * math/fesetenv.c: Likewise.
4133 * math/fesetround.c: Likewise.
4134 * math/feupdateenv.c: Likewise.
4135 * math/fgetexcptflg.c: Likewise.
4136 * math/fraiseexcpt.c: Likewise.
4137 * math/fsetexcptflg.c: Likewise.
4138 * math/ftestexcept.c: Likewise.
4139 * math/k_cosl.c: Likewise.
4140 * math/k_rem_pio2l.c: Likewise.
4141 * math/k_sinl.c: Likewise.
4142 * math/k_tanl.c: Likewise.
4143 * math/s_asinhl.c: Likewise.
4144 * math/s_atanl.c: Likewise.
4145 * math/s_cbrtl.c: Likewise.
4146 * math/s_erfl.c: Likewise.
4147 * math/s_expm1l.c: Likewise.
4148 * math/s_log1pl.c: Likewise.
4149 * math/s_tanhl.c: Likewise.
4150 * misc/acct.c: Likewise.
4151 * misc/brk.c: Likewise.
4152 * misc/chflags.c: Likewise.
4153 * misc/chroot.c: Likewise.
4154 * misc/fchflags.c: Likewise.
4155 * misc/fgetxattr.c: Likewise.
4156 * misc/flistxattr.c: Likewise.
4157 * misc/fremovexattr.c: Likewise.
4158 * misc/fsetxattr.c: Likewise.
4159 * misc/fsync.c: Likewise.
4160 * misc/ftruncate.c: Likewise.
4161 * misc/futimes.c: Likewise.
4162 * misc/futimesat.c: Likewise.
4163 * misc/getdomain.c: Likewise.
4164 * misc/getdtsz.c: Likewise.
4165 * misc/gethostid.c: Likewise.
4166 * misc/gethostname.c: Likewise.
4167 * misc/getloadavg.c: Likewise.
4168 * misc/getpagesize.c: Likewise.
4169 * misc/getsysstats.c: Likewise.
4170 * misc/getxattr.c: Likewise.
4171 * misc/gtty.c: Likewise.
4172 * misc/ioctl.c: Likewise.
4173 * misc/lgetxattr.c: Likewise.
4174 * misc/listxattr.c: Likewise.
4175 * misc/llistxattr.c: Likewise.
4176 * misc/lremovexattr.c: Likewise.
4177 * misc/lsetxattr.c: Likewise.
4178 * misc/lutimes.c: Likewise.
4179 * misc/madvise.c: Likewise.
4180 * misc/mincore.c: Likewise.
4181 * misc/mlock.c: Likewise.
4182 * misc/mlockall.c: Likewise.
4183 * misc/mmap.c: Likewise.
4184 * misc/mprotect.c: Likewise.
4185 * misc/msync.c: Likewise.
4186 * misc/munlock.c: Likewise.
4187 * misc/munlockall.c: Likewise.
4188 * misc/munmap.c: Likewise.
4189 * misc/preadv.c: Likewise.
4190 * misc/preadv64.c: Likewise.
4191 * misc/ptrace.c: Likewise.
4192 * misc/pwritev.c: Likewise.
4193 * misc/pwritev64.c: Likewise.
4194 * misc/readv.c: Likewise.
4195 * misc/reboot.c: Likewise.
4196 * misc/remap_file_pages.c: Likewise.
4197 * misc/removexattr.c: Likewise.
4198 * misc/revoke.c: Likewise.
4199 * misc/select.c: Likewise.
4200 * misc/setdomain.c: Likewise.
4201 * misc/setegid.c: Likewise.
4202 * misc/seteuid.c: Likewise.
4203 * misc/sethostid.c: Likewise.
4204 * misc/sethostname.c: Likewise.
4205 * misc/setregid.c: Likewise.
4206 * misc/setreuid.c: Likewise.
4207 * misc/setxattr.c: Likewise.
4208 * misc/sstk.c: Likewise.
4209 * misc/stty.c: Likewise.
4210 * misc/swapoff.c: Likewise.
4211 * misc/swapon.c: Likewise.
4212 * misc/sync.c: Likewise.
4213 * misc/syncfs.c: Likewise.
4214 * misc/syscall.c: Likewise.
4215 * misc/truncate.c: Likewise.
4216 * misc/ualarm.c: Likewise.
4217 * misc/usleep.c: Likewise.
4218 * misc/ustat.c: Likewise.
4219 * misc/utimes.c: Likewise.
4220 * misc/vhangup.c: Likewise.
4221 * misc/writev.c: Likewise.
4222 * posix/_exit.c: Likewise.
4223 * posix/alarm.c: Likewise.
4224 * posix/execve.c: Likewise.
4225 * posix/fexecve.c: Likewise.
4226 * posix/fork.c: Likewise.
4227 * posix/fpathconf.c: Likewise.
4228 * posix/getaddrinfo.c: Likewise.
4229 * posix/getegid.c: Likewise.
4230 * posix/geteuid.c: Likewise.
4231 * posix/getgid.c: Likewise.
4232 * posix/getgroups.c: Likewise.
4233 * posix/getlogin.c: Likewise.
4234 * posix/getlogin_r.c: Likewise.
4235 * posix/getpgid.c: Likewise.
4236 * posix/getpid.c: Likewise.
4237 * posix/getppid.c: Likewise.
4238 * posix/getresgid.c: Likewise.
4239 * posix/getresuid.c: Likewise.
4240 * posix/getsid.c: Likewise.
4241 * posix/getuid.c: Likewise.
4242 * posix/glob64.c: Likewise.
4243 * posix/nanosleep.c: Likewise.
4244 * posix/pathconf.c: Likewise.
4245 * posix/pause.c: Likewise.
4246 * posix/posix_madvise.c: Likewise.
4247 * posix/pread.c: Likewise.
4248 * posix/pread64.c: Likewise.
4249 * posix/pwrite.c: Likewise.
4250 * posix/pwrite64.c: Likewise.
4251 * posix/sched_getaffinity.c: Likewise.
4252 * posix/sched_getp.c: Likewise.
4253 * posix/sched_gets.c: Likewise.
4254 * posix/sched_primax.c: Likewise.
4255 * posix/sched_primin.c: Likewise.
4256 * posix/sched_rr_gi.c: Likewise.
4257 * posix/sched_setaffinity.c: Likewise.
4258 * posix/sched_setp.c: Likewise.
4259 * posix/sched_sets.c: Likewise.
4260 * posix/sched_yield.c: Likewise.
4261 * posix/setgid.c: Likewise.
4262 * posix/setlogin.c: Likewise.
4263 * posix/setpgid.c: Likewise.
4264 * posix/setresgid.c: Likewise.
4265 * posix/setresuid.c: Likewise.
4266 * posix/setsid.c: Likewise.
4267 * posix/setuid.c: Likewise.
4268 * posix/sleep.c: Likewise.
4269 * posix/spawni.c: Likewise.
4270 * posix/sysconf.c: Likewise.
4271 * posix/times.c: Likewise.
4272 * posix/wait.c: Likewise.
4273 * posix/wait3.c: Likewise.
4274 * posix/wait4.c: Likewise.
4275 * posix/waitpid.c: Likewise.
4276 * resolv/gai_sigqueue.c: Likewise.
4277 * resource/getpriority.c: Likewise.
4278 * resource/getrlimit.c: Likewise.
4279 * resource/getrusage.c: Likewise.
4280 * resource/nice.c: Likewise.
4281 * resource/setpriority.c: Likewise.
4282 * resource/setrlimit.c: Likewise.
4283 * resource/ulimit.c: Likewise.
4284 * rt/aio_cancel.c: Likewise.
4285 * rt/aio_fsync.c: Likewise.
4286 * rt/aio_read.c: Likewise.
4287 * rt/aio_sigqueue.c: Likewise.
4288 * rt/aio_suspend.c: Likewise.
4289 * rt/aio_write.c: Likewise.
4290 * rt/clock_getres.c: Likewise.
4291 * rt/clock_gettime.c: Likewise.
4292 * rt/clock_nanosleep.c: Likewise.
4293 * rt/clock_settime.c: Likewise.
4294 * rt/lio_listio.c: Likewise.
4295 * rt/mq_close.c: Likewise.
4296 * rt/mq_getattr.c: Likewise.
4297 * rt/mq_notify.c: Likewise.
4298 * rt/mq_open.c: Likewise.
4299 * rt/mq_receive.c: Likewise.
4300 * rt/mq_send.c: Likewise.
4301 * rt/mq_setattr.c: Likewise.
4302 * rt/mq_timedreceive.c: Likewise.
4303 * rt/mq_timedsend.c: Likewise.
4304 * rt/mq_unlink.c: Likewise.
4305 * rt/shm_open.c: Likewise.
4306 * rt/shm_unlink.c: Likewise.
4307 * rt/timer_create.c: Likewise.
4308 * rt/timer_delete.c: Likewise.
4309 * rt/timer_getoverr.c: Likewise.
4310 * rt/timer_gettime.c: Likewise.
4311 * rt/timer_settime.c: Likewise.
4312 * setjmp/__longjmp.c: Likewise.
4313 * setjmp/setjmp.c: Likewise.
4314 * signal/kill.c: Likewise.
4315 * signal/killpg.c: Likewise.
4316 * signal/raise.c: Likewise.
4317 * signal/sigaction.c: Likewise.
4318 * signal/sigaltstack.c: Likewise.
4319 * signal/sigblock.c: Likewise.
4320 * signal/sigignore.c: Likewise.
4321 * signal/sigintr.c: Likewise.
4322 * signal/signal.c: Likewise.
4323 * signal/sigpause.c: Likewise.
4324 * signal/sigpending.c: Likewise.
4325 * signal/sigqueue.c: Likewise.
4326 * signal/sigreturn.c: Likewise.
4327 * signal/sigset.c: Likewise.
4328 * signal/sigsetmask.c: Likewise.
4329 * signal/sigstack.c: Likewise.
4330 * signal/sigsuspend.c: Likewise.
4331 * signal/sigtimedwait.c: Likewise.
4332 * signal/sigvec.c: Likewise.
4333 * signal/sigwait.c: Likewise.
4334 * signal/sigwaitinfo.c: Likewise.
4335 * signal/sysv_signal.c: Likewise.
4336 * socket/accept.c: Likewise.
4337 * socket/accept4.c: Likewise.
4338 * socket/bind.c: Likewise.
4339 * socket/connect.c: Likewise.
4340 * socket/getpeername.c: Likewise.
4341 * socket/getsockname.c: Likewise.
4342 * socket/getsockopt.c: Likewise.
4343 * socket/isfdtype.c: Likewise.
4344 * socket/listen.c: Likewise.
4345 * socket/recv.c: Likewise.
4346 * socket/recvfrom.c: Likewise.
4347 * socket/recvmsg.c: Likewise.
4348 * socket/send.c: Likewise.
4349 * socket/sendmsg.c: Likewise.
4350 * socket/sendto.c: Likewise.
4351 * socket/setsockopt.c: Likewise.
4352 * socket/shutdown.c: Likewise.
4353 * socket/sockatmark.c: Likewise.
4354 * socket/socket.c: Likewise.
4355 * socket/socketpair.c: Likewise.
4356 * stdio-common/ctermid.c: Likewise.
4357 * stdio-common/cuserid.c: Likewise.
4358 * stdio-common/remove.c: Likewise.
4359 * stdio-common/rename.c: Likewise.
4360 * stdio-common/renameat.c: Likewise.
4361 * stdio-common/tempname.c: Likewise.
4362 * stdlib/getcontext.c: Likewise.
4363 * stdlib/makecontext.c: Likewise.
4364 * stdlib/setcontext.c: Likewise.
4365 * stdlib/swapcontext.c: Likewise.
4366 * stdlib/system.c: Likewise.
4367 * streams/fattach.c: Likewise.
4368 * streams/fdetach.c: Likewise.
4369 * streams/getmsg.c: Likewise.
4370 * streams/getpmsg.c: Likewise.
4371 * streams/putmsg.c: Likewise.
4372 * streams/putpmsg.c: Likewise.
4373 * sysdeps/unix/bsd/getpt.c: Likewise.
4374 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
4375 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
4376 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
4379 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
4380 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
4381 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4382 * sysvipc/msgctl.c: Likewise.
4383 * sysvipc/msgget.c: Likewise.
4384 * sysvipc/msgrcv.c: Likewise.
4385 * sysvipc/msgsnd.c: Likewise.
4386 * sysvipc/semctl.c: Likewise.
4387 * sysvipc/semget.c: Likewise.
4388 * sysvipc/semop.c: Likewise.
4389 * sysvipc/semtimedop.c: Likewise.
4390 * sysvipc/shmat.c: Likewise.
4391 * sysvipc/shmctl.c: Likewise.
4392 * sysvipc/shmdt.c: Likewise.
4393 * sysvipc/shmget.c: Likewise.
4394 * termios/tcdrain.c: Likewise.
4395 * termios/tcflow.c: Likewise.
4396 * termios/tcflush.c: Likewise.
4397 * termios/tcgetattr.c: Likewise.
4398 * termios/tcgetpgrp.c: Likewise.
4399 * termios/tcsendbrk.c: Likewise.
4400 * termios/tcsetattr.c: Likewise.
4401 * termios/tcsetpgrp.c: Likewise.
4402 * time/adjtime.c: Likewise.
4403 * time/clock.c: Likewise.
4404 * time/getitimer.c: Likewise.
4405 * time/gettimeofday.c: Likewise.
4406 * time/setitimer.c: Likewise.
4407 * time/settimeofday.c: Likewise.
4408 * time/stime.c: Likewise.
4409 * time/time.c: Likewise.
4411 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
4413 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
4416 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
4418 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
4420 2012-11-03 Joseph Myers <joseph@codesourcery.com>
4423 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
4424 FE_TONEAREST before applying Dekker multiplication and Knuth
4425 addition. Clear inexact exceptions and check for exact zero
4427 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4428 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4429 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4430 * math/libm-test.inc (fma_test): Add more tests.
4431 (fma_test_towardzero): Likewise.
4432 (fma_test_downward): Likewise.
4433 (fma_test_upward): Likewise.
4434 * sysdeps/generic/math_private.h (default_libc_fesetround): New
4436 (libc_fesetround): New macro.
4437 (libc_fesetroundf): Likewise.
4438 (libc_fesetroundl): Likewise.
4439 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
4441 (libc_fesetround_387): Likewise.
4442 (libc_fesetroundf): New macro.
4443 (libc_fesetround): Likewise.
4444 (libc_fesetroundl): Likewise.
4445 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
4447 (libc_fesetroundf): New macro.
4448 (libc_fesetround): Likewise.
4449 (libc_fesetroundl): Likewise.
4450 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
4451 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
4452 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
4454 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
4455 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
4457 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
4458 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
4460 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
4464 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
4465 integer constant usable in #if and use that to give value to enum
4467 (FE_DIVBYZERO): Likewise.
4468 (FE_UNDERFLOW): Likewise.
4469 (FE_OVERFLOW): Likewise.
4470 (FE_INVALID): Likewise.
4471 (FE_INVALID_SNAN): Likewise.
4472 (FE_INVALID_ISI): Likewise.
4473 (FE_INVALID_IDI): Likewise.
4474 (FE_INVALID_ZDZ): Likewise.
4475 (FE_INVALID_IMZ): Likewise.
4476 (FE_INVALID_COMPARE): Likewise.
4477 (FE_INVALID_SOFTWARE): Likewise.
4478 (FE_INVALID_SQRT): Likewise.
4479 (FE_INVALID_INTEGER_CONVERSION): Likewise.
4480 (FE_TONEAREST): Likewise.
4481 (FE_TOWARDZERO): Likewise.
4482 (FE_UPWARD): Likewise.
4483 (FE_DOWNWARD): Likewise.
4484 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
4485 (FE_DIVBYZERO): Likewise.
4486 (FE_OVERFLOW): Likewise.
4487 (FE_UNDERFLOW): Likewise.
4488 (FE_INEXACT): Likewise.
4489 (FE_TONEAREST): Likewise.
4490 (FE_DOWNWARD): Likewise.
4491 (FE_UPWARD): Likewise.
4492 (FE_TOWARDZERO): Likewise.
4493 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
4494 (FE_UNDERFLOW): Likewise.
4495 (FE_OVERFLOW): Likewise.
4496 (FE_DIVBYZERO): Likewise.
4497 (FE_INVALID): Likewise.
4498 (FE_TONEAREST): Likewise.
4499 (FE_TOWARDZERO): Likewise.
4500 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
4501 (FE_OVERFLOW): Likewise.
4502 (FE_UNDERFLOW): Likewise.
4503 (FE_DIVBYZERO): Likewise.
4504 (FE_INEXACT): Likewise.
4505 (FE_TONEAREST): Likewise.
4506 (FE_TOWARDZERO): Likewise.
4507 (FE_UPWARD): Likewise.
4508 (FE_DOWNWARD): Likewise.
4509 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
4510 (FE_DIVBYZERO): Likewise.
4511 (FE_OVERFLOW): Likewise.
4512 (FE_UNDERFLOW): Likewise.
4513 (FE_INEXACT): Likewise.
4514 (FE_TONEAREST): Likewise.
4515 (FE_DOWNWARD): Likewise.
4516 (FE_UPWARD): Likewise.
4517 (FE_TOWARDZERO): Likewise.
4519 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
4521 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
4523 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
4525 * scripts/cross-test-ssh.sh (command): Use newlines to separate
4526 commands. Quote $PWD.
4527 (blacklist_exports): Don't use remove_newlines. Replace "declare
4529 (remove_newlines): Remove.
4531 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
4533 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
4534 * stdlib/stdlib.h (atof): Moved to ...
4535 * include/bits/stdlib-float.h: Here. New file.
4536 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
4537 * stdlib/bits/stdlib-float.h: New file.
4538 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
4540 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
4543 2012-11-02 Joseph Myers <joseph@codesourcery.com>
4545 * conform/conformtest.pl (@headers): Add fenv.h.
4546 * conform/data/fenv.h-data: New file.
4547 * include/fenv.h [_ISOMAC]: Disable all contents of file except
4548 include of <math/fenv.h>.
4550 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
4551 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
4552 && !UNIX98]. Enables tests for XOPEN2K8.
4553 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
4554 POSIX2008]: Likewise.
4556 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
4557 (struct rusage): Do not expect type or its members.
4560 * math/math.h (FP_NAN): Define macro to integer constant usable in
4561 #if and use that to give value to enum constant.
4562 (FP_INFINITE): Likewise.
4563 (FP_ZERO): Likewise.
4564 (FP_SUBNORMAL): Likewise.
4565 (FP_NORMAL): Likewise.
4567 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
4569 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
4570 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
4573 2012-11-02 Roland McGrath <roland@hack.frob.com>
4575 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
4576 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
4577 autoconf-time if not.
4578 * configure.in: Remove AC_PREREQ.
4580 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4582 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
4583 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
4584 of the internal implementation.
4586 2012-11-02 Joseph Myers <joseph@codesourcery.com>
4588 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
4589 except include of <misc/sys/syslog.h>.
4591 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
4594 function returns with a NULL context exit with zero.
4596 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4598 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
4600 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
4602 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
4603 (run_program_cmd): This.
4604 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
4605 (tst_langinfo): New variable. Use it.
4607 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
4609 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
4610 floating point opcodes.
4612 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4614 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
4617 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
4619 * sysdeps/mach/hurd/powerpc: Remove directory.
4620 * sysdeps/mach/powerpc: Likewise.
4622 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4624 * scripts/check-local-headers.sh: Ignore c++ headers.
4626 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4628 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
4629 __libc_cleanup_region_start argument.
4631 2012-11-01 Joseph Myers <joseph@codesourcery.com>
4635 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
4636 x * y using scaling, not as x * y + z.
4637 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4638 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4639 * math/libm-test.inc (fma_test): Add more tests.
4640 (fma_test_towardzero): Likewise.
4641 (fma_test_downward): Likewise.
4642 (fma_test_upward): Likewise.
4644 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4646 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
4648 2012-10-31 Joseph Myers <joseph@codesourcery.com>
4650 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
4653 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
4655 * rt/tst-shm.c (worker): Correct checking for mmap failure.
4657 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4664 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4667 Fix the order of the list for glibc 2.17.
4668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4671 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4673 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4675 2012-10-31 Joseph Myers <joseph@codesourcery.com>
4678 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
4679 for low part of x being zero before using __atanl (y).
4680 * math/libm-test.inc (atan2_test): Add another test.
4682 * manual/install.texi (Configuring and compiling): Document
4683 general use of test-wrapper and test-wrapper-env.
4684 * INSTALL: Regenerated.
4686 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
4687 (__fma): Do not extract and scale down low bits on after-rounding
4688 systems when result rounded to normal precision would have normal
4690 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
4691 (__fmal): Do not extract and scale down low bits on after-rounding
4692 systems when result rounded to normal precision would have normal
4694 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
4695 (__fmal): Do not extract and scale down low bits on after-rounding
4696 systems when result rounded to normal precision would have normal
4698 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
4700 (fma_test): Add more tests.
4701 (fma_test_towardzero): Likewise.
4702 (fma_test_downward): Likewise.
4703 (fma_test_upward): Likewise.
4705 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
4707 * sysdeps/i386/tininess.h: Renamed to ...
4708 * sysdeps/x86/tininess.h: This.
4709 * sysdeps/x86_64/tininess.h: Removed.
4711 2012-10-30 Joseph Myers <joseph@codesourcery.com>
4713 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
4714 input. Use $(build-program-cmd).
4715 ($(objpfx)tst-array1-static.out): Likewise.
4716 ($(objpfx)tst-array2.out): Likewise.
4717 ($(objpfx)tst-array3.out): Likewise.
4718 ($(objpfx)tst-array4.out): Likewise.
4719 ($(objpfx)tst-array5.out): Likewise.
4720 ($(objpfx)tst-array5-static.out): Likewise.
4722 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
4724 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
4727 * nss/nsswitch.h (nss_interface_function): Provide new
4728 macro for use with NSS functions.
4729 * grp/initgroups.c: Use new macro.
4730 * nss/getXXbyYY.c: Likewise.
4731 * nss/getXXbyYY_r.c: Likewise.
4732 * nss/getXXent.c: Likewise.
4733 * nss/getXXent_r.c: Likewise.
4734 * sysdeps/posix/getaddrinfo.c: Likewise.
4736 2012-10-30 Andreas Jaeger <aj@suse.de>
4738 * po/ru.po: Update Russion translation from translation project.
4740 2012-10-30 Joseph Myers <joseph@codesourcery.com>
4744 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
4745 result and shift together with sticky bit instead of replicating
4746 round-to-nearest rounding.
4747 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4748 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4749 * math/libm-test.inc (fma_test): Add more tests. Do not permit
4750 missing underflow exceptions.
4751 (fma_test_towardzero): Add more tests.
4752 (fma_test_downward): Likewise.
4753 (fma_test_upward): Likewise.
4756 * sysdeps/generic/tininess.h: New file.
4757 * sysdeps/i386/tininess.h: Likewise.
4758 * sysdeps/sh/tininess.h: Likewise.
4759 * sysdeps/x86_64/tininess.h: Likewise.
4760 * stdlib/tst-strtod-underflow.c: Likewise.
4761 * stdlib/tst-tininess.c: Likewise.
4762 * stdlib/strtod_l.c: Include <tininess.h>.
4763 (round_and_return): Do not set errno for exact underflow cases.
4764 Force an underflow exception when setting errno for underflow.
4765 Determine underflow based on rounding to normal precision if
4766 TININESS_AFTER_ROUNDING.
4767 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
4768 ERANGE for exact underflow cases.
4769 * stdlib/Makefile (tests): Add tst-tininess and
4770 tst-strtod-underflow.
4771 ($(objpfx)tst-tininess): Use $(link-libm).
4772 ($(objpfx)tst-strtod-underflow): Likewise.
4774 2012-10-30 Andreas Jaeger <aj@suse.de>
4777 * elf/Makefile (tests): Remove conditional for have-initfini-array
4778 since this is now always required and the variable does not exist
4780 (tests-static): Likewise.
4781 (modules-names): Likewise.
4783 * po/eo.po: Add Esperanto translation from translation project.
4785 * elf/tst-array1.c (fini_array): Make writeable so that it can be
4786 merged with constructor/destructor.
4787 (init_array): Likewise.
4788 * elf/tst-array2dep.c (fini_array): Likewise.
4789 (init_array): Likewise.
4791 2012-10-29 Mike Frysinger <vapier@gentoo.org>
4793 * manual/message.texi: Delete @cartouche tags.
4795 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
4797 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
4799 * sysdeps/mach/hurd/fsync.c: Likewise.
4801 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
4802 [_POSIX_REALTIME_SIGNALS]: Change condition to
4803 [_POSIX_REALTIME_SIGNALS > 0].
4805 2012-10-27 Andreas Jaeger <aj@suse.de>
4807 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
4808 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
4809 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
4810 [__WORDSIZE != 64]: Likewise.
4812 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
4814 * iconvdata/tst-table.sh: Remove ${SHELL}.
4815 * iconvdata/tst-tables.sh: Likewise.
4817 2012-10-25 David S. Miller <davem@davemloft.net>
4819 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4820 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
4823 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
4825 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4826 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
4827 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
4830 2012-10-25 Roland McGrath <roland@hack.frob.com>
4832 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4833 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
4836 2012-10-25 Joseph Myers <joseph@codesourcery.com>
4837 Jim Blandy <jimb@codesourcery.com>
4839 * scripts/cross-test-ssh.sh: New file.
4840 * manual/install.texi (Configuring and compiling): Document use of
4842 * INSTALL: Regenerated.
4844 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
4846 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
4849 2012-10-25 Joseph Myers <joseph@codesourcery.com>
4851 * Makeconfig (run-program-prefix): Fix comment.
4853 2012-10-24 Joseph Myers <joseph@codesourcery.com>
4854 Jim Blandy <jimb@codesourcery.com>
4856 * Makeconfig (test-wrapper): New variable,
4857 (test-wrapper-env): Likewise.
4858 [$(cross-compiling) = yes && $(test-wrapper) != ""]
4859 (run-built-tests): Define to yes.
4860 (run-program-prefix): Use $(test-wrapper).
4861 (built-program-cmd): Likewise.
4862 * Rules (make-test-out): Use $(test-wrapper-env) and
4863 $(host-built-program-cmd).
4864 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
4865 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
4867 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
4868 $(test-wrapper-env) to tst-rtld-load-self.sh.
4869 ($(objpfx)order2.out): Use $(test-wrapper).
4870 ($(objpfx)tst-initorder.out): Likewise.
4871 ($(objpfx)tst-initorder2.out): Likewise.
4872 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
4873 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
4874 (test_wrapper_env): New variable. Use it to run ld.so.
4875 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
4876 Use it to run ld.so.
4877 (test_wrapper_env): Likewise.
4878 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
4879 $(test-wrapper) to run-iconv-test.sh.
4880 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
4881 (ICONV): Use $test_wrapper.
4882 * posix/Makefile ($(objpfx)globtest.out): Pass
4883 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
4884 globtest.sh, not $(run-program-prefix).
4885 * posix/globtest.sh (run_via_rtld_prefix): New variable.
4886 (test_wrapper): Likewise.
4887 (test_wrapper_env): Likewise. Use it to run globtest with HOME
4888 set together with run_via_rtld_prefix.
4889 (run_program_prefix): Define in terms of test_wrapper and
4890 run_via_rtld_prefix.
4892 2012-10-24 Roland McGrath <roland@hack.frob.com>
4894 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
4895 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
4899 * include/time.h: Remove librt_hidden_proto (clock_gettime).
4900 Declare __clock_getres, __clock_gettime, __clock_settime,
4901 __clock_nanosleep, and __clock_getcpuclockid.
4902 * rt/clock_gettime.c: Define __clock_gettime as an alias.
4903 Remove librt_hidden_def (clock_gettime).
4904 * sysdeps/unix/clock_gettime.c: Likewise.
4905 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
4906 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4907 * rt/clock_getres.c: Define __clock_getres as an alias.
4908 * sysdeps/posix/clock_getres.c: Likewise.
4909 * rt/clock_settime.c: Define __clock_settime as an alias.
4910 * sysdeps/unix/clock_settime.c: Likewise.
4911 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
4912 * sysdeps/unix/clock_nanosleep.c: Likewise.
4913 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4914 * rt/clock-compat.c: New file.
4915 * rt/Makefile (librt-routines): Add clock-compat and move
4916 $(clock-routines) to ...
4917 (routines): ... here, new variable.
4918 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
4919 Don't add get_clockfreq here.
4920 * rt/Versions (libc: GLIBC_2.17): New version set.
4921 Add clock_* symbols here.
4922 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
4923 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
4924 (GLIBC_2.17): Add clock_* symbols.
4925 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
4926 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
4927 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4932 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4933 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
4934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
4935 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
4936 * NEWS: Mention the move.
4938 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4939 Use __open, __read, __close rather than their public counterparts.
4940 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4941 (__get_clockfreq_via_cpuinfo): Likewise.
4942 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
4943 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
4945 * config.h.in (HAVE_IFUNC): New #undef.
4946 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
4948 * configure: Regenerated.
4950 2012-10-24 Mike Frysinger <vapier@gentoo.org>
4952 * configure.in: Move READELF check to start of file.
4953 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
4954 libc_cv_asm_gnu_indirect_function in the process.
4955 * configure: Regenerated.
4957 2012-10-24 Mike Frysinger <vapier@gentoo.org>
4959 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
4960 send the output to /dev/null.
4961 (libc_cv_cc_with_libunwind): Likewise.
4962 (libc_cv_as_noexecstack): Likewise.
4963 * configure: Regenerate.
4965 2012-10-24 Joseph Myers <joseph@codesourcery.com>
4967 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
4969 * posix/globtest.sh (TMPDIR): Do not set.
4970 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
4971 (testout): Likewise.
4973 2012-10-24 Andreas Jaeger <aj@suse.de>
4975 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
4976 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
4977 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
4978 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
4979 posix_fadvise64, posix_fallocate64.
4981 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
4982 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
4983 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
4985 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
4987 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
4989 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
4990 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
4991 <bits/fcntl-linux.h>.
4992 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
4994 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
4995 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
4996 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
4997 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
4998 [__WORDSIZE != 64]: Likewise.
5000 2012-10-23 Joseph Myers <joseph@codesourcery.com>
5002 * Makeconfig (run-built-tests): New variable.
5003 * Rules [$(cross-compiling) = yes]: Change condition to
5004 [$(run-built-tests) = no].
5005 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
5006 to [$(run-built-tests) = yes].
5007 * elf/Makefile [$(cross-compiling) = no]: Likewise
5008 * grp/Makefile [$(cross-compiling) = no]: Likewise.
5009 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
5010 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
5011 * intl/Makefile [$(cross-compiling) = no]: Likewise.
5012 * io/Makefile [$(cross-compiling) = no]: Likewise.
5013 * libio/Makefile [$(cross-compiling) = no]: Likewise.
5014 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
5015 * misc/Makefile [$(cross-compiling) = no]: Likewise.
5016 * posix/Makefile [$(cross-compiling) = no]: Likewise.
5017 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
5018 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
5019 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
5020 * string/Makefile [$(cross-compiling) = no]: Likewise.
5022 * posix/Makefile ($(objpfx)globtest.out): Pass
5023 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
5024 $(rtld-installed-name).
5025 * posix/globtest.sh (elf_objpfx): Remove variable.
5026 (rtld_installed_name): Likewise.
5027 (library_path): Likewise.
5028 (run_program_prefix): New variable. Use for running globtest
5031 2012-10-23 Jim Blandy <jimb@codesourcery.com>
5032 Joseph Myers <joseph@codesourcery.com>
5034 * Makeconfig (host-built-program-cmd): New variable.
5035 * elf/Makefile (tst-stackguard1-ARGS): Use
5036 $(host-built-program-cmd).
5037 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
5038 (tst-spawn-ARGS): Likewise.
5039 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
5041 2012-10-23 Joseph Myers <joseph@codesourcery.com>
5042 Jim Blandy <jimb@codesourcery.com>
5044 * Makeconfig (run-via-rtld-prefix): New variable.
5045 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
5046 (built-program-cmd): Likewise.
5048 2012-10-22 Andreas Jaeger <aj@suse.de>
5050 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
5051 __O_RSYNC if it exists, otherwise to O_SYNC.
5053 2012-10-22 Jim Blandy <jimb@codesourcery.com>
5054 Joseph Myers <joseph@codesourcery.com>
5056 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
5058 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
5060 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
5063 2012-10-22 Andreas Jaeger <aj@suse.de>
5065 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
5067 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
5069 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5072 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
5073 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
5075 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
5077 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
5080 2012-10-21 Jim Blandy <jimb@codesourcery.com>
5081 Joseph Myers <joseph@codesourcery.com>
5083 * config.make.in (NM): New variable.
5085 2012-10-21 Andreas Jaeger <aj@suse.de>
5087 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
5088 definitions and declarations that are provided by
5089 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5091 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5094 * elf/Makefile (tests-static): Add tst-leaks1-static.
5095 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
5096 ($(objpfx)tst-leaks1-static): New rule.
5097 ($(objpfx)tst-leaks1-static-mem): Likewise.
5098 (tst-leaks1-static-ENV): New macro.
5099 * elf/dl-open.c (dl_open_worker): Check the main application
5100 only if SHARED is defined.
5101 * elf/tst-leaks1-static.c: New file.
5103 2012-10-20 Andreas Jaeger <aj@suse.de>
5105 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
5106 generic values for Linux.
5107 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
5108 and declarations that are provided by <bits/fcntl-linux.h> and
5109 include <bits/fcntl-linux.h>.
5110 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5111 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5113 2012-10-20 Roland McGrath <roland@hack.frob.com>
5115 * io/fcntl.h: Move include of <bits/types.h> to the top and
5116 include it unconditionally.
5118 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5120 * wcsmbs/Makefile (tests-ifunc): New variable.
5121 (tests): Add $(tests-ifunc).
5122 * wcsmbs/test-wcschr-ifunc.c: New file.
5123 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5124 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5125 * wcsmbs/test-wcslen-ifunc.c: Likewise.
5126 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5127 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5129 * string/Makefile (tests-ifunc): New variable.
5130 (tests): Add $(tests-ifunc).
5131 * string/test-memccpy.c (TEST_NAME): New macro.
5132 * string/test-memchr.c (TEST_NAME): Likewise.
5133 * string/test-memcmp.c (TEST_NAME): Likewise.
5134 * string/test-memcpy.c (TEST_NAME): Likewise.
5135 * string/test-memmem.c (TEST_NAME): Likewise.
5136 * string/test-memmove.c (TEST_NAME): Likewise.
5137 * string/test-memset.c (TEST_NAME): Likewise.
5138 * string/test-rawmemchr.c (TEST_NAME): Likewise.
5139 * string/test-stpcpy.c (TEST_NAME): Likewise.
5140 * string/test-stpncpy.c (TEST_NAME): Likewise.
5141 * string/test-strcasecmp.c (TEST_NAME): Likewise.
5142 * string/test-strcasestr.c (TEST_NAME): Likewise.
5143 * string/test-strcat.c (TEST_NAME): Likewise.
5144 * string/test-strchr.c (TEST_NAME): Likewise.
5145 * string/test-strcmp.c(TEST_NAME): Likewise.
5146 * string/test-strcpy.c (TEST_NAME): Likewise.
5147 * string/test-strcspn.c (TEST_NAME): Likewise.
5148 * string/test-strlen.c (TEST_NAME): Likewise.
5149 * string/test-strncasecmp.c (TEST_NAME): Likewise.
5150 * string/test-strncmp.c (TEST_NAME): Likewise.
5151 * string/test-strncpy.c (TEST_NAME): Likewise.
5152 * string/test-strnlen.c (TEST_NAME): Likewise.
5153 * string/test-strpbrk.c (TEST_NAME): Likewise.
5154 * string/test-strrchr.c (TEST_NAME): Likewise.
5155 * string/test-strspn.c (TEST_NAME): Likewise.
5156 * string/test-strstr.c (TEST_NAME): Likewise.
5157 * string/test-bcopy-ifunc.c: New file.
5158 * string/test-bzero-ifunc.c: Likewise.
5159 * string/test-memccpy-ifunc.c: Likewise.
5160 * string/test-memchr-ifunc.c: Likewise.
5161 * string/test-memcmp-ifunc.c: Likewise.
5162 * string/test-memcpy-ifunc.c: Likewise.
5163 * string/test-memmem-ifunc.c: Likewise.
5164 * string/test-memmove-ifunc.c: Likewise.
5165 * string/test-mempcpy-ifunc.c: Likewise.
5166 * string/test-memset-ifunc.c: Likewise.
5167 * string/test-rawmemchr-ifunc.c: Likewise.
5168 * string/test-stpcpy-ifunc.c: Likewise.
5169 * string/test-stpncpy-ifunc.c: Likewise.
5170 * string/test-strcasecmp-ifunc.c: Likewise.
5171 * string/test-strcasestr-ifunc.c: Likewise.
5172 * string/test-strcat-ifunc.c: Likewise.
5173 * string/test-strchr-ifunc.c: Likewise.
5174 * string/test-strchrnul-ifunc.c: Likewise.
5175 * string/test-strcmp-ifunc.c: Likewise.
5176 * string/test-strcpy-ifunc.c: Likewise.
5177 * string/test-strcspn-ifunc.c: Likewise.
5178 * string/test-strlen-ifunc.c: Likewise.
5179 * string/test-strncasecmp-ifunc.c: Likewise.
5180 * string/test-strncat-ifunc.c: Likewise.
5181 * string/test-strncmp-ifunc.c: Likewise.
5182 * string/test-strncpy-ifunc.c: Likewise.
5183 * string/test-strnlen-ifunc.c: Likewise.
5184 * string/test-strpbrk-ifunc.c: Likewise.
5185 * string/test-strrchr-ifunc.c: Likewise.
5186 * string/test-strspn-ifunc.c: Likewise.
5187 * string/test-strstr-ifunc.c: Likewise.
5189 * debug/Makefile (tests-ifunc): New variable.
5190 (tests): Add $(tests-ifunc).
5191 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
5192 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
5193 * debug/test-stpcpy_chk-ifunc.c: New file.
5194 * debug/test-strcpy_chk-ifunc.c: Likewise.
5196 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5199 * elf/dl-load.c (open_verify): Retry read if the entire ELF
5200 header is not read in.
5202 2012-10-19 Joseph Myers <joseph@codesourcery.com>
5204 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
5205 script to $(SHELL) as $<. Pass $(common-objpfx) to script
5206 directly. Pass built executable to script as
5207 $(built-program-cmd).
5208 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
5209 $testprogram without using LD_LIBRARY_PATH and $ldso.
5211 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
5212 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
5213 $(rtld-installed-name).
5214 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
5215 (rtld_installed_name): Likewise.
5216 (library_path): Likewise.
5217 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
5218 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
5219 $(run-program-prefix) to tst-tables.sh.
5220 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
5221 it to run tst-table-from and tst-table-to.
5222 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
5223 Pass it to tst-table.sh.
5224 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
5225 $(run-program-prefix) to tst-gettext.sh.
5226 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
5228 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
5230 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
5232 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
5233 to run tst-gettext2.
5234 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
5235 to run tst-translit.
5236 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
5237 $(run-program-prefix) to tst-mtrace.sh.
5238 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
5240 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
5241 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
5242 $(rtld-installed-name).
5243 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
5244 (rtld_installed_name): Likewise.
5245 (run_program_prefix): New variable. Use it to run wordexp-test.
5247 * Makeconfig (ARCH): Remove all definitions.
5248 (machine): Likewise.
5249 [ARCH]: Remove conditional code.
5250 [!objdir]: Give error.
5251 [!objdir] (objpfx): Remove.
5252 [!objdir] (common-objpfx): Likewise.
5253 [!objdir] (common-objdir): Likewise.
5254 * configure.in (config_makefile): Remove. Hardcode Makefile in
5255 AC_CONFIG_FILES call.
5256 * configure: Regenerated.
5259 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
5261 (testout): Likewise.
5263 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
5264 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
5265 $(rtld-installed-name).
5266 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
5267 (rtld_installed_name): Likwise.
5268 (runit): Remove function.
5269 (run_getconf): New variable, Use it for running getconf binary.
5271 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
5274 * string/test-memmem.c (check_result): New function.
5275 (do_one_test): Use it.
5276 (check1): New function.
5277 (test_main): Use it.
5279 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
5281 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
5283 2012-10-18 Joseph Myers <joseph@codesourcery.com>
5285 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
5286 (_G_LSEEK64): Likewise.
5287 (_G_MMAP64): Likewise.
5288 (_G_FSTAT64): Likewise.
5289 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
5290 (_G_LSEEK64): Likewise.
5291 (_G_MMAP64): Likewise.
5292 (_G_FSTAT64): Likewise.
5293 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
5294 unconditional. Call __mmap64 directly.
5295 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
5296 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
5298 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
5299 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
5301 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
5302 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
5304 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
5305 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
5307 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
5308 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
5310 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
5311 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
5312 __fxstat64 directly.
5313 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
5314 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
5316 (freopen64) [!_G_OPEN64]: Remove conditional code.
5317 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
5319 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
5320 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
5322 (ftello64) [!_G_LSEEK64]: Remove conditional code.
5323 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
5325 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5326 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
5328 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
5329 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
5331 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5332 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
5334 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5335 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
5337 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5339 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5342 * manual/memory.texi (Malloc Tunable Parameters): Add note
5343 about free list pointers overwriting some perturb bytes.
5344 Wording suggested by Roland McGrath.
5346 2012-10-17 Joseph Myers <joseph@codesourcery.com>
5348 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
5349 (lgamma_test): Likewise.
5350 (tgamma_test): Likewise.
5352 2012-10-16 Florian Weimer <fweimer@redhat.com>
5355 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
5356 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
5358 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
5360 * NEWS: Mention BZ #14716.
5361 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
5362 when removing AVAILABLE1_USES_J macro.
5364 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
5366 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
5367 (__bswap_64): __uint64_t for unsigned 64-bit int.
5369 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
5371 * include/string.h (memmem): Declare libc hidden alias.
5372 * string/memmem.c (memmem): Define libc hidden alias.
5373 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
5374 __read, __close instead of open, read, close.
5376 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
5378 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
5379 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
5381 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
5382 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
5383 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
5385 (__rawmemchr_sse2): Likewise.
5386 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
5387 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
5388 (__strchr_sse2): Likewise.
5389 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
5390 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
5391 (__strcasecmp_sse2): Likewise.
5392 (__strncasecmp_sse2): Likewise.
5393 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
5394 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
5395 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
5396 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
5397 (__strrchr_sse2): Likewise.
5398 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
5400 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5401 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5402 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5403 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5404 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5405 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5406 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5407 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5408 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
5409 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
5410 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
5411 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
5412 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
5413 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5414 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5415 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5416 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5417 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5418 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
5419 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
5420 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
5421 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
5422 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
5423 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5424 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
5425 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5426 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5427 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5428 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5429 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5431 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
5433 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
5434 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
5435 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
5436 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
5438 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
5440 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
5441 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
5442 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
5443 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
5445 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5446 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5447 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5448 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5449 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5450 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5451 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5452 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5453 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5454 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5455 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5456 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5457 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5458 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
5459 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
5460 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5461 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
5462 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
5463 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5464 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5465 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5466 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5467 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5468 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5469 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5470 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
5471 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
5472 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
5473 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
5474 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5475 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
5476 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5477 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5478 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
5479 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5480 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5481 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5482 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5483 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5484 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5485 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
5487 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
5488 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
5489 * include/ifunc-impl-list.h: New file.
5490 * misc/ifunc-impl-list.c: Likewise.
5491 * misc/Makefile (routines): Add ifunc-impl-list.
5492 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
5493 * string/test-string.h: Include <ifunc-impl-list.h>.
5494 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
5495 impl_array): New variables.
5496 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
5498 (test_init): Call __libc_ifunc_impl_list to initialize
5499 func_list if TEST_IFUNC and TEST_NAME are defined.
5501 * string/Makefile (strop-tests): Add bcopy and bzero.
5502 * string/test-bcopy.c: New file.
5503 * string/test-bzero.c: Likewise.
5504 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
5506 * string/test-memset.c: Support bzero test if TEST_BZERO is
5508 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
5510 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
5512 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
5515 2012-10-10 Joseph Myers <joseph@codesourcery.com>
5517 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
5518 * configure: Regenerated.
5520 * Makeconfig (+link-static-before-libc): Don't include
5521 $(link-static-libc).
5523 * libio/libio.h (_IO_pos_t): Remove.
5525 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
5527 * NEWS: Add note about FIPS mode. Wording suggested by Roland
5530 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
5532 * crypt/crypt-entry.c: Include fips-private.h.
5533 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
5534 * crypt/md5c-test.c (main): Tolerate disabled MD5.
5535 * sysdeps/unix/sysv/linux/fips-private.h: New file.
5536 * sysdeps/generic/fips-private.h: New file, dummy fallback.
5538 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
5540 * crypt/crypt-private.h: Include stdbool.h.
5541 (_ufc_setup_salt_r): Return bool.
5542 * crypt/crypt-entry.c: Include errno.h.
5543 (__crypt_r): Return NULL with EINVAL for bad salt.
5544 * crypt/crypt_util.c (bad_for_salt): New.
5545 (_ufc_setup_salt_r): Check that salt is long enough and within
5546 the specified alphabet.
5547 * crypt/badsalttest.c: New file.
5548 * crypt/Makefile (tests): Add it.
5549 ($(objpfx)badsalttest): New.
5551 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
5553 * NEWS: Add entry for BZ #14602.
5555 2012-10-09 Joseph Myers <joseph@codesourcery.com>
5557 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
5559 * math/libm-test.inc: Update comment listing what functions and
5561 (isgreater_test): New function.
5562 (isgreaterequal_test): Likewise.
5563 (isless_test): Likewise.
5564 (islessequal_test): Likewise.
5565 (islessgreater_test): Likewise.
5566 (isunordered_test): Likewise.
5567 (main): Call the new functions.
5569 2012-10-09 Roland McGrath <roland@hack.frob.com>
5571 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
5572 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
5573 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
5574 * sysdeps/i386/configure: Regenerated.
5575 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
5576 * sysdeps/mach/configure: Regenerated.
5577 * sysdeps/mach/hurd/configure: Regenerated.
5578 * sysdeps/powerpc/configure: Regenerated.
5579 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5580 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5581 * sysdeps/s390/s390-32/configure: Regenerated.
5582 * sysdeps/s390/s390-64/configure: Regenerated.
5583 * sysdeps/sh/configure: Regenerated.
5584 * sysdeps/sparc/configure: Regenerated.
5585 * sysdeps/unix/sysv/linux/configure: Regenerated.
5586 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5587 * sysdeps/x86_64/configure: Regenerated.
5589 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
5590 defined. Don't check if MAP is NULL.
5592 2012-10-09 Joseph Myers <joseph@codesourcery.com>
5594 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
5595 (_G_stat64): Likewise.
5596 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
5597 (_G_stat64): Likewise.
5598 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
5599 instead of struct _G_stat64.
5600 * libio/fileops.c (mmap_remap_check): Likewise.
5601 (decide_maybe_mmap): Likewise.
5602 (_IO_new_file_seekoff): Likewise.
5603 (_IO_file_stat): Likewise.
5604 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
5606 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
5607 instead of struct _G_stat64.
5608 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5610 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
5613 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5615 (CHECK_EOL): New macro.
5616 (two_way_short_needle): Check beginning of haystack for EOL. Use
5618 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5619 Replace with CHECK_EOL.
5620 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5621 Replace with CHECK_EOL.
5623 2012-10-08 Joseph Myers <joseph@codesourcery.com>
5625 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
5627 * math/libm-test.inc: Update comment listing what functions and
5629 (finite_test): New function.
5630 (isinf_test): Likewise.
5631 (isnan_test): Likewise.
5632 (fpclassify_test): Test subnormal input.
5633 (isfinite_test): Likewise.
5634 (isnormal_test): Likewise.
5635 (main): Call the new functions.
5637 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
5640 * Makerules (%.dynsym): Force C locale when running
5641 $(OBJDUMP) --dynamic-syms.
5643 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
5645 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
5648 2012-10-06 David S. Miller <davem@davemloft.net>
5650 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
5651 upper 32-bits of the length value in %o2 since we use branch-on-register
5652 tests which consider the entire 64-bit register.
5654 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
5656 * string/test-strstr.c (check2): Add a test for page boundary.
5658 2012-10-05 David S. Miller <davem@davemloft.net>
5660 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
5661 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
5663 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5665 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5666 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
5667 and bzero when HWCAP_SPARC_CRYPTO is present.
5669 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
5672 * string/test-strstr.c (check2): New function.
5673 (test_main): Call check2.
5675 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
5677 * string/bug-strcasestr1.c (do_test): Moved to ...
5678 * string/test-strcasestr.c (check1): Here. New function.
5679 (do_one_test): Break out result checking code into ...
5680 (check_result): This. New function.
5681 (do_one_test): Call check_result.
5682 (test_main): Call check1.
5683 * string/bug-strchr1.c (do_test): Moved to ...
5684 * string/test-strchr.c (check1): Here. New function.
5685 (do_one_test): Break out result checking code into ...
5686 (check_result): This. New function.
5687 (do_one_test): Call check_result.
5688 (test_main): Call check1.
5689 * string/bug-strstr1.c (main): Moved to ...
5690 * string/test-strstr.c (check1): Here. New function.
5691 (do_one_test): Break out result checking code into ...
5692 (check_result): This. New function.
5693 (do_one_test): Call check_result.
5694 (test_main): Call check1.
5695 * string/bug-strcasestr1.c: Removed.
5696 * string/bug-strchr1.c: Likewise.
5697 * string/bug-strstr1.c: Likewise.
5699 * elf/Makefile (dl-routines): Add hwcaps.
5700 * elf/dl-support.c (_dl_important_hwcaps): Removed.
5701 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
5702 (_dl_important_hwcaps): Moved to ...
5703 * elf/dl-hwcaps.c: Here. New file.
5704 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
5707 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
5708 if IS_IN_rtld isn't defined.
5710 * elf/dl-support.c (_dl_sysinfo_map): New.
5711 Include "get-dynamic-info.h" and "setup-vdso.h".
5712 (_dl_non_dynamic_init): Call setup_vdso.
5713 * elf/dynamic-link.h: Don't include <assert.h>.
5714 (elf_get_dynamic_info): Moved to ...
5715 * elf/get-dynamic-info.h: Here. New file.
5716 * elf/dynamic-link.h: Include "get-dynamic-info.h".
5717 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
5718 * elf/setup-vdso.h: Here. New file.
5719 * elf/rtld.c: Include "setup-vdso.h".
5720 (dl_main): Call setup_vdso.
5722 2012-10-05 Joseph Myers <joseph@codesourcery.com>
5724 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
5725 creal in comment listing functions tested. List finite, isinf,
5726 isnan, isless, islessequal, isgreater, isgreaterequal,
5727 islessgreater, isunordered, lgamma_r and pow10 as functions and
5728 macros not tested. Mention which functions not tested are aliases
5729 for other functions. Fix typo. Note that signs of NaNs are not
5732 * scripts/config.guess: Update from config.git.
5733 * scripts/config.sub: Likewise.
5735 2012-10-04 Roland McGrath <roland@hack.frob.com>
5737 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
5738 * misc/madvise.c (madvise): Renamed to __madvise.
5739 Make madvise a weak alias.
5740 * include/sys/mman.h: Declare __madvise.
5741 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
5742 * sysdeps/unix/syscalls.list
5743 (madvise): Make __madvise the strong name, and madvise a weak alias.
5744 * sysdeps/unix/sysv/linux/syscalls.list
5745 (madvise, mmap): Remove redundant entries.
5746 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
5747 * malloc/malloc.c (mtrim): Likewise.
5748 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
5750 2012-10-03 Roland McGrath <roland@hack.frob.com>
5752 * sysdeps/mach/hurd/dl-cache.c: File removed.
5753 * config.h.in (USE_LDCONFIG): New #undef.
5754 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
5755 * configure: Regenerated.
5756 * elf/Makefile (dl-routines): Add dl-cache only under
5757 [$(use-ldconfig) = yes].
5758 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
5759 cache on [USE_LDCONFIG].
5760 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
5762 * elf/rtld.c (dl_main): Likewise.
5764 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
5766 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
5767 _SC_LEVEL4_CACHE_LINESIZE.
5769 2012-10-03 Roland McGrath <roland@hack.frob.com>
5771 * sysdeps/unix/bsd/confstr.h: File removed.
5773 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
5775 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
5778 2012-10-02 Roland McGrath <roland@hack.frob.com>
5780 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
5781 Make 'mapoff' field ElfW(Off) rather than off_t.
5783 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
5785 * nscd/Makefile: Remove nscd-cflags and all its users.
5786 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
5787 (CFLAGS-nonlib): Add compiler flags for nscd modules.
5790 * malloc.c (malloc_printerr): Clarify error message.
5792 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
5795 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5796 Set bit_FMA_Usable if FMA is supported.
5797 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
5799 (bit_FMA4_Usable): Updated.
5800 (index_FMA_Usable): New macro.
5801 (CPUID_FMA): Likewise
5802 (HAS_FMA): Defined with bit_FMA_Usable.
5804 2012-10-01 Roland McGrath <roland@hack.frob.com>
5806 * bits/types.h (__swblk_t): Type removed.
5807 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
5808 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
5809 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5810 (__SWBLK_T_TYPE): Likewise.
5811 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5812 (__SWBLK_T_TYPE): Likewise.
5813 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5814 (__SWBLK_T_TYPE): Likewise.
5815 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5816 (__SWBLK_T_TYPE): Likewise.
5818 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
5819 Honza Horak <hhorak@redhat.com>
5821 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
5822 (xdr_mapname): Use YPMAXMAP as maxsize.
5823 (xdr_peername): Use YPMAXPEER as maxsize.
5824 (xdr_keydat): Use YPAXRECORD as maxsize.
5825 (xdr_valdat): Use YPMAXRECORD as maxsize.
5827 2012-10-01 Roland McGrath <roland@hack.frob.com>
5829 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
5831 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
5832 * csu/init-first.c: ... here.
5833 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
5834 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5835 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5836 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5837 * sysdeps/i386/init-first.c: File removed.
5838 * sysdeps/sh/init-first.c: File removed.
5840 2012-10-01 Joseph Myers <joseph@codesourcery.com>
5843 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
5844 if x * y might underflow to zero and z is zero.
5845 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5846 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5847 * math/libm-test.inc (min_subnorm_value): New variable.
5848 (fma_test): Add more tests.
5849 (fma_test_towardzero): Likewise.
5850 (fma_test_downward): Likewise
5851 (fma_test_upward): Likewise.
5852 (initialize): Set min_subnorm_value.
5854 2012-09-29 Joseph Myers <joseph@codesourcery.com>
5857 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
5859 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
5860 mode for addition resulting in exact zero.
5861 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
5862 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
5864 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5865 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5866 * math/libm-test.inc (fma_test): Add more tests.
5867 (fma_test_towardzero): New function.
5868 (fma_test_downward): Likewise.
5869 (fma_test_upward): Likewise.
5870 (main): Call the new functions.
5872 2012-09-28 David S. Miller <davem@davemloft.net>
5874 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
5876 2012-09-28 Roland McGrath <roland@hack.frob.com>
5878 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
5881 * sysdeps/gnu/_G_config.h: Moved to ...
5882 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
5883 * sysdeps/mach/hurd/_G_config.h: Moved to ...
5884 * sysdeps/generic/_G_config.h: ... here.
5886 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
5888 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
5890 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
5891 Conditionalize target on [libnss_test1.so-version].
5893 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
5895 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
5896 (elfobjdir): Move out of conditionals.
5898 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
5899 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
5900 (__nss_lookup_function): Conditionalize label remove_from_tree on
5901 [!DO_STATIC_NSS || SHARED], matching its only use.
5903 2012-09-28 David S. Miller <davem@davemloft.net>
5905 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
5906 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
5908 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5910 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5911 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
5912 when HWCAP_SPARC_CRYPTO is present.
5914 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5916 * io/tst-mknodat.c: Create a FIFO instead of a socket.
5918 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
5921 * stdio-common/vfprintf.c (process_string_arg): Revert
5924 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
5926 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
5928 * stdio-common/tst-sprintf.c: Include <locale.h>
5929 (main): Test sprintf's handling of incomplete multibyte
5932 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
5934 * elf/dl-runtime.c (VERSYMIDX): Removed.
5935 * elf/dl-version.c (VERSYMIDX): Likewise.
5936 * elf/do-rel.h (VERSYMIDX): Likewise.
5938 * elf/dynamic-link.h (VERSYMIDX): Likewise.
5939 * elf/rtld.c (VALIDX): Likewise.
5940 (ADDRIDX): Likewise.
5941 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
5942 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
5943 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
5944 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
5946 (ADDRIDX): Likewise.
5948 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5950 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
5952 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
5955 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
5957 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
5958 addresses are in the same scope as 192.0.2/24.
5959 * posix/gai.conf: Document new scope table defaults.
5961 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5964 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
5965 for ftell. Compute offsets from write pointers instead.
5966 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5968 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5971 * libio/Makefile (tests): New test case tst-fseek.
5972 * libio/tst-fseek.c: New test case to verify that fseek/ftell
5973 combination works in wide mode.
5974 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
5975 state when the external buffer state changes.
5977 2012-09-27 David S. Miller <davem@davemloft.net>
5980 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
5981 pass reloc->r_addend in as the 'high' argument to
5982 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
5984 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5986 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5988 * rt/tst-aio2.c: Include <pthread.h>.
5989 * rt/tst-aio3.c: Likewise.
5991 2012-09-27 Steve Ellcey <sellcey@mips.com>
5993 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
5995 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
5997 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
5998 contents on [SHARED].
6000 2012-09-26 Marek Polacek <polacek@redhat.com>
6004 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
6005 for C++ and GCC <4.3 as well as for non GCC compilers.
6007 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6009 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6011 2012-09-25 Roland McGrath <roland@hack.frob.com>
6013 * Makefile.in (all, install): Declare with .PHONY.
6014 Reported by Michael Hope <michael.hope@linaro.org>.
6016 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6018 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
6019 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
6021 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
6023 (sydep_routines): Add the new and the internal functions.
6024 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
6025 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
6026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
6027 (GLIBC_2.17): Add the new function.
6028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6029 (GLIBC_2.17): Likewise.
6030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
6031 (GLIBC_2.17): Likewise.
6032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
6033 (GLIBC_2.17): Likewise.
6034 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
6036 2012-09-25 Alan Modra <amodra@gmail.com>
6038 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
6039 Add release barrier before setting once_control to say
6040 initialisation is done. Add hints on lwarx. Use macro in
6042 (clear_once_control): Add release barrier.
6044 2012-09-25 Joseph Myers <joseph@codesourcery.com>
6047 * math/s_clog.c (__clog): Handle more values close to |z| = 1
6049 * math/s_clog10.c (__clog10): Likewise.
6050 * math/s_clog10f.c (__clog10f): Likewise.
6051 * math/s_clog10l.c (__clog10l): Likewise.
6052 * math/s_clogf.c (__clogf): Likewise.
6053 * math/s_clogl.c (__clogl): Likewise.
6054 * math/Makefile (libm-calls): Add x2y2m1.
6055 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
6056 (__x2y2m1): Likewise.
6057 (__x2y2m1l): Likewise.
6058 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
6059 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
6060 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6061 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6062 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6063 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6064 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
6065 * sysdeps/i386/fpu/libm-test-ulps: Update.
6066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6069 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
6070 int as type of variable DEPTH.
6071 (glob): Use size_t instead of int as type of variables NEWCOUNT
6074 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6076 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6078 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
6079 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
6080 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
6081 macros for using routine as __sincosf_ia32.
6082 Use macro for function declaration and weak_alias.
6083 * sysdeps/i386/fpu/libm-test-ulps: Update.
6085 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
6086 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6088 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6090 * math/s_cexpf.c (__cexpf): Likewise.
6091 * math/s_csinf.c (__csinf): Likewise.
6092 * math/s_csinhf.c (__csinhf): Likewise.
6093 * math/s_ctanf.c (__ctanf): Likewise.
6094 * math/s_ctanhf.c (__ctanhf): Likewise.
6095 * math/s_ccosh.c (__ccoshf): Likewise.
6096 * math/s_cexp.c (__cexpl): Likewise.
6097 * math/s_csin.c (__csin): Likewise.
6098 * math/s_csinh.c (__csinh): Likewise.
6099 * math/s_ctan.c (__ctan): Likewise.
6100 * math/s_ctanh.c (ctanh): Likewise.
6101 * math/s_ccoshl.c (__ccoshl): Likewise.
6102 * math/s_cexpl.c (__cexpl): Likewise.
6103 * math/s_csinl.c (__csinl): Likewise.
6104 * math/s_csinhl.c (__csinhl): Likewise.
6105 * math/s_ctanl.c (__ctanl): Likewise.
6106 * math/s_ctanhl.c (__ctanhl): Likewise.
6108 2012-09-25 Joseph Myers <joseph@codesourcery.com>
6110 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
6111 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
6112 (_IO_off_t): Define to __off_t, not _G_off_t.
6113 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
6114 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
6115 (_IO_wint_t): Define to wint_t, not _G_wint_t.
6116 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
6117 type of __dummy and __dummy2 fields.
6118 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
6119 (_G_ssize_t): Likewise.
6120 (_G_off_t): Likewise.
6121 (_G_pid_t): Likewise.
6122 (_G_uid_t): Likewise.
6123 (_G_wchar_t): Likewise.
6124 (_G_wint_t): Likewise.
6125 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
6126 (_G_ssize_t): Likewise.
6127 (_G_off_t): Likewise.
6128 (_G_pid_t): Likewise.
6129 (_G_uid_t): Likewise.
6130 (_G_wchar_t): Likewise.
6131 (_G_wint_t): Likewise.
6132 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
6133 (_G_ssize_t): Likewise.
6134 (_G_off_t): Likewise.
6135 (_G_pid_t): Likewise.
6136 (_G_uid_t): Likewise.
6137 (_G_wchar_t): Likewise.
6138 (_G_wint_t): Likewise.
6140 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6142 * malloc/arena.c: Include malloc-sysdep.h.
6143 (shrink_heap): Use check_may_shrink_heap to decide if madvise
6144 is sufficient to shrink the heap or an unmap is needed.
6145 * sysdeps/generic/malloc-sysdep.h: New file. Define
6146 new function check_may_shrink_heap.
6147 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
6148 new function check_may_shrink_heap.
6150 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6152 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
6155 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
6157 * catgets/test-gencat.sh: Add "set -e".
6158 * elf/tst-pathopt.sh: Likewise.
6159 * grp/tst_fgetgrent.sh: Likewise.
6160 * iconvdata/run-iconv-test.sh: Likewise.
6161 * intl/tst-gettext.sh: Likewise.
6162 * intl/tst-gettext2.sh: Likewise.
6163 * intl/tst-gettext4.sh: Likewise.
6164 * intl/tst-gettext6.sh: Likewise.
6165 * intl/tst-translit.sh: Likewise.
6166 * io/ftwtest-sh: Likewise.
6167 * libio/test-freopen.sh: Likewise.
6168 * malloc/tst-mtrace.sh: Likewise.
6169 * posix/globtest.sh: Likewise.
6170 * posix/tst-getconf.sh: Likewise.
6171 * posix/wordexp-tst.sh: Likewise.
6172 * stdio-common/tst-printf.sh: Likewise.
6173 * stdio-common/tst-unbputc.sh: Likewise.
6174 * stdlib/tst-fmtmsg.sh: Likewise.
6175 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6176 * catgets/Makefile: Do not specify -e option when running
6177 testsuite shell scripts.
6178 * elf/Makefile: Likewise.
6179 * grp/Makefile: Likewise.
6180 * iconvdata/Makefile: Likewise.
6181 * intl/Makefile: Likewise.
6182 * io/Makefile: Likewise.
6183 * libio/Makefile: Likewise.
6184 * malloc/Makefile: Likewise.
6185 * posix/Makefile: Likewise.
6186 * stdio-common/Makefile: Likewise.
6187 * stdlib/Makefile: Likewise.
6188 * sysdeps/x86_64/Makefile: Likewise.
6190 * io/ftwtest-sh: Add copyright header.
6191 * posix/globtest.sh: Likewise.
6192 * posix/tst-getconf.sh: Likewise.
6193 * posix/wordexp-tst.sh: Likewise.
6194 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6196 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
6199 * Makeconfig (+link): Defined as $(+link-static) if
6200 $(build-shared) isn't yes.
6201 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
6203 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
6205 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
6208 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
6209 new chunk size with MALLOC_ALIGN_MASK.
6211 2012-09-24 Joseph Myers <joseph@codesourcery.com>
6214 * stdio-common/printf_fphex.c: Include <stdbool.h> and
6216 (__printf_fphex): Determine rounding using get_rounding_mode and
6218 * stdio-common/tst-printf-round.c (struct hex_test): New
6220 (hex_tests): New variable.
6221 (test_hex_in_one_mode): New function.
6222 (do_test): Also run tests for hex float output.
6224 2012-09-21 Joseph Myers <joseph@codesourcery.com>
6226 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6227 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6228 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
6229 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6230 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6231 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
6232 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6233 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6235 2012-09-20 Joseph Myers <joseph@codesourcery.com>
6237 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
6238 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
6239 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
6240 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
6242 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
6245 * elf/rtld.c (dl_main): Limit the check for self loading to normal
6247 * elf/tst-rtld-load-self.sh: New test.
6248 * elf/Makefile: Run it.
6250 2012-09-18 Joseph Myers <joseph@codesourcery.com>
6252 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
6253 (tst-writev-ENV): Remove.
6254 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
6256 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
6258 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
6260 2012-09-17 Joseph Myers <joseph@codesourcery.com>
6262 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
6264 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
6266 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
6267 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
6268 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
6271 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
6274 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
6275 * config.make.in (have-cpp-asm-debuginfo): Removed.
6276 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
6277 * configure: Regenerated.
6279 2012-09-14 Joseph Myers <joseph@codesourcery.com>
6282 * stdio-common/printf_fp.c: Include <stdbool.h> and
6284 (___printf_fp): Determine rounding using get_rounding_mode and
6286 * stdio-common/tst-printf-round.c: New file.
6287 * stdio-common/Makefile (tests): Add tst-printf-round.
6288 (link-libm): New variable.
6289 ($(objpfx)tst-printf-round): Depend in $(link-libm).
6291 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
6294 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
6295 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
6297 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
6300 2012-09-13 Joseph Myers <joseph@codesourcery.com>
6302 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
6303 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6304 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6305 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6307 2012-09-12 Joseph Myers <joseph@codesourcery.com>
6310 * include/rounding-mode.h: New file.
6311 * sysdeps/generic/get-rounding-mode.h: Likewise.
6312 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
6313 * stdlib/strtod_l.c: Include <rounding-mode.h>.
6314 (MAX_VALUE): New macro.
6315 (MIN_VALUE): Likewise.
6316 (overflow_value): New function.
6317 (underflow_value): Likewise.
6318 (round_and_return): Use overflow_value and underflow_value to
6319 determine return values in overflow and underflow cases. Use
6320 round_away to determine rounding depending on rounding mode.
6321 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
6322 determine return values in overflow and underflow cases.
6323 * stdlib/tst-strtod-round.c: Include <fenv.h>.
6324 (struct test_results): New structure.
6325 (struct test): Use struct test_results to store expected results
6326 for all rounding modes.
6327 (TEST): Include expected results for all rounding modes.
6328 (test_in_one_mode): New function.
6329 (do_test): Use test_in_one_mode to compute and check results.
6330 Check results for all rounding modes.
6331 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
6334 2012-12-09 Allan McRae <allan@archlinux.org>
6336 * sysdeps/i386/fpu/libm-test-ulps: Update
6338 2012-09-11 Joseph Myers <joseph@codesourcery.com>
6340 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
6341 (_G_int32_t): Likewise.
6342 (_G_uint16_t): Likewise.
6343 (_G_uint32_t): Likewise.
6344 (_G_HAVE_BOOL): Likewise.
6345 (_G_HAVE_ATEXIT): Likewise.
6346 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6347 (_G_HAVE_IO_FILE_OPEN): Likewise.
6348 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
6349 (_G_int32_t): Likewise.
6350 (_G_uint16_t): Likewise.
6351 (_G_uint32_t): Likewise.
6352 (_G_HAVE_BOOL): Likewise.
6353 (_G_HAVE_ATEXIT): Likewise.
6354 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6355 (_G_HAVE_IO_FILE_OPEN): Likewise.
6356 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
6357 (_G_int32_t): Likewise.
6358 (_G_uint16_t): Likewise.
6359 (_G_uint32_t): Likewise.
6360 (_G_HAVE_BOOL): Likewise.
6361 (_G_HAVE_ATEXIT): Likewise.
6362 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6363 (_G_HAVE_IO_FILE_OPEN): Likewise.
6365 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
6367 * csu/libc-tls.c: Update copyright years.
6369 2012-09-10 Joseph Myers <joseph@codesourcery.com>
6371 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
6372 [!_G_USING_THUNKS]: Remove conditional code.
6373 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
6374 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
6376 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
6377 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
6378 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6379 (_G_VTABLE_LABEL_PREFIX): Likewise.
6380 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6381 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6382 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6383 (_G_VTABLE_LABEL_PREFIX): Likewise.
6384 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
6385 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6386 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6387 (_G_VTABLE_LABEL_PREFIX): Likewise.
6388 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
6390 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
6392 * libio/Makefile: Include ../Makeconfig before tests.
6393 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
6394 only if $(build-shared) is yes.
6396 * iconv/gconv_db.c: Update copyright years.
6398 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6400 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
6401 unwind info if defined PIC. Fix special cases description.
6402 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
6404 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
6406 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
6408 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
6410 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
6412 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
6415 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
6416 (LDLIBS-tst-chk4): This.
6417 (LDFLAGS-tst-chk5): Renamed to ...
6418 (LDLIBS-tst-chk5): This.
6419 (LDFLAGS-tst-chk6): Renamed to ...
6420 (LDLIBS-tst-chk6): This.
6421 (LDFLAGS-tst-lfschk4): Renamed to ...
6422 (LDLIBS-tst-lfschk4): This.
6423 (LDFLAGS-tst-lfschk5): Renamed to ...
6424 (LDLIBS-tst-lfschk5): This.
6425 (LDFLAGS-tst-lfschk6): Renamed to ...
6426 (LDLIBS-tst-lfschk6): This.
6428 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
6429 on $(common-objpfx)soversions.mk.
6431 2012-09-07 Joseph Myers <joseph@codesourcery.com>
6434 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
6437 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6439 * malloc/arena.c (arena_get_retry): New function that gets
6440 another arena for the caller to try its request on.
6441 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
6442 current arena cannot fulfill the request.
6443 (__libc_memalign): Likewise.
6444 (__libc_memalign): Likewise.
6445 (__libc_pvalloc): Likewise.
6446 (__libc_calloc): Likewise.
6448 2012-09-05 John Tobey <john.tobey@gmail.com>
6451 * manual/arith.texi (Operations on Complex): Fix description
6454 2012-09-06 Joseph Myers <joseph@codesourcery.com>
6457 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
6461 * manual/memory.texi (Memory): Make order of menu items match
6464 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6466 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
6467 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
6468 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
6470 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6472 * csu/libc-tls.c (static_dtv): Renamed to ...
6473 (_dl_static_dtv): This. Make it global.
6474 (_dl_initial_dtv): Removed.
6475 (__libc_setup_tls): Updated.
6476 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
6477 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
6480 2012-09-06 Petr Machata <pmachata@redhat.com>
6482 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
6483 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
6484 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
6485 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
6487 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6490 * csu/libc-tls.c (_dl_initial_dtv): New variable.
6491 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
6494 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6497 * Makeconfig (link-static-before-libc): Replace $(+prector)
6499 (link-static-after-libc): Replace $(+postctor) with
6501 (link-bounded): Replace $(+prector)/$(+postctor) with
6502 $(+prectorT)/$(+postctorT).
6503 (+prectorT): New macro.
6504 (+postctorT): Likewise.
6506 2012-09-06 Joseph Myers <joseph@codesourcery.com>
6508 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
6509 (round_str): Handle values above the maximum for IBM long double
6511 * stdlib/tst-strtod-round.c (tests): Regenerated.
6513 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6515 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
6517 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
6518 zarch_nohighgprs around the zarch optimized routines.
6519 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
6520 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
6521 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
6524 2012-09-05 David S. Miller <davem@davemloft.net>
6526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6528 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
6529 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
6530 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
6531 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
6534 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6536 * malloc/arena.c: Fold copyright years.
6537 * malloc/mcheck.c, malloc/memusage.c: Likewise.
6539 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6541 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
6543 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6545 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
6547 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6549 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
6550 change internal state upon failure.
6552 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6554 * malloc/mcheck.c (mcheck_check_all): Fix typo.
6555 * malloc/memusage.c (mmap): Likewise.
6556 (mmap64, mremap): Likewise. Adjust name in comment.
6558 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6560 * libio/fileops.c: Fix typos in comments.
6561 * libio/oldfileops.c: Likewise.
6562 * libio/wfileops.c: Likewise.
6564 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6567 * malloc/Makefile (tests): Add tst-malloc-usable test case.
6568 (tst-malloc-usable-ENV): Set environment for test case.
6569 * malloc/hooks.c (malloc_check_get_size): New function to get
6571 * malloc/malloc.c (musable): Use malloc_check_get_size.
6572 * malloc/tst-malloc-usable.c: New test case.
6574 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6576 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
6578 2012-09-05 Allan McRae <allan@archlinux.org>
6581 * configure.in (CXX_SYSINCLUDES): Use compiler output to
6582 determine header location.
6583 * configure: Regenerated.
6585 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6587 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
6589 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
6590 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
6594 2012-09-04 David S. Miller <davem@davemloft.net>
6596 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
6597 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
6598 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
6600 2012-09-04 Florian Weimer <fweimer@redhat.com>
6602 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
6605 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
6607 2012-09-04 Joseph Myers <joseph@codesourcery.com>
6610 * libio/iogetdelim.c: Include <limits.h>.
6611 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
6612 + len + 1 would overflow.
6614 2012-09-03 Andreas Jaeger <aj@suse.de>
6616 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6617 * sysdeps/i386/fpu/libm-test-ulps: Update.
6619 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6621 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6622 Add s_sinf-sse2, s_conf-sse2.
6624 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
6625 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
6626 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
6627 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
6629 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
6630 for using routine as __sinf_ia32.
6631 Use macro for function declaration and weak_alias.
6632 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
6633 for using routine as __cosf_ia32.
6634 Use macro for function declaration and weak_alias.
6636 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
6637 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
6639 * sysdeps/x86_64/fpu/s_sinf.S: New file.
6640 * sysdeps/x86_64/fpu/s_cosf.S: New file.
6641 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6643 * math/libm-test.inc (cos_test): Add more test cases.
6644 (sin_test): Likewise.
6645 (sincos_test): Likewise.
6647 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6649 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6650 (IFUNC_RESOLVE): Make pointers to the specialized implementations
6652 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6654 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
6657 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
6658 first element of the GOT.
6659 (elf_machine_load_address): Return the difference between
6660 the runtime address of _DYNAMIC and elf_machine_dynamic ().
6662 2012-09-01 Allan McRae <allan@archlinux.org>
6665 * configure.in (AWK): Require gawk version 3.0 or later.
6666 * configure: Regenerated.
6668 2012-09-01 Joseph Myers <joseph@codesourcery.com>
6670 * sysdeps/unix/sysv/linux/kernel-features.h
6671 (__ASSUME_POSIX_CPU_TIMERS): Remove.
6672 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6673 [__NR_clock_getres]: Make code unconditional.
6674 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
6675 (clock_getcpuclockid): Remove code left unreachable by removal of
6677 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
6679 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6680 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6681 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
6682 Make code unconditional.
6683 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6684 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6685 * sysdeps/unix/sysv/linux/clock_settime.c
6686 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
6688 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
6689 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6691 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
6694 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
6695 scripts/test-installation.pl.
6697 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
6698 and $ld_so_version if it is set.
6700 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6703 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
6704 failure if reading from procfs failed.
6705 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
6707 2012-08-27 Joseph Myers <joseph@codesourcery.com>
6709 * sysdeps/unix/sysv/linux/kernel-features.h
6710 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
6711 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6712 Remove conditional code.
6713 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6714 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
6715 Remove conditional code.
6716 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6717 * sysdeps/unix/sysv/linux/i386/fxstat.c
6718 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6719 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6720 * sysdeps/unix/sysv/linux/i386/fxstatat.c
6721 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6722 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6723 * sysdeps/unix/sysv/linux/i386/lxstat.c
6724 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6725 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6726 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
6727 Remove conditional code.
6728 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6729 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6730 Remove conditional code.
6731 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6732 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
6733 <kernel-features.h>.
6734 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
6736 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
6737 Remove conditional code.
6738 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6739 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
6742 2012-08-27 Mike Frysinger <vapier@gentoo.org>
6745 * NEWS: Add fixed bug number.
6747 2012-08-27 Joseph Myers <joseph@codesourcery.com>
6750 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
6751 underflowing exponent in case of negative sign.
6752 * stdlib/tst-strtod-round-data: Add more tests.
6753 * stdlib/tst-strtod-round.c (tests): Regenerated.
6756 * stdlib/strtod_l.c (NDIG): Remove.
6757 (HEXNDIG): Likewise.
6758 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
6759 smallest representable value.
6760 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
6761 lie within an exact representation of 1/2 ulp of the result.
6762 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
6764 (TENS_P9_IDX): Define unconditionally.
6765 (TENS_P9_SIZE): Likewise.
6766 (TENS_P10_IDX): Likewise.
6767 (TENS_P10_SIZE): Likewise.
6768 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
6769 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
6770 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
6771 entries for 10^2^13 and 10^2^14.
6772 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
6773 (TENS_P13_IDX): Define.
6774 (TENS_P13_SIZE): Likewise.
6775 (TENS_P14_IDX): Likewise.
6776 (TENS_P14_SIZE): Likewise.
6777 (_fpioconst_pow10): Change array size to
6778 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
6780 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
6781 1024]: Add entries for 10^2^13 and 10^2^14.
6782 [LAST_POW10 > _LAST_POW10]: Remove #error.
6783 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
6784 (_fpioconst_pow10): Change array size to
6785 FPIOCONST_POW10_ARRAY_SIZE.
6786 * stdlib/gen-fpioconst.c: New file.
6787 * stdlib/gen-tst-strtod-round.c: Likewise.
6788 * stdlib/tst-strtod-round-data: Likewise.
6789 * stdlib/tst-strtod-round.c: Likewise.
6790 * stdlib/Makefile (tests): Add tst-strtod-round.
6793 * stdlib/strtod_l.c: Include <stdint.h>.
6794 (NDEBUG): Do not define.
6795 (round_and_return): Change EXPONENT parameter to type intmax_t.
6796 Rearrange calculations to avoid internal overflow possibilities.
6797 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
6798 Rearrange calculations to avoid internal overflow possibilities.
6799 Assert that number fits inside MPNSIZE limbs.
6800 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
6801 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
6802 calculations and add assertions to avoid internal overflow
6803 possibilities. Add casts to avoid signed/unsigned operations.
6804 * stdlib/tst-strtod-overflow.c: New file.
6805 * stdlib/Makefile (tests): Add tst-strtod-overflow.
6807 2012-08-25 Marek Polacek <polacek@redhat.com>
6809 * time/time.h: Fix some typos in comments.
6811 2012-08-23 Roland McGrath <roland@hack.frob.com>
6813 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
6814 * posix/tst-rfc3484-2.c: Likewise.
6815 * posix/tst-rfc3484-3.c: Likewise.
6817 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
6819 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
6820 (EF_ARM_ABI_FLOAT_HARD): Likewise.
6822 2012-08-23 Joseph Myers <joseph@codesourcery.com>
6824 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
6825 #include of fxstatat64.c.
6827 2012-08-22 Roland McGrath <roland@hack.frob.com>
6829 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
6830 * shadow/getspent_r.c: Likewise.
6831 * shadow/getspnam.c: Likewise.
6832 * shadow/getspnam_r.c: Likewise.
6833 * gshadow/getsgent.c: Likewise.
6834 * gshadow/getsgent_r.c: Likewise.
6835 * gshadow/getsgnam.c: Likewise.
6836 * gshadow/getsgnam_r.c: Likewise.
6837 * inet/getnetbyad.c: Likewise.
6838 * inet/getnetbyad_r.c: Likewise.
6839 * inet/getnetbynm.c: Likewise.
6840 * inet/getnetbynm_r.c: Likewise.
6841 * inet/getnetent.c: Likewise.
6842 * inet/getnetent_r.c: Likewise.
6843 * inet/getproto.c: Likewise.
6844 * inet/getproto_r.c: Likewise.
6845 * inet/getprtent.c: Likewise.
6846 * inet/getprtent_r.c: Likewise.
6847 * inet/getprtname.c: Likewise.
6848 * inet/getprtname_r.c: Likewise.
6849 * inet/getrpcbyname.c: Likewise.
6850 * inet/getrpcbyname_r.c: Likewise.
6851 * inet/getrpcbynumber.c: Likewise.
6852 * inet/getrpcbynumber_r.c: Likewise.
6853 * inet/getrpcent.c: Likewise.
6854 * inet/getrpcent_r.c: Likewise.
6855 * inet/getaliasent.c: Likewise.
6856 * inet/getaliasent_r.c: Likewise.
6857 * inet/getaliasname.c: Likewise.
6858 * inet/getaliasname_r.c: Likewise.
6859 * nscd/getgrgid_r.c: Likewise.
6860 * nscd/getgrnam_r.c: Likewise.
6861 * nscd/gethstbyad_r.c: Likewise.
6862 * nscd/gethstbynm3_r.c: Likewise.
6863 * nscd/getpwnam_r.c: Likewise.
6864 * nscd/getpwuid_r.c: Likewise.
6865 * nscd/getsrvbynm_r.c: Likewise.
6866 * nscd/getsrvbypt_r.c: Likewise.
6867 * nscd/gai.c: Likewise.
6869 * configure.in (build_nscd): New substituted variable, set
6870 by --disable-build-nscd and defaults to $use_nscd.
6871 * configure: Regenerated.
6872 * config.make.in (build-nscd): New substituted variable.
6873 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
6874 Change conditional to require [$(build-nscd) = yes] as well.
6875 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
6878 * configure.in (use_nscd): New substituted variable, set by
6879 --disable-nscd. If enabled, define USE_NSCD.
6880 * configure: Regenerated.
6881 * config.h.in: Add USE_NSCD.
6882 * config.make.in (use-nscd): New substituted variable.
6883 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
6884 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
6885 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
6886 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
6887 (CFLAGS-getgrnam_r.c): Likewise.
6888 (CFLAGS-initgroups.c): Likewise.
6889 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
6890 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
6892 * inet/getnetgrent_r.c
6893 (nscd_setnetgrent): New function, broken out of ...
6894 (setnetgrent): ... here. Call it.
6895 (innetgr): Conditionalize nscd bits on [USE_NSCD].
6896 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
6897 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
6898 * nscd/Makefile (routines, aux): Move definitions after include of
6899 Makeconfig. Conditionalize on [$(use-nscd) != no].
6900 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
6901 Conditionalize on [USE_NSCD].
6902 (is_nscd, nscd_init_cb): Likewise.
6903 (nss_load_library): Conditionalize init callback on [USE_NSCD].
6904 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
6905 * nss/nss_db/db-init.c: Likewise.
6906 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
6908 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
6909 (make_request): Use it.
6910 (cache_valid_p): New function.
6911 (__check_pf): Use it.
6912 * NEWS: Add item for --disable-nscd.
6914 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
6916 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
6917 to support sed >= 4.2.1-20-ga9bf076.
6918 * configure: Regenerated.
6920 2012-08-22 Roland McGrath <roland@hack.frob.com>
6922 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
6923 Conditionalize whole body on [IREL].
6925 2012-08-22 Jeff Law <law@redhat.com>
6928 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
6929 if the family is PF_UNSPEC.
6931 2012-08-22 Mike Frysinger <vapier@gentoo.org>
6933 * Makerules (lib-version): Rename from V.
6934 (install-lib-nosubdir): Change V to lib-version.
6936 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
6939 * powerpc32/power6/wcschr.c: New file.
6940 * powerpc32/power6/wcscpy.c: New file.
6941 * powerpc32/power6/wcsrchr.c: New file.
6942 * powerpc64/power6/wcschr.c: New file.
6943 * powerpc64/power6/wcscpy.c: New file.
6944 * powerpc64/power6/wcsrchr.c: New file.
6946 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6948 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
6949 (two_way_short_needle): Use it.
6950 * string/strstr.c (AVAILABLE1_USES_J): Define.
6951 * string/strcasestr.c: Likewise.
6953 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
6955 * string/strcasestr.c (TOLOWER): Make side-effect safe.
6958 * NEWS: Add an entry.
6959 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
6960 define their defaults.
6961 (two_way_short_needle): Detect end-of-string on-the-fly.
6962 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
6963 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
6964 * string/bug-strcasestr1.c: New test.
6965 * string/Makefile: Run it.
6967 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6970 * string/str-two-way.h (two_way_short_needle): Optimize matching of
6971 the first character.
6973 2012-08-21 Roland McGrath <roland@hack.frob.com>
6975 * csu/elf-init.c (__libc_csu_irel): Function removed.
6976 * csu/libc-start.c (apply_irel): New function.
6977 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
6979 2012-08-21 Joseph Myers <joseph@codesourcery.com>
6981 * sysdeps/unix/sysv/linux/kernel-features.h
6982 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
6983 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6984 <kernel-features.h>.
6985 [__NR_fadvise64_64]: Make code unconditional.
6986 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
6987 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6988 !__NR_fadvise64_64)]: Likewise.
6989 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6990 !__NR_fadvise64_64))]: Likewise.
6991 [__NR_fadvise64]: Make code unconditional.
6992 [!__NR_fadvise64]: Remove conditional code.
6993 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
6994 <kernel-features.h>.
6995 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6997 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
7000 not include <kernel-features.h>.
7001 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7003 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7005 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
7006 include <kernel-features.h>.
7007 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7009 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7012 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7014 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
7015 slight instruction rearrangements per scrollpipe analysis.
7016 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7018 2012-08-20 Roland McGrath <roland@hack.frob.com>
7020 * manual/syslog.texi (syslog; vsyslog, closelog):
7021 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
7022 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
7024 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
7025 DSOCAPS to match condition on defining it.
7027 2012-08-20 Joseph Myers <joseph@codesourcery.com>
7029 * sysdeps/unix/sysv/linux/kernel-features.h
7030 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
7031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
7032 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7033 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
7035 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7036 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
7038 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7039 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7041 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
7042 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
7044 * sysdeps/unix/sysv/linux/kernel-features.h
7045 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
7046 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
7048 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7049 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
7050 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7051 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7052 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
7053 Make code unconditional.
7054 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7055 (__mmap64) [!__NR_mmap2]: Likewise.
7056 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
7057 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7058 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7059 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
7060 [__NR_mmap2]: Make code unconditional.
7061 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7062 (__mmap64) [!__NR_mmap2]: Likewise.
7064 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7066 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
7068 2012-08-18 Andreas Jaeger <aj@suse.de>
7070 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
7072 2012-08-18 Mike Frysinger <vapier@gentoo.org>
7074 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
7075 * include/unistd.h (__have_sock_cloexec): Likewise.
7076 (__have_pipe2): Likewise.
7077 (__have_dup3): Likewise.
7079 2012-08-18 Mike Frysinger <vapier@gentoo.org>
7082 * include/unistd.h (__have_pipe2): Change define into an extern int.
7083 (__have_dup3): Likewise.
7084 * socket/have_sock_cloexec.c: Include fcntl.h.
7085 (__have_pipe2): New variable.
7086 (__have_dup3): Likewise.
7088 2012-08-17 Mike Frysinger <vapier@gentoo.org>
7090 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
7092 2012-08-17 Marek Polacek <polacek@redhat.com>
7094 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
7095 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
7097 2012-08-17 Roland McGrath <roland@hack.frob.com>
7099 * configure.in: Add AC_SUBST for sysheaders.
7100 * configure: Regenerated.
7101 * config.make.in (sysheaders): New substituted variable.
7103 * sysdeps/unix/mkfifo.c: Moved ...
7104 * sysdeps/posix/mkfifo.c: ... here.
7105 * sysdeps/unix/mkfifoat.c: Moved ...
7106 * sysdeps/posix/mkfifoat.c: ... here.
7108 * sysdeps/unix/utime.c: Moved ...
7109 * sysdeps/posix/utime.c: ... here.
7111 * sysdeps/unix/time.c: Moved ...
7112 * sysdeps/posix/time.c: ... here.
7113 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
7114 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7116 * sysdeps/unix/nice.c: Moved ...
7117 * sysdeps/posix/nice.c: ... here.
7119 * sysdeps/unix/alarm.c: Moved ...
7120 * sysdeps/posix/alarm.c: ... here.
7122 * intl/Makefile ($(codeset_mo)): Depend on the input file.
7124 2012-08-17 Jeff Law <law@redhat.com>
7126 * intl/Makefile (codeset_mo): New variable.
7127 ($(codeset_mo)): New target.
7128 (tst-codeset.out): Depend on that. Remove explicit rule.
7129 (tst-gettext3.out, tst-gettext5.out): Likewise.
7130 (LOCPATH-ENV, tst-codeset-ENV): New variables.
7131 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
7132 * intl/tst-codeset.sh: Remove.
7133 * intl/tst-gettext3.sh: Likewise.
7134 * intl/tst-gettext5.sh: Likewise.
7136 2012-08-17 Roland McGrath <roland@hack.frob.com>
7138 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
7139 * sysdeps/unix/syscalls.list: ... here.
7141 * sysdeps/posix/getaddrinfo.c
7142 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
7143 (gaiconf_init, gaiconf_reload): Use them.
7145 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
7146 Define using time_t rather than struct timespec.
7148 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
7149 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
7151 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
7153 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
7154 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
7157 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
7158 __libc_cleanup_push argument.
7160 * bits/param.h: New file.
7161 * misc/sys/param.h: New file.
7162 * include/sys/param.h: New file.
7163 * misc/Makefile (headers): Add bits/param.h.
7164 * sysdeps/generic/sys/param.h: File removed.
7165 * sysdeps/unix/sysv/linux/bits/param.h: New file.
7166 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
7167 * sysdeps/mach/hurd/bits/param.h: New file.
7168 * sysdeps/mach/hurd/sys/param.h: File removed.
7170 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
7173 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
7175 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
7176 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
7179 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
7180 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
7181 rather than -D_IO_MTSAFE_IO conditionally.
7182 * stdio-common/Makefile (CPPFLAGS): Likewise.
7183 * wcsmbs/Makefile (CPPFLAGS): Likewise.
7184 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
7185 Use $(libio-mtsafe).
7186 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
7188 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
7189 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
7190 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
7191 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
7192 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
7193 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
7194 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
7195 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
7196 (CFLAGS-fread_u_chk.c): Likewise.
7197 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
7198 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
7199 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
7200 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
7201 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
7202 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
7203 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
7204 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
7205 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
7207 * libio/Makefile: Test [$(libc-reentrant) = yes]
7208 instead of [$(filter %REENTRANT, $(defines)) nonempty].
7211 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
7212 * sysdeps/pthread/configure: File removed.
7213 * sysdeps/pthread/Makeconfig: New file.
7214 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
7215 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
7217 2012-08-16 Gary Benson <gbenson@redhat.com>
7219 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
7220 unmapping the first object in a namespace.
7222 2012-08-16 Roland McGrath <roland@hack.frob.com>
7224 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
7225 (__internal_setnetgrent): ... this. Add internal_function to
7226 definition. Add libc_hidden_def.
7227 (setnetgrent): Update caller.
7228 (internal_endnetgrent): Renamed to ...
7229 (__internal_endnetgrent): ... this. Add internal_function to
7230 definition. Add libc_hidden_def.
7231 (endnetgrent): Update caller.
7232 (internal_getnetgrent_r): Renamed to ...
7233 (__internal_getnetgrent_r): ... this. Add internal_function to
7234 definition. Add libc_hidden_def.
7235 (__getnetgrent_r): Update caller.
7236 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
7238 2012-08-16 Joseph Myers <joseph@codesourcery.com>
7240 * stdlib/longlong.h: Update from GCC.
7242 2012-08-16 Roland McGrath <roland@hack.frob.com>
7244 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
7245 on _QL, which is set by umul_ppmm but never used.
7246 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
7247 variables, which are set by GMP macros but never used.
7248 * stdio-common/_itowa.c (_itowa): Likewise.
7249 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
7250 * stdlib/mod_1.c (mpn_mod_1): Likewise.
7252 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
7254 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
7255 struct La_sh_regs is not constant.
7256 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
7257 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
7258 and struct La_sparc64_regs are not constant.
7260 2012-08-16 Joseph Myers <joseph@codesourcery.com>
7262 * sysdeps/unix/sysv/linux/kernel-features.h
7263 (__ASSUME_POSIX_TIMERS): Remove.
7264 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7265 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7266 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
7267 Make code unconditional.
7268 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7269 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
7270 Make code unconditional.
7271 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7272 * sysdeps/unix/sysv/linux/clock_nanosleep.c
7273 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
7274 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7275 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
7276 Make code unconditional.
7277 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7278 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
7279 (__libc_missing_posix_timers): Remove.
7281 2012-08-15 Roland McGrath <roland@hack.frob.com>
7283 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
7284 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
7286 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
7288 * elf/dl-sym.c: Include <stdlib.h>.
7290 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
7291 constants, which avoids warnings in 32-bit builds.
7293 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
7294 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
7296 * misc/lseek.c: File moved to ...
7297 * io/lseek.c: ... here.
7299 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
7301 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
7302 shifting LEN more than 31 bits at once.
7304 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7307 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
7308 segmentation fault for a case of two empty input strings.
7309 * string/test-strncasecmp.c (check1): Renamed to...
7311 (bz14195): Add new testcase for two empty input strings and N > 0.
7312 (test_main): Call new testcase, adapt for renamed function.
7314 2012-08-15 Andreas Jaeger <aj@suse.de>
7317 * crypt/md5test2.c: New test, based on test supplied by Serge
7318 Belyshev <belyshev@depni.sinp.msu.ru>.
7319 * crypt/Makefile (xtests): Add md5test-giant..
7320 * crypt/Makefile ($(objpfx)md5test-giant): Add.
7322 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
7325 * crypt/md5.c (md5_process_block): Don't assume the buffer
7326 length is less than 2**32.
7327 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
7328 length is less than 2**64.
7330 2012-08-15 Roland McGrath <roland@hack.frob.com>
7332 * string/str-two-way.h: Include <sys/param.h>.
7333 (MAX): Macro removed.
7335 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
7336 Move #define and #undef of memmove to just before and after
7337 including <string.h>.
7339 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
7340 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
7341 and after including <string.h>. Move declarations of
7342 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
7343 to before #include "string/memmove.c".
7345 * include/dirent.h: Declare __getdirentries.
7347 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
7348 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
7350 2012-08-14 Mike Frysinger <vapier@gentoo.org>
7352 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
7353 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
7354 * sysdeps/i386/configure: Regenerated.
7355 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
7356 STABS_CURRENT_FILE, and STABS_FUN.
7357 (END): Remove call to STABS_FUN_END.
7358 (STABS_CURRENT_FILE1): Delete.
7359 (STABS_CURRENT_FILE): Likewise.
7360 (STABS_FUN): Likewise.
7361 (STABS_FUN_END): Likewise.
7362 (STABS_FUN2): Likewise.
7363 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
7364 * sysdeps/x86_64/configure: Regenerated.
7366 2012-08-14 Roland McGrath <roland@hack.frob.com>
7368 * elf/dl-open.c: Include <atomic.h>.
7369 * elf/dl-lookup.c: Likewise.
7371 2012-08-14 Joseph Myers <joseph@codesourcery.com>
7373 * sysdeps/unix/sysv/linux/kernel-features.h
7374 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
7375 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
7377 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
7379 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
7380 condition on __ASSUME_CLONE_THREAD_FLAGS.
7382 2012-08-14 Andreas Jaeger <aj@suse.de>
7384 * sysdeps/i386/fpu/libm-test-ulps: Update.
7386 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
7388 * include/atomic.h (atomic_exchange_and_add): Split into ...
7389 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
7392 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
7394 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7396 2012-08-13 Jeff Law <law@redhat.com>
7398 * manual/stdio.texi (snprintf): Clarify handling of the trailing
7399 null byte in the output string.
7401 2012-08-10 Joseph Myers <joseph@codesourcery.com>
7403 * sysdeps/unix/sysv/linux/kernel-features.h
7404 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
7405 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
7406 (__ASSUME_ARG_MAX_STACK_BASED): Define.
7407 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7408 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
7409 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
7410 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
7412 2012-08-09 Jeff Law <law@redhat.com>
7415 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
7416 When avoid_arena is set, don't retry in the that arena. Pick the
7417 next one, whatever it might be.
7418 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
7419 (arena_lock): Pass in new parameter to arena_get2.
7420 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
7422 (__libc_malloc): Unify retrying after main arena failure with
7423 __libc_memalign version.
7424 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
7426 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
7429 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
7430 to __redirect_strstr.
7431 (__strstr_sse42): Use typeof __redirect_strstr.
7432 (__strstr_ia32): Likewise.
7433 (__libc_strstr): New prototype.
7434 (strstr): Renamed to ...
7435 (__libc_strstr): This.
7436 (strstr): New strong alias of __libc_strstr.
7437 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7438 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
7441 (__libc_time): New prototype.
7442 (time_ifunc): Replace time with __libc_time.
7443 (time): New strong alias and hidden definition of __libc_time.
7444 (__GI_time): Remove strong alias.
7445 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
7447 (memmove): Redefined to __redirect_memmove.
7448 (__memmove_sse2): Use typeof __redirect_memmove.
7449 (__memmove_ssse3): Likewise.
7450 (__memmove_ssse3_back): Likewise.
7451 (__libc_memmove): New prototype.
7452 (memmove): Renamed to ...
7453 (__libc_memmove): This.
7454 (memmove): New strong alias of __libc_memmove.
7456 2012-08-08 Mark Salter <msalter@redhat.com>
7459 (R_MN10300_TLS_GD): Define.
7460 (R_MN10300_TLS_LD): Likewise.
7461 (R_MN10300_TLS_LDO): Likewise.
7462 (R_MN10300_TLS_GOTIE): Likewise.
7463 (R_MN10300_TLS_IE): Likewise.
7464 (R_MN10300_TLS_LE): Likewise.
7465 (R_MN10300_TLS_DTPMOD): Likewise.
7466 (R_MN10300_TLS_DTPOFF): Likewise.
7467 (R_MN10300_TLS_TPOFF): Likewise.
7468 (R_MN10300_SYM_DIFF): Likewise.
7469 (R_MN10300_ALIGN): Likewise.
7470 (R_MN10300_NUM): Update.
7472 2012-08-08 Joseph Myers <joseph@codesourcery.com>
7474 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
7477 2012-08-08 Roland McGrath <roland@hack.frob.com>
7479 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
7481 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
7482 sysdeps/unix -> sysdeps/posix move.
7483 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7485 2012-08-07 Allan McRae <allan@archlinux.org>
7488 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
7489 (SUNOS_CPP): Likewise.
7490 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
7492 (open_input): Call CPP using execvp.
7494 2012-08-07 Joseph Myers <joseph@codesourcery.com>
7496 * sysdeps/unix/sysv/linux/kernel-features.h
7497 (__ASSUME_PROT_GROWSUPDOWN): Remove.
7498 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7499 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7500 (__ASSUME_WAITID_SYSCALL): Likewise.
7501 * sysdeps/unix/sysv/linux/dl-execstack.c
7502 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
7504 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
7506 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
7507 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
7508 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
7510 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
7512 [__ASSUME_WAITID_SYSCALL]: Likewise.
7513 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
7515 2012-08-07 Roland McGrath <roland@hack.frob.com>
7517 * sysdeps/unix/closedir.c: Renamed to ...
7518 * sysdeps/posix/closedir.c: ... here.
7519 * sysdeps/unix/dirfd.c: Renamed to ...
7520 * sysdeps/posix/dirfd.c: ... here.
7521 * sysdeps/unix/dirstream.h: Renamed to ...
7522 * sysdeps/posix/dirstream.h: ... here.
7523 * sysdeps/unix/fdopendir.c: Renamed to ...
7524 * sysdeps/posix/fdopendir.c: ... here.
7525 * sysdeps/unix/opendir.c: Renamed to ...
7526 * sysdeps/posix/opendir.c: ... here.
7527 * sysdeps/unix/readdir.c: Renamed to ...
7528 * sysdeps/posix/readdir.c: ... here.
7529 * sysdeps/unix/readdir_r.c: Renamed to ...
7530 * sysdeps/posix/readdir_r.c: ... here.
7531 * sysdeps/unix/rewinddir.c: Renamed to ...
7532 * sysdeps/posix/rewinddir.c: ... here.
7533 * sysdeps/unix/seekdir.c: Renamed to ...
7534 * sysdeps/posix/seekdir.c: ... here.
7535 * sysdeps/unix/telldir.c: Renamed to ...
7536 * sysdeps/posix/telldir.c: ... here.
7537 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
7538 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
7539 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
7540 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
7542 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
7543 * bits/fcntl.h: ... here.
7545 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
7547 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
7548 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
7549 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
7550 (struct flock): Move l_start, l_len to the beginning.
7551 Use __pid_t for l_pid.
7552 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
7553 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
7554 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
7555 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
7556 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
7557 [__USE_LARGEFILE64] (struct flock64): New type.
7558 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
7560 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
7561 * bits/dirent.h: ... here.
7563 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
7564 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
7566 2012-08-07 Joseph Myers <joseph@codesourcery.com>
7568 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7569 Change from 2.6.0 to 2.6.16.
7570 * sysdeps/unix/sysv/linux/configure: Regenerated.
7571 * sysdeps/unix/sysv/linux/kernel-features.h
7572 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
7573 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
7575 (__ASSUME_UTIMES): Likewise.
7576 (__ASSUME_CLONE_STOPPED): Remove.
7577 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
7578 architectures, not kernel version.
7579 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
7580 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7581 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7582 (__ASSUME_WAITID_SYSCALL): Likewise.
7583 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
7584 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
7585 * README: State 2.6.16 as minimum Linux kernel version. Do not
7586 refer to older versions.
7588 2012-08-06 Roland McGrath <roland@hack.frob.com>
7590 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
7591 Define alphasort64 as an alias.
7592 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
7593 Define versionsort64 as an alias.
7594 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
7595 Define scandir64 as an alias.
7596 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
7597 Define scandirat64 as an alias.
7598 * dirent/alphasort64.c (alphasort64):
7599 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
7600 * dirent/versionsort64.c: Likewise.
7601 * dirent/scandir64.c: Likewise.
7602 * dirent/scandirat64.c: Likewise.
7603 * sysdeps/wordsize-64/alphasort.c: File removed.
7604 * sysdeps/wordsize-64/alphasort64.c: File removed.
7605 * sysdeps/wordsize-64/scandir.c: File removed.
7606 * sysdeps/wordsize-64/scandir64.c: File removed.
7607 * sysdeps/wordsize-64/scandirat.c: File removed.
7608 * sysdeps/wordsize-64/scandirat64.c: File removed.
7609 * sysdeps/wordsize-64/versionsort.c: File removed.
7610 * sysdeps/wordsize-64/versionsort64.c: File removed.
7611 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
7612 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
7613 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
7614 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
7615 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
7616 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
7617 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
7618 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
7620 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
7621 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7622 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
7623 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7624 [defined __arch64__ || defined __sparcv9]
7625 (__INO_T_MATCHES_INO64_T): New macro.
7626 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7627 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
7628 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
7629 * sysdeps/unix/sysv/linux/bits/dirent.h
7630 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
7631 (_DIRENT_MATCHES_DIRENT64): New macro.
7633 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
7634 Define lockf64 as an alias.
7635 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
7636 Define fseeko64 as an alias.
7637 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
7638 Define ftello64 as an alias.
7639 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
7640 Define _IO_fgetpos64 and fgetpos64 as aliases.
7641 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
7642 Define _IO_fsetpos64 and fsetpos64 as aliases.
7643 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
7644 Conditionalize body on this.
7645 * libio/fseeko64.c: Likewise.
7646 * libio/ftello64.c: Likewise.
7647 * libio/iofgetpos64.c: Likewise.
7648 * libio/iofsetpos64.c: Likewise.
7649 * sysdeps/wordsize-64/lockf.c: File removed.
7650 * sysdeps/wordsize-64/lockf64.c: File removed.
7651 * sysdeps/wordsize-64/fseeko.c: File removed.
7652 * sysdeps/wordsize-64/fseeko64.c: File removed.
7653 * sysdeps/wordsize-64/ftello.c: File removed.
7654 * sysdeps/wordsize-64/ftello64.c: File removed.
7655 * sysdeps/wordsize-64/iofgetpos.c: File removed.
7656 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
7657 * sysdeps/wordsize-64/iofsetpos.c: File removed.
7658 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
7659 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
7660 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
7661 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
7662 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
7663 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
7664 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
7665 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
7666 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
7667 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
7668 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
7670 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7671 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7672 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
7673 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7674 [defined __arch64__ || defined __sparcv9]
7675 (__OFF_T_MATCHES_OFF64_T): New macro.
7676 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7677 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7678 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7679 (__OFF_T_MATCHES_OFF64_T): New macro.
7681 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7683 * stdlib/secure-getenv.c (__secure_getenv): Replace
7684 GLIBC_2_16 with GLIBC_2_17.
7686 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7688 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
7689 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7691 2012-08-03 David S. Miller <davem@davemloft.net>
7693 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7695 2012-08-03 Joseph Myers <joseph@codesourcery.com>
7697 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
7699 (__ASSUME_CORRECT_SI_PID): Likewise.
7700 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
7701 (__ASSUME_TMPFS_NAME): Likewise.
7702 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
7703 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
7704 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
7705 (HAVE_AUX_SECURE): Make definition unconditional.
7706 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
7707 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
7709 2012-08-03 Roland McGrath <roland@hack.frob.com>
7711 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
7712 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
7713 * sysdeps/mach/hurd/eloop-threshold.h: New file.
7714 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7715 __eloop_threshold instead of SYMLOOP_MAX.
7717 * sysdeps/generic/eloop-threshold.h: New file.
7718 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
7720 * elf/chroot_canon.c (chroot_canon): Likewise.
7722 2012-08-03 Joseph Myers <joseph@codesourcery.com>
7725 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7726 Change to 2.6.0 everywhere.
7727 * sysdeps/unix/sysv/linux/configure: Regenerated.
7728 * sysdeps/unix/sysv/linux/kernel-features.h
7729 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
7730 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
7732 (__ASSUME_POSIX_TIMERS): Define unconditionally.
7733 (__ASSUME_FUTEX_REQUEUE): Remove.
7734 (__ASSUME_STATFS64): Define unconditionally.
7735 (__ASSUME_AT_SECURE): Likewise.
7736 (__ASSUME_CORRECT_SI_PID): Likewise.
7737 (__ASSUME_TGKILL): Define without depending on kernel version for
7739 (__ASSUME_UTIMES): Likewise.
7740 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
7742 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
7743 (__ASSUME_TMPFS_NAME): Likewise.
7744 * README: Update reference to Linux kernel versions.
7746 2012-08-02 Marek Polacek <polacek@redhat.com>
7749 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
7750 libc_cv_asm_type_prefix with %.
7751 * configure: Regenerated.
7752 * include/libc-symbols.h: Remove comment about
7753 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
7754 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
7755 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
7756 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
7757 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
7758 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
7759 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
7760 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
7761 * elf/tst-unique2mod1.c: Likewise.
7762 * elf/tst-unique1mod2.c: Likewise.
7763 * elf/tst-unique1mod1.c: Likewise.
7764 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
7765 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
7766 Replace ASM_TYPE_DIRECTIVE with .type.
7767 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7768 * sysdeps/i386/sysdep.h: Likewise.
7769 * sysdeps/x86_64/sysdep.h: Likewise.
7770 * sysdeps/sh/sysdep.h: Likewise.
7771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7772 Do not define ASM_TYPE_DIRECTIVE.
7773 * sysdeps/powerpc/sysdep.h: Likewise.
7774 * sysdeps/powerpc/powerpc32/sysdep.h:
7775 Replace ASM_TYPE_DIRECTIVE with .type.
7776 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7777 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7778 * sysdeps/i386/fpu/e_powf.S: Likewise.
7779 * sysdeps/i386/fpu/e_expl.S: Likewise.
7780 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7781 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7782 * sysdeps/i386/fpu/e_pow.S: Likewise.
7783 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7784 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7785 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7786 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7787 * sysdeps/i386/fpu/e_log2.S: Likewise.
7788 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7789 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7790 * sysdeps/i386/fpu/e_powl.S: Likewise.
7791 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7792 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7793 * sysdeps/i386/fpu/e_logl.S: Likewise.
7794 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7795 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7796 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7797 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7798 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7799 * sysdeps/i386/fpu/e_log.S: Likewise.
7800 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7801 * sysdeps/i386/fpu/e_logf.S: Likewise.
7802 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7803 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7804 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7805 * sysdeps/i386/fpu/e_log10.S: Likewise.
7806 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7807 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7808 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7809 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7810 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7811 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
7812 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7813 * sysdeps/i386/i686/strtok.S: Likewise.
7814 * sysdeps/i386/i386-mcount.S: Likewise.
7815 * sysdeps/i386/strtok.S: Likewise.
7816 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
7817 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7818 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7819 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7820 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7821 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7822 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7823 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7824 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7825 * sysdeps/x86_64/_mcount.S: Likewise.
7826 * sysdeps/x86_64/strtok.S: Likewise.
7827 * sysdeps/sh/_mcount.S: Likewise.
7829 2012-08-01 Roland McGrath <roland@hack.frob.com>
7831 * libio/iofopen.c: Include <fcntl.h>.
7832 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
7833 (_IO_fopen64, fopen64): Define as aliases.
7834 * libio/iofopen64.c: Include <fcntl.h>.
7835 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
7836 Conditionalize body on this.
7837 * sysdeps/wordsize-64/iofopen.c: File removed.
7838 * sysdeps/wordsize-64/iofopen64.c: File removed.
7840 2012-08-01 Marek Polacek <polacek@redhat.com>
7842 * libc/Makeconfig: Use elf in place of binfmt-subdir.
7843 Use dlfcn directly instead of a variable.
7844 (binfmt-subdir): Do not define.
7847 2012-08-01 Joseph Myers <joseph@codesourcery.com>
7849 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
7850 Remove all definitions.
7851 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
7852 <kernel-features.h>.
7853 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7854 (miss_F_GETOWN_EX): Remove all definitions.
7855 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
7857 [!__ASSUME_FCNTL64]: Remove conditional code.
7858 [__ASSUME_FCNTL64]: Make code unconditional.
7859 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
7860 <kernel-features.h>.
7861 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7862 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
7863 (lockf64) [__NR_fcntl64]: Make code unconditional.
7864 (lockf64) [__ASSUME_FCNTL64]: Likewise.
7866 * sysdeps/unix/sysv/linux/kernel-features.h
7867 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
7868 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
7869 Make code unconditional.
7870 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7871 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
7873 [__NR_vfork]: Make code unconditional.
7874 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7875 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
7877 [__NR_vfork]: Make code unconditional.
7878 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7879 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7881 2012-08-01 Roland McGrath <roland@hack.frob.com>
7883 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
7884 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
7886 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7887 Define mkstemp64 as an alias.
7888 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7889 Define mkstemps64 as an alias.
7890 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7891 Define mkostemp64 as an alias.
7892 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7893 Define mkostemps64 as an alias.
7894 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
7895 Conditionalize body on this.
7896 * misc/mkostemp64.c: Likewise.
7897 * misc/mkostemps64.c: Likewise.
7898 * misc/mkstemps64.c: Likewise.
7899 * sysdeps/wordsize-64/mkstemp64.c: File removed.
7900 * sysdeps/wordsize-64/mkostemp64.c: File removed.
7901 * sysdeps/wordsize-64/mkostemp.c: File removed.
7902 * sysdeps/wordsize-64/mkstemp.c: File removed.
7903 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
7904 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
7905 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
7906 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
7909 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
7910 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
7911 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
7912 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
7914 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
7915 compat_symbol macros from <shlib-compat.h> rather than the underlying
7916 default_symbol_version and symbol_version macros, so that DEFAULT
7917 lines in shlib-versions are respected.
7918 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
7920 2012-08-01 Florian Weimer <fweimer@redhat.com>
7922 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
7923 Declare with warn_unused_result.
7924 (setgid, setregid, setegid, setresgid): Likewise.
7925 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
7927 * WUR-REPORT: Remove set*id functions.
7929 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
7931 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
7933 2012-07-31 Roland McGrath <roland@hack.frob.com>
7935 * include/sys/socket.h (__libc_accept, __libc_accept4):
7936 Add attribute_hidden.
7937 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
7939 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
7941 * inet/getnetgrent_r.c (setup): Likewise.
7943 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
7945 2012-07-31 David S. Miller <davem@davemloft.net>
7947 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7949 2012-07-31 Joseph Myers <joseph@codesourcery.com>
7952 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
7953 value between 1.0 and 2.0 and smaller part has absolute value less
7955 * math/s_clog10.c (__clog10): Likewise.
7956 * math/s_clog10f.c (__clog10f): Likewise.
7957 * math/s_clog10l.c (__clog10l): Likewise.
7958 * math/s_clogf.c (__clogf): Likewise.
7959 * math/s_clogl.c (__clogl): Likewise.
7960 * math/libm-test.inc (clog_test): Add more tests.
7961 (clog10_test): Likewise.
7962 * sysdeps/i386/fpu/libm-test-ulps: Update.
7963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7965 2012-07-31 Florian Weimer <fweimer@redhat.com>
7967 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
7968 Exit with zero in case no suitable GID is found, and write a
7969 message to standard error.
7971 2012-07-30 Roland McGrath <roland@hack.frob.com>
7973 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
7975 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
7976 (MAXPATHLEN): Removed.
7977 (NOGROUP, NODEV): New macros.
7978 (setbit, clrbit, isset, isclr): New macros.
7979 (howmany, roundup, powerof2): New macros.
7980 (DEV_BSIZE): New macro.
7982 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
7983 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
7985 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
7986 definition on [!__NO_LONG_DOUBLE_MATH].
7988 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
7989 PTR_MANGLE and PTR_DEMANGLE.
7991 * socket/accept4.c (accept4): Rename to __libc_accept4.
7992 Define accept4 as a weak alias.
7994 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
7995 on [_DIRENT_HAVE_D_TYPE].
7996 * io/ftw.c (ftw_dir): Likewise.
7998 * io/xmknod.c (__xmknod): Don't check PATH for being null.
8000 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
8002 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
8003 Use the BSD numbers rather than the arbitrary ones we had.
8004 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
8005 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
8006 (SIGXCPU, SIGXFSZ): New macros.
8009 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
8010 initializer on [_LIBC_REENTRANT].
8012 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
8013 definitions inside [_POSIX_MAPPED_FILES].
8015 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
8017 * dirent/opendir.c: Include <fcntl.h>.
8019 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
8020 (__libc_getspecific): Likewise.
8021 (__libc_key_create): Likewise.
8023 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
8024 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
8025 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
8026 (tmpfile64): Define as alias.
8027 * sysdeps/wordsize-64/tmpfile.c: File removed.
8028 * sysdeps/wordsize-64/tmpfile64.c: File removed.
8029 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
8030 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
8032 * stdio-common/vfscanf.c: Include <stdbool.h>.
8033 * nss/makedb.c: Likewise.
8034 * stdio-common/_i18n_number.h: Likewise.
8035 * argp/argp-help.c: Likewise.
8036 * posix/wordexp.c: Likewise.
8037 * sysdeps/posix/spawni.c: Likewise.
8038 * nss/nss_files/files-initgroups.c: Likewise.
8039 * stdio-common/reg-modifier.c: Include <stdlib.h>.
8040 * nss/nss_files/files-initgroups.c: Likewise.
8041 * nss/nss_db/db-netgrp.c: Likewise.
8042 * nss/nss_db/db-initgroups.c: Likewise.
8043 * io/fchmodat.c: Include <sys/stat.h>.
8045 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
8046 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
8048 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
8051 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
8052 Add multiple inclusion protection.
8054 2012-07-27 David S. Miller <davem@davemloft.net>
8056 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8058 2012-07-27 Gary Benson <gbenson@redhat.com>
8061 * elf/rtld.c: Include <stap-probe.h>.
8062 (dl_main): Added static probes "init_start" and "init_complete".
8063 * elf/dl-load.c: Include <stap-probe.h>.
8064 (lose): Take new parameter "nsid".
8065 Added static probe "map_failed".
8066 (_dl_map_object_from_fd): Pass namespace id to lose.
8067 Added static probe "map_start".
8068 (open_verify): Pass namespace id to lose.
8069 * elf/dl-open.c: Include <stap-probe.h>.
8070 (dl_open_worker) Added static probes "map_complete", "reloc_start"
8071 and "reloc_complete".
8072 * elf/dl-close.c: Include <stap-probe.h>.
8073 (_dl_close_worker): Added static probes "unmap_start" and
8075 * elf/rtld-debugger-interface.txt: New file documenting the above.
8077 2012-07-26 Roland McGrath <roland@hack.frob.com>
8079 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
8080 rather than a string variable.
8081 * sunrpc/rpc_main.c (h_output): Likewise.
8082 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
8084 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
8086 * inet/check_native.c: New file.
8088 2012-07-26 Joseph Myers <joseph@codesourcery.com>
8091 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
8092 if larger part has absolute value 1.0.
8093 * math/s_clog10.c (__clog10): Likewise.
8094 * math/s_clog10f.c (__clog10f): Likewise.
8095 * math/s_clog10l.c (__clog10l): Likewise.
8096 * math/s_clogf.c (__clogf): Likewise.
8097 * math/s_clogl.c (__clogl): Likewise.
8098 * math/libm-test.inc (clog_test): Add more tests.
8099 (clog10_test): Likewise.
8100 * sysdeps/i386/fpu/libm-test-ulps: Update.
8101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8103 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
8104 (pltexit): Likewise.
8105 (La_regs): Likewise.
8106 (La_retval): Likewise.
8107 (int_retval): Likewise.
8108 Update #error for removed macros to refer only to definitions in
8110 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
8112 (pltexit): Likewise.
8113 (La_regs): Likewise.
8114 (La_retval): Likewise.
8115 (int_retval): Likewise.
8116 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
8118 (pltexit): Likewise.
8119 (La_regs): Likewise.
8120 (La_retval): Likewise.
8121 (int_retval): Likewise.
8122 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
8124 (pltexit): Likewise.
8125 (La_regs): Likewise.
8126 (La_retval): Likewise.
8127 (int_retval): Likewise.
8128 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
8130 (pltexit): Likewise.
8131 (La_regs): Likewise.
8132 (La_retval): Likewise.
8133 (int_retval): Likewise.
8134 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
8136 (pltexit): Likewise.
8137 (La_regs): Likewise.
8138 (La_retval): Likewise.
8139 (int_retval): Likewise.
8140 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
8142 (pltexit): Likewise.
8143 (La_regs): Likewise.
8144 (La_retval): Likewise.
8145 (int_retval): Likewise.
8146 * sysdeps/generic/tst-audit.h: Update comment to refer only to
8147 macro definitions in tst-audit.h.
8148 * sysdeps/i386/tst-audit.h: New file.
8149 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
8150 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
8151 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
8152 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
8153 * sysdeps/sh/tst-audit.h: Likewise.
8154 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
8155 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
8156 * sysdeps/x86_64/tst-audit.h: Likewise.
8158 2012-07-26 Andreas Jaeger <aj@suse.de>
8160 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
8163 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
8164 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
8165 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
8167 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
8168 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
8169 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
8171 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
8174 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
8176 (si_call_addr, si_syscall, si_arch): Define new macro.
8177 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
8179 (si_call_addr, si_syscall, si_arch): Define new marcro.
8180 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
8182 (si_call_addr, si_syscall, si_arch): Define new macro.
8183 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
8185 (si_call_addr, si_syscall, si_arch): Define new macro.
8187 2012-07-25 Joseph Myers <joseph@codesourcery.com>
8190 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8191 Change to 2.4.21 where previously 2.4.1.
8192 * sysdeps/unix/sysv/linux/configure: Regenerated.
8193 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
8194 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
8195 Linux kernel version.
8196 (__ASSUME_STD_AUXV): Remove.
8197 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
8199 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
8200 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
8201 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
8202 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
8203 (__ASSUME_NETLINK_SUPPORT): Likewise.
8204 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
8205 (__no_netlink_support): Remove conditional definition.
8206 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
8208 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8209 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
8210 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
8211 (if_nameindex_ioctl): Remove.
8212 (if_nameindex_netlink): Do not handle __no_netlink_support.
8213 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8215 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
8216 Remove conditional code.
8217 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8219 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
8221 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8222 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
8223 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
8225 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
8226 [!__ASSUME_STD_AUXV]: Remove conditional code.
8227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
8228 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
8229 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
8230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
8231 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
8232 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8234 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8236 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
8237 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8239 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8241 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8244 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
8247 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8249 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8251 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8253 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8256 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8258 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
8261 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8263 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8265 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8267 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
8270 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8272 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8274 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8276 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8279 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8281 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
8282 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
8283 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8284 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
8285 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
8286 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8287 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8288 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8289 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
8290 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8291 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
8292 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
8293 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
8294 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8295 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8296 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
8297 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
8298 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
8299 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
8300 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
8301 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
8302 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8303 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8305 2012-07-25 Florian Weimer <fweimer@redhat.com>
8307 * Versions.def: Add GLIBC_2.17.
8308 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
8309 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
8310 Introduce __libc_secure_getenv.
8311 * stdlib/Versions (2.17): Add secure_getenv
8312 (GLIBC_PRIVATE): Add __libc_secure_getenv.
8313 * stdlib/secure-getenv.c: Rename __secure_getenv to
8314 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
8315 symbol __secure_getenv for GLIBC_2.0.
8316 * stdlib/tst-secure-getenv.c: New.
8317 * stdlib/Makefile (tests): Add testcase.
8318 * manual/startup.texi (Environment Access): Document
8320 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
8321 __libc_secure_getenv.
8322 * inet/ruserpass.c (ruserpass): Likewise.
8323 * malloc/mtrace.c (mtrace): Likewise.
8324 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
8325 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
8326 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
8327 * sysdeps/posix/tempname.c: Likewise. Evaluate
8329 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
8330 __secure_getenv to __libc_secure_getenv.
8331 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
8332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8336 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8337 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8338 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8339 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8340 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8341 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8342 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
8344 2012-07-25 Joseph Myers <joseph@codesourcery.com>
8346 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
8347 (struct La_i86_retval): Likewise.
8348 (struct La_x86_64_regs): Likewise.
8349 (struct La_x86_64_retval): Likewise.
8350 (struct La_x32_regs): Likewise.
8351 (struct La_x32_retval): Likewise.
8352 (struct La_ppc32_regs): Likewise.
8353 (struct La_ppc32_retval): Likewise.
8354 (struct La_ppc64_regs): Likewise.
8355 (struct La_ppc64_retval): Likewise.
8356 (struct La_sh_regs): Likewise.
8357 (struct La_sh_retval): Likewise.
8358 (struct La_s390_32_regs): Likewise.
8359 (struct La_s390_32_retval): Likewise.
8360 (struct La_s390_64_regs): Likewise.
8361 (struct La_s390_64_retval): Likewise.
8362 (struct La_sparc32_regs): Likewise.
8363 (struct La_sparc32_retval): Likewise.
8364 (struct La_sparc64_regs): Likewise.
8365 (struct La_sparc64_retval): Likewise.
8366 (struct audit_ifaces): Remove architecture-specific pltenter and
8368 * sysdeps/i386/ldsodefs.h: New file.
8369 * sysdeps/powerpc/ldsodefs.h: Likewise.
8370 * sysdeps/s390/ldsodefs.h: Likewise.
8371 * sysdeps/sh/ldsodefs.h: Likewise.
8372 * sysdeps/sparc/ldsodefs.h: Likewise.
8373 * sysdeps/x86_64/ldsodefs.h: Likewise.
8375 2012-07-25 Marek Polacek <polacek@redhat.com>
8378 * math/libm-test.inc (yn_test): Add another test.
8379 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
8380 to ERANGE when the result is +-Inf.
8381 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8382 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
8383 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
8384 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
8386 2012-07-24 Joseph Myers <joseph@codesourcery.com>
8388 * conform/data/time.h-data (NULL): Use macro-constant. Require
8390 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
8392 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
8394 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
8396 * configure.in <sysdeps resolving>: Correct printing
8398 * configure: Regenerate.
8400 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
8402 * math/w_ilogb.c: Include <limits.h>.
8403 * math/w_ilogbl.c: Likewise.
8405 2012-07-20 Joseph Myers <joseph@codesourcery.com>
8407 * manual/lang.texi (__va_copy): Document primarily as ISO C99
8408 va_copy. Document allowing for unavailable va_copy only as
8409 pre-C99 compatibility.
8410 * manual/string.texi (Copying and Concatenation): Use va_copy
8411 instead of __va_copy in concat example.
8413 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
8415 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
8416 (__sendto): Use create_address_port. Initialize APORT and deallocate
8419 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
8420 with O_NOLINK passed to __file_name_lookup.
8422 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
8423 with O_NOLINK passed to __file_name_lookup.
8425 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
8426 negative N or less than NGIDS.
8428 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
8429 type to string_t. Set ERANGE as errno and return it if NAME is not big
8430 enough. Use memcpy instead of strncpy.
8432 2012-07-20 Joseph Myers <joseph@codesourcery.com>
8434 * elf/Makefile (check-data): Remove.
8435 (localplt.data): New vpath directive.
8436 ($(objpfx)check-localplt.out): Use localplt.data from vpath
8437 instead of $(check-data).
8438 * scripts/data/localplt-generic.data: Move to ...
8439 * sysdeps/generic/localplt.data: ... here.
8440 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
8441 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
8442 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
8443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8445 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
8446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8448 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
8449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
8451 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
8452 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8454 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
8455 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
8457 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
8458 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
8461 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8463 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
8464 PPC32 and PPC64 files.
8465 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
8466 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
8468 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8470 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
8471 __makecontext_ret to ...
8472 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
8473 ... here and call exit if uc_link is NULL. New file.
8474 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
8475 __makecontext_ret.S.
8476 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
8477 __makecontext_ret to ...
8478 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
8479 ... here and call exit if uc_link is NULL. New file.
8480 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
8481 __makecontext_ret.S.
8483 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8485 * elf/elf.h (R_390_IRELATIVE): New definition.
8486 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
8487 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
8488 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
8489 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8490 (elf_machine_lazy_rel): Likewise.
8491 * sysdeps/s390/dl-irel.h: New file.
8492 * sysdeps/s390/s390-64/memcpy.S: New asm code.
8493 * sysdeps/s390/s390-64/memset.S: New asm code.
8494 * sysdeps/s390/s390-64/memcmp.S: New asm code.
8495 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
8496 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
8497 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
8498 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
8499 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
8500 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
8501 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
8502 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
8503 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
8504 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
8505 * sysdeps/s390/s390-32/memcpy.S: New asm code.
8506 * sysdeps/s390/s390-32/memset.S: New asm code.
8507 * sysdeps/s390/s390-32/memcmp.S: New asm code.
8509 2012-07-17 Marek Polacek <polacek@redhat.com>
8512 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
8513 * sysdeps/s390/s390-64/configure.in: Likewise.
8514 * sysdeps/sparc/configure.in: Likewise.
8515 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
8516 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
8517 * sysdeps/i386/configure.in: Likewise.
8518 * sysdeps/x86_64/configure.in: Likewise.
8519 * sysdeps/sh/configure.in: Likewise.
8520 * sysdeps/s390/s390-32/configure: Regenerated.
8521 * sysdeps/s390/s390-64/configure: Likewise.
8522 * sysdeps/x86_64/configure: Likewise.
8523 * sysdeps/sh/configure: Likewise.
8524 * sysdeps/powerpc/powerpc64/configure: Likewise.
8525 * sysdeps/powerpc/powerpc32/configure: Likewise.
8526 * sysdeps/sparc/configure: Likwise.
8527 * sysdeps/i386/configure: Likewise.
8529 * elf/dl-open.c: Comment fixes.
8531 2012-07-17 Joseph Myers <joseph@codesourcery.com>
8533 * Makefile [CXX] (check-data): Remove.
8534 [CXX] (c++-types.data): New vpath directive.
8535 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
8536 vpath. Do not allow for C++ type data being missing.
8537 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
8538 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
8539 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
8540 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
8541 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
8542 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
8543 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
8544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8546 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
8547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8549 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
8550 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
8552 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
8553 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
8555 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
8556 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
8558 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
8559 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
8561 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
8562 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
8564 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
8565 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
8567 * elf/tls-macros.h (TLS_LE): Move architecture-specific
8568 definitions to architecture-specific files.
8572 * sysdeps/i386/tls-macros.h: New file.
8573 * sysdeps/powerpc/tls-macros.h: Likewise.
8574 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
8575 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
8576 * sysdeps/sh/tls-macros.h: Likewise.
8577 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
8578 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
8579 * sysdeps/x86_64/tls-macros.h: Likewise.
8581 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8583 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
8584 zero value for regular exit case.
8586 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8587 (__start_context): Preserve zero value for regular exit case.
8589 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8590 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8592 * manual/setjmp.texi (setcontext): Clarify normal process
8593 termination when uc_link is the null pointer.
8594 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
8597 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
8599 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
8600 preprocessor. Test for each exception mask separately.
8602 2012-07-16 Andreas Jaeger <aj@suse.de>
8604 * po/ru.po: Update from translation team.
8606 2012-07-15 Joseph Myers <joseph@codesourcery.com>
8608 * conform/data/string.h-data (NULL): Use macro-constant. Require
8610 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8611 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8612 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
8613 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
8614 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8616 2012-07-13 Andreas Jaeger <aj@suse.de>
8618 * po/fr.po: Update from translation team.
8620 2012-07-12 Marek Polacek <polacek@redhat.com>
8623 * math/libm-test.inc (yn_test): Add test for BZ #14173.
8624 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
8627 2012-07-12 Joseph Myers <joseph@codesourcery.com>
8630 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8631 Change to 2.4.1 where previously 2.4.0.
8632 * sysdeps/unix/sysv/linux/configure: Regenerated.
8633 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
8634 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
8636 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
8637 (__ASSUME_AT_CLKTCK): Remove.
8638 (__ASSUME_AT_PAGESIZE): Likewise.
8639 (__ASSUME_AT_XID): Likewise.
8640 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
8641 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
8642 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
8644 (HAVE_AUX_PAGESIZE): Likewise.
8645 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
8646 [__ASSUME_AT_CLKTCK]: Make code unconditional.
8647 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
8649 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
8652 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
8653 the temporary buffer used to invoke __gethostbyname2_r,
8654 __gethostbyaddr_r and gethostbyname4_r to make room for struct
8655 host_data / struct gaih_addrtuple.
8656 * resolv/nss_dns/dns-host.c (global scope): Move definition of
8657 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
8658 header file nss/nsswitch.h.
8659 * nss/nsswitch.h (global scope): Add definition of implementation
8660 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
8661 resolv/nss_dns/dns-host.c).
8663 2012-07-11 Andreas Jaeger <aj@suse.de>
8665 * po/fr.po: Update from translation team.
8667 * po/sv.po: Update from translation team
8668 * po/fr.po: Another update from translation team.
8670 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8672 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
8673 for subnormals or multiply small sinh result by itself.
8674 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8675 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8677 2012-07-11 David S. Miller <davem@davemloft.net>
8679 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8681 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
8684 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
8685 (INTERNAL_MARK): Shift it here.
8687 2012-07-10 Marek Polacek <polacek@redhat.com>
8690 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
8691 libc_cv_asm_global_directive with .globl.
8692 * configure: Regenerated.
8693 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
8695 * sysdeps/i386/configure: Regenerated.
8696 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
8698 * sysdeps/x86_64/configure: Regenerated.
8699 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
8700 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
8701 * elf/tst-unique2mod2.c: Likewise.
8702 * elf/tst-unique2mod1.c: Likewise.
8703 * elf/tst-unique1mod2.c: Likewise.
8704 * elf/tst-unique1mod1.c: Likewise.
8705 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8706 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8707 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8708 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8709 * sysdeps/mach/sysdep.h: Likewise.
8710 * sysdeps/i386/sysdep.h: Likewise.
8711 * sysdeps/i386/i386-mcount.S: Likewise.
8712 * sysdeps/x86_64/_mcount.S: Likewise.
8713 * sysdeps/x86_64/sysdep.h: Likewise.
8714 * sysdeps/sh/_mcount.S: Likewise.
8715 * sysdeps/sh/sysdep.h: Likewise.
8716 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
8717 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
8718 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
8719 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8720 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
8721 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
8722 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
8723 * locale/localeinfo.h: Likewise.
8724 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
8725 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
8727 2012-07-09 Roland McGrath <roland@hack.frob.com>
8730 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
8732 * manual/message.texi (The Uniforum approach): Likewise.
8733 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
8734 (glibc iconv Implementation): Likewise.
8736 2012-07-09 Joseph Myers <joseph@codesourcery.com>
8739 * math/s_clog.c (__clog): Avoid scaling a value down where that
8740 could result in underflow.
8741 * math/s_clog10.c (__clog10): Likewise.
8742 * math/s_clog10f.c (__clog10f): Likewise.
8743 * math/s_clog10l.c (__clog10l): Likewise.
8744 * math/s_clogf.c (__clogf): Likewise.
8745 * math/s_clogl.c (__clogl): Likewise.
8746 * math/libm-test.inc (clog_test): Add more tests.
8747 (clog10_test): Likewise.
8748 * sysdeps/i386/fpu/libm-test-ulps: Update.
8749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8751 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8754 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
8755 by 7 not 8 to examine high bit of fractional part.
8758 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
8759 for call to __mcount_internal.
8760 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
8761 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
8762 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
8764 2012-07-06 Joseph Myers <joseph@codesourcery.com>
8767 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
8768 approximation for values within 0x1p-13f of an odd multiple of
8770 * math/libm-test.inc (tan_test): Do not allow spurious underflow
8771 exception. Add more tests.
8772 * sysdeps/i386/fpu/libm-test-ulps: Update.
8775 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
8776 inputs and return -1 for them. Do not check for +Inf in case not
8778 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8779 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
8780 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8781 and return -1 for them. Do not check for +Inf in case not
8783 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
8785 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8786 and return -1 for them. Do not check for +Inf in case not
8788 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
8790 * sysdeps/i386/fpu/libm-test-ulps: Update.
8791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8793 2012-07-06 Mike Frysinger <vapier@gentoo.org>
8795 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
8797 2012-07-05 Joseph Myers <joseph@codesourcery.com>
8801 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
8802 could result in spurious underflow. Scale down values above
8803 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
8804 * math/s_csqrtf.c (__csqrtf): Likewise.
8805 * math/s_csqrtl.c (__csqrtl): Likewise.
8806 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
8808 * sysdeps/i386/fpu/libm-test-ulps: Update.
8809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8811 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
8813 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
8815 * catgets/xopen-msg.awk: New file.
8816 * catgets/xopen-msg.sed: Removed.
8818 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
8820 * intl/po2test.awk: New file.
8821 * intl/po2test.sed: Removed.
8823 2012-07-04 Joseph Myers <joseph@codesourcery.com>
8826 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
8827 or multiply small sinh result by itself.
8828 * math/s_ctanf.c (__ctanf): Likewise.
8829 * math/s_ctanh.c (__ctanh): Likewise.
8830 * math/s_ctanhf.c (__ctanhf): Likewise.
8831 * math/s_ctanhl.c (__ctanhl): Likewise.
8832 * math/s_ctanl.c (__ctanl): Likewise.
8833 * math/libm-test.inc (ctan_test_tonearest): New function.
8834 (ctan_test_towardzero): Likewise.
8835 (ctan_test_downward): Likewise.
8836 (ctan_test_upward): Likewise.
8837 (ctanh_test_tonearest): Likewise.
8838 (ctanh_test_towardzero): Likewise.
8839 (ctanh_test_downward): Likewise.
8840 (ctanh_test_upward): Likewise.
8841 (main): Call these new functions.
8842 * sysdeps/i386/fpu/libm-test-ulps: Update.
8843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8845 2012-07-03 Mike Frysinger <vapier@gentoo.org>
8847 * .gitignore: Delete /ports entry.
8849 2012-07-03 Andreas Jaeger <aj@suse.de>
8851 * po/bg.po: Update from translation team.
8852 * po/cs.po: Likewise.
8853 * po/de.po: Likewise.
8854 * po/hr.po: Likewise.
8855 * po/nl.pl: Likewise.
8856 * po/pl.po: Likewise.
8857 * po/vi.po: Likewise.
8859 2012-07-03 Joseph Myers <joseph@codesourcery.com>
8861 * Makeconfig [!+link] (+link-before-libc): New variable.
8862 [!+link] (+link-after-libc): Likewise.
8863 [!+link] (+link-tests): Likewise.
8864 [!+link] (+link): Define in terms of $(+link-before-libc) and
8865 $(+link-after-libc).
8866 [!+link-static] (+link-static-before-libc): New variable.
8867 [!+link-static] (+link-static-after-libc): Likewise.
8868 [!+link-static] (+link-static-tests): Likewise.
8869 [!+link-static] (+link-static): Define in terms of
8870 $(+link-static-before-libc) and $(+link-static-after-libc).
8871 [build-shared] (link-libc-before-gnulib): New variable.
8872 [build-shared] (link-libc-tests): Likewise.
8873 [build-shared] (link-libc): Define in terms of
8874 $(link-libc-before-gnulib).
8875 [!build-shared] (link-libc-tests): New variable.
8876 (link-libc-static-tests): New variable.
8877 [!gnulib] (gnulib-arch): New variable.
8878 [!gnulib] (gnulib-tests): Likewise.
8879 [!gnulib] (static-gnulib-arch): Likewise.
8880 [!gnulib] (static-gnulib-tests): Likewise.
8881 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
8882 Define with "=" instead of ":=".
8883 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
8884 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
8885 * Rules (binaries-all-notests): New variable.
8886 (binaries-all-tests): Likewise.
8887 (binaries-static-notests): Likewise.
8888 (binaries-static-tests): Likewise.
8889 (binaries-all): Define using $(binaries-all-notests) and
8890 $(binaries-all-tests).
8891 (binaries-static): Define using $(binaries-static-notests) and
8892 $(binaries-static-tests).
8893 (binaries-shared-tests): New variable.
8894 (binaries-shared-notests): Likewise.
8895 (binaries-shared): Remove variable.
8896 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
8897 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
8898 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
8899 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
8900 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
8901 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
8902 * elf/Makefile (sln-modules): New variable.
8903 (extra-objs): Add $(sln-modules:=.o).
8904 (ldconfig-modules): Add static-stubs.
8905 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
8906 * elf/static-stubs.c: New file.
8909 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
8910 by 7 not 8 to examine high bit of fractional part. Use volatile
8911 variables when splitting into final array of floats if
8912 __FLT_EVAL_METHOD__ != 0.
8913 * math/libm-test.inc (cos_test): Add another test.
8914 (sin_test): Likewise.
8915 * sysdeps/i386/fpu/libm-test-ulps: Update.
8918 * math/libm-test.inc (cosh_test): Add more tests.
8920 * version.h (RELEASE): Set to "development".
8921 (VERSION): Set to "2.16.90".
8923 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
8925 * NEWS: Update copyright. Remove last-updated date.
8926 Mention math library bug fixes and timezone data changes.
8927 * README: Mention GNU/Hurd, x32, and HPPA support status.
8929 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
8931 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
8933 2012-06-27 Andreas Jaeger <aj@suse.de>
8935 * manual/contrib.texi (Contributors): Add Samuel Thibault.
8937 2012-06-25 Andreas Jaeger <aj@suse.de>
8939 * sysdeps/s390/fpu/libm-test-ulps: Update.
8941 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
8942 Thomas Schwinge <thomas@codesourcery.com>
8944 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
8945 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
8946 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
8949 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
8951 * sysdeps/mach/start.c: Remove file.
8952 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
8953 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
8954 * sysdeps/sh/init-first.c: Likewise.
8956 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
8957 registers for frame unwinding purposes, add CFI directives.
8958 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8959 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
8960 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
8963 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
8964 __fortify_fail returning.
8965 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8967 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
8968 sysdeps/sh/____longjmp_chk.S.
8969 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
8970 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
8971 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
8972 (gen-as-const-headers): Append sigaltstack-offsets.sym.
8974 * sysdeps/sh/abort-instr.h: New file.
8975 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
8976 process in case exit returns.
8978 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
8979 initialize the GOT register before use.
8981 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
8982 calculation of ARGC > 4.
8984 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
8985 meaningful names to some local labels.
8987 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8988 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8990 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
8991 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
8992 (__arch_compare_and_exchange_val_16_acq): Likewise.
8993 (__arch_compare_and_exchange_val_32_acq): Likewise.
8994 (atomic_exchange_and_add): Fix gUSA sequence.
8995 (atomic_add): Likewise.
8996 (atomic_add_negative): Likewise.
8997 (atomic_add_zero): Likewise.
8998 (atomic_bit_test_set): Likewise.
9000 2012-06-22 Andreas Schwab <schwab@redhat.com>
9003 * include/link.h (struct link_map): Add l_free_initfini.
9004 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
9006 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
9007 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
9008 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
9011 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
9013 * configure.in: Use AC_LANG_SOURCE.
9014 * configure: Regenerate.
9016 2012-06-22 Roland McGrath <roland@hack.frob.com>
9018 * configure.in (libc_cv_localstatedir): New substituted variable.
9019 * configure: Regenerated.
9020 * config.make.in (localstatedir): New variable, substituted from
9021 libc_cv_localstatedir.
9022 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
9023 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
9024 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
9025 * sysdeps/gnu/configure: Regenerated.
9027 2012-06-21 Jeff Law <law@redhat.com>
9030 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
9031 free. Simplify list management for _LIBC case.
9033 2012-06-21 Joseph Myers <joseph@codesourcery.com>
9036 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9037 Clear sign bit of 64-bit integer value before comparing against
9040 * sysdeps/mach/configure: Regenerated.
9042 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
9045 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
9047 2012-06-21 Jeff Law <law@redhat.com>
9050 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
9051 uint16_t for elements in the "seen" array to avoid char overflows.
9052 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9053 * elf/dl-open.c (dl_open_worker): Likewise.
9055 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
9057 * scripts/list-sources.sh: Scan PORTS for translations.
9058 * po/libc.pot: Regenerated.
9060 2012-06-21 Andreas Jaeger <aj@suse.de>
9063 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
9065 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
9066 * bits/byteswap-16.h (__bswap_16): Likewise.
9067 * bits/byteswap.h (__bswap_constant_16): Likewise.
9069 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
9072 * sysdeps/i386/fpu_control.h: Removed.
9073 * sysdeps/x86_64/fpu_control.h: Moved to ...
9074 * sysdeps/x86/fpu_control.h: Here.
9076 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
9077 (_FPU_SETCW): Likewise.
9079 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
9082 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
9083 * sysdeps/x86/fpu/bits/mathinline.h: This.
9084 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
9088 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
9089 functions if __x86_64__ is defined.
9091 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
9093 * string/endian.h: Add !__ASSEMBLER__ condition for including
9094 conversion interfaces.
9096 2012-06-15 Joseph Myers <joseph@codesourcery.com>
9099 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
9100 of ABS(x) in calculating zero to negative powers other than odd
9102 * math/libm-test.inc (pow_test): Add more tests.
9104 2012-06-15 Andreas Jaeger <aj@suse.de>
9106 * manual/contrib.texi (Contributors): Update entry of Liubov
9107 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
9110 2012-06-15 Cyril Hrubis <metan@ucw.cz>
9112 * string/string.h: Add __wur to GNU version of strerror_r.
9114 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
9117 * string/Makefile (tests): Add tst-strtok_r.
9118 * string/tst-strtok_r.c: New file.
9119 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
9120 RAX_LP/RDX_LP on SAVE_PTR.
9122 2012-06-14 Roland McGrath <roland@hack.frob.com>
9124 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
9126 2012-06-14 Joseph Myers <joseph@codesourcery.com>
9128 * libm_test.inc (csqrt_test): Allow more spurious underflow
9130 (j0_test): Likewise.
9131 (j1_test): Likewise.
9132 (y0_test): Likewise.
9133 (y1_test): Likewise.
9135 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
9137 * po/Makefile (libc.pot): Use UTF-8 charset.
9139 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
9142 Suppress sign-conversion warning from FD_SET.
9143 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
9144 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
9145 not unsigned long int.
9146 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
9148 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
9152 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
9153 __extern_always_inline instead of __extern_inline.
9154 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
9155 (__signbit): Likewise.
9156 (__signbitl): Support C++ namespace.
9157 (lrintf): New inline function.
9159 (llrintf): Likewise.
9171 (nearbyint): Likewise.
9172 (nearbyintf): Likewise.
9174 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
9176 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
9177 non-default versions.
9179 2012-06-11 Roland McGrath <roland@hack.frob.com>
9182 * manual/argp.texi (Argp): Reword argp_parse description slightly.
9184 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
9186 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
9187 (FE_UPWARD, FE_DOWNWARD): Don't define.
9188 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
9189 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9191 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
9193 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9194 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9196 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9198 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9199 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
9200 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
9201 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
9203 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
9206 * sysdeps/i386/fpu/bits/fenv.h: Removed.
9207 * sysdeps/i386/fpu/Implies: New file.
9208 * sysdeps/x86_64/fpu/Implies: Likewise.
9209 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
9210 * sysdeps/x86/fpu/bits/fenv.h: This.
9212 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
9215 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9218 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
9219 character 0xffff that matches the last element of the
9222 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9224 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
9227 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9229 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
9230 values higher than 25.6283.
9232 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9234 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
9235 subnormal exponent extraction and add some __builtin_expect.
9236 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
9237 Fix for subnormal mantissa calculation.
9239 2012-06-04 Mike Frysinger <vapier@gentoo.org>
9241 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
9242 cpu2 is -1 and errno is not ENOSYS.
9244 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
9247 * sysdeps/i386/i486/bits/string.h: Renamed to ...
9248 * sysdeps/x86/bits/string.h: This.
9249 * sysdeps/x86_64/bits/string.h: Removed.
9251 * sysdeps/i386/i486/bits/string.h: Define inline functions only
9252 if not compiling for x86-64, but compiling for >= i486.
9254 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
9255 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
9257 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
9258 New macro from Linux kernel 3.4.0.
9259 (FP_XSTATE_MAGIC2): Likewise.
9260 (FP_XSTATE_MAGIC2_SIZE): Likewise.
9261 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
9262 (struct _fpx_sw_bytes): New struct.
9263 (struct _xsave_hdr): Likewise.
9264 (struct _ymmh_state): Likewise.
9265 (struct _xstate): Likewise.
9267 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
9268 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
9269 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
9270 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
9271 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
9272 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
9274 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
9275 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
9276 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
9277 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
9278 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
9279 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
9281 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9284 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
9285 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
9286 (sysdep_headers): Include sys/platform/ppc.h.
9287 * sysdeps/powerpc/test-gettimebase.c: Test for
9288 __ppc_get_timebase() to catch future ISA opcode/insn changes.
9289 * manual/Makefile (appendices): Include platform.texi.
9290 * manual/contrib.texi (Contributors): Update @node pointers.
9291 * manual/maint.texi (Maintenance): Likewise.
9292 (Platform): New node.
9293 * manual/platform.texi: New file. Document the new features.
9295 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9296 Jakub Jelinek <jakub@redhat.com>
9299 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
9300 where __builtin_expect is unavailable.
9302 2012-06-03 David S. Miller <davem@davemloft.net>
9304 * stdlib/longlong.h: Updated from GCC.
9306 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
9309 * sysdeps/powerpc/powerpc32/mcount.c: New file.
9310 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
9312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9313 (GLIBC_2.16): Likewise.
9315 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9317 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
9319 2012-06-01 Joseph Myers <joseph@codesourcery.com>
9321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
9322 (default-abi): New variable.
9323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
9324 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
9326 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
9328 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
9330 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
9333 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
9334 definition. Document in comment.
9336 2012-06-01 David S. Miller <davem@davemloft.net>
9338 * stdlib/longlong.h: Updated from GCC.
9340 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9343 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
9344 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
9345 sys/debugreg.h sys/io.h here.
9346 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
9347 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
9349 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
9350 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
9351 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
9352 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
9353 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
9354 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
9356 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
9357 Define only if __x86_64__ is defined.
9359 2012-06-01 Joseph Myers <joseph@codesourcery.com>
9362 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
9363 Use int64_t for variable i.
9364 * math/libm-test.inc (fmod_test): Add more tests.
9366 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
9367 z computation is not scheduled after fetestexcept.
9368 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
9369 Use math_force_eval instead of asm to ensure calculation scheduled
9370 before exception test.
9371 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
9372 Ensure a1 + u.d computation is not scheduled after fetestexcept.
9374 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
9376 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
9377 computation is not scheduled after fetestexcept.
9379 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9382 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
9383 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
9385 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9387 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
9388 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9390 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
9393 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
9395 (__WCHAR_MIN): Support __WORDSIZE == 64.
9396 (__WCHAR_MAX): Likewise.
9398 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
9399 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
9402 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
9403 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
9406 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
9407 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
9409 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
9410 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
9412 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
9413 Defined to 1 if __x86_64__ isn't defined.
9414 (_STAT_VER_LINUX_OLD): New.
9415 (st_atime): Remove duplicate.
9416 (st_mtime): Likewise.
9417 (st_ctime): Likewise.
9419 2012-05-31 David S. Miller <davem@davemloft.net>
9421 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
9424 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
9426 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
9430 * elf/dl-reloc.c: Include <_itoa.h>.
9431 (_dl_reloc_bad_type): Remove use of INTUSE.
9432 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
9433 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
9434 * stdio-common/psiginfo.c (psiginfo): Likewise.
9435 * stdio-common/psignal.c (psignal): Likewise.
9436 * string/strsignal.c (strsignal): Likewise.
9437 * include/signal.h (_sys_siglist): Declare hidden proto.
9438 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
9439 INTVARDEF with libc_hidden_data_def.
9440 * stdio-common/itoa-udigits.c: Likewise.
9441 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
9442 (_itoa_lower_digits_internal): Remove declaration.
9443 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
9444 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
9445 (_sys_sigabbrev_internal): Remove aliases.
9446 (_sys_siglist): Define hidden alias.
9448 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
9450 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9453 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
9456 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
9457 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
9459 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
9460 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
9461 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
9462 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
9463 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
9464 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
9466 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
9467 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
9468 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
9470 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
9478 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
9479 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
9480 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
9482 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
9483 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
9484 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
9485 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
9486 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
9487 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
9489 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
9490 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
9492 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
9493 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
9495 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
9496 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
9497 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
9499 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
9500 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
9502 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
9504 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
9505 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
9506 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
9508 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
9510 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
9512 2012-05-31 Joseph Myers <joseph@codesourcery.com>
9514 * math/math.h (M_El): Use two more decimal places.
9515 (M_LOG2El): Likewise.
9516 (M_LOG10El): Likewise.
9518 (M_LN10l): Likewise.
9520 (M_PI_2l): Likewise.
9521 (M_PI_4l): Likewise.
9522 (M_1_PIl): Likewise.
9523 (M_2_PIl): Likewise.
9524 (M_2_SQRTPIl): Likewise.
9525 (M_SQRT2l): Likewise.
9526 (M_SQRT1_2l): Likewise.
9528 2012-05-31 David S. Miller <davem@davemloft.net>
9530 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
9531 values between float registers.
9532 * sysdeps/sparc/sparc64/memset.S: Likewise.
9533 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9535 2012-05-31 Mike Frysinger <vapier@gentoo.org>
9537 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
9538 -D_FORTIFY_SOURCE=1.
9539 (CPPFLAGS-tst-longjmp_chk.c): Define.
9540 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
9541 (CPPFLAGS-tst-longjmp_chk2.c): Define.
9542 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
9543 CFLAGS-tst-wchar-h.c.
9545 2012-05-31 Marek Polacek <polacek@redhat.com>
9548 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
9549 __endmntent_internal): Remove declaration.
9550 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
9551 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
9552 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
9554 2012-05-30 David S. Miller <davem@davemloft.net>
9556 * sysdeps/sparc/sparc32/soft-fp/q_util.c
9557 (___Q_simulate_exceptions): Use real FP ops rather than writing
9559 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
9562 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9565 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
9566 * sysdeps/x86/bits/xtitypes.h: This.
9568 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
9569 * sysdeps/x86/bits/wordsize.h: This.
9571 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
9572 * sysdeps/x86/bits/huge_vall.h: This.
9574 * sysdeps/i386/bits/select.h: Removed.
9575 * sysdeps/x86_64/bits/select.h: Renamed to ...
9576 * sysdeps/x86/bits/select.h: This.
9578 * sysdeps/i386/bits/setjmp.h: Removed.
9579 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
9580 * sysdeps/x86/bits/setjmp.h: This.
9582 * sysdeps/i386/bits/mathdef.h: Removed.
9583 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
9584 * sysdeps/x86/bits/mathdef.h: This.
9586 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
9589 * include/sys/socket.h (__connect_internal)
9590 (__libc_sa_len_internal): Remove declaration.
9591 (__connect, __libc_sa_len): Declare hidden_proto.
9592 (SA_LEN): Remove use of INTUSE.
9593 * socket/connect.c: Add libc_hidden_def.
9594 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
9595 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
9596 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
9598 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9599 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
9600 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
9601 of adding _internal alias.
9603 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9606 * sysdeps/i386/bits/link.h: Removed.
9607 * sysdeps/i386/bits/linkmap.h: Likewise.
9608 * sysdeps/x86_64/bits/link.h: Renamed to ...
9609 * sysdeps/x86/bits/link.h: This.
9610 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
9611 * sysdeps/x86/bits/linkmap.h: This.
9613 * sysdeps/i386/bits/endian.h: Removed.
9614 * sysdeps/x86_64/bits/endian.h: Renamed to ...
9615 * sysdeps/x86/bits/endian.h: This.
9617 * sysdeps/i386/bits/byteswap.h: Removed.
9618 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9619 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
9620 * sysdeps/x86/bits/byteswap.h: This.
9621 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
9622 * sysdeps/x86/bits/byteswap-16.h: This.
9623 * sysdeps/i386/Implies: Add x86.
9624 * sysdeps/x86_64/Implies: Likewise.
9626 2012-05-30 David S. Miller <davem@davemloft.net>
9628 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
9629 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
9630 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9631 (FP_TRAPPING_EXCEPTIONS): Define.
9632 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9633 (FP_TRAPPING_EXCEPTIONS): Define.
9634 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
9635 subnormals only when inexact has been signalled or underflow
9636 exceptions are enabled.
9637 (_FP_PACK_CANONICAL): Likewise.
9639 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9642 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
9643 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
9645 2012-05-30 Richard Henderson <rth@twiddle.net>
9647 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
9648 with #ifndef NOT_IN_libc.
9650 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
9651 marked to avoid plt entry.
9653 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9656 * Makeconfig (default-abi): New macro.
9657 (abi-includes): Likewise.
9658 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
9659 $(abi-$(default-abi)-lib-soname) for soname if defined.
9660 ($(common-objpfx)gnu/lib-names.stmp): Generate from
9662 * Makefile (installed-stubs): Likewise.
9663 * include/stubs-biarch.h: Removed.
9664 * scripts/lib-names.awk: Only handle one library at a time.
9665 * scripts/soversions.awk: Remove WORDSIZE support.
9666 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
9668 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
9670 (syscall-list-default-condition): Likewise.
9671 (syscall-list-default-condition): Likewise.
9672 (syscall-list-includes): Likewise.
9673 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
9674 syscall-list-* with abi-*. Handle undefined abi-variants.
9675 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
9676 * sysdeps/unix/sysv/linux/i386/Implies: New file.
9677 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
9678 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
9679 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
9680 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
9682 (syscall-list-32-options): Likewise.
9683 (syscall-list-32-condition): Likewise.
9684 (syscall-list-64-options): Likewise.
9685 (syscall-list-64-condition): Likewise.
9686 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
9688 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
9691 (abi-64-ld-soname): New macro.
9692 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
9693 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
9696 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
9697 * sysdeps/x86_64/x32/shlib-versions: Likewise.
9699 2012-05-30 Joseph Myers <joseph@codesourcery.com>
9701 * sysdeps/unix/sysv/linux/kernel-features.h
9702 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
9703 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
9704 include <kernel-features.h>.
9705 [!__NR_ftruncate64]: Remove conditional code.
9706 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9707 [__NR_ftruncate64]: Make code unconditional.
9708 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9709 * sysdeps/unix/sysv/linux/truncate64.c: Do not
9710 include <kernel-features.h>.
9711 [!__NR_ftruncate64]: Remove conditional code.
9712 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9713 [__NR_ftruncate64]: Make code unconditional.
9714 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
9716 include <kernel-features.h>.
9717 [!__NR_ftruncate64]: Remove conditional code.
9718 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9719 [__NR_ftruncate64]: Make code unconditional.
9720 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9722 include <kernel-features.h>.
9723 [!__NR_ftruncate64]: Remove conditional code.
9724 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9725 [__NR_ftruncate64]: Make code unconditional.
9726 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9728 * configure.in (libc_cv_fpie): Weaken to a compile test using
9730 * configure: Regenerated.
9732 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9734 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
9735 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
9736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
9737 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9739 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
9740 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
9741 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
9742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
9743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
9744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9747 2012-05-27 David S. Miller <davem@davemloft.net>
9749 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
9751 (__Q_simulate_exceptions): Return void. Change to simulate
9752 exceptions by writing into the %fsr.
9753 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
9754 (__Qp_handle_exceptions): Likewise.
9756 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
9757 __Qp_handle_exceptions.
9758 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
9759 __Qp_handle_exceptions.
9760 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9761 as unused and give dummy FP_RND_NEAREST initializer.
9762 (FP_INHIBIT_RESULTS): Define.
9763 (___Q_simulate_exceptions): Update declaration.
9764 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
9766 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9767 as unused and give dummy FP_RND_NEAREST initializer.
9768 (__Qp_handle_exceptions): Update declaration.
9769 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
9772 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
9774 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
9775 the temporary FPU control word.
9776 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9777 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
9778 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9779 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9780 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9781 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9782 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9783 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9784 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9785 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
9786 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9788 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9790 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
9793 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
9795 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
9796 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
9797 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
9798 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
9800 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
9801 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
9804 2012-05-27 Ulrich Drepper <drepper@gmail.com>
9806 * po/h.po: Update from translation team.
9808 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
9810 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
9812 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
9813 handling of denormals.
9814 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9815 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9816 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9817 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9818 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9819 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
9820 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
9823 2012-05-26 Marek Polacek <polacek@redhat.com>
9826 * math/libm-test.inc (fma_test): Don't always expect underflow
9829 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9832 * elf/tst-execstack.c: Include stackinfo.h.
9833 (do_test): Adjust test case to ensure that pthread_getattr_np
9834 behaviour remains the same after marking stack executable.
9836 2012-05-25 Joseph Myers <joseph@codesourcery.com>
9838 * sysdeps/unix/sysv/linux/kernel-features.h
9839 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
9840 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
9842 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9843 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9844 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
9846 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9847 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9849 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
9851 * configure.in: Define the default includes to being none.
9852 * configure: Regenerated.
9854 2012-05-25 Roland McGrath <roland@hack.frob.com>
9856 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
9857 * sysdeps/x86_64/setjmp.S: Likewise.
9858 * sysdeps/i386/bsd-setjmp.S: Likewise.
9859 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9860 * sysdeps/i386/setjmp.S: Likewise.
9861 * sysdeps/i386/__longjmp.S: Likewise.
9862 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9863 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
9865 * include/stap-probe.h: New file.
9866 * configure.in: Handle --enable-systemtap.
9867 * configure: Regenerated.
9868 * config.h.in (USE_STAP_PROBE): New #undef.
9869 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
9870 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
9871 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9873 2012-05-25 Joseph Myers <joseph@codesourcery.com>
9876 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9877 to 2.4.0 where earlier.
9878 * sysdeps/unix/sysv/linux/configure: Regenerated.
9879 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9880 <kernel-features.h>.
9881 [__ASSUME_32BITUIDS]: Make code unconditional.
9882 [!__ASSUME_32BITUIDS]: Remove conditional code.
9883 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
9884 <kernel-features.h>.
9885 [__ASSUME_32BITUIDS]: Make code unconditional.
9886 [!__ASSUME_32BITUIDS]: Remove conditional code.
9887 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
9888 [__ASSUME_32BITUIDS]: Make code unconditional.
9889 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
9890 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
9891 <kernel-features.h>.
9892 [__ASSUME_32BITUIDS]: Make code unconditional.
9893 [!__ASSUME_32BITUIDS]: Remove conditional code.
9894 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
9895 <kernel-features.h>.
9896 [__ASSUME_32BITUIDS]: Make code unconditional.
9897 [!__ASSUME_32BITUIDS]: Remove conditional code.
9898 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
9899 <kernel-features.h>.
9900 [__ASSUME_32BITUIDS]: Make code unconditional.
9901 [!__ASSUME_32BITUIDS]: Remove conditional code.
9902 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
9903 <kernel-features.h>.
9904 [__ASSUME_32BITUIDS]: Make code unconditional.
9905 [!__ASSUME_32BITUIDS]: Remove conditional code.
9906 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9907 <kernel-features.h>.
9908 [__ASSUME_32BITUIDS]: Make code unconditional.
9909 [!__ASSUME_32BITUIDS]: Remove conditional code.
9910 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9911 <kernel-features.h>.
9912 [__ASSUME_32BITUIDS]: Make code unconditional.
9913 [!__ASSUME_32BITUIDS]: Remove conditional code.
9914 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
9915 <kernel-features.h>.
9916 [__ASSUME_32BITUIDS]: Make code unconditional.
9917 [!__ASSUME_32BITUIDS]: Remove conditional code.
9918 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9919 <kernel-features.h>.
9920 [__ASSUME_32BITUIDS]: Make code unconditional.
9921 [!__ASSUME_32BITUIDS]: Remove conditional code.
9922 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9923 <kernel-features.h>.
9924 [__ASSUME_32BITUIDS]: Make code unconditional.
9925 [!__ASSUME_32BITUIDS]: Remove conditional code.
9926 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
9927 <kernel-features.h>.
9928 [__ASSUME_32BITUIDS]: Make code unconditional.
9929 [!__ASSUME_32BITUIDS]: Remove conditional code.
9930 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
9931 <kernel-features.h>.
9932 [__NR_setresgid] (__setresgid): Do not declare.
9933 [__ASSUME_32BITUIDS]: Make code unconditional.
9934 [!__ASSUME_32BITUIDS]: Remove conditional code.
9935 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
9936 <kernel-features.h>.
9937 [__NR_setresuid] (__setresuid): Do not declare.
9938 [__ASSUME_32BITUIDS]: Make code unconditional.
9939 [!__ASSUME_32BITUIDS]: Remove conditional code.
9940 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
9941 <kernel-features.h>.
9942 [__ASSUME_32BITUIDS]: Make code unconditional.
9943 [!__ASSUME_32BITUIDS]: Remove conditional code.
9944 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
9945 <kernel-features.h>.
9946 [__ASSUME_32BITUIDS]: Make code unconditional.
9947 [!__ASSUME_32BITUIDS]: Remove conditional code.
9948 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
9949 <kernel-features.h>.
9950 [__ASSUME_32BITUIDS]: Make code unconditional.
9951 [!__ASSUME_32BITUIDS]: Remove conditional code.
9952 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
9953 <kernel-features.h>.
9954 [__ASSUME_32BITUIDS]: Make code unconditional.
9955 [!__ASSUME_32BITUIDS]: Remove conditional code.
9956 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
9957 <kernel-features.h>.
9958 [__ASSUME_32BITUIDS]: Make code unconditional.
9959 [!__ASSUME_32BITUIDS]: Remove conditional code.
9960 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
9961 <kernel-features.h>.
9962 [__ASSUME_32BITUIDS]: Make code unconditional.
9963 [!__ASSUME_32BITUIDS]: Remove conditional code.
9964 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
9965 <kernel-features.h>.
9966 [__ASSUME_32BITUIDS]: Make code unconditional.
9967 [!__ASSUME_32BITUIDS]: Remove conditional code.
9968 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
9969 <kernel-features.h>.
9970 [__ASSUME_32BITUIDS]: Make code unconditional.
9971 [!__ASSUME_32BITUIDS]: Remove conditional code.
9972 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
9973 <kernel-features.h>.
9974 [__ASSUME_32BITUIDS]: Make code unconditional.
9975 [!__ASSUME_32BITUIDS]: Remove conditional code.
9976 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9977 <kernel-features.h>.
9978 [__ASSUME_32BITUIDS]: Make code unconditional.
9979 [!__ASSUME_32BITUIDS]: Remove conditional code.
9980 * sysdeps/unix/sysv/linux/kernel-features.h
9981 (__ASSUME_SETRESUID_SYSCALL): Remove.
9982 (__ASSUME_SETRESGID_SYSCALL): Likewise.
9983 (__ASSUME_32BITUIDS): Likewise.
9984 (__ASSUME_LDT_WORKS): Likewise.
9985 (__ASSUME_O_DIRECTORY): Likewise.
9986 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
9987 architecture but not kernel version.
9988 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9989 (__ASSUME_MMAP2_SYSCALL): Likewise.
9990 (__ASSUME_STAT64_SYSCALL): Likewise.
9991 (__ASSUME_IPC64): Likewise.
9992 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
9993 <kernel-features.h>.
9994 [__ASSUME_32BITUIDS]: Make code unconditional.
9995 [!__ASSUME_32BITUIDS]: Remove conditional code.
9996 * sysdeps/unix/sysv/linux/opendir.c: Do not include
9997 <kernel-features.h>.
9998 [__ASSUME_O_DIRECTORY]: Make code unconditional.
9999 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
10000 132096]: Remove conditional code.
10001 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
10002 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10003 <kernel-features.h>.
10004 [__ASSUME_32BITUIDS]: Make code unconditional.
10005 [!__ASSUME_32BITUIDS]: Remove conditional code.
10006 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10007 <kernel-features.h>.
10008 [__ASSUME_32BITUIDS]: Make code unconditional.
10009 [!__ASSUME_32BITUIDS]: Remove conditional code.
10010 * sysdeps/unix/sysv/linux/setegid.c: Do not include
10011 <kernel-features.h>.
10012 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
10014 (__setresgid): Do not declare.
10015 [__ASSUME_32BITUIDS]: Make code unconditional.
10016 [!__ASSUME_32BITUIDS]: Remove conditional code.
10017 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
10018 <kernel-features.h>.
10019 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
10021 (__setresuid): Do not declare.
10022 [__ASSUME_32BITUIDS]: Make code unconditional.
10023 [!__ASSUME_32BITUIDS]: Remove conditional code.
10024 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
10029 <kernel-features.h>.
10030 [__ASSUME_32BITUIDS]: Make code unconditional.
10031 [!__ASSUME_32BITUIDS]: Remove conditional code.
10033 2012-05-25 Richard Henderson <rth@twiddle.net>
10035 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
10036 dl_hwcap to ifunc resolver.
10037 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
10039 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
10040 dl_hwcap to ifunc resolver.
10041 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
10043 2012-05-24 Joseph Myers <joseph@codesourcery.com>
10046 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
10047 for |x| <= 2**-26, not 2**-57.
10048 * math/libm-test.inc (acos_test): Do not allow spurious underflow
10051 2012-05-24 Jeff Law <law@redhat.com>
10053 * stdio-common/Makefile (tests): Add bug25.
10054 * stdio-common/bug25.c: New test.
10056 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10059 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
10060 multiple of MALLOC_ALIGNMENT in size.
10061 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
10063 2012-05-24 Joseph Myers <joseph@codesourcery.com>
10065 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
10067 (FILENAME_MAX): Use macro-int-constant.
10068 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
10069 (_IOFBF): Use macro-int-constant.
10070 (_IOLBF): Likewise.
10071 (_IONBF): Likewise.
10072 (SEEK_CUR): Likewise.
10073 (SEEK_END): Likewise.
10074 (SEEK_SET): Likewise.
10075 (TMP_MAX): Likewise.
10076 (EOF): Use macro-int-constant. Require < 0.
10077 (NULL): Use macro-constant. Require == 0.
10078 (stdin): Require type to be FILE *.
10079 (stdout): Likewise.
10080 (stderr): Likewise.
10081 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
10082 macro-int-constant.
10083 (EXIT_SUCCESS): Likewise.
10084 (NULL): Use macro-constant. Require == 0.
10085 (RAND_MAX): Use macro-int-constant.
10086 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
10087 [C99-based standards] (strtof): Require function.
10088 [C99-based standards] (strtold): Likewise.
10089 [C99-based standards] (strtoll): Likewise.
10090 [C99-based standards] (strtoull): Likewise.
10091 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10092 [ISO || ISO99 || ISO11] (limits.h): Likewise.
10093 [ISO || ISO99 || ISO11] (math.h): Likewise.
10094 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
10095 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10096 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10098 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
10101 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
10102 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
10103 * intl/dgettext.c (DCGETTEXT): Likewise.
10104 * intl/gettext.c (DCGETTEXT): Likewise.
10105 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
10106 * posix/regex_internal.h (gettext): Likewise.
10107 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
10108 Remove declaration.
10109 * include/argz.h (__argz_count_internal)
10110 (__argz_stringify_internal): Remove declaration.
10111 (__argz_count, __argz_stringify): Declare hidden proto.
10112 * intl/dcgettext.c: Remove use of INTDEF.
10113 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
10114 * string/argz-stringify.c: Likewise.
10115 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10116 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10117 Declare hidden proto.
10118 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10119 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10120 Declare hidden proto.
10121 * include/stdio.h (__asprintf_internal): Don't declare.
10122 (__asprintf): Don't define as macro. Declare hidden proto.
10123 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
10124 (__fsetlocking): Declare hidden proto.
10125 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
10126 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
10128 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
10129 (_IO_setlinebuf): Remove use of INTUSE.
10130 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
10131 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
10132 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
10133 Remove declaration.
10134 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
10135 (_IO_do_flush): Remove use of INTUSE.
10136 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
10137 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
10138 (_IO_adjust_column, _IO_least_wmarker)
10139 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
10140 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
10141 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
10142 (_IO_default_doallocate, _IO_wdefault_doallocate)
10143 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
10144 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
10145 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
10146 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
10147 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
10148 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
10149 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
10150 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
10151 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
10152 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
10153 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
10154 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
10155 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
10157 (_IO_flush_all_internal, _IO_adjust_column_internal)
10158 (_IO_default_uflow_internal, _IO_default_finish_internal)
10159 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
10160 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
10161 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
10162 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
10163 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
10164 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
10165 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
10166 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
10167 (_IO_file_close_internal, _IO_file_close_it_internal)
10168 (_IO_file_underflow_internal, _IO_file_overflow_internal)
10169 (_IO_file_init_internal, _IO_file_attach_internal)
10170 (_IO_file_fopen_internal, _IO_file_read_internal)
10171 (_IO_file_sync_internal, _IO_file_seek_internal)
10172 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
10173 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
10174 (_IO_str_underflow_internal, _IO_str_overflow_internal)
10175 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
10176 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
10177 (_IO_list_all_internal, _IO_link_in_internal)
10178 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
10179 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
10180 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
10181 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
10182 (_IO_do_write_internal, _IO_padn_internal)
10183 (_IO_getline_info_internal, _IO_getline_internal)
10184 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
10185 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
10186 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
10187 (_IO_vfscanf_internal, _IO_vfprintf_internal)
10188 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
10189 (_IO_init_internal, _IO_un_link_internal): Don't declare.
10190 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
10191 with libc_hidden_ver, remove use of INTUSE.
10192 * libio/genops.c: Likewise.
10193 * libio/freopen.c: Likewise.
10194 * libio/freopen64.c: Likewise.
10195 * libio/iofclose.c: Likewise.
10196 * libio/iofdopen.c: Likewise.
10197 * libio/iofflush.c: Likewise.
10198 * libio/iofflush_u.c: Likewise.
10199 * libio/iofgets.c: Likewise.
10200 * libio/iofgets_u.c: Likewise.
10201 * libio/iofopen.c: Likewise.
10202 * libio/iofopncook.c: Likewise.
10203 * libio/iofread.c: Likewise.
10204 * libio/iofread_u.c: Likewise.
10205 * libio/ioftell.c: Likewise.
10206 * libio/iofwrite.c: Likewise.
10207 * libio/iogetline.c: Likewise.
10208 * libio/iogets.c: Likewise.
10209 * libio/iogetwline.c: Likewise.
10210 * libio/iopadn.c: Likewise.
10211 * libio/iopopen.c: Likewise.
10212 * libio/ioseekoff.c: Likewise.
10213 * libio/ioseekpos.c: Likewise.
10214 * libio/iosetbuffer.c: Likewise.
10215 * libio/iosetvbuf.c: Likewise.
10216 * libio/ioungetc.c: Likewise.
10217 * libio/ioungetwc.c: Likewise.
10218 * libio/iovdprintf.c: Likewise.
10219 * libio/iovsprintf.c: Likewise.
10220 * libio/iovsscanf.c: Likewise.
10221 * libio/memstream.c: Likewise.
10222 * libio/obprintf.c: Likewise.
10223 * libio/oldfileops.c: Likewise.
10224 * libio/oldiofclose.c: Likewise.
10225 * libio/oldiofdopen.c: Likewise.
10226 * libio/oldiofopen.c: Likewise.
10227 * libio/oldiopopen.c: Likewise.
10228 * libio/oldstdfiles.c: Likewise.
10229 * libio/putc.c: Likewise.
10230 * libio/setbuf.c: Likewise.
10231 * libio/setlinebuf.c: Likewise.
10232 * libio/stdfiles.c: Likewise.
10233 * libio/strops.c: Likewise.
10234 * libio/vasprintf.c: Likewise.
10235 * libio/vscanf.c: Likewise.
10236 * libio/vsnprintf.c: Likewise.
10237 * libio/vswprintf.c: Likewise.
10238 * libio/wfiledoalloc.c: Likewise.
10239 * libio/wfileops.c: Likewise.
10240 * libio/wgenops.c: Likewise.
10241 * libio/wmemstream.c: Likewise.
10242 * libio/wstrops.c: Likewise.
10243 * libio/__fpurge.c: Likewise.
10244 * libio/__fsetlocking.c: Likewise.
10245 * assert/assert.c: Likewise.
10246 * debug/fgets_chk.c: Likewise.
10247 * debug/fgets_u_chk.c: Likewise.
10248 * debug/fread_chk.c: Likewise.
10249 * debug/fread_u_chk.c: Likewise.
10250 * debug/gets_chk.c: Likewise.
10251 * debug/obprintf_chk.c: Likewise.
10252 * debug/vasprintf_chk.c: Likewise.
10253 * debug/vdprintf_chk.c: Likewise.
10254 * debug/vsnprintf_chk.c: Likewise.
10255 * debug/vsprintf_chk.c: Likewise.
10256 * malloc/mtrace.c: Likewise.
10257 * misc/error.c: Likewise.
10258 * misc/syslog.c: Likewise.
10259 * stdio-common/asprintf.c: Likewise.
10260 * stdio-common/fxprintf.c: Likewise.
10261 * stdio-common/getw.c: Likewise.
10262 * stdio-common/isoc99_fscanf.c: Likewise.
10263 * stdio-common/isoc99_scanf.c: Likewise.
10264 * stdio-common/isoc99_vfscanf.c: Likewise.
10265 * stdio-common/isoc99_vscanf.c: Likewise.
10266 * stdio-common/isoc99_vsscanf.c: Likewise.
10267 * stdio-common/printf-prs.c: Likewise.
10268 * stdio-common/printf_fp.c: Likewise.
10269 * stdio-common/printf_fphex.c: Likewise.
10270 * stdio-common/printf_size.c: Likewise.
10271 * stdio-common/putw.c: Likewise.
10272 * stdio-common/scanf.c: Likewise.
10273 * stdio-common/sprintf.c: Likewise.
10274 * stdio-common/tmpfile.c: Likewise.
10275 * stdio-common/vfprintf.c: Likewise.
10276 * stdio-common/vfscanf.c: Likewise.
10277 * stdlib/strfmon_l.c: Likewise.
10278 * sunrpc/openchild.c: Likewise.
10279 * sunrpc/xdr_stdio.c: Likewise.
10280 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10281 * sysdeps/mach/hurd/tmpfile.c: Likewise.
10283 2012-05-24 Roland McGrath <roland@hack.frob.com>
10285 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10287 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
10288 in the third column, to generate for the shared library an IFUNC
10289 that uses _dl_vdso_vsym.
10290 * Makerules (COMPILE.c, compile-stdin.c): New variables.
10291 * Makeconfig (object-suffixes-noshared): New variable.
10293 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
10294 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
10295 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
10296 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
10299 * include/sys/time.h (__gettimeofday): Remove macro.
10300 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
10301 * time/gettimeofday.c (__gettimeofday): Remove #undef.
10303 (__gettimeofday): Add libc_hidden_def.
10304 (gettimeofday): Add libc_hidden_weak.
10305 * sysdeps/mach/gettimeofday.c: Likewise.
10306 * sysdeps/posix/gettimeofday.c: Likewise.
10307 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
10308 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
10309 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
10310 (__gettimeofday_internal): Remove strong_alias.
10311 (__gettimeofday): Add libc_hidden_def.
10312 (gettimeofday): Add libc_hidden_weak.
10313 * sysdeps/unix/syscalls.list (gettimeofday):
10314 Remove __gettimeofday_internal alias.
10316 2012-05-24 Daniel Jacobowitz <drow@false.org>
10317 H.J. Lu <hongjiu.lu@intel.com>
10320 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
10321 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
10322 (largebin_index_32_big): New.
10323 (largebin_index): Use it for 16-byte alignment.
10324 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
10325 correction with front_misalign.
10327 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10329 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
10330 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10332 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
10334 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10336 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
10338 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
10340 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
10342 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
10344 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10346 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
10348 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
10350 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10352 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
10355 * scripts/data/c++-types-x32-linux-gnu.data: New file.
10356 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
10358 2012-05-24 Joseph Myers <joseph@codesourcery.com>
10362 * math/libm-test.inc (exp_test): Add test from bug 14036.
10363 (pow_test): Add test from bug 10846.
10365 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
10367 (special_function): Do not include flags in test name.
10368 (parse_args): Likewise.
10369 * sysdeps/i386/fpu/libm-test-ulps: Update.
10370 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10371 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10372 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10375 * math/gen-libm-test.pl (%beautify): Add entries for underflow
10377 * math/libm-test.inc ("Philosophy"): Update comment about
10379 (UNDERFLOW_EXCEPTION): New macro.
10380 (UNDERFLOW_EXCEPTION_OK): Likewise.
10381 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
10382 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
10383 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
10384 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
10385 (INVALID_EXCEPTION_OK): Update value.
10386 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10387 (OVERFLOW_EXCEPTION_OK): Likewise.
10388 (IGNORE_ZERO_INF_SIGN): Likewise.
10389 (test_exceptions): Handle underflow exceptions.
10390 (acos_test): Update for underflow exception expectations.
10391 (cexp_test): Likewise.
10392 (clog_test): Likewise.
10393 (clog10_test): Likewise.
10394 (csqrt_test): Likewise.
10395 (ctan_test): Likewise.
10396 (ctanh_test): Likewise.
10397 (exp_test): Likewise.
10398 (exp10_test): Likewise.
10399 (exp2_test): Likewise.
10400 (expm1_test): Likewise.
10401 (fma_test): Likewise.
10402 (j0_test): Likewise.
10403 (jn_test): Likewise.
10404 (nexttoward_test): Likewise.
10405 (pow_test): Likewise.
10406 (scalbn_test): Likewise.
10407 (scalbln_test): Likewise.
10408 (tan_test): Likewise.
10409 (y1_test): Likewise.
10410 * sysdeps/i386/fpu/libm-test-ulps: Update.
10411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10413 2012-05-23 David S. Miller <davem@davemloft.net>
10415 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10416 (__libc_sigaction): Remove unused local variables.
10418 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10420 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
10422 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
10424 mktime: avoid signed integer overflow
10425 * time/mktime.c (__mktime_internal): Do not mishandle the case
10426 where diff == INT_MIN.
10428 mktime: simplify computation of average
10429 * time/mktime.c (ranged_convert): Use new time_t_avg function
10430 instead of rolling our own (probably-slower) code.
10432 mktime: do not assume signed right shift propagates sign bit
10433 * time/mktime.c (isdst_differ): New static function.
10434 (__mktime_internal): No need to normalize tm_isdst now.
10435 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
10438 mktime: merge another wrapv change from gnulib
10439 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
10440 from some compilers.
10442 mktime: remove incorrect attempt at unusual arithmetics
10443 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
10444 The code didn't really work on such machines anyway.
10445 (TYPE_MINIMUM): Assume two's complement.
10446 (twos_complement_arithmetic): Verify that long_int and time_t
10447 are two's complement (or unsigned, in the latter case).
10449 mktime: check signed shifts on long_int and time_t, too
10450 * time/mktime.c (SHR): Check that shifts work as desired
10451 on the types long_int and time_t too, as SHR is used on
10454 mktime: do not assume 'long' is wide enough
10455 * time/mktime.c (verify): Move decl up.
10456 (long_int): New type.
10457 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
10458 to remove assumption in the code that 'long' is wide enough to
10459 store year values. This assumption is not true on x32 and on
10460 some non-glibc platforms.
10462 mktime: merge wrapv change from gnulib
10463 * time/mktime.c (WRAPV): New macro.
10464 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
10465 (guess_time_tm, __mktime_internal): Do not assume that signed
10466 integer overflow wraps around; modern compilers generate code
10467 where this assumption is no longer valid.
10469 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10471 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10472 Replace "jmp L(pseudo_end)" with "ret".
10473 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
10476 2012-05-23 Andreas Jaeger <aj@suse.de>
10478 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
10479 * sysdeps/unix/sysv/linux/poll.c: Remove file.
10481 2012-05-23 Andreas Jaeger <aj@suse.de>
10482 Maximilian Attems <max@stro.at>
10484 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
10487 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10489 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
10490 code so that pseudo_end is just ret and the stack pointer is
10491 correct also for static library in error case.
10493 2012-05-23 Joseph Myers <joseph@codesourcery.com>
10495 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
10496 move to syscalls.list.
10497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10502 * manual/install.texi (Running make install): Do not mention Linux
10503 kernel version for which pt_chown is not needed.
10504 (Linux): Do not mention problems with nscd with 2.0 kernels.
10505 * INSTALL: Regenerated.
10507 2012-05-23 Andreas Jaeger <aj@suse.de>
10509 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
10510 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
10512 * sysdeps/unix/sysv/linux/s390/bits/mman.h
10513 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10514 * sysdeps/unix/sysv/linux/sh/bits/mman.h
10515 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10516 * sysdeps/unix/sysv/linux/i386/bits/mman.h
10517 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10518 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
10519 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10520 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
10521 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10522 * sysdeps/unix/sysv/linux/bits/in.h
10523 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
10525 2012-05-22 Roland McGrath <roland@hack.frob.com>
10527 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
10528 (PREPARE_VERSION): Just use assert instead, it will be elided
10529 under [NDEBUG] anyway.
10531 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10533 * sysdeps/unix/sysv/linux/Makefile: Include
10534 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
10535 (sysdep_routines): Remove sysctl.
10536 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
10537 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
10538 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
10539 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
10540 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
10542 2012-05-22 Andreas Jaeger <aj@suse.de>
10544 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
10545 that pseudo_end is just ret and the stack pointer is correct also
10546 for static library in error case.
10548 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
10551 * nss/nsswitch.c (defconfig_entries): New variable.
10552 (__nss_database_lookup): Don't leak defconfig entries.
10553 (nss_parse_service_list): Don't leak on error paths.
10554 (free_database_entries): New function.
10555 (free_defconfig): New function.
10556 (free_mem): Move common code to free_database_entries.
10558 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10560 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
10562 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
10564 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10565 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
10566 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
10568 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
10569 (INTERNAL_SYSCALL_TYPES): Likewise.
10570 (LOAD_ARGS_TYPES_[1-6]): Likewise.
10571 (LOAD_REGS_TYPES_[1-6]): Likewise.
10572 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
10573 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
10575 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10577 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
10578 copysignl for GLIBC_2_0.
10579 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
10580 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
10581 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
10582 logbl for GLIBC_2_0.
10583 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
10584 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
10586 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10588 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
10589 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10591 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10594 * time/mktime.c: Update copyright years.
10596 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
10598 mktime: merge comment-quoting-style change from gnulib
10599 * time/mktime.c: Quote 'like this' in comments.
10600 The GNU coding standards suggest that we no longer quote `like this',
10601 as "`" and "'" are typically rendered asymmetrically nowadays.
10602 The typical gnulib style is to quote 'like this' when quoting
10603 code, and "like this" when quoting English.
10605 * time/mktime.c (compile-command): Add "-I.".
10607 mktime: merge mktime-internal.h change from gnulib
10608 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
10610 mktime: merge time_r change from gnulib
10611 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
10613 mktime: merge DEBUG change from gnulib
10614 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
10615 case system <time.h> has a #define.
10617 mktime: merge <sys/types.h> change from gnulib
10618 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
10619 since <time.t> is now guaranteed to define time_t.
10621 mktime: merge HAVE_CONFIG_H change from gnulib
10622 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
10624 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10626 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10629 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
10631 (struct rusage): Use anonymous union to pad each field to
10634 2012-05-21 David S. Miller <davem@davemloft.net>
10636 * Makefules (o-iterator): Remove .s cases.
10637 (compile-command.s): Delete.
10638 (COMPILE.s): Delete.
10639 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
10641 2012-05-21 Joseph Myers <joseph@codesourcery.com>
10643 * configure.in (libc_cv_predef_stack_protector): Only consider
10644 "foobar" and "__stack_chk_fail" lines in libc_undefs.
10645 * configure: Regenerated.
10647 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10649 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10650 New macro. Use R*LP on int and pointer.
10651 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
10652 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
10653 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
10654 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
10656 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
10657 [__WORDSIZE_TIME64_COMPAT32] instead of
10658 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
10659 (struct utmp): Likewise.
10660 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
10661 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
10663 (__WORDSIZE_TIME64_COMPAT32): This.
10664 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
10665 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
10666 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
10667 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
10668 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
10669 (__WORDSIZE_TIME64_COMPAT32): New macro.
10671 2012-05-21 Andreas Jaeger <aj@suse.de>
10673 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
10674 only if [SHARED]. Add prototype for __wcschr_ia32.
10676 2012-05-21 Roland McGrath <roland@hack.frob.com>
10678 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
10679 of %rbp unmolested in the jmp_buf while mangling the low bits.
10680 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
10681 unmolested high bits of %rbp while demangling the low bits.
10682 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10684 2012-05-21 Andreas Jaeger <aj@suse.de>
10686 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
10687 * sunrpc/svc_simple.c: Use it for registerrpc.
10688 * sunrpc/xcrypt.c: Use it for passwd2des.
10690 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
10692 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10694 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
10695 Don't define if [__SYSCALL_WORDSIZE != 32].
10696 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
10699 2012-05-21 Bruno Haible <bruno@clisp.org>
10700 Andreas Jaeger <aj@suse.de>
10702 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
10703 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
10704 inptr and inend for must_buffer_ch.
10705 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
10706 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
10707 * stdio-common/Makefile (tests): Remove bug15.
10708 (bug15-ENV): Remove macro.
10709 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
10712 2012-05-19 Andreas Jaeger <aj@suse.de>
10713 Roland McGrath <roland@hack.frob.com>
10715 * manual/contrib.texi: Completely rewritten. It contains now an
10716 alphabetical list of contributors and their contributions.
10718 2012-05-21 Richard Henderson <rth@twiddle.net>
10720 * misc/getauxval.c (__getauxval): Use unsigned long int.
10721 * misc/sys/auxv.h: Include <sys/cdefs.h>.
10722 (getauxval): Use unsigned long int.
10724 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10726 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10728 2012-05-21 Roland McGrath <roland@hack.frob.com>
10730 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
10731 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
10732 __alignof__ (long double).
10734 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10738 2012-05-20 Richard Henderson <rth@twiddle.net>
10740 * misc/getauxval.c: New file.
10741 * misc/sys/auxv.h: New file.
10742 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
10743 (routines): Add getauxval.
10744 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
10745 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
10746 * elf/dl-sysdep.c (_dl_auxv): Remove.
10747 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
10748 * elf/dl-support.c (_dl_auxv): New variable.
10749 (_dl_aux_init): Initialize it.
10750 * manual/startup.texi (Auxiliary Vector): New node.
10751 * sysdeps/generic/bits/hwcap.h: New file.
10752 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
10753 * sysdeps/powerpc/sysdep.h: ... here. Include it.
10754 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
10755 * sysdeps/sparc/sysdep.h: ... here. Include it.
10756 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
10757 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
10758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
10761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
10762 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
10763 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
10764 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10765 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10766 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
10767 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
10769 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10771 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10773 2012-05-19 David S. Miller <davem@davemloft.net>
10775 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10777 2012-05-19 Joseph Myers <joseph@codesourcery.com>
10780 * math/s_ccosh.c: Include <float.h>
10781 (__ccosh): Avoid internal overflow calculating sinh and cosh
10782 values before multiplying by sin and cos values.
10783 * math/s_ccoshf.c: Likewise.
10784 * math/s_ccoshl.c: Likewise.
10785 * math/s_csin.c: Likewise.
10786 * math/s_csinf.c: Likewise.
10787 * math/s_csinl.c: Likewise.
10788 * math/s_csinh.c: Likewise.
10789 * math/s_csinhf.c: Likewise.
10790 * math/s_csinhl.c: Likewise.
10791 * math/libm-test.inc (ccos_test): Add more tests.
10792 (ccosh_test): Likewise.
10793 (csin_test): Likewise.
10794 (csinh_test): Likewise.
10795 * sysdeps/i386/fpu/libm-test-ulps: Update.
10796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10798 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
10800 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
10801 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
10803 * sysdeps/x86_64/x32/_itoa.h: Add comment.
10805 2012-05-19 Joseph Myers <joseph@codesourcery.com>
10807 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
10808 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
10809 * sysdeps/powerpc/soft-fp/Versions: Likewise.
10810 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
10811 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
10812 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
10813 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
10814 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
10815 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
10816 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
10817 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
10818 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
10819 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
10820 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
10821 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
10822 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
10823 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
10824 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
10825 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
10826 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
10827 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
10828 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
10829 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
10830 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
10831 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
10832 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
10833 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
10834 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
10835 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
10836 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
10837 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
10839 2012-05-18 Andreas Jaeger <aj@suse.de>
10841 * csu/.gitignore: Delete.
10843 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10845 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
10846 (timex): Use __syscall_slong_t.
10848 2012-05-18 Andreas Jaeger <aj@suse.de>
10849 Carlos O'Donell <carlos_odonell@mentor.com>
10851 * manual/install.texi (Configuring and compiling): Update
10852 description about files modified in the source directory.
10853 * INSTALL: Regenerated.
10855 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10857 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
10858 value. Use "or" to set return value to -1.
10859 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
10860 negate return value.
10862 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10864 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
10865 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
10866 failure if the compiler has Graphite support disabled.
10867 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
10869 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
10870 CFLAGS-memmove.c): Likewise.
10871 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
10874 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10876 * sysdeps/x86_64/x32/_itoa.h: New file.
10878 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
10879 getdents system call only if kernel and user dirents have the
10880 same d_ino and d_off.
10882 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10883 LLONG_MAX != LONG_MAX.
10884 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10885 (_fitoa_word): Likewise.
10887 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
10889 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
10890 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
10891 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
10893 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
10894 include <bits/wordsize.h>. Check __x86_64__ instead of
10896 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
10897 if __x86_64__ is defined. Use anonymous union on fpstate.
10899 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
10902 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
10904 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10905 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
10906 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
10907 Refer to _rtld_local_ro instead of _rtld_global_ro.
10908 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
10910 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
10912 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
10914 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
10915 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
10916 of _rtld_global, and rtld_progname instead of _dl_argv[0].
10918 * sysdeps/powerpc/powerpc32/dl-machine.c
10919 (__elf_machine_runtime_setup) [PROF]: Don't reference
10922 2012-05-18 Andreas Jaeger <aj@suse.de>
10924 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
10925 function only available for GCCs before 3.4 since GCC 3.4
10926 introduced a builtin.
10928 (llrintf): Likewise.
10929 (llrint): Likewise.
10936 (nearbyint): Likewise.
10937 (nearbyintf): Likewise.
10941 (floorf): Likewise.
10943 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10945 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
10946 on both fields and cast pointer to __syscall_ulong_t.
10948 * bits/types.h (__fsword_t): New type.
10949 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
10950 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
10951 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10952 (__FSWORD_T_TYPE): Likewise.
10953 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10954 (__FSWORD_T_TYPE): Likewise.
10955 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10956 (__FSWORD_T_TYPE): Likewise.
10957 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
10958 (__FSWORD_T_TYPE): Likewise.
10959 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
10960 __SWORD_TYPE with __fsword_t.
10961 (statfs64): Likewise.
10963 2012-05-17 David S. Miller <davem@davemloft.net>
10965 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
10967 2012-05-17 Andreas Jaeger <aj@suse.de>
10969 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
10972 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10974 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
10976 2012-05-17 Andreas Jaeger <aj@suse.de>
10978 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
10981 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10983 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
10985 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10987 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
10988 * sysdeps/x86_64/tst-mallocalign1.c: New file.
10990 2012-05-17 Andreas Jaeger <aj@suse.de>
10991 Carlos O'Donell <carlos_odonell@mentor.com>
10994 * sysdeps/x86_64/multiarch/init-arch.h
10995 (bit_YMM_Usable): Rename to...
10996 (bit_AVX_Usable): ... this.
10997 (bit_FMA4_Usable): New macro.
10998 (bit_XMM_state): New macro.
10999 (bit_YMM_state): New macro.
11000 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
11001 [__ASSEMBLER__] (index_AVX_Usable): ... this.
11002 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
11003 (CPUID_OSXSAVE): New macro.
11004 (CPUID_AVX): New macro.
11005 (CPUID_FMA4): New macro.
11006 (index_YMM_Usable): Rename to...
11007 (index_AVX_Usable): ... this.
11008 (HAS_AVX): Use HAS_ARCH_FEATURE.
11009 (HAS_FMA4): Likewise.
11010 (HAS_YMM_USABLE): Remove.
11011 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11012 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
11014 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
11015 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
11016 * sysdeps/x86_64/multiarch/Makefile: Likewise.
11017 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
11018 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
11020 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11022 * math/libm-test.c: Support platforms without multiple rounding modes.
11023 * math/bug-nextafter.c: Support platforms without FP exceptions.
11024 * math/bug-nexttoward.c: Likewise.
11025 * math/test-fenv.c: Likewise.
11026 * math/test-misc.c: Likewise.
11027 * stdlib/bug-getcontext.c: Likewise.
11029 2012-05-17 Andreas Jaeger <aj@suse.de>
11031 * manual/examples/search.c (critter_cmp): Change signature to
11033 * manual/string.texi (Collation Functions): Likewise.
11035 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11037 * bits/types.h: Fold copyright years.
11038 * bits/typesizes.h: Likewise.
11039 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
11040 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11041 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
11042 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
11043 * time/time.h: Likewise.
11045 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
11048 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
11049 in instead of returning them. Return void.
11050 (__libc_mallinfo): Accumulate over all arenas.
11051 (__malloc_stats): Adjust for change in int_mallinfo interface.
11053 2012-05-16 Roland McGrath <roland@hack.frob.com>
11056 * configure.in (NM): Add AC_CHECK_TOOL for it.
11057 (libc_extra_cflags): New substituted variable.
11058 Check for -fstack-protector being used implicitly.
11059 * configure: Regenerated.
11060 * config.make.in (config-extra-cflags): New variable,
11061 gets @libc_extra_cflags@.
11062 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
11065 * configure.in: Check for _FORTIFY_SOURCE being predefined.
11066 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
11067 * configure: Regenerated.
11068 * config.make.in (CPPUNDEFS): New substituted variable.
11069 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
11070 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
11071 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
11073 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11075 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
11076 (mq_attr): Use __syscall_slong_t.
11078 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11080 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
11081 Check __x86_64__ instead of __WORDSIZE.
11082 (_STAT_VER_LINUX): Likewise.
11083 (stat): Check __x86_64__ instead of __WORDSIZE. Use
11084 __syscall_ulong_t and __syscall_slong_t.
11085 (stat64): Likewise.
11087 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11089 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
11091 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11093 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
11095 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11097 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
11100 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
11101 include <bits/wordsize.h>. Check __x86_64__ instead of
11103 (greg_t): Use "__extension__ long long int" if __x86_64__ is
11105 (mcontext_t): Replace "unsigned long" with "unsigned long long".
11107 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
11108 include <bits/wordsize.h>. Check __x86_64__ instead of
11110 (user_regs_struct): Use "__extension__ unsigned long long"
11111 instead of "unsigned long" if __x86_64__ is defined.
11112 (user): Likewise. Pad after pointer field if __ILP32__ is
11115 2012-05-16 Joseph Myers <joseph@codesourcery.com>
11117 * configure.in (makeinfo): Require version 4.5 or later. Allow
11119 * configure: Regenerated.
11120 * manual/install.texi (texinfo): Increase version requirement to
11122 * INSTALL: Regenerated.
11124 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
11126 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11128 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
11130 * sysdeps/x86_64/x32/ffs.c: New file.
11132 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
11134 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
11135 defined. Use __syscall_ulong_t.
11136 (shminfo): Use __syscall_ulong_t.
11137 (shm_info): Likewise.
11139 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
11142 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
11144 (msgqnum_t): Use __syscall_ulong_t.
11145 (msglen_t): Likewise.
11146 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
11149 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
11150 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11152 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
11154 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
11155 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
11157 * sysvipc/sys/msg.h (msgbuf): Replace long int with
11160 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
11161 include <bits/wordsize.h>. Check __x86_64__ instead of
11164 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
11165 "unsigned long long int" if __x86_64__ is defined.
11166 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
11168 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
11169 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11170 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
11172 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
11174 (GET_PC): Cast to uintptr_t first.
11175 (GET_FRAME): Likewise.
11176 (GET_STACK): Likewise.
11178 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
11179 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
11180 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
11181 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
11182 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
11183 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
11184 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
11185 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
11186 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
11187 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
11188 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
11189 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
11190 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11191 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
11192 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
11193 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
11194 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
11195 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
11196 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
11197 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
11198 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
11199 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
11200 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
11201 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
11202 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
11203 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
11204 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
11205 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
11206 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
11208 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
11210 * Makerules (+depfiles): Also collect depfiles from .oS in
11212 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
11213 .oS, $(libnldbl-routines)).
11215 * Makerules (native-compile-mkdep-flags): Define.
11216 * sunrpc/Makefile (extra-objs): Add $(addprefix
11217 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
11218 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
11219 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
11220 calling $(make-target-directory).
11222 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11224 * bits/types.h (__snseconds_t): Removed.
11225 * time/time.h (struct timespec): Replace __snseconds_t with
11227 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
11228 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
11230 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11231 (__SNSECONDS_T_TYPE): Likewise.
11232 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11233 (__SNSECONDS_T_TYPE): Likewise.
11234 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11235 (__SNSECONDS_T_TYPE): Likewise.
11237 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11239 * sysdeps/mach/hurd/bits/typesizes.h
11240 (__SYSCALL_SLONG_TYPE): New macro.
11241 (__SYSCALL_ULONG_TYPE): Likewise.
11243 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11245 * bits/types.h (__syscall_slong_t): New type.
11246 (__syscall_ulong_t): Likewise.
11248 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
11249 (__SYSCALL_ULONG_TYPE): Likewise.
11250 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11251 (__SYSCALL_SLONG_TYPE): Likewise.
11252 (__SYSCALL_ULONG_TYPE): Likewise.
11253 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11254 (__SYSCALL_SLONG_TYPE): Likewise.
11255 (__SYSCALL_ULONG_TYPE): Likewise.
11256 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11257 (__SYSCALL_SLONG_TYPE): Likewise.
11258 (__SYSCALL_ULONG_TYPE): Likewise.
11260 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11262 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
11263 Add sigaltstack-offsets.sym.
11264 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11265 <sigaltstack-offsets.h>.
11266 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
11267 longjmp_msg pointer.
11268 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
11269 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
11271 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
11273 2012-05-15 Joseph Myers <joseph@codesourcery.com>
11275 * elf/stackguard-macros.h: Remove file.
11276 * sysdeps/generic/stackguard-macros.h: New file.
11277 * sysdeps/i386/stackguard-macros.h: Likewise.
11278 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11279 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11280 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11281 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11282 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11283 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11284 * sysdeps/x86_64/stackguard-macros.h: Likewise.
11285 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
11286 <elf/stackguard-macros.h>.
11289 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
11290 __aligned__ in attribute.
11291 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
11292 (gregset_t): Likewise.
11294 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11296 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
11297 * sysdeps/x86_64/64/Implies-after: Here. New file.
11298 * sysdeps/x86_64/x32/Implies-after: New file.
11300 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11302 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
11303 and access return value for _dl_profile_fixup. Use R10_LP to
11306 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11308 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
11310 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11312 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
11313 * sysdeps/x86_64/x32/sysdep.h: New file.
11315 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11317 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
11318 * sysdeps/x86_64/setjmp.S: Likewise.
11320 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11322 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
11323 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
11324 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
11325 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
11326 remove unused global constant.
11328 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
11330 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
11331 include of <not-cancel.h>.
11333 2012-05-15 Roland McGrath <roland@hack.frob.com>
11335 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
11337 2012-05-15 Jeff Law <law@redhat.com>
11338 Andreas Jaeger <aj@suse.de>
11341 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
11343 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
11344 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
11345 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
11346 code changing __hst_map_handle.map.
11348 2012-05-15 Roland McGrath <roland@hack.frob.com>
11350 * configure.in (sysnames): Look for Implies-before and Implies-after
11352 * configure: Regenerated.
11354 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11356 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
11357 8-byte data alignment with LP_SIZE alignment.
11359 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11361 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
11364 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11366 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
11368 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11370 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
11371 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
11372 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
11374 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11376 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11378 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
11379 (stackinfo_sub_sp): Likewise.
11381 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11383 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
11386 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11388 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
11391 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11393 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
11396 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11398 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
11400 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11402 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
11403 into R11_LP and load __x86_64_shared_cache_size_half into
11406 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11408 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
11411 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11413 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
11415 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
11417 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
11419 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
11420 powerpc32/power7/fpu/s_logb.c via #include.
11421 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
11422 powerpc32/power7/fpu/s_logbf.c via #include.
11423 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
11424 powerpc32/power7/fpu/s_logbl.c via #include.
11426 2012-05-15 Joseph Myers <joseph@codesourcery.com>
11428 * README.libm: Remove file.
11430 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11432 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
11433 count for x32. Use R*_LP and omit operand-size suffix.
11435 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11437 * shlib-versions: Move x86_64-.*-linux.* entries to ...
11438 * sysdeps/x86_64/64/shlib-versions: Here. New file.
11439 * sysdeps/x86_64/x32/shlib-versions: New file.
11441 2012-05-14 Roland McGrath <roland@hack.frob.com>
11443 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
11444 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
11445 Use _dl_fatal_printf instead.
11447 2012-05-14 Joseph Myers <joseph@codesourcery.com>
11449 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
11450 set if not set by the user. Do not allow for being unset.
11451 * sysdeps/unix/sysv/linux/configure: Regenerated.
11453 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11455 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
11456 the `q' suffix from lea and replace .quad with ASM_ADDR.
11458 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11460 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
11461 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
11463 (PTR_DEMANGLE): Likewise.
11465 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11467 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
11469 (ASM_ADDR): Likewise.
11470 (RAX_LP): Likewise.
11471 (RBP_LP): Likewise.
11472 (RBX_LP): Likewise.
11473 (RCX_LP): Likewise.
11474 (RDI_LP): Likewise.
11475 (RSI_LP): Likewise.
11476 (RSP_LP): Likewise.
11479 (R10_LP): Likewise.
11480 (R10_LP): Likewise.
11481 (R11_LP): Likewise.
11482 (R12_LP): Likewise.
11483 (R13_LP): Likewise.
11484 (R14_LP): Likewise.
11485 (R15_LP): Likewise.
11487 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11489 * sysdeps/x86_64/x32/dl-machine.h: New file.
11491 2012-05-14 Andreas Jaeger <aj@suse.de>
11493 * manual/Makefile (subdir): Remove export of subdir.
11494 (all): Remove target.
11495 (.PHONY): Remove all from list.
11496 (mkinstalldirs): Remove.
11497 (.PHONY): Remove installdirs from list.
11498 ($(inst_infodir)/libc.info): Use make-target-directory.
11499 (installdirs): Remove.
11500 (subdir_%): Remove.
11501 (glibc-targets): Remove.
11504 ($(objpfx)stubs ../po/manual.pot): Remove.
11505 ($(objpfx)stamp%): Remove.
11506 (make-target-directory): Remove.
11507 (subdir_install): Remove.
11508 (routines): Remove.
11515 * manual/.gitignore: Remove, it's not needed anymore.
11516 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
11518 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
11520 (texis): Renamed to $(objpfx)texis.
11521 (texis-path): New, contains path to generated files.
11522 (chapters.%): Use texis-path for complete path, add extra argument
11524 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
11525 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
11526 (summary,texi, stamp-summary): Use complete path of
11527 files. Generate files in build dir.
11528 (dir-add.texi): Build in build dir.
11529 (libm-err.texi,stamp-libm-err): Likewise.
11530 (version.texi, stamp-version): Likewise.
11531 (.%c.texi): Likewise.
11532 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
11533 (mostlyclean): Remove target.
11534 (realclean): Remove target.
11535 (generated): Add new variable with contents from mostlyclean and
11536 realclean, remove entries duplicated in common-mostlyclean, add
11537 stamp-libm-err and stamp-version.
11538 (generated-dirs): Add libc directory.
11539 ($(inst_infodir)/libc.info): Install files from build dir.
11541 * manual/install.texi (Configuring and compiling): Adjust since
11542 the info files are not part of the tar ball anymore.
11544 2012-05-14 Andreas Jaeger <aj@suse.de>
11546 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
11549 2012-05-14 Joseph Myers <joseph@codesourcery.com>
11552 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11553 to 2.2.0 where earlier.
11554 * sysdeps/unix/sysv/linux/configure: Regenerated.
11555 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
11556 Remove conditional code.
11557 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
11558 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
11559 Remove conditional code.
11560 [!__NR_lchown]: Likewise.
11561 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11562 [__NR_lchown]: Likewise.
11563 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
11564 comment referencing __ASSUME_LCHOWN_SYSCALL.
11565 * sysdeps/unix/sysv/linux/i386/sigaction.c
11566 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11567 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11568 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
11569 Remove conditional code.
11570 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
11571 (__protocol_available): Remove #if 0 code.
11572 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
11574 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
11575 * sysdeps/unix/sysv/linux/kernel-features.h
11576 (__ASSUME_GETCWD_SYSCALL): Don't define.
11577 (__ASSUME_REALTIME_SIGNALS): Likewise.
11578 (__ASSUME_PREAD_SYSCALL): Likewise.
11579 (__ASSUME_PWRITE_SYSCALL): Likewise.
11580 (__ASSUME_POLL_SYSCALL): Likewise.
11581 (__ASSUME_LCHOWN_SYSCALL): Likewise.
11582 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
11584 (__ASSUME_SIOCGIFNAME): Don't define.
11585 (__ASSUME_MSG_NOSIGNAL): Likewise.
11586 (__ASSUME_SENDFILE): Define unconditionally.
11587 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
11588 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
11590 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
11591 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
11592 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11593 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11594 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
11595 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11596 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
11598 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11599 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11601 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11602 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
11604 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11605 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
11607 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11608 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
11610 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11611 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
11613 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11614 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
11616 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11617 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
11619 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11620 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11621 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
11622 Remove conditional code.
11623 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11624 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11625 Remove conditional code.
11626 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11627 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
11628 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
11629 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11630 Remove conditional code.
11631 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11632 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
11633 Remove conditional code.
11634 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11635 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
11636 Remove conditional code.
11637 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11638 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11639 Remove conditional code.
11640 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11641 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11642 Remove conditional code.
11643 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11644 * sysdeps/unix/sysv/linux/sh/pwrite64.c
11645 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11646 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11647 * sysdeps/unix/sysv/linux/sigaction.c
11648 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11649 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11650 * sysdeps/unix/sysv/linux/sigpending.c
11651 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11652 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11653 * sysdeps/unix/sysv/linux/sigprocmask.c
11654 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11655 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11656 * sysdeps/unix/sysv/linux/sigsuspend.c
11657 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11658 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11659 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11660 (__libc_missing_rt_sigs): Remove.
11661 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
11662 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
11663 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
11664 Remove conditional code.
11665 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
11666 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
11668 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
11669 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
11670 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
11671 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
11673 2012-05-14 Andreas Jaeger <aj@suse.de>
11675 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
11676 it's not used in glibc.
11677 (__coshm1): Likewise.
11678 (__acosh1p): Likewise.
11681 * manual/string.texi (Copying and Concatenation): Add missing
11682 variable in concat example.
11683 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11685 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11688 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
11689 __builtin_clzl with __builtin_clzll.
11691 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11694 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
11697 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11699 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
11700 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
11701 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
11702 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
11704 2012-05-14 Mike Frysinger <vapier@gentoo.org>
11706 * NEWS: Update ia64 info.
11708 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
11710 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
11713 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
11715 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
11716 * sysdeps/unix/syscalls.list (dup3): Likewise.
11717 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
11718 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
11720 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11722 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
11723 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
11725 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11727 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
11729 (TLS_IE): Use mov/add instead of movq/addq to load thread
11731 (TLS_GD_PREFIX): New.
11734 2012-05-11 David S. Miller <davem@davemloft.net>
11736 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
11737 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
11738 (_FPU_SETCW): Likewise.
11740 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11742 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
11743 is 32-byte aligned.
11745 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
11748 * iconvdata/gb18030.c: Update tables.
11749 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
11750 characters specially.
11751 (BODY for TO_LOOP): Add encoding of missing ranges.
11753 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
11756 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
11757 * sysdeps/mach/hurd/dup3.c: Likewise.
11758 * sysdeps/mach/hurd/readlinkat.c: Likewise.
11759 * sysdeps/powerpc/memmove.c:: Likewise.
11761 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11763 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
11764 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
11766 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11768 * elf/elf.h (R_X86_64_RELATIVE64): New.
11769 (R_X86_64_NUM): Updated.
11770 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11771 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
11772 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
11773 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
11774 tst-quad1pie tst-quad2pie
11775 (modules-names): Add tst-quadmod1 tst-quadmod2.
11776 ($(objpfx)tst-quad1): New dependency.
11777 ($(objpfx)tst-quad2): Likewise.
11778 ($(objpfx)tst-quad1pie): Likewise.
11779 ($(objpfx)tst-quad2pie): Likewise.
11780 * sysdeps/x86_64/tst-quad1.c: New file.
11781 * sysdeps/x86_64/tst-quad1pie.c: New file.
11782 * sysdeps/x86_64/tst-quad2.c: Likewise.
11783 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
11784 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
11785 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
11786 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
11787 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
11789 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11791 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
11792 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
11793 * streams/stropts.h (t_scalar_t): Define type.
11795 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
11796 (_PATH_PRESERVE): Set to "/var/lib".
11797 (_PATH_RWHODIR): Set to "/var/spool/rwho".
11799 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
11802 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
11803 if __dir_mkfile succeeded.
11805 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
11806 checking for _hurd_dtablesize. Unlock it right after having
11807 finished _hurd_dtable allocation.
11809 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11811 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
11812 * sysdeps/mach/hurd/configure: Regenerated.
11813 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
11814 special-casing to...
11815 * sysdeps/gnu/configure.in: ... this new file.
11816 * sysdeps/unix/sysv/linux/configure: Regenerated.
11817 * sysdeps/gnu/configure: New generated file.
11819 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
11820 for Linux: use nsec instead of usec, as well as:
11821 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
11822 members of type struct timespec.
11823 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
11825 (struct stat64): Likewise.
11826 (_STATBUF_ST_NSEC): New macro.
11827 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
11829 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11830 __strtoul_internal rather than strtoul.
11832 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11834 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
11837 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11839 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
11840 which preserves existing values.
11841 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
11843 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11845 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
11846 TIMEOUT values. Return EINVAL for NFDS values either negative or
11847 greater than FD_SETSIZE.
11849 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11851 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
11852 allocated, call __vm_protect to finish enabling the existing space, and
11853 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
11854 allocate the remainder.
11856 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11858 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
11859 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
11861 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11863 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
11864 sysdeps/mach/hurd/readlink.c.
11866 * posix/tst-sysconf.c (posix_options): Only use
11867 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
11868 _POSIX_SYNCHRONIZED_IO when they are defined
11869 * sysdeps/mach/hurd/bits/posix_opt.h:
11870 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
11871 (_XOPEN_REALTIME): Undefine macro.
11872 (_XOPEN_REALTIME_THREADS): Undefine macro.
11873 (_XOPEN_SHM): Undefine macro.
11874 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
11876 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
11878 (_POSIX_ASYNC_IO): Undefine macro.
11879 (_POSIX_PRIORITIZED_IO): Undefine macro.
11880 (_POSIX_SPIN_LOCKS): Define macro to -1.
11882 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
11883 SA_NODEFER, SA_RESETHAND.
11884 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
11885 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
11888 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11890 * elf/Makefile (pldd-modules): Define unconditionally.
11892 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11894 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
11896 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11898 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
11899 Return ENOENT when name is empty.
11900 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
11902 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11904 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
11906 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
11908 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11910 Fix mlock in all cases except non-readable pages.
11911 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
11912 instead of VM_PROT_ALL as parameter to __vm_wire function.
11914 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
11915 (__mkdir): When path is `/', just fail with EEXIST.
11916 * sysdeps/mach/hurd/mkdirat.c: Likewise.
11918 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11920 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
11921 <sys/uio.h> (for writev).
11922 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
11923 and <sys/param.h> (for MIN).
11925 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11927 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
11928 REQUESTED_TIME. Properly set the remaining time and return EINTR
11931 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11933 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
11934 Depend on against $(link-rpcuserlibs).
11936 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11938 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
11939 (__libc_stack_end): Do not use attribute_relro.
11940 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
11941 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
11942 to libthread-provided value.
11943 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
11946 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11949 * bits/libc-lock.h (__libc_once_get): New macro.
11950 * sysdeps/mach/bits/libc-lock.h: Likewise.
11951 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
11952 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
11953 instead of using implementation details.
11955 * libio/fileops.c: Unconditionally include <kernel-features.h>.
11956 * libio/freopen.c: Likewise.
11957 * libio/freopen64.c: Likewise.
11958 * misc/syslog.c: Likewise.
11959 * nscd/connections.c: Likewise.
11960 * nscd/netgroupcache.c: Likewise.
11961 * sysdeps/posix/getcwd.c: Likewise.
11963 2012-05-10 Roland McGrath <roland@hack.frob.com>
11965 * math/w_ilogbf.c: Add #include <limits.h>.
11967 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11969 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
11970 path instead of returning without unlocking.
11972 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
11973 immediate-write ioctls.
11974 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
11976 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11978 * sysdeps/mach/hurd/i386/init-first.c (init): Use
11979 __builtin_frame_address instead of making assumptions about the
11980 location of the return address relative to DATA. Force early load of
11981 the return address.
11982 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
11983 __builtin_frame_address.
11986 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
11987 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
11988 implement dup3 and do some further code clean-ups.
11989 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
11990 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
11992 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11994 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
11996 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
11997 HURD_CRITICAL_END around holding _hurd_dtable_lock.
11998 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
11999 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
12000 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
12003 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
12004 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
12005 when handler == SIG_ERR, not when handler != SIG_ERR.
12007 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12009 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
12010 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
12013 accept4 for GNU Hurd.
12014 * include/sys/socket.h (__libc_accept4): New prototype.
12015 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
12016 to implement __libc_accept4.
12017 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
12019 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
12021 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
12022 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
12023 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
12024 signal-defines.sym.
12026 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12028 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
12030 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12032 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
12033 assertion on O_CLOEXEC flag.
12034 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
12035 * hurd/intern-fd.c: Likewise.
12036 * hurd/port2fd.c: Likewise.
12038 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12041 * bits/in.h (IPV6_PKTINFO): Define new macro.
12042 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
12044 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12049 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
12050 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12051 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
12052 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12053 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12054 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12055 * math/libm-test.inc (logb_test) : Additional logb tests.
12057 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
12058 Andreas Jaeger <aj@suse.de>
12060 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
12061 * configure: Regenerated.
12062 * config.h.in (LINK_OBSOLETE_RPC): New macro.
12063 * config.make.in (link-obsolete-rpc): New substituted variable.
12064 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
12065 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
12066 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12067 (shared-only-routines): Don't set it under [link-obsolete-rpc],
12068 so that libc.a contains the symbols.
12069 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12070 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
12071 * sunrpc/auth_none.c: Likewise.
12072 * sunrpc/auth_unix.c: Likewise.
12073 * sunrpc/authdes_prot.c: Likewise.
12074 * sunrpc/authuxprot.c: Likewise.
12075 * sunrpc/clnt_gen.c: Likewise.
12076 * sunrpc/clnt_perr.c: Likewise.
12077 * sunrpc/clnt_raw.c: Likewise.
12078 * sunrpc/clnt_simp.c: Likewise.
12079 * sunrpc/clnt_tcp.c: Likewise.
12080 * sunrpc/clnt_udp.c: Likewise.
12081 * sunrpc/clnt_unix.c: Likewise.
12082 * sunrpc/des_crypt.c: Likewise.
12083 * sunrpc/des_soft.c: Likewise.
12084 * sunrpc/get_myaddr.c: Likewise.
12085 * sunrpc/key_call.c: Likewise.
12086 * sunrpc/key_prot.c: Likewise.
12087 * sunrpc/netname.c: Likewise.
12088 * sunrpc/pm_getmaps.c: Likewise.
12089 * sunrpc/pm_getport.c: Likewise.
12090 * sunrpc/pmap_clnt.c: Likewise.
12091 * sunrpc/pmap_prot.c: Likewise.
12092 * sunrpc/pmap_prot2.c: Likewise.
12093 * sunrpc/pmap_rmt.c: Likewise.
12094 * sunrpc/publickey.c: Likewise.
12095 * sunrpc/rpc_cmsg.c: Likewise.
12096 * sunrpc/rpc_common.c: Likewise.
12097 * sunrpc/rpc_dtable.c: Likewise.
12098 * sunrpc/rpc_prot.c: Likewise.
12099 * sunrpc/rpc_thread.c: Likewise.
12100 * sunrpc/rtime.c: Likewise.
12101 * sunrpc/svc.c: Likewise.
12102 * sunrpc/svc_auth.c: Likewise.
12103 * sunrpc/svc_raw.c: Likewise.
12104 * sunrpc/svc_run.c: Likewise.
12105 * sunrpc/svc_tcp.c: Likewise.
12106 * sunrpc/svc_udp.c: Likewise.
12107 * sunrpc/svc_unix.c: Likewise.
12108 * sunrpc/svcauth_des.c: Likewise.
12109 * sunrpc/xcrypt.c: Likewise.
12110 * sunrpc/xdr.c: Likewise.
12111 * sunrpc/xdr_array.c: Likewise.
12112 * sunrpc/xdr_float.c: Likewise.
12113 * sunrpc/xdr_intXX_t.c: Likewise.
12114 * sunrpc/xdr_mem.c: Likewise.
12115 * sunrpc/xdr_rec.c: Likewise.
12116 * sunrpc/xdr_ref.c: Likewise.
12117 * sunrpc/xdr_sizeof.c: Likewise.
12118 * sunrpc/xdr_stdio.c: Likewise.
12120 2012-05-10 Roland McGrath <roland@hack.frob.com>
12122 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
12123 change. Update copyright years.
12125 2012-05-10 Joseph Myers <joseph@codesourcery.com>
12127 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
12129 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
12130 Joseph Myers <joseph@codesourcery.com>
12131 Paul Pluzhnikov <ppluzhnikov@google.com>
12134 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
12136 [cross-compiling] (extra-libs): Likewise.
12137 [cross-compiling] (extra-libs-others): Likewise.
12138 [cross-compiling] (librpcsvc-routines): Likewise.
12139 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
12140 [cross-compiling] (omit-deps): Likewise.
12141 (sunrpc-CPPFLAGS): New variable.
12142 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
12143 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
12144 (cross-rpcgen-objs): New variable.
12145 (extra-objs): Append $(cross-rpcgen-objs).
12146 ($(cross-rpcgen-objs)): New rule.
12147 ($(objpfx)cross-rpcgen): Likewise.
12148 (rpcgen-cmd): Define to use $(built-program-file). Expand
12150 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
12151 ($(objpfx)x%.stmp): Likewise.
12152 * sunrpc/proto.h [IS_IN_build] (_): Define.
12153 [IS_IN_build] (_libc_intl_domainname): Likewise.
12155 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12157 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
12158 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
12159 and R_X86_64_TPOFF64.
12161 2012-05-10 Joseph Myers <joseph@codesourcery.com>
12163 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
12164 sysdeps/unix/sysv/syscalls.list.
12167 * sysdeps/unix/sysv/syscalls.list: Remove file.
12169 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
12172 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
12173 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
12174 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
12175 (__LC_IDENTIFICATION): Make these macros useful in #if
12176 expressions, as required by C99.
12178 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
12180 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
12181 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
12184 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
12186 * stdlib/longlong.h: Updated from GCC.
12188 2012-05-09 Andreas Jaeger <aj@suse.de>
12190 * nscd/nscd.c (run_modes): Make named enum, reorder so that
12191 default is first entry.
12192 (run_mode): Set type.
12193 (main): Remove informal message about syslog.
12194 (options): Fix typo.
12197 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
12200 (llrintf): Likewise.
12201 (llrint): Likewise.
12204 (nearbyint): Likewise.
12205 (nearbyintf): Likewise.
12207 2012-05-09 Andreas Jaeger <aj@suse.de>
12208 Pedro Alves <palves@redhat.com>
12210 * nscd/nscd.c (run_mode): Use enum.
12211 (main): Cleanup coding style issue.
12213 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
12214 Andreas Jaeger <aj@suse.de>
12216 * nscd/nscd.c (go_background): Replaced with...
12217 (run_mode): ... this.
12218 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
12219 (options): Add -F --foreground.
12220 (main): Implement it.
12221 (parse_opt): Parse it.
12223 2012-05-09 Andreas Jaeger <aj@suse.de>
12226 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
12227 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
12228 -Wconversion warning.
12229 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
12232 2012-05-09 Joseph Myers <joseph@codesourcery.com>
12234 * conform/data/locale.h-data (NULL): Use macro-constant. Require
12236 (LC_ALL): Use macro-int-constant.
12237 (LC_COLLATE): Likewise.
12238 (LC_CTYPE): Likewise.
12239 (LC_MESSAGES): Likewise.
12240 (LC_MONETARY): Likewise.
12241 (LC_NUMERIC): Likewise.
12242 (LC_TIME): Likewise.
12243 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
12244 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12245 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12246 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
12248 [C99-based standards] (float_t): Expect type.
12249 [C99-based standards] (double_t): Expect type.
12250 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
12252 [C99-based standards] (HUGE_VALL): Likewise.
12253 [C99-based standards] (INFINITY): Likewise.
12254 [C99-based standards] (NAN): Likewise.
12255 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
12256 [C99-based standards] (FP_NAN): Likewise.
12257 [C99-based standards] (FP_NORMAL): Likewise.
12258 [C99-based standards] (FP_SUBNORMAL): Likewise.
12259 [C99-based standards] (FP_ZERO): Likewise.
12260 [C99-based standards] (FP_FAST_FMA): Use
12261 optional-macro-int-constant. Specify type. Require == 1.
12262 [C99-based standards] (FP_FAST_FMAF): Likewise.
12263 [C99-based standards] (FP_FAST_FMAL): Likewise.
12264 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
12265 [C99-based standards] (FP_ILOGBNAN): Likewise.
12266 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
12268 [C99-based standards] (MATH_ERREXCEPT): Likewise.
12269 [C99-based standards] (math_errhandling): Specify type.
12270 [ISO99 || ISO11] (signgam): Do not allow.
12271 [non-C99-based standards] (copysignf): Do not allow.
12272 [non-C99-based standards] (exp2f): Likewise.
12273 [non-C99-based standards] (log2f): Likewise.
12274 [non-C99-based standards] (modff): Allow.
12275 [non-C99-based standards] (erff): Do not allow.
12276 [non-C99-based standards] (erfcf): Likewise.
12277 [non-C99-based standards] (gammaf): Likewise.
12278 [non-C99-based standards] (hypotf): Likewise.
12279 [non-C99-based standards] (j0f): Likewise.
12280 [non-C99-based standards] (j1f): Likewise.
12281 [non-C99-based standards] (jnf): Likewise.
12282 [non-C99-based standards] (lgammaf): Likewise.
12283 [non-C99-based standards] (tgammaf): Likewise.
12284 [non-C99-based standards] (y0f): Likewise.
12285 [non-C99-based standards] (y1f): Likewise.
12286 [non-C99-based standards] (ynf): Likewise.
12287 [non-C99-based standards] (isnanf): Likewise.
12288 [non-C99-based standards] (acoshf): Likewise.
12289 [non-C99-based standards] (asinhf): Likewise.
12290 [non-C99-based standards] (atanhf): Likewise.
12291 [non-C99-based standards] (cbrtf): Likewise.
12292 [non-C99-based standards] (expm1f): Likewise.
12293 [non-C99-based standards] (ilogbf): Likewise.
12294 [non-C99-based standards] (log1pf): Likewise.
12295 [non-C99-based standards] (logbf): Likewise.
12296 [non-C99-based standards] (nextafterf): Likewise.
12297 [non-C99-based standards] (remainderf): Likewise.
12298 [non-C99-based standards] (rintf): Likewise.
12299 [non-C99-based standards] (scalbf): Likewise.
12300 [non-C99-based standards] (copysignl): Likewise.
12301 [non-C99-based standards] (exp2l): Likewise.
12302 [non-C99-based standards] (log2l): Likewise.
12303 [non-C99-based standards] (modfl): Allow.
12304 [non-C99-based standards] (erfl): Do not allow.
12305 [non-C99-based standards] (erfcl): Likewise.
12306 [non-C99-based standards] (gammal): Likewise.
12307 [non-C99-based standards] (hypotl): Likewise.
12308 [non-C99-based standards] (j0l): Likewise.
12309 [non-C99-based standards] (j1l): Likewise.
12310 [non-C99-based standards] (jnl): Likewise.
12311 [non-C99-based standards] (lgammal): Likewise.
12312 [non-C99-based standards] (tgammal): Likewise.
12313 [non-C99-based standards] (y0l): Likewise.
12314 [non-C99-based standards] (y1l): Likewise.
12315 [non-C99-based standards] (ynl): Likewise.
12316 [non-C99-based standards] (isnanl): Likewise.
12317 [non-C99-based standards] (acoshl): Likewise.
12318 [non-C99-based standards] (asinhl): Likewise.
12319 [non-C99-based standards] (atanhl): Likewise.
12320 [non-C99-based standards] (cbrtl): Likewise.
12321 [non-C99-based standards] (expm1l): Likewise.
12322 [non-C99-based standards] (ilogbl): Likewise.
12323 [non-C99-based standards] (log1pl): Likewise.
12324 [non-C99-based standards] (logbl): Likewise.
12325 [non-C99-based standards] (nextafterl): Likewise.
12326 [non-C99-based standards] (remainderl): Likewise.
12327 [non-C99-based standards] (rintl): Likewise.
12328 [non-C99-based standards] (scalbl): Likewise.
12329 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12330 [non-C99-based standards] (FP_*): Do not allow.
12331 [C99-based standards] (FP_*): Change to
12332 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12333 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12335 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
12336 (SIG_ERR): Likewise.
12337 [X/Open-based standards] (SIG_HOLD): Likewise.
12338 (SIG_IGN): Likewise.
12339 (SIGABRT): Use macro-int-constant. Specify type. Require
12341 (SIGFPE): Likewise.
12342 (SIGILL): Likewise.
12343 (SIGINT): Likewise.
12344 (SIGSEGV): Likewise.
12345 (SIGTER): Likewise.
12346 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
12347 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
12348 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
12349 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
12350 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
12351 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
12352 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
12353 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
12354 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
12355 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
12356 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
12357 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
12358 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
12359 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
12360 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
12361 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
12362 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
12363 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
12364 [X/Open-based standards] (SIGTRAP): Likewise.
12365 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
12366 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
12367 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
12368 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
12369 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12372 2012-05-08 Ian Wienand <ianw@vmware.com>
12375 * time/tzset.c (__tzset_parse_tz): Update default rules for
12376 daylight time changes in the Energy Policy Act of 2005.
12378 2012-05-09 Andreas Jaeger <aj@suse.de>
12381 * elf/ldconfig.c (parse_conf): Change string to make clear that
12382 ldconfig only issued a warning if ld.so.conf does not exist.
12384 2012-05-08 David S. Miller <davem@davemloft.net>
12386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
12387 movxtod instead of popping the value on the stack.
12389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12391 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
12393 * config.h.in: Add HAVE_ARM_PCS_VFP.
12395 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
12398 * include/features.h: Warn if user requests __FORTIFY_SOURCE
12399 checking but the checks are disabled for any reason.
12401 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
12403 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
12404 and ELF64_R_TYPE with ELFW(R_TYPE).
12406 2012-05-08 Joseph Myers <joseph@codesourcery.com>
12408 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
12409 (ulimit): Likewise.
12411 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
12412 (settimeofday): Likewise.
12414 2012-05-08 Mike Frysinger <vapier@gentoo.org>
12416 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
12417 a struct th_u2 inside the union, and move tu_block/tu_code into
12418 a new th_u3 union of tu_block/tu_code inside of that. Move
12419 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
12420 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
12421 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
12422 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
12423 (th_stuff): Change to th_u1.tu_stuff.
12425 (th_msg): Change to th_u1.th_u2.tu_data.
12427 2012-05-07 David S. Miller <davem@davemloft.net>
12429 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12432 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
12433 (SETUP_PIC_REG): Use it.
12434 (SETUP_PIC_REG_LEAF): Use it.
12436 2012-05-07 Joseph Myers <joseph@codesourcery.com>
12440 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12442 (EXPL_FINITE): Likewise.
12443 (FLDLOG): Likewise.
12444 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
12445 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
12447 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12449 (EXPL_FINITE): Likewise.
12450 (FLDLOG): Likewise.
12451 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
12452 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
12454 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
12455 test of -max_value argument for long double.
12456 * sysdeps/i386/fpu/libm-test-ulps: Update.
12457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12459 2012-05-06 David S. Miller <davem@davemloft.net>
12461 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
12462 quad soft-float symbols whose references which are compiler
12464 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12466 2012-05-06 Joseph Myers <joseph@codesourcery.com>
12470 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12472 (EXPL_FINITE): Likewise.
12473 (FLDLOG): Likewise.
12476 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
12477 Adjust comments for base varying.
12478 (__expl_finite): Change alias to EXPL_FINITE.
12479 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
12481 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
12482 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12483 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12484 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
12485 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12487 (EXPL_FINITE): Likewise.
12488 (FLDLOG): Likewise.
12491 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
12492 Adjust comments for base varying.
12493 (__expl_finite): Change alias to EXPL_FINITE.
12494 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
12496 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12499 * math/libm-test.inc (check_float_internal): Correct ulp
12500 calculation for subnormal expected results.
12502 2012-05-06 Andreas Jaeger <aj@suse.de>
12504 * Makeconfig (+math-flags): New, set to -frounding-math.
12505 (+cflags): Add +math-flags so that all of glibc gets compiled with
12508 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
12510 2012-05-05 Joseph Myers <joseph@codesourcery.com>
12512 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
12518 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
12519 (__ieee754_expl): Allow for and saturate large arguments.
12520 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
12521 (u_threshold): Likewise.
12522 (__exp): Call __ieee754_exp before checking for overflow and
12524 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
12525 (u_threshold): Likewise.
12526 (__expf): Call __ieee754_expf before checking for overflow and
12528 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
12529 (u_threshold): Likewise.
12530 (__expl): Call __ieee754_expl before checking for overflow and
12532 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
12533 (__ieee754_expl): Allow for and saturate large arguments.
12534 * math/libm-test.inc (exp_test): Add another test. Do not allow
12535 missing overflow exception on overflow.
12536 (expm1_test): Do not allow missing overflow exception on overflow.
12538 * sysdeps/i386/fpu/e_expl.c: Move to ...
12539 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
12540 rather than using inline asm.
12541 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
12542 * sysdeps/x86_64/fpu/e_expl.S: Copy from
12543 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
12545 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
12548 (signal): Likewise.
12552 2012-05-04 Joseph Myers <joseph@codesourcery.com>
12554 * sysdeps/unix/syscalls.list (adjtime): Add entry from
12555 sysdeps/unix/common/syscalls.list.
12556 (fchmod): Likewise.
12557 (fchown): Likewise.
12558 (ftruncate): Likewise.
12559 (getrusage): Likewise.
12560 (gettimeofday): Likewise.
12561 (setpgid): Likewise.
12562 (setregid): Likewise.
12563 (setreuid): Likewise.
12564 (sigaction): Likewise.
12565 (truncate): Likewise.
12566 (vhangup): Likewise.
12567 * sysdeps/unix/common/syscalls.list: Remove file.
12568 * sysdeps/unix/bsd/Implies: Don't include unix/common.
12569 * sysdeps/unix/sysv/linux/Implies: Likewise.
12571 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
12573 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
12574 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
12575 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
12577 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12579 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
12581 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
12582 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
12584 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
12585 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
12587 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
12588 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
12590 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
12591 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
12593 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
12594 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
12596 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
12597 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
12599 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12601 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
12603 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
12605 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
12607 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
12608 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
12610 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
12612 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
12614 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
12616 2012-05-04 Joseph Myers <joseph@codesourcery.com>
12618 * sysdeps/unix/common/bits/dirent.h: Remove file.
12619 * sysdeps/unix/common/bits/fcntl.h: Likewise.
12621 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
12622 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
12623 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
12624 * sysdeps/unix/bsd/isatty.c: Likewise.
12625 * sysdeps/unix/bsd/tcdrain.c: Likewise.
12626 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
12627 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
12629 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12632 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
12633 long double comparison inaccuracies.
12634 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12637 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
12639 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
12640 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
12642 2012-05-04 Joseph Myers <joseph@codesourcery.com>
12645 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
12646 nonzero digits before rounding a hex value.
12647 * stdlib/tst-strtod.c (tests): Add another test.
12649 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12651 * sysdeps/s390/fpu/libm-test-ulps: Update.
12653 2012-05-03 Andreas Jaeger <aj@suse.de>
12655 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
12656 does not get optimized out.
12657 (malloc_opt_barrier): New.
12659 2012-05-03 Andreas Jaeger <aj@suse.de>
12660 Roland McGrath <roland@hack.frob.com>
12662 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
12663 intermediate file deletion.
12664 (generated): Add .symlist files.
12666 2012-05-03 Joseph Myers <joseph@codesourcery.com>
12669 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
12670 Redirect under this condition.
12671 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12672 [__USE_GNU] (__dprintf_chk): Not under this condition.
12673 [__USE_GNU] (__vdprintf_chk): Likewise.
12674 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
12675 under this condition.
12676 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12677 [__USE_XOPEN2K8] (dprintf): Define under this condition.
12678 [__USE_XOPEN2K8] (vdprintf): Likewise.
12679 [__USE_GNU] (__dprintf_chk): Not under this condition.
12680 [__USE_GNU] (__vdprintf_chk): Likewise.
12681 [__USE_GNU] (dprintf): Likewise.
12682 [__USE_GNU] (vdprintf): Likewise.
12684 2012-05-03 Roland McGrath <roland@hack.frob.com>
12686 * elf/Makefile (common-generated): Set this instead of generated for
12687 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
12688 $(all-built-dso)-derived lists.
12690 2012-05-03 Andreas Jaeger <aj@suse.de>
12692 * sysdeps/i386/fpu/libm-test-ulps: Update.
12695 * FAQ.in: Likewise.
12696 * scripts/gen-FAQ.pl: Likewise.
12697 * manual/install.texi (Installation): Point to online location of
12699 * Makefile (files-for-dist): Remove FAQ.
12702 2012-05-02 Allan McRae <allan@archlinux.org>
12704 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
12705 (LDFLAGS-reldepmod5.so): Likewise.
12706 (LDFLAGS-reldep6mod1.so): Likewise.
12707 (LDFLAGS-reldep6mod4.so): Likewise.
12708 (LDFLAGS-reldep8mod3.so): Likewise.
12709 (LDFLAGS-unload4mod1.so): Likewise.
12710 (LDFLAGS-unload4mod2.so): Likewise.
12711 (LDFLAGS-tst-initorder): Likewise.
12712 (LDFLAGS-tst-initordera2.so): Likewise.
12713 (LDFLAGS-tst-initordera3.so): Likewise.
12714 (LDFLAGS-tst-initordera4.so): Likewise.
12715 (LDFLAGS-tst-initorderb2.so): Likewise.
12716 (LDFLAGS-noload): Likewise.
12717 (LDFLAGS-next): Likewise.
12718 (LDFLAGS-order2mod1.so): Likewise.
12719 (LDFLAGS-order2mod2.so): Likewise.
12720 (LDFLAGS-tst-initorder2): Likewise.
12721 (LDFLAGS-tst-initorder2a.so): Likewise.
12722 (LDFLAGS-tst-initorder2b.so): Likewise.
12723 (LDFLAGS-tst-initorder2c.so): Likewise.
12724 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
12726 2012-05-02 David S. Miller <davem@davemloft.net>
12728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12730 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
12733 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
12735 2012-05-02 Andreas Jaeger <aj@suse.de>
12737 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
12738 since we manipulate rounding mode.
12739 (CPPFLAGS-test-idouble.c): Likewise.
12740 (CPPFLAGS-test-ifloat.c): Likewise.
12741 (CFLAGS-test-ldouble.c): Likewise.
12742 (CFLAGS-test-double.c): Likewise.
12743 (CFLAGS-test-float.c): Likewise.
12744 (CFLAGS-test-misc.c): Likewise.
12745 (CFLAGS-test-test-fenv.c): Likewise.
12747 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12751 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
12752 comparisons to determine direction to adjust input.
12754 2012-05-01 Roland McGrath <roland@hack.frob.com>
12756 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
12757 output to the target.
12759 * scripts/localplt.awk: New file.
12760 * elf/Makefile ($(objpfx)check-localplt): Target removed.
12761 (check-localplt-CFLAGS): Variable removed.
12762 ($(all-built-dso:=.jmprel)): New static pattern rule.
12763 (generated): Add those targets.
12764 (localplt-built-dso): New variable.
12765 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
12767 * elf/check-localplt.c: File removed.
12769 * scripts/check-execstack.awk: New file.
12770 * elf/Makefile ($(objpfx)check-execstack): Target removed.
12771 (check-execstack-CFLAGS): Variable removed.
12772 ($(objpfx)check-execstack.h): Target removed.
12773 ($(objpfx)execstack-default): New target.
12774 (generated): Add that instead of check-execstack.h.
12775 ($(all-built-dso:=.phdr)): New static pattern rule.
12776 (generated): Add those targets.
12777 * elf/check-execstack.c: File removed.
12779 * scripts/check-textrel.awk: New file.
12780 * elf/Makefile ($(objpfx)check-textrel): Target removed.
12781 (check-textrel-CFLAGS): Variable removed.
12782 (all-built-dso): Use := to define.o
12783 ($(all-built-dso:=.dyn)): New static pattern rule.
12784 (generated): Add those targets.
12785 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
12786 * config.make.in (READELF): New substituted variable.
12787 * elf/check-textrel.c: File removed.
12789 2012-05-01 Joseph Myers <joseph@codesourcery.com>
12791 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12793 * conform/data/ctype.h-data [C99-based standards] (isblank):
12795 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
12796 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
12797 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12798 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
12799 Specify type. Require positive value.
12800 (EILSEQ): Likewise.
12801 (ERANGE): Likewise.
12802 [ISO || POSIX] (EILSEQ): Do not expect.
12803 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
12804 Specify type. Require positive value.
12805 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
12806 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
12807 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
12808 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
12809 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
12810 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
12811 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
12812 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
12813 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
12814 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
12815 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
12816 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
12817 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
12818 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
12819 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
12820 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
12821 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
12822 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
12823 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
12824 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
12825 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
12826 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
12827 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
12828 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
12829 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
12830 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
12831 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
12832 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
12833 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
12834 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
12835 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
12836 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
12837 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
12838 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
12839 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
12840 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
12841 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
12842 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
12843 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
12844 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
12845 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
12846 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
12847 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
12848 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
12849 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
12850 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
12851 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
12852 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
12853 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
12854 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
12855 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
12856 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
12857 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
12858 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
12859 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
12860 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
12861 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
12862 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
12863 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
12864 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
12865 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
12866 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
12867 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
12868 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
12869 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
12870 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
12871 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
12872 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
12873 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
12874 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
12875 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
12876 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
12877 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
12878 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
12879 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
12880 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
12881 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
12883 (FLT_ROUNDS): Expect as macro, not constant.
12884 (FLT_MANT_DIG): Use macro-int-constant.
12885 (DBL_MANT_DIG): Likewise.
12886 (LDBL_MANT_DIG): Likewise.
12887 (FLT_DIG): Likewise.
12888 (DBL_DIG): Likewise.
12889 (LDBL_DIG): Likewise.
12890 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
12891 (DBL_MIN_EXP): Likewise.
12892 (LDBL_MIN_EXP): Likewise.
12893 (FLT_MAX_EXP): Use macro-int-constant.
12894 (DBL_MAX_EXP): Likewise.
12895 (LDBL_MAX_EXP): Likewise.
12896 (FLT_MAX_10_EXP): Likewise.
12897 (DBL_MAX_10_EXP): Likewise.
12898 (LDBL_MAX_10_EXP): Likewise.
12899 (FLT_MAX): Use macro-constant.
12900 (DBL_MAX): Likewise.
12901 (LDBL_MAX): Likewise.
12902 (FLT_EPSILON): Use macro-constant. Give upper bound.
12903 (DBL_EPSILON): Likewise.
12904 (LDBL_EPSILON): Likewise.
12905 (FLT_MIN): Likewise.
12906 (DBL_MIN): Likewise.
12907 (LDBL_MIN): Likewise.
12908 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
12909 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
12910 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
12911 [ISO11] (FLT_HAS_SUBNORM): Likewise.
12912 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
12913 [ISO11] (DBL_DECIMAL_DIG): Likewise.
12914 [ISO11] (FLT_DECIMAL_DIG): Likewise.
12915 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
12916 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
12917 [ISO11] (FLT_TRUE_MIN): Likewise.
12918 [ISO11] (LDBL_TRUE_MIN): Likewise.
12919 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12920 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
12921 (SCHAR_MIN): Use macro-int-constant. Specify type.
12922 (SCHAR_MAX): Likewise.
12923 (UCHAR_MAX): Likewise.
12924 (CHAR_MIN): Likewise.
12925 (CHAR_MAX): Likewise.
12926 (MB_LEN_MAX): Use macro-int-constant.
12927 (SHRT_MIN): Use macro-int-constant. Specify type.
12928 (SHRT_MAX): Likewise.
12929 (USHRT_MAX): Likewise.
12930 (INT_MAX): Likewise.
12931 (INT_MIN): Use macro-int-constant. Specify type. Make upper
12933 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
12935 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12937 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
12938 bound negative. Suffix upper bound with "L".
12939 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12941 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
12943 [C99-based standards] (LLONG_MAX): Likewise.
12944 [C99-based standards] (ULLONG_MAX): Likewise.
12945 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
12947 [ISO11] (max_align_t): Require type.
12948 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12950 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
12951 from $CFLAGS, without defining away __attribute__ calls.
12952 (checknamespace): Use $CFLAGS_namespace.
12954 * conform/conformtest.pl (@keywords): Only include C99 keywords
12955 for standards based on C99 or C11.
12957 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
12959 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
12962 * conform/conformtest.pl: Handle "macro-int-constant" and test for
12963 usability of symbols in #if.
12965 * conform/conformtest.pl: If macro or constant types start
12966 "promoted:", expect the symbol to be of the following type
12967 promoted by the integer promotions.
12969 * conform/conformtest.pl: Parse all "constant" and "macro" lines
12970 in one place. Also handle "macro-constant".
12972 * conform/conformtest.pl: Only accept expected macro values with
12973 "==". Parse all "macro" lines in one place.
12974 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
12976 * conform/conformtest.pl: Handle braced types on "constant" lines
12977 instead of handling "typed-constant".
12978 * conform/data/signal.h-data: Use "constant" instead of
12981 * conform/conformtest.pl: Handle "optional-" at start of lines in
12982 one place rather than duplicating several cases. Handle each
12983 format of "macro" line with initial "optional-".
12985 * conform/conformtest.pl: Only accept expected constant or
12986 optional-constant values with "==". Parse all "constant" lines in
12987 one place. Parse all "optional-constant" lines in one place.
12988 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
12989 * conform/data/fmtmsg.h-data: Likewise.
12990 * conform/data/netinet/in.h-data: Likewise.
12991 * conform/data/tar.h-data: Likewise.
12992 * conform/data/limits.h-data: Use "==" form on "constant" and
12993 "optional-constant" lines.
12995 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
12996 Use -std=c99 for XOPEN2K.
12997 (@knownproblems): Remove.
12998 (newtoken): Don't check %isknown.
13000 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
13001 Do not expect macro.
13002 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
13003 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
13004 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
13005 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
13006 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
13007 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
13008 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
13009 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
13010 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
13011 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
13012 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
13013 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
13014 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
13015 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
13016 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
13017 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
13018 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
13019 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
13020 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
13021 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
13022 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
13023 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
13024 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
13025 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
13026 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
13027 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
13028 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
13029 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
13030 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
13031 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
13032 [XPG3] (acosh): Likewise.
13033 [XPG3] (asinh): Likewise.
13034 [XPG3] (atanh): Likewise.
13035 [XPG3] (cbrt): Likewise.
13036 [XPG3] (expm1): Likewise.
13037 [XPG3] (ilogb): Likewise.
13038 [XPG3] (log1p): Likewise.
13039 [XPG3] (logb): Likewise.
13040 [XPG3] (nextafter): Likewise.
13041 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
13042 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
13043 [XPG3] (remainder): Likewise.
13044 [XPG3] (rint): Likewise.
13045 [XPG3 || XPG4 || UNIX98] (round): Likewise.
13046 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
13047 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
13048 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
13049 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
13050 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
13051 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
13052 [UNIX98 || XOPEN2K] (scalb): Expect.
13053 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
13054 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
13055 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
13056 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
13057 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
13058 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
13059 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
13060 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
13061 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
13062 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
13063 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
13064 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
13065 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
13066 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
13067 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
13068 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
13069 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
13070 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
13071 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
13072 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
13073 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
13074 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
13075 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
13076 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
13077 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
13078 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
13079 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
13080 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
13081 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
13082 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
13083 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
13084 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
13085 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
13086 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
13087 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
13088 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
13089 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
13090 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
13091 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
13092 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
13093 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
13094 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
13095 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
13096 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
13097 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
13098 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
13099 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
13100 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
13101 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
13102 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
13103 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
13104 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
13105 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
13106 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
13107 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
13108 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
13109 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
13110 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
13111 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
13112 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
13113 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
13114 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
13115 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
13116 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
13117 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
13118 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
13119 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
13120 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
13121 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
13122 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
13123 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
13124 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
13125 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
13126 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
13127 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
13128 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
13129 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
13130 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
13131 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
13132 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
13133 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
13134 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
13135 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
13136 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
13137 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
13138 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
13139 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
13140 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
13141 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
13142 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
13143 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
13144 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
13145 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
13146 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
13147 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
13148 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
13149 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
13150 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
13151 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
13152 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
13153 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
13154 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
13155 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
13156 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
13157 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
13158 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
13159 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
13160 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
13161 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
13162 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
13163 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
13164 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
13165 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
13166 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
13167 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
13168 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
13169 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
13170 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
13171 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
13172 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
13173 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
13174 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
13175 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
13176 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
13177 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
13178 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
13179 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
13180 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
13181 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
13182 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
13183 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
13184 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
13185 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
13186 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
13187 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
13188 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
13189 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
13191 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
13192 _XOPEN_SOURCE_EXTENDED for XPG4.
13194 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
13196 * Makeconfig (localtime): Remove variable.
13197 (inst_localtime-file): Likewise.
13199 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
13213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
13217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13220 2012-05-01 Joseph Myers <joseph@codesourcery.com>
13224 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
13225 comparisons to determine direction to adjust input.
13226 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13227 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
13228 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13230 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13232 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13234 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13235 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13237 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13239 * math/libm-test.inc (nexttoward_test): Add more tests.
13241 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13244 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
13245 in version GLIBC_2.1, not GLIBC_2.0.
13246 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
13249 2012-04-30 Joseph Myers <joseph@codesourcery.com>
13252 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
13254 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13255 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
13256 * math/libm-test.inc (acos_test): Add more tests.
13257 (asin_test): Likewise.
13258 * sysdeps/i386/fpu/libm-test-ulps: Update.
13259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13262 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
13264 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
13265 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13266 * math/libm-test.inc (acos_test_tonearest): New function.
13267 (acos_test_towardzero): Likewise.
13268 (acos_test_downward): Likewise.
13269 (acos_test_upward): Likewise.
13270 (asin_test_tonearest): Likewise.
13271 (asin_test_towardzero): Likewise.
13272 (asin_test_downward): Likewise.
13273 (asin_test_upward): Likewise.
13274 (main): Call the new functions.
13275 * sysdeps/i386/fpu/libm-test-ulps: Update.
13276 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13280 * math/e_exp10.c: Include <float.h>.
13281 (__ieee754_exp10): Handle underflow here rather than multiplying
13282 large negative argument by M_LN10.
13283 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
13285 * math/e_exp10l.c: Include <float.h>.
13286 (__ieee754_exp10l): Handle underflow here rather than multiplying
13287 large negative argument by M_LN10l.
13288 * math/libm-test.inc (exp10_test): Add another test. Do not allow
13289 spurious overflow exception on underflow.
13291 2012-04-29 Marek Polacek <polacek@redhat.com>
13293 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
13294 (__fortify_function): New macro.
13295 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
13296 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
13297 __extern_always_inline.
13298 * libio/bits/stdio2.h: Likewise.
13299 * libio/bits/stdio.h: Likewise.
13300 * string/string.h: Likewise.
13301 * string/bits/string3.h: Likewise.
13302 * include/stdio.h: Likewise.
13303 * stdlib/bits/stdlib.h: Likewise.
13304 * stdlib/stdlib.h: Likewise.
13305 * rt/bits/mqueue2.h: Likewise.
13306 * rt/mqueue.h: Likewise.
13307 * posix/bits/unistd.h: Likewise.
13308 * posix/unistd.h: Likewise.
13309 * io/bits/poll2.h: Likewise.
13310 * io/bits/fcntl2.h: Likewise.
13311 * io/fcntl.h: Likewise.
13312 * io/sys/poll.h: Likewise.
13313 * misc/bits/syslog.h: Likewise.
13314 * misc/bits/syslog-ldbl.h: Likewise.
13315 * misc/sys/syslog.h: Likewise.
13316 * socket/bits/socket2.h: Likewise.
13317 * socket/sys/socket.h: Likewise.
13318 * debug/tst-chk1.c: Likewise.
13319 * wcsmbs/bits/wchar2.h: Likewise.
13320 * wcsmbs/bits/wchar-ldbl.h: Likewise.
13321 * wcsmbs/wchar.h: Likewise.
13323 2012-04-29 Andreas Jaeger <aj@suse.de>
13325 * Makerules (tests): Remove enable-check-abi protection.
13326 (check-abi-warn): Remove.
13327 (check-abi-%): Remove check-abi-warn usage.
13329 * configure.in: Remove check-abi configure option.
13330 * configure: Regenerated.
13331 * config.make.in (enable-check-abi): Remove.
13333 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
13336 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
13337 double functions to double *_finite functions.
13340 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
13341 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
13343 * stdio-common/Makefile (tests): Add tst-sprintf3.
13344 * stdio-common/tst-sprintf3.c: New file.
13346 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
13347 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
13349 2012-04-28 Joseph Myers <joseph@codesourcery.com>
13351 * conform/conformtest.pl: Remove duplicate typed-constant
13354 2012-04-28 David S. Miller <davem@davemloft.net>
13356 * Makerules (%.abilist): Add vpath on sysdep_dirs.
13357 (check-abi-%): Remove AWK script prerequisite and explicit
13359 (check-abi): Rewrite to just diff the symlist with the abilist.
13360 (config-tls, config-abi-config): Delete, no longer used.
13361 (update-abi-%): Remove AWK script and explicit abilist directory.
13362 (update-abi): Rewrite to simply compare and conditionally copy the
13363 symlist and the sysdep abilist file. Remove update-abi-config
13365 * abilist/ld.abilist: Remove.
13366 * abilist/libBrokenLocale.abilist: Remove.
13367 * abilist/libanl.abilist: Remove.
13368 * abilist/libcrypt.abilist: Remove.
13369 * abilist/libdl.abilist: Remove.
13370 * abilist/librt.abilist: Remove.
13371 * abilist/libthread_db.abilist: Remove.
13372 * abilist/libutil.abilist: Remove.
13373 * scripts/extract-abilist.awk: Remove.
13374 * scripts/merge-abilist.awk: Remove.
13375 * sysdeps/generic/libcidn.abilist: New file.
13376 * sysdeps/generic/libnss_compat.abilist: New file.
13377 * sysdeps/generic/libnss_db.abilist: New file.
13378 * sysdeps/generic/libnss_dns.abilist: New file.
13379 * sysdeps/generic/libnss_files.abilist: New file.
13380 * sysdeps/generic/libnss_hesiod.abilist: New file.
13381 * sysdeps/generic/libnss_nis.abilist: New file.
13382 * sysdeps/generic/libnss_nisplus.abilist: New file.
13383 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
13384 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
13385 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
13387 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
13388 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
13389 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
13390 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
13391 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
13392 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
13393 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
13394 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
13395 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
13397 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
13398 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
13399 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
13400 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
13402 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
13403 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
13404 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
13405 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
13406 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
13407 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
13409 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
13410 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
13411 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
13413 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
13414 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
13416 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
13418 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
13420 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
13422 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
13424 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
13426 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
13428 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
13430 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
13432 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
13434 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
13436 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
13438 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
13440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
13442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
13444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
13446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
13448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
13450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
13452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
13454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
13456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
13460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
13462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
13464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
13466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
13467 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
13469 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
13471 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
13473 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
13475 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
13477 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
13479 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
13481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
13485 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
13487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
13489 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
13491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
13492 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
13494 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
13496 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
13498 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
13500 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
13502 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
13504 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
13506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13508 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
13510 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
13512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
13514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
13516 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
13517 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
13518 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
13520 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
13521 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
13522 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
13523 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
13524 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
13525 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
13526 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
13527 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
13528 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
13529 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
13530 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
13531 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
13533 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
13535 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
13537 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
13539 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
13541 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
13543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
13545 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13547 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
13549 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
13551 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
13553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
13555 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
13556 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
13558 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
13560 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
13562 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
13564 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
13566 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
13568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
13570 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13572 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
13574 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
13576 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
13578 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
13581 2012-04-28 Joseph Myers <joseph@codesourcery.com>
13583 * conform/conformtest.pl: Fix typo in handling typed-constant from
13586 2012-04-27 Joseph Myers <joseph@codesourcery.com>
13588 * README: Cut down references to pre-2.6 Linux kernels and
13589 Linuxthreads. Update lists of configurations in libc and ports
13590 and sort alphabetically. Say "or newer" with Linux kernel version
13593 * config.h.in [IS_IN_build]: Allow compiling without optimization.
13595 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13598 * math/libm-test.inc (logb_test_downward): New test to expose
13599 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
13602 2012-04-27 Joseph Myers <joseph@codesourcery.com>
13605 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
13607 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
13608 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
13610 2012-04-26 Joseph Myers <joseph@codesourcery.com>
13612 * sysdeps/unix/i386/brk.S: Remove file.
13613 * sysdeps/unix/i386/dl-brk.S: Likewise.
13614 * sysdeps/unix/i386/pipe.S: Likewise.
13615 * sysdeps/unix/i386/sigreturn.S: Likewise.
13616 * sysdeps/unix/i386/syscall.S: Likewise.
13617 * sysdeps/unix/i386/vfork.S: Likewise.
13618 * sysdeps/unix/i386/wait.S: Likewise.
13620 * sysdeps/unix/common/tcsendbrk.c: Move to ...
13621 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
13623 * configure.in (arm*-none*): Do not allow without
13624 --enable-hacker-mode.
13625 (netbsd*): Remove case setting base_os.
13626 (386bsd*): Likewise.
13627 (freebsd*): Likewise.
13630 (sunos*): Likewise.
13631 (ultrix*): Likewise.
13632 (newsos*): Likewise.
13633 (dynix*): Likewise.
13639 (minix*): Likewise.
13640 (irix4*): Likewise.
13641 (irix6*): Likewise.
13642 (solaris[2-9]*): Likewise.
13644 * configure: Regenerated.
13646 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13649 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
13650 overflow or cancellation in calculating denominator.
13651 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
13652 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
13653 down expression to avoid unexpected rounding in newer GCCs.
13654 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
13656 2012-04-26 David S. Miller <davem@davemloft.net>
13658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
13659 long-double compat symbols.
13660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
13664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
13666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
13667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
13668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
13669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
13670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
13671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
13672 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13674 2012-04-25 David S. Miller <davem@davemloft.net>
13676 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
13677 HWCAP_* values only after the memory barriers have been defined.
13678 (atomic_full_barrier): Define.
13679 (atomic_read_barrier): Define.
13680 (atomic_write_barrier): Define.
13682 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13684 * shlib-versions: Add libgcc_s version information.
13685 * sysdeps/generic/libgcc_s.h: Remove.
13686 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
13688 * sysdeps/gnu/unwind-resume.c: Likewise.
13689 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
13691 2012-04-25 David S. Miller <davem@davemloft.net>
13693 * sysdeps/unix/sparc/brk.S: Delete.
13694 * sysdeps/unix/sparc/dl-brk.S: Delete.
13695 * sysdeps/unix/sparc/pipe.S: Delete.
13696 * sysdeps/unix/sparc/sysdep.S: Delete.
13697 * sysdeps/unix/sparc/sysdep.h: Delete.
13698 * sysdeps/unix/sparc/vfork.S: Delete.
13699 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
13700 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
13701 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
13702 ret_ERRVAL, r0, r1, MOVE): Define.
13703 (JUMPTARGET): Remove.
13704 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
13705 sysdeps/unix/sparc/sysdep.h
13706 (ENTRY, END): Remove.
13707 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13709 2012-04-25 Joseph Myers <joseph@codesourcery.com>
13711 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
13712 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
13715 * timezone/README: Update upstream location and email address for
13717 * timezone/zdump.c: Update from tzcode 2012b.
13718 * timezone/zic.c: Likewise.
13720 * configure.in (libc_cv_as_needed): Remove test.
13721 * configure: Regenerated.
13722 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
13723 conditional definition.
13724 [$(have-as-needed) != yes] (no-as-needed): Likewise.
13725 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
13726 * config.make.in (have-as-needed): Remove variable.
13728 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13729 Paul Pluzhnikov <ppluzhnikov@google.com>
13731 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
13734 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
13736 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
13737 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
13738 * sysdeps/sh/strlen.S: Likewise.
13740 2012-04-24 Joseph Myers <joseph@codesourcery.com>
13742 * sysdeps/unix/fork.S: Remove file.
13743 * sysdeps/unix/i386/fork.S: Likewise.
13744 * sysdeps/unix/sparc/fork.S: Likewise.
13746 * sysdeps/unix/system.c: Remove file.
13747 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
13749 * sysdeps/unix/getegid.S: Remove file.
13750 * sysdeps/unix/geteuid.S: Likewise.
13752 2012-04-24 Roland McGrath <roland@hack.frob.com>
13754 * scripts/check-localplt.awk: New file.
13755 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
13757 * scripts/data/localplt-generic.data: Add a comment.
13759 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
13760 NODE when __dir_mkfile failed.
13761 * sysdeps/mach/hurd/symlinkat.c: Likewise.
13762 Reported by Ludovic Courtès <ludo@gnu.org>.
13764 2012-04-24 Andreas Jaeger <aj@suse.de>
13766 * Makerules (common-clean): Also remove gen-as-const-headers
13769 2012-04-24 Joseph Myers <joseph@codesourcery.com>
13771 * Makerules (native-compile): Do not change working directory for
13772 build. Use $(OUTPUT_OPTION) in command.
13773 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
13775 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13778 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
13779 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
13780 * math/libm-test.inc (floor_test): Add more tests.
13781 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
13783 2012-04-24 Joseph Myers <joseph@codesourcery.com>
13785 * sysdeps/unix/getdents.c: Remove file.
13786 * sysdeps/unix/sysv/getdents.c: Likewise.
13787 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
13789 * sysdeps/unix/syscalls.list (madvise): Add syscall from
13790 sysdeps/unix/mman/syscalls.list.
13792 (mprotect): Likewise.
13794 (munmap): Likewise.
13795 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
13796 * sysdeps/unix/mman/syscalls.list: Remove.
13797 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
13799 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
13800 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
13801 * configure: Regenerated.
13802 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
13803 $(libgcc_s_suffix).
13804 * config.make.in (libgcc_s_suffix): Remove variable.
13806 2012-04-23 Joseph Myers <joseph@codesourcery.com>
13808 * sysdeps/unix/sysv/gethostname.c: Move to ...
13809 * sysdeps/posix/gethostname.c: ... here.
13811 * sysdeps/unix/execve.S: Remove file.
13813 * sysdeps/unix/_exit.S: Remove file.
13815 2012-04-23 Andreas Jaeger <aj@suse.de>
13818 * manual/Makefile: Remove make dist support, there's no
13819 need for a stand-alone documentation tar ball.
13820 (TEXI2DVI): Define always, it's not in Makeconfig.
13823 (edition): Removed.
13824 (glibc-doc-$(edition).tar): Removed
13828 (ETAGS): Remove, it's in Makeconfig.
13829 (move-if-change): Remove, it's in Makeconfig.
13831 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
13834 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
13835 (strtod, strtof, strtold, strtol, strtoul, strtoq)
13836 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
13837 (strtod_l, strtof_l, strtold_l): Remove __wur.
13838 It is not necessarily an error to ignore strtol's return value.
13839 One can reliably look at the stored endptr to decide whether
13840 the number had valid syntax.
13842 2012-04-21 Andreas Jaeger <aj@suse.de>
13845 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
13847 2012-04-21 Joseph Myers <joseph@codesourcery.com>
13849 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
13850 * sysdeps/unix/sysv/Versions: Remove file.
13852 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
13855 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13857 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
13860 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
13861 version from __vm86.
13863 2012-04-20 Joseph Myers <joseph@codesourcery.com>
13865 * sysdeps/unix/common/lxstat.c: Remove file.
13866 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
13868 * sysdeps/unix/sysv/Makefile: Remove file.
13870 * sysdeps/unix/sysv/direct.h: Remove file.
13872 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
13873 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
13874 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
13875 * sysdeps/unix/sysv/bits/signum.h: Likewise.
13876 * sysdeps/unix/sysv/bits/stat.h: Likewise.
13877 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
13878 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
13880 * sysdeps/unix/sysv/setrlimit.c: Remove file.
13882 * sysdeps/unix/xmknod.c: Remove file.
13883 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
13885 * sysdeps/unix/sysv/settimeofday.c: Remove file.
13887 * sysdeps/unix/sysv/i386/time.S: Remove file.
13889 * sysdeps/unix/fxstat.c: Remove file.
13890 * sysdeps/unix/xstat.c: Likewise.
13891 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
13893 * sysdeps/unix/sysv/sigaction.c: Remove file.
13895 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
13896 (sysdep_headers): Remove variable.
13897 [termio.h not in sysdep_headers] (generated): Likewise.
13898 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
13899 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
13900 * sysdeps/unix/sysv/tcdrain.c: Likewise.
13901 * sysdeps/unix/sysv/tcflow.c: Likewise.
13902 * sysdeps/unix/sysv/tcflush.c: Likewise.
13903 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
13904 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
13905 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
13906 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
13907 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
13909 * sysdeps/unix/siglist.c: Remove file.
13911 * sysdeps/unix/getppid.S: Remove file.
13913 * sysdeps/unix/mkdir.c: Remove file.
13914 * sysdeps/unix/rmdir.c: Likewise.
13916 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
13918 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
13920 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
13921 errlist-compat value.
13923 2012-04-18 David S. Miller <davem@davemloft.net>
13925 * sysdeps/generic/memcopy.h (reg_char): Delete.
13926 * debug/strcat_chk.c: Use char, not reg_char.
13927 * debug/strcpy_chk.c: Likewise.
13928 * debug/strncat_chk.c: Likewise.
13929 * debug/strncpy_chk.c: Likewise.
13930 * string/memchr.c: Likewise.
13931 * string/memrchr.c: Likewise.
13932 * string/rawmemchr.c: Likewise.
13933 * string/strcat.c: Likewise.
13934 * string/strchr.c: Likewise.
13935 * string/strchrnul.c: Likewise.
13936 * string/strcmp.c: Likewise.
13937 * string/strcpy.c: Likewise.
13938 * string/strncat.c: Likewise.
13939 * string/strncmp.c: Likewise.
13940 * string/strncpy.c: Likewise.
13942 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13944 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
13945 __builtin_memcopy is called when src and dest ranges are known to not
13948 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13950 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
13951 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
13952 fwd_align_merge macro call.
13953 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
13954 bwd_align_merge macro call.
13955 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13957 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13959 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
13960 bwd_align_merge macros.
13961 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
13962 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
13963 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13965 2012-04-18 David S. Miller <davem@davemloft.net>
13967 * sysdeps/sparc/sparc64/memcopy.h: Delete.
13969 2012-04-18 Andreas Jaeger <aj@suse.de>
13972 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
13973 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
13974 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13976 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
13977 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
13978 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13980 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
13981 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
13982 Adjust for changed ldbl-128 files.
13984 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
13985 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
13986 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13988 2012-04-17 David S. Miller <davem@davemloft.net>
13990 * sysdeps/sparc/sparc32/memcopy.h: Delete.
13992 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
13994 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
13995 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
13996 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
13997 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
13998 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13999 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
14001 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14004 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
14005 * math/libm-test.inc: Add ilogb errno and exception tests.
14006 * math/w_ilogb.c: New file: ilogb wrapper.
14007 * math/w_ilogbf.c: New file: ilogbf wrapper.
14008 * math/w_ilogbl.c: New file: ilogbl wrapper.
14009 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
14010 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
14011 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
14012 exception being thrown with 0.0 as argument.
14013 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
14014 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
14015 exception being thrown with 0.0 as argument.
14016 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
14017 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14018 exception being thrown with 0.0 as argument.
14019 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
14020 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14021 exception being thrown with 0.0 as argument.
14022 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
14023 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
14024 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
14025 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
14026 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
14027 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
14028 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
14029 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
14030 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
14032 2012-04-17 Petr Baudis <pasky@ucw.cz>
14034 * include/sys/uio.h: Change __vector to __iovec to avoid clash
14037 2012-04-16 Marek Polacek <polacek@redhat.com>
14039 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
14041 2012-04-16 Marek Polacek <polacek@redhat.com>
14043 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
14044 operands of fdivp instruction.
14046 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14048 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
14049 * elf/tst-auditmod3b.c: Likewise.
14050 * elf/tst-auditmod4b.c: Likewise.
14051 * elf/tst-auditmod5b.c: Likewise.
14052 * elf/tst-auditmod6b.c: Likewise.
14053 * elf/tst-auditmod6c.c: Likewise.
14054 * elf/tst-auditmod7b.c: Likewise.
14055 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
14056 * sysdeps/x86_64/preconfigure.in: Likewise.
14057 * sysdeps/x86_64/preconfigure: Regenerated.
14059 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14061 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
14064 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
14066 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14067 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
14069 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
14072 * locale/iso-639.def: Fix gl language name. Spotted by
14075 2012-04-12 Roland McGrath <roland@hack.frob.com>
14078 * libio/libio.h (__io_write_fn): Update comment.
14080 2012-04-12 Petr Baudis <pasky@ucw.cz>
14083 * stdio.texi (Hook Functions): The user provided writer function
14084 is not allowed to return -1.
14086 2012-04-11 David S. Miller <davem@davemloft.net>
14088 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14090 2012-04-11 Mike Frysinger <vapier@gentoo.org>
14092 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
14093 Add a leading slash to rtkaio.
14095 2012-04-11 Jim Meyering <meyering@redhat.com>
14098 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
14099 It is not necessarily an error to ignore fwrite's return
14100 value. One can reliably use ferror to test for errors after
14103 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14105 * bits/types.h (__snseconds_t): New type.
14106 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
14108 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
14109 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14110 (__SNSECONDS_T_TYPE): Likewise.
14111 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14112 (__SNSECONDS_T_TYPE): Likewise.
14113 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14114 (__SNSECONDS_T_TYPE): Likewise.
14116 2012-04-10 Andreas Jaeger <aj@suse.de>
14119 * manual/time.texi (Processor Time): Return type of times is
14120 elapsed real time since an arbitrary point in the past.
14121 (CPU Time): Move CLK_TCK from here...
14122 (Processor Time): ...to here. Correct description.
14123 * manual/conf.texi (Constants for Sysconf): Correct description of
14126 2012-04-10 David S. Miller <davem@davemloft.net>
14129 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
14130 where the is a gap between DT_REL(A) and DT_JMPREL.
14132 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14134 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
14135 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14136 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14138 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14140 * elf/dl-support.c (_dl_inhibit_cache): New variable.
14141 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
14142 (dl_main): Handle --inhibit-cache.
14143 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
14145 * elf/dl-load.c (_dl_map_object): Use it.
14146 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
14148 2012-04-09 Joseph Myers <joseph@codesourcery.com>
14151 * sysdeps/i386/fpu/e_powl.S (p78): New object.
14152 (__ieee754_powl): Saturate large exponents rather than testing for
14153 overflow of y*log2(x).
14154 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14155 * math/libm-test.inc (pow_test): Do not permit spurious overflow
14159 * math/s_ctan.c: Include <float.h>.
14160 (__ctan): Avoid internal overflow or cancellation in calculating
14162 * math/s_ctanf.c: Likewise.
14163 * math/s_ctanl.c: Likewise.
14164 * math/s_ctanh.c: Likewise.
14165 * math/s_ctanhf.c: Likewise.
14166 * math/s_ctanhl.c: Likewise.
14167 * math/libm-test.inc (ctan_test): Add more tests.
14168 (ctanh_test): Likewise.
14169 * sysdeps/i386/fpu/libm-test-ulps: Update.
14170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14172 2012-04-09 Andreas Jaeger <aj@suse.de>
14175 * manual/filesys.texi (Directory Entries): Mention that d_namlen
14176 is an optional BSD extension.
14179 * manual/stdio.texi (Opening Streams): Document additional fopen
14182 2012-04-09 Roland McGrath <roland@hack.frob.com>
14184 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
14185 %eax without telling the compiler.
14187 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
14190 * manual/install.texi: Use sourceware.org.
14192 2012-04-09 Joseph Myers <joseph@codesourcery.com>
14195 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
14196 (__ieee754_pow): Generate overflow and underflow using huge*huge
14197 and tiny*tiny rather than just returning constant infinity or zero
14198 for large exponents.
14199 * math/libm-test.inc (pow_test): Require overflow exceptions for
14200 applicable cases of large exponents.
14203 * sysdeps/i386/fpu/e_pow.S (p10): New object.
14204 (__ieee754_pow): Use iterative multiplication algorithm only for
14205 integer exponents with absolute value below 1024. Check for odd
14206 integer exponents when using algorithm for real exponents.
14207 * math/libm-test.inc (pow_test): Add more tests.
14208 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14210 2012-04-08 Joseph Myers <joseph@codesourcery.com>
14213 * math/libm-test.inc (exp_test): Do not allow overflow exception
14216 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
14219 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
14220 instead of __kernel_standard_f.
14222 2012-04-08 Mike Frysinger <vapier@gentoo.org>
14224 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
14225 * sysdeps/x86_64/memset_chk.S: Likewise.
14227 2012-04-08 Andreas Jaeger <aj@suse.de>
14230 * manual/startup.texi (Environment Access): Describe return value
14231 for putenv and setenv.
14234 * manual/filesys.texi (Directory Entries): Add description for
14238 * manual/filesys.texi (Directory Entries): Clarify that it's file
14239 system not operating system in the description of DT_UNKNOWN.
14242 * manual/syslog.texi (closelog): Fix reference, it's openlog.
14244 2012-04-08 Stephen Compall <s11@member.fsf.org>
14247 * manual/llio.texi (Opening and Closing Files): Add cross
14248 reference to explain mode argument.
14250 2012-04-07 Mike Frysinger <vapier@gentoo.org>
14252 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
14253 * sysdeps/x86_64/memset_chk.S: Likewise.
14255 2012-04-07 David S. Miller <davem@davemloft.net>
14257 * elf/elf.h (R_SPARC_WDISP10): Define.
14258 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
14260 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
14261 R_SPARC_SIZE64 and R_SPARC_H34.
14263 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
14265 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
14266 conditions and remove no longer applicable assertion.
14268 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14270 * bits/byteswap.h: Include <features.h>.
14271 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14272 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14274 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14276 * bits/byteswap.h (__bswap_16): Removed.
14277 Include <bits/byteswap-16.h> to get __bswap_16.
14278 * sysdeps/i386/bits/byteswap.h: Likewise.
14279 * sysdeps/s390/bits/byteswap.h: Likewise.
14280 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14281 * bits/byteswap-16.h: New file.
14282 * sysdeps/i386/bits/byteswap-16.h: Likewise.
14283 * sysdeps/s390/bits/byteswap-16.h: Likewise.
14284 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
14285 * string/Makefile (headers): Add bits/byteswap-16.h.
14287 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14290 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
14292 * nss/Makefile (tests-static, tests): Add tst-nss-static.
14293 * nss/tst-nss-static.c: New.
14295 2012-04-06 Robert Millan <rmh@gnu.org>
14298 * manual/llio.texi (File Position Primitive): lseek
14299 refers to WHENCE when it really means OFFSET.
14301 2012-04-06 Andreas Jaeger <aj@suse.de>
14303 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
14304 strncmp declarations.
14306 * abilist/libc.abilist: Add __poll and __ppoll.
14308 2012-04-05 David S. Miller <davem@davemloft.net>
14310 * scripts/check-local-headers.sh: Accept a host triplet in the
14311 path matched by the exclude regexp.
14313 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
14315 * sysdeps/powerpc/powerpc32/dl-machine.h
14316 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
14317 * sysdeps/s390/s390-32/dl-machine.h
14318 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14319 * sysdeps/sparc/sparc32/dl-machine.h
14320 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14321 * sysdeps/sparc/sparc64/dl-machine.h
14322 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14324 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
14326 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
14327 undefined symbol errors.
14329 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
14332 2012-04-05 Michael Matz <matz@suse.de>
14335 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
14337 2012-04-05 Andreas Jaeger <aj@suse.de>
14340 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
14343 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14345 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
14346 which ROUND is no valid rounding mode.
14348 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14350 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
14352 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
14354 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14356 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
14357 an exception using FPU order intentionally.
14359 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14361 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
14362 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
14363 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
14364 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
14366 2012-04-05 Simon Josefsson <simon@josefsson.org>
14369 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
14370 EINVAL when BUFLEN is too smal.
14372 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
14375 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
14376 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
14378 2012-04-03 Andreas Jaeger <aj@suse.de>
14381 * manual/setjmp.texi (System V contexts): Fix sentence.
14384 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
14385 New macro for this case.
14386 [!__GNUC__] (__bswap_64): New inline function for this case.
14387 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14388 * bits/byteswap.h: Likewise.
14389 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
14390 ull, guard with __GLIBC_HAVE_LONG_LONG.
14392 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
14393 __GLIBC_HAVE_LONG_LONG.
14395 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
14396 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
14398 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14401 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
14402 inptr and inend, rather than using last_ch.
14404 2012-04-02 David S. Miller <davem@davemloft.net>
14406 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
14407 * stdio-common/printf-parse.h (read_int): Change return type to
14408 'int', return -1 on INT_MAX overflow.
14409 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
14410 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
14411 overflows INT_MAX. Check for overflow of in-format-string precision
14412 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
14413 SIZE_MAX not INT_MAX for integer overflow test.
14414 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
14415 skip the construct in the format string but do not record anything.
14416 * stdio-common/bug22.c: Adjust to test both width/prevision
14417 INT_MAX overflow as well as total length INT_MAX overflow. Check
14418 explicitly for proper errno values.
14420 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
14422 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
14424 * string/test-strcmp.c [! WIDE]: Likewise.
14425 * time/tst-mktime2.c: Likewise for INT_MAX.
14426 * string/test-string.h: #include <sys/param.h> for MIN.
14428 * csu/init-first.c (__libc_init_first): Call __ctype_init.
14429 * sysdeps/i386/init-first.c (init): Likewise.
14430 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
14431 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
14432 * sysdeps/sh/init-first.c (init): Likewise.
14434 2012-04-01 Ulrich Drepper <drepper@gmail.com>
14436 * po/ru.po: Update from translation team.
14437 * po/vi.po: Likewise.
14439 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14441 * resolv/nss_dns/dns-host.c: Merge copyright years.
14443 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14445 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14446 Optimize memcpy with prefetch if
14447 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
14448 src, dst pointers have unequal 16 byte alignments.
14450 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14453 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
14454 from a CNAME entry and return the minimum ttl for the query.
14455 (gaih_getanswer_slice): Likewise.
14457 2012-03-30 Jeff Law <law@redhat.com>
14459 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
14461 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
14462 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14464 * resolv/nss_dns/dns-host.c: Update copyright year.
14466 2012-03-30 Ulrich Drepper <drepper@gmail.com>
14468 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
14469 requests to save a system call. Fix check that all bytes are sent.
14471 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
14472 comments for sendmmsg.
14474 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14477 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
14478 with only 1 character between 0x0041 and 0x01b0.
14479 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
14480 * wcsmbs/tst-mbsnrtowcs.c: New file.
14482 2012-03-29 David S. Miller <davem@davemloft.net>
14484 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
14485 small copies by hand.
14487 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14490 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
14491 _nss_compat_initgroups_dyn): Fall back to malloc/free
14492 for large group memberships.
14494 2012-03-28 David S. Miller <davem@davemloft.net>
14496 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
14497 that branches into memcpy.
14498 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14499 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
14500 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
14501 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
14502 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
14504 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
14505 implementation too.
14506 * sysdeps/sparc/mempcpy.S: New file.
14508 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
14509 the IFUNC routine in the libc case.
14510 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14512 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
14513 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
14514 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
14515 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
14516 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
14517 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
14518 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
14519 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
14521 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
14522 loop to 256 bytes instead of 64 bytes and fix test signedness.
14524 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
14525 * sysdeps/sparc/sparc32/Makefile: rather than here...
14526 * sysdeps/sparc/sparc64/Makefile: and here.
14528 2012-03-28 Ulrich Drepper <drepper@gmail.com>
14530 * malloc/mallocbug.c: Avoid warnings about unused variables.
14532 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14535 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
14536 in the right place. Discard and retry query if response is
14537 larger than input buffer size.
14539 2012-03-28 Joseph Myers <joseph@codesourcery.com>
14544 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
14545 x for large integer exponent.
14546 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14547 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
14548 sign of result as needed afterwards.
14549 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14550 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
14551 result for underflowing pow the same as for overflow.
14552 (__kernel_standard_l): Handle powl overflow and underflow here
14553 rather than calling __kernel_standard.
14554 * math/libm-test.inc (pow_test): Add more tests.
14569 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
14570 * sysdeps/ieee754/k_standard.c: Include <float.h>.
14571 (__kernel_standard_l): New function.
14572 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
14574 * math/w_acosl.c (__acosl): Likewise.
14575 * math/w_asinl.c (__asinl): Likewise.
14576 * math/w_atan2l.c (__atan2l): Likewise.
14577 * math/w_atanhl.c (__atanhl): Likewise.
14578 * math/w_coshl.c (__coshl): Likewise.
14579 * math/w_exp10l.c (__exp10l): Likewise.
14580 * math/w_exp2l.c (__exp2l): Likewise.
14581 * math/w_fmodl.c (__fmodl): Likewise.
14582 * math/w_hypotl.c (__hypotl): Likewise.
14583 * math/w_j0l.c (__j0l, __y0l): Likewise.
14584 * math/w_j1l.c (__j1l, __y1l): Likewise.
14585 * math/w_jnl.c (__jnl, __ynl): Likewise.
14586 * math/w_lgammal.c (__lgammal): Likewise.
14587 * math/w_log10l.c (__log10l): Likewise.
14588 * math/w_log2l.c (__log2l): Likewise.
14589 * math/w_logl.c (__logl): Likewise.
14590 * math/w_powl.c (__powl): Likewise.
14591 * math/w_remainderl.c (__remainderl): Likewise.
14592 * math/w_scalbl.c (sysv_scalbl): Likewise.
14593 * math/w_sinhl.c (__sinhl): Likewise.
14594 * math/w_sqrtl.c (__sqrtl): Likewise.
14595 * math/w_tgammal.c (__tgammal): Likewise.
14596 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
14597 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
14598 * math/libm-test.inc (acos_test): Add more tests.
14599 (acosh_test): Likewise.
14600 (asin_test): Likewise.
14601 (atanh_test): Likewise.
14602 (exp_test): Likewise.
14603 (exp10_test): Likewise.
14604 (exp2_test): Likewise.
14605 (expm1_test): Likewise.
14606 (lgamma_test): Likewise.
14607 (log_test): Likewise.
14608 (log10_test): Likewise.
14609 (log1p_test): Likewise.
14610 (log2_test): Likewise.
14611 (pow_test): Do not allow some spurious overflow exceptions.
14612 (sqrt_test): Add more tests.
14613 (tgamma_test): Likewise.
14614 (y0_test): Likewise.
14615 (y1_test): Likewise.
14616 (yn_test): Likewise.
14618 2012-03-27 Anton Blanchard <anton@samba.org>
14620 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
14622 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14623 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14624 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14626 2012-03-27 David S. Miller <davem@davemloft.net>
14628 * conform/Makefile: Run run-conformtest.sh using $(BASH).
14630 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
14631 have-as-vis3 check.
14633 2012-03-27 Andreas Jaeger <aj@suse.de>
14635 * sysdeps/x86_64/elf/configure.in: Moved to ...
14636 * sysdeps/x86_64/configure.in: ... here.
14637 * sysdeps/x86_64/elf/start.S: Moved to ...
14638 * sysdeps/x86_64/start.S: ... here.
14639 * sysdeps/x86_64/elf/configure: Delete.
14641 * sysdeps/x86_64/configure.in: Merge contents from
14642 sysdeps/i386/configure.in (without i686 check).
14644 * sysdeps/i386/elf/Versions: Merge into ...
14645 * sysdeps/i386/Versions: ... this.
14646 * sysdeps/i386/elf/Versions: Delete file.
14647 * sysdeps/i386/elf/start.S: Moved to ...
14648 * sysdeps/i386/start.S: ...here.
14649 * sysdeps/i386/elf/configure.in: Merge into...
14650 * sysdeps/i386/configure.in: ...here.
14651 * sysdeps/i386/elf/configure.in: Delete file.
14652 * sysdeps/i386/elf/configure: Delete file.
14654 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
14655 * debug/backtracesyms.c: ... here.
14656 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
14657 * debug/backtracesymsfd.c: ... here.
14658 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
14659 * sysdeps/generic/ifunc-sel.h: ... here.
14661 * sysdeps/unix/i386/start.c: Delete file.
14662 * sysdeps/unix/sparc/start.c: Delete file.
14663 * sysdeps/unix/start.c: Delete file.
14665 * sysdeps/sh/elf/configure.in: Moved to ...
14666 * sysdeps/sh/configure.in: ... here.
14667 * sysdeps/sh/elf/start.S: Moved to ...
14668 * sysdeps/sh/start.S: ... here.
14669 * sysdeps/sh/elf/configure: Delete file.
14671 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
14672 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
14673 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
14674 * sysdeps/powerpc/powerpc64/entry.h: ... here.
14675 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
14676 * sysdeps/powerpc/powerpc64/start.S: here.
14677 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
14678 * sysdeps/powerpc/powerpc64/Makefile: ... this.
14679 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
14680 * sysdeps/powerpc/powerpc64/configure.in: ... this.
14681 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
14683 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
14684 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
14685 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
14686 * sysdeps/powerpc/powerpc32/start.S: ... here.
14687 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
14688 * sysdeps/powerpc/powerpc32/configure.in: ... this.
14689 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
14691 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
14692 * sysdeps/powerpc/ifunc-sel.h: ... here.
14693 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
14694 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
14696 * sysdeps/sparc/elf/configure.in: Moved to ...
14697 * sysdeps/sparc/configure.in: ... here.
14698 * sysdeps/sparc/elf/configure: Delete file.
14699 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
14700 * sysdeps/sparc/sparc32/start.S: ... here.
14701 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
14702 * sysdeps/sparc/sparc64/start.S: ... here.
14703 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
14704 * sysdeps/sparc/sparc32/Makefile: ... this.
14705 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
14706 * sysdeps/sparc/sparc64/Makefile: ... this.
14708 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
14709 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
14710 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
14711 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
14712 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
14713 * sysdeps/s390/s390-32/setjmp.S: ... here.
14714 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
14715 * sysdeps/s390/s390-32/configure.in: ... here.
14716 * sysdeps/s390/s390-32/elf/configure: Delete file.
14717 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
14718 * sysdeps/s390/s390-32/start.S: ... here.
14720 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
14721 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
14722 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
14723 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
14724 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
14725 * sysdeps/s390/s390-64/setjmp.S: ... here.
14726 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
14727 * sysdeps/s390/s390-64/configure.in: ... here
14728 * sysdeps/s390/s390-64/elf/configure: Delete file.
14729 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
14730 * sysdeps/s390/s390-64/start.S: ... here.
14731 * sysdeps/s390/s390-64/elf/configure: Delete.
14733 * configure.in: Remove support for elf directories in sysdeps.
14735 * configure: Regenerated.
14736 * sysdeps/i386/configure: Regenerated.
14737 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14738 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14739 * sysdeps/s390/s390-32/configure: Regenerated.
14740 * sysdeps/s390/s390-64/configure: Regenerated.
14741 * sysdeps/sh/configure: Regenerated.
14742 * sysdeps/sparc/configure: Regenerated.
14743 * sysdeps/x86_64/configure: Regenerated.
14745 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
14747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14749 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
14750 denormal result into account.
14752 2012-03-25 Roland McGrath <roland@hack.frob.com>
14754 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
14755 Reported by Allan McRae <allan@archlinux.org>.
14757 2012-03-23 Jeff Law <law@redhat.com>
14759 * nss/getnssent.c (__nss_getent): Fix typo.
14761 2012-03-23 David S. Miller <davem@davemloft.net>
14763 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14765 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
14767 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
14768 to pad to uint64_t for each field.
14769 (dl_tls_index): Replace unsigned long with uint64_t.
14771 2012-03-23 Daniel Jacobowitz <dmj@google.com>
14772 Paul Pluzhnikov <ppluzhnikov@google.com>
14775 * grp/Makefile (otherlibs): Don't set it.
14776 * inet/Makefile (otherlibs): Likewise.
14777 * login/Makefile (otherlibs): Likewise.
14778 * nscd/Makefile (otherlibs): Likewise.
14779 * posix/Makefile (otherlibs): Likewise.
14780 * pwd/Makefile (otherlibs): Likewise.
14781 * rt/Makefile (otherlibs): Likewise.
14782 * sunrpc/Makefile (otherlibs): Likewise.
14783 * nss/Makefile (otherlibs): Likewise.
14784 Add libnss_files to routines and static-only-routines.
14785 ($(objpfx)getent): Remove rule.
14786 * resolv/Makefile: Add libnss_dns and libresolv to routines and
14787 static-only-routines.
14789 2012-03-22 Joseph Myers <joseph@codesourcery.com>
14792 * math/s_cexp.c: Include <float.h>.
14793 (__cexp): Handle exp result overflowing not necessarily
14794 overflowing both real and imaginary parts of result.
14795 * math/s_cexpf.c: Likewise.
14796 * math/s_cexpl.c: Likewise.
14797 * math/libm-test.inc (cexp_test): Add more tests.
14798 * sysdeps/i386/fpu/libm-test-ulps: Update.
14799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14801 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14803 * include/link.h (ELFW): New macro.
14804 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
14805 Replace ELF64_R_TYPE with ELFW(R_TYPE).
14807 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14809 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
14812 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14814 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
14816 (struct La_x32_retval): Likewise.
14818 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14820 * sysdeps/x86_64/preconfigure.in: New file.
14821 * sysdeps/x86_64/preconfigure: New generated file.
14823 2012-03-22 Joseph Myers <joseph@codesourcery.com>
14826 * math/e_exp2l.c: Include <float.h>.
14827 (__ieee754_exp2l): Handle overflow and underflow cases
14828 separately. Only pass fractional part of argument to
14830 * math/libm-test.inc (exp2_test): Add more tests.
14832 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
14833 negating x to take absolute value.
14834 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14836 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14837 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14839 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
14840 computing low part if x was negated.
14841 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14843 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14845 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
14846 la_x32_gnu_pltexit.
14847 (pltexit): Cast int_retval to ptrdiff_t.
14848 * elf/tst-auditmod3b.c: Likewise.
14849 * elf/tst-auditmod4b.c: Likewise.
14850 * elf/tst-auditmod5b.c: Likewise.
14851 * elf/tst-auditmod6b.c: Likewise.
14852 * elf/tst-auditmod6c.c: Likewise.
14853 * elf/tst-auditmod7b.c: Likewise.
14855 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
14856 and x32_gnu_pltexit.
14858 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
14859 __ELF_NATIVE_CLASS.
14860 (La_x32_regs): New macro.
14861 (La_x32_retval): Likewise.
14862 (la_x32_gnu_pltenter): New function prototype.
14863 (la_x32_gnu_pltexit): Likewise.
14865 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
14867 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
14870 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14872 * configure.in (libc_cv_cc_nofma): Check for option to disable
14873 generation of FMA instructions.
14874 * configure: Regenerate.
14875 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
14876 * sysdeps/ieee754/dbl-64/Makefile: New file.
14877 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14878 Remove brandred-fma4.
14879 (CFLAGS-brandred-fma4.c): Remove.
14880 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
14881 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
14883 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
14886 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14888 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14889 LLONG_MAX != LONG_MAX.
14890 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14891 (_fitoa_word): Likewise.
14892 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
14893 LLONG_MAX != LONG_MAX.
14894 * stdio-common/_itowa.h: Include <_itoa.h>.
14895 (_itowa_word): Use _ITOA_WORD_TYPE on value.
14896 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
14897 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
14898 only if not defined.
14899 (_ITOA_WORD_TYPE): Likewise.
14900 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14901 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
14903 2012-03-21 David S. Miller <davem@davemloft.net>
14905 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14907 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14909 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
14910 of x86_64 when setting libc_cv_slibdir, libdir and
14912 * sysdeps/unix/sysv/linux/configure: Regenerated.
14914 2012-03-21 Joseph Myers <joseph@codesourcery.com>
14916 * manual/lang.texi (Old Varargs): Remove section.
14917 (How Variadic): Update menu.
14918 (va_start): Do not mention varargs.h.
14920 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14921 Joseph Myers <joseph@codesourcery.com>
14923 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
14925 * configure: Regenerated.
14927 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14929 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
14930 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
14933 2012-03-21 Joseph Myers <joseph@codesourcery.com>
14936 * Makefile (files-for-dist): Remove NOTES.
14937 (NOTES): Remove rule.
14938 * README: Don't refer to NOTES.
14939 * manual/creature.texi: Don't include macros.texi.
14940 * manual/intro.texi (creature.texi): Remove comment referring to
14943 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
14944 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
14945 * configure: Regenerated.
14946 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
14947 LIBC_TRY_CC_OPTION.
14948 (libc_cv_as_i686): Likewise.
14949 (libc_cv_cc_avx): Likewise.
14950 (libc_cv_cc_sse2avx): Likewise.
14951 (libc_cv_cc_fma4): Likewise.
14952 (libc_cv_cc_novzeroupper): Likewise.
14953 * sysdeps/i386/configure: Regenerated.
14956 * sysdeps/i386/fpu/s_cexp.S: Remove.
14957 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14958 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14959 * math/libm-test.inc (cexp_test): Add more tests.
14960 * sysdeps/i386/fpu/libm-test-ulps: Update.
14961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14963 2012-03-21 Allan McRae <allan@archlinux.org>
14965 * timezone/Makefile: Do not install iso3166.tab and zone.tab
14967 2012-03-21 Joseph Myers <joseph@codesourcery.com>
14970 * math/w_exp2.c: Do not include <float.h>.
14971 (o_threshold, u_threshold): Remove.
14972 (__exp2): Calculate result before checking finiteness and calling
14974 * math/w_exp2f.c: Likewise.
14975 * math/w_exp2l.c: Likewise.
14976 * math/libm-test.inc (exp2_test): Require overflow exception for
14980 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
14981 range of signed 64-bit integers before using fistpll. Remove
14982 checks for whether integers fit in mantissa bits.
14983 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
14984 the range of signed 32-bit integers before using fistpl. Remove
14985 checks for whether integers fit in mantissa bits.
14986 * sysdeps/i386/fpu/e_powl.S (p64): New object.
14987 (__ieee754_powl): Test for y outside the range of signed 64-bit
14988 integers before using fistpll. Reduce 64-bit values to 63-bit
14990 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
14991 divide-by-zero is raised for zero to large negative powers.
14992 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
14993 (__ieee754_powl): Test for y outside the range of signed 64-bit
14994 integers before using fistpll. Reduce 64-bit values to 63-bit
14996 * math/libm-test.inc (pow_test): Add more tests.
14998 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15000 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
15001 <stdio-common/_itoa.h>.
15002 * debug/segfault.c: Likewise.
15003 * elf/dl-cache.c: Likewise.
15004 * elf/dl-minimal.c: Likewise.
15005 * elf/dl-misc.c: Likewise.
15006 * elf/dl-sysdep.c: Likewise.
15007 * elf/dl-version.c: Likewise.
15008 * elf/rtld.c: Likewise.
15009 * hurd/hurdsock.c: Likewise.
15010 * hurd/lookup-retry.c: Likewise.
15011 * malloc/malloc.c: Likewise.
15012 * malloc/mtrace.c: Likewise.
15013 * nscd/nscd_getgr_r.c: Likewise.
15014 * nscd/nscd_getpw_r.c: Likewise.
15015 * nscd/nscd_getserv_r.c: Likewise.
15016 * posix/getopt_init.c: Likewise.
15017 * posix/wordexp.c: Likewise.
15018 * stdio-common/_itoa.c: Likewise.
15019 * stdio-common/printf_fphex.c: Likewise.
15020 * stdio-common/vfprintf.c: Likewise.
15021 * string/_strerror.c: Likewise.
15022 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
15023 * sysdeps/i386/i686/hp-timing.h: Likewise.
15024 * sysdeps/mach/_strerror.c: Likewise.
15025 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
15026 * sysdeps/mach/hurd/sethostid.c: Likewise.
15027 * sysdeps/mach/hurd/xmknodat.c: Likewise.
15028 * sysdeps/mach/xpg-strerror.c: Likewise.
15029 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15030 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15031 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
15032 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
15033 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15034 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
15035 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15036 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15037 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
15038 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
15039 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
15040 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15041 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
15042 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15043 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15044 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
15045 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
15046 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
15047 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15048 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15049 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
15051 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
15053 * stdio-common/_itoa.h: Moved to ...
15054 * sysdeps/generic/_itoa.h: Here.
15056 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
15058 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
15059 instead of "_itoa.h" and "_itowa.h".
15060 * stdio-common/vfprintf.: Likewise.
15062 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15064 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
15066 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
15067 (__signbit): Likwise.
15068 (llrintf): Likwise.
15071 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15073 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
15076 2012-03-20 Joseph Myers <joseph@codesourcery.com>
15078 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
15079 OVERFLOW_EXCEPTION_OK.
15080 * math/libm-test.inc ("Philosophy"): Update comment about
15082 (OVERFLOW_EXCEPTION): Define.
15083 (OVERFLOW_EXCEPTION_OK): Likewise.
15084 (INVALID_EXCEPTION_OK): Renumber.
15085 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15086 (IGNORE_ZERO_INF_SIGN): Likewise.
15087 (test_exceptions): Handle FE_OVERFLOW.
15088 (exp10_test): Expect overflow exceptions.
15089 (exp2_test): Likewise.
15090 (expm1_test): Likewise.
15091 (nextafter_test): Likewise.
15092 (pow_test): Likewise.
15093 (scalbn_test): Likewise.
15094 (scalbln_test): Likewise.
15096 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15098 * sysdeps/x86_64/bits/atomic.h
15099 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
15101 (atomic_exchange_acq): Likewise.
15102 (__arch_exchange_and_add_body): Likewise.
15103 (__arch_add_body): Likewise.
15104 (atomic_add_negative): Likewise.
15105 (atomic_add_zero): Likewise.
15107 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15109 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
15110 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
15112 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15114 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
15115 Check __x86_64__ instead of __WORDSIZE.
15117 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15119 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
15121 2012-03-19 David S. Miller <davem@davemloft.net>
15123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15125 * sysdeps/sparc/fpu/fenv_private.h: New file.
15126 * sysdeps/sparc/fpu/math_private.h: Use it.
15127 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
15129 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
15130 (libc_feholdexcept_setroundl): Remove.
15131 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
15133 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
15134 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
15136 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15138 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
15139 int64_t instead of long int.
15140 (INSERT_WORDS64): Likwise.
15142 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15144 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
15145 _Unwind_GetCFA return to _Unwind_Ptr first.
15147 2012-03-19 Joseph Myers <joseph@codesourcery.com>
15150 * math/s_clog.c: Include <float.h>.
15151 (__clog): Scale large or subnormal inputs.
15152 * math/s_clogf.c: Likewise.
15153 * math/s_clogl.c: Likewise.
15154 * math/s_clog10.c: Include <float.h>.
15155 (M_LOG10_2): Define.
15156 (__clog10): Scale large or subnormal inputs.
15157 * math/s_clog10f.c: Likewise.
15158 * math/s_clog10l.c: Likewise.
15159 * math/libm-test.inc (clog_test): Add more tests.
15160 (clog10_test): Likewise.
15161 * sysdeps/i386/fpu/libm-test-ulps: Update.
15162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15165 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
15167 * math/libm-test.inc (atan2_test): Add another test.
15169 * Makerules (common-objdir-compile): Remove.
15170 * sysdeps/unix/Makefile (config-generated): Do not add
15171 $(unix-generated) to variable.
15172 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
15173 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
15175 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
15177 [generic bits/local_lim.h] (before-compile): Do not append to
15179 [generic bits/local_lim.h] (common-generated): Likewise.
15180 [generic sys/param.h] (before-compile): Do not append to variable.
15181 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
15182 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
15183 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
15184 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
15186 [generic sys/param.h] (sys/param.h-includes): Remove variable.
15187 [generic sys/param.h] (sys/param.h-includes): Remove rule.
15188 [generic sys/param.h] ($(addprefix
15189 $(common-objpfx),$(sys/param.h-includes))): Likewise.
15190 [generic sys/param.h] (common-generated): Do not append to
15192 [generic sys/param.h] (sysdep_headers): Likewise.
15193 [generic bits/errno.h] (before-compile): Do not append to
15195 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
15197 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
15198 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
15199 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
15200 [generic bits/errno.h] (common-generated): Do not append to
15202 [generic bits/ioctls.h] (before-compile): Do not append to
15204 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
15206 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
15207 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
15208 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
15210 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
15211 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
15212 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
15213 [generic bits/ioctls.h] (common-generated): Do not append to
15215 [generic sys/syscall.h] (syscall.h): Remove variable.
15216 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
15218 [generic sys/syscall.h] (before-compile): Do not append to
15220 [generic sys/syscall.h] (common-generated): Likewise.
15221 * sysdeps/unix/errnos-tmpl.c: Remove file.
15222 * sysdeps/unix/errnos.awk: Likewise.
15223 * sysdeps/unix/ioctls-tmpl.c: Likewise.
15224 * sysdeps/unix/ioctls.awk: Likewise.
15225 * sysdeps/unix/mk-local_lim.c: Likewise.
15226 * sysdeps/unix/snarf-ioctls: Likewise.
15228 2012-03-19 Richard Henderson <rth@twiddle.net>
15230 * sysdeps/i386/fpu/fenv_private.h: New file.
15231 * sysdeps/i386/fpu/math_private.h: Use it.
15232 (math_opt_barrier, math_force_eval): Remove.
15233 (libc_feholdexcept_setround_53bit): Remove.
15234 (libc_feupdateenv_53bit): Remove.
15235 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15236 (math_opt_barrier, math_force_eval): Remove.
15237 (libc_feholdexcept): Remove.
15238 (libc_feholdexcept_setround): Remove.
15239 (libc_fetestexcept, libc_fesetenv): Remove.
15240 (libc_feupdateenv_test): Remove.
15241 (libc_feupdateenv, libc_feholdsetround): Remove.
15242 (libc_feresetround): Remove.
15244 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
15245 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15247 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
15248 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
15249 (libc_feupdateenv_testl): New.
15250 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
15251 (libc_feupdateenv_testf): New.
15252 (libc_feupdateenv): Use libc_feupdateenv_test.
15253 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
15254 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
15256 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
15257 (libc_feholdsetroundf, libc_feholdsetroundl): New.
15258 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
15259 (libc_feresetround_noex): New.
15260 (libc_feresetround_noexf): New.
15261 (libc_feresetround_noexl): New.
15262 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
15263 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
15264 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
15265 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
15267 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15268 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
15270 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
15271 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15272 SET_RESTORE_ROUND_NOEX.
15273 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
15274 SET_RESTORE_ROUND_NOEXF.
15275 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
15276 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
15277 (libc_feholdsetroundf): New.
15278 (libc_feresetround, libc_feresetroundf): New.
15280 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
15281 (libc_feholdexcept_setround_53bit): Convert from macro to function.
15282 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
15284 * sysdeps/generic/math_private.h: Include <fenv.h>.
15285 (default_libc_feholdexcept): New.
15286 (default_libc_feholdexcept_setround): New.
15287 (default_libc_fesetenv, default_libc_feupdateenv): New.
15288 (libc_feholdexcept): Only define if undefined.
15289 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
15290 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
15291 (libc_feholdexcept_setroundl): Likewise.
15292 (libc_feholdexcept_setround_53bit): Likewise.
15293 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
15294 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
15295 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
15296 (libc_feupdateenv_53bit): Likewise.
15297 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
15298 (libc_feholdexcept): Convert from macro to inline function.
15299 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
15300 (libc_fesetenv, libc_feupdateenv): Likewise.
15302 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
15303 not previously defined.
15304 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
15305 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
15306 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
15307 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
15308 * sysdeps/ieee754/flt-32/math_private.h: New file.
15309 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
15310 math_private.h below SET_FLOAT_WORD.
15311 (__isnan, __isinf_ns, __finite): Remove.
15312 (__isnanf, __isinf_nsf, __finitef): Remove.
15314 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
15316 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15318 2012-03-17 David S. Miller <davem@davemloft.net>
15321 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
15324 2012-03-16 David S. Miller <davem@davemloft.net>
15326 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
15330 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
15332 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
15333 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
15334 sysdep_routines when subdir is sysvipc.
15335 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
15336 __getshmlba helper.
15338 * sysdeps/sparc/fpu/libm-test/ulps: Update.
15340 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15342 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
15345 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15347 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
15348 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
15349 (__lround): Renamed to ...
15350 (__llround): This. Replace long int with long long int.
15351 Define lround functions as aliases of llround functions.
15352 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
15354 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15356 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
15357 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
15358 adresses to uintptr_t. Replace "long int" and "unsigned long
15359 int" with "greg_t" on va_arg.
15361 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15363 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
15364 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
15366 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
15367 Move e_machine check before EI_CLASS check. Handle x32
15368 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
15369 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
15370 SKIP_EM_IA_64 and include
15371 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
15373 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
15374 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
15375 (add_system_dir): New macro.
15377 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
15378 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
15380 2012-03-16 Joseph Myers <joseph@codesourcery.com>
15391 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
15393 * math/w_j0f.c (j0f): Likewise.
15395 * math/w_j0l.c (__j0l): Likewise.
15397 * math/w_j1.c (j1): Likewise.
15399 * math/w_j1f.c (j1f): Likewise.
15401 * math/w_j1l.c (__j1l): Likewise.
15403 * math/w_jn.c (jn): Likewise.
15405 * math/w_jnf.c (jnf): Likewise.
15407 * math/w_jnl.c (__jnl): Likewise.
15409 * math/libm-test.inc (j0_test): Add more tests.
15410 (j1_test): Likewise.
15411 (jn_test): Likewise. Add trailing semicolon to existing test.
15412 (y0_test): Likewise.
15413 (y1_test): Likewise.
15414 * sysdeps/i386/fpu/libm-test-ulps: Update.
15415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15419 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
15420 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
15421 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
15422 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
15423 (__tanl): Set errno for infinite argument.
15424 * sysdeps/i386/fpu/mptan.c: Remove.
15425 * sysdeps/i386/fpu/s_tan.S: Likewise.
15426 * sysdeps/i386/fpu/s_tanl.S: Likewise.
15427 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
15428 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
15429 * math/libm-test.inc (tan_test): Add more tests and enable more
15430 tests for double and long double.
15431 * sysdeps/i386/fpu/libm-test-ulps: Update.
15432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15434 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15436 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
15437 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
15439 2012-03-16 Roland McGrath <roland@hack.frob.com>
15441 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
15442 * configure.in: Use it for both main tree and add-ons.
15443 * configure: Regenerated.
15445 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15447 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
15449 2012-03-16 Joseph Myers <joseph@codesourcery.com>
15451 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
15455 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
15456 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
15457 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
15458 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
15459 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
15461 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
15462 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
15463 != 0 for prec == 2.
15464 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
15465 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
15466 * sysdeps/i386/fpu/s_cosl.S: Likewise.
15467 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
15468 * sysdeps/i386/fpu/s_sinl.S: Likewise.
15469 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
15470 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
15471 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
15472 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
15473 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
15474 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
15475 * math/libm-test.inc (cos_test): Add more tests and enable more
15476 tests for long double.
15477 (sin_test): Likewise.
15478 (sincos_test): Likewise.
15479 * sysdeps/i386/fpu/libm-test-ulps: Update.
15480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15482 2012-03-16 David S. Miller <davem@davemloft.net>
15484 * sysdeps/sparc/fpu/math_private.h: New file.
15486 2012-03-15 David S. Miller <davem@davemloft.net>
15488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
15490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
15491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
15493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
15494 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
15495 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
15496 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
15497 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
15498 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
15500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15502 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
15503 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
15505 * sysdeps/sparc/sparc-ifunc.h: New file.
15506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
15508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
15511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
15513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
15514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
15515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
15520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
15522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
15524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
15526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
15528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
15529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
15530 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15531 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15532 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
15533 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
15534 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15535 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15536 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
15537 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
15538 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
15539 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
15540 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
15541 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
15542 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
15543 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
15544 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
15545 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
15546 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
15547 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
15548 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
15549 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
15551 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15553 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
15555 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15557 2012-03-15 Andreas Jaeger <aj@suse.de>
15560 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
15561 ieee754/flt-32 implementation for sin, cos and sincos.
15562 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
15563 * sysdeps/i386/fpu/s_cosf.S: Likewise.
15564 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
15565 * sysdeps/i386/fpu/s_sinf.S: Likewise.
15566 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
15567 ieee754/flt-32 implementation for tan.
15569 * math/libm-test.inc (cos_test): Enable some large input tests for
15571 (sin_test): Likewise.
15572 (sincos_test): Likewise.
15573 (tan_test): Add tests for large input.
15575 * sysdeps/i386/fpu/libm-test-ulps: Update.
15577 2012-03-15 Andreas Jaeger <aj@suse.de>
15580 * math/libm-test.inc (cos_test): Add more test cases.
15581 (sin_test): Likewise.
15582 (sincos_test): Likewise.
15584 2012-03-15 Andreas Jaeger <aj@suse.de>
15587 * math/libm-test.inc (cos_test): Add a test case for large input
15589 (sin_test): Likewise.
15590 (sincos_test): Likewise.
15592 2012-03-15 Andreas Jaeger <aj@suse.de>,
15593 Joseph Myers <joseph@codesourcery.com>
15596 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
15597 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
15598 * sysdeps/i386/fpu/branred.c: Likewise.
15599 * sysdeps/i386/fpu/dosincos.c: Likewise.
15600 * sysdeps/i386/fpu/mpa.c: Likewise.
15601 * sysdeps/i386/fpu/s_cos.S: Likewise.
15602 * sysdeps/i386/fpu/s_sin.S: Likewise.
15603 * sysdeps/i386/fpu/s_sincos.S: Likewise.
15604 * sysdeps/i386/fpu/sincos32.c: Likewise.
15606 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
15608 (libc_feupdateenv_53bit): Define.
15609 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
15611 (libc_feupdateenv_53bit): Define.
15613 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
15614 53 bit (without extend i386 double precision).
15616 * math/libm-test.inc (sincos_test): Add tests for large input.
15620 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15622 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15626 2012-03-15 David S. Miller <davem@davemloft.net>
15628 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
15629 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
15630 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
15631 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
15632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
15633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
15634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
15635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
15636 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
15637 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
15638 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
15639 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
15640 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
15641 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
15642 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
15643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
15645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
15646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
15648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
15649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
15651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
15652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
15654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
15655 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
15656 fmin/fmax sysdep routines.
15657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15659 2012-03-14 David S. Miller <davem@davemloft.net>
15661 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
15662 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
15663 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
15664 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
15665 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
15666 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
15667 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
15668 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
15669 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
15670 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
15671 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
15672 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
15673 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
15674 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
15675 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
15676 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
15677 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
15678 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
15679 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
15680 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
15681 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
15682 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
15683 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
15684 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
15685 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
15686 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
15687 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
15688 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
15689 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
15691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
15693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
15694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
15696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
15697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
15699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
15700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
15702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
15703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
15705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
15706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
15708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
15710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
15712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
15714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
15716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
15718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
15720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
15721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
15723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
15724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
15726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
15727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
15729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
15730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
15733 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15736 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15738 * sysdeps/sparc/configure.in: New file.
15739 * sysdeps/sparc/configure: Generate.
15740 * configure.in (libc_cv_sparc_as_vis3): Substitute.
15741 * configure: Regenerate.
15742 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
15743 * config.make.in (have-as-vis3): New.
15744 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
15745 available use -Av9d instead of -Av9a.
15746 * sysdeps/sparc/sparc64/Makefile: Likewise.
15747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
15748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
15750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
15752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
15754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
15756 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
15757 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
15758 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
15759 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
15760 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
15762 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
15763 fzeros/fnegs to load 0x80000000 into a float register instead of
15765 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
15767 2012-03-14 Joseph Myers <joseph@codesourcery.com>
15769 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15771 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
15772 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
15773 ($(inst_includedir)/bits/syscall.h): Remove rule.
15774 ($(objpfx)bits/syscall.d): Include instead of
15775 $(objpfx)syscall-list.d.
15776 (generated): Change syscall-list.h and syscall-list.d to
15777 bits/syscall.h and bits/syscall.d.
15779 2012-03-14 Roland McGrath <roland@hack.frob.com>
15782 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
15784 2012-03-14 Joseph Myers <joseph@codesourcery.com>
15787 * math/s_csqrt.c: Include <float.h>.
15788 (__csqrt): Scale large or subnormal inputs.
15789 * math/s_csqrtf.c: Likewise.
15790 * math/s_csqrtl.c: Likewise.
15791 * math/libm-test.inc (csqrt_test): Add more tests.
15792 * sysdeps/i386/fpu/libm-test-ulps: Update.
15793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15796 * math/libm-test.inc (hypot_test): Add more tests.
15798 2012-03-13 David S. Miller <davem@davemloft.net>
15801 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
15802 double-precision for the calculation instead of scaling.
15804 2012-03-13 Joseph Myers <joseph@codesourcery.com>
15806 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
15807 manipulate bits before adding and subtracting TWO52[sx].
15808 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
15809 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
15811 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
15813 2012-03-13 David S. Miller <davem@davemloft.net>
15815 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
15816 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
15817 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
15818 rtld-global-offsets.h
15819 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15821 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
15824 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
15826 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
15827 'err' in the ifdef scope in which it is actually used.
15829 * nss/nss_db/db-init.c: Include string.h
15831 2012-03-12 David S. Miller <davem@davemloft.net>
15833 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15834 masking out of the most significant byte of random value used.
15835 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15836 Fix coding style in previous change.
15838 * sysdeps/unix/sysv/linux/kernel-features.h
15839 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
15840 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
15842 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
15845 2012-03-11 David S. Miller <davem@davemloft.net>
15847 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15848 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
15849 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
15850 for 'resultvar' otherwise things get truncated on 64-bit.
15852 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15853 Fix masking out of the most significant byte of random value used.
15855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15857 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
15859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15861 2012-03-09 David S. Miller <davem@davemloft.net>
15863 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
15864 variables with appropriate CPP guards.
15865 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
15866 frame pointer, not the stack pointer. Correct layout comments. Fix test
15867 on resulting framesize and the management of the outregs buffer for pltexit.
15868 Preserve floating point return values across _dl_call_pltexit call.
15869 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
15870 framesize and the management of the outregs buffer for pltexit.
15871 Preserve floating point return values across _dl_call_pltexit
15873 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
15874 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
15875 (print_exit): Fix format string for return register value.
15877 2012-03-10 Joseph Myers <joseph@codesourcery.com>
15879 * sunrpc/Makefile (others): Add rpcgen.
15880 ($(objpfx)rpcgen): Remove special build rule and dependency on
15882 * sunrpc/rpcgen.c: New file.
15884 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
15887 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
15888 * stdio-common/bug-vfprintf-nargs.c: Likewise.
15889 * sysdeps/i386/crti.S: Likewise.
15890 * sysdeps/i386/crtn.S: Likewise.
15891 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
15892 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
15893 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
15894 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
15895 * sysdeps/sh/crti.S: Likewise.
15896 * sysdeps/sh/crtn.S: Likewise.
15897 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15900 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
15902 * locale/programs/locfile-kw.gperf: Likewise.
15903 * locale/programs/charmap-kw.h: Regenerated.
15904 * locale/programs/locfile-kw.h: Likewise.
15907 * intl/plural.y: Replace FSF snail mail address with URL.
15908 * intl/plural.c: Regenerated.
15910 2012-03-09 Richard Henderson <rth@twiddle.net>
15912 * include/math_private.h: Remove file.
15913 * math/math_private.h: Move file ...
15914 * sysdeps/generic/math_private.h: ... here.
15916 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
15917 * sysdeps/powerpc/fpu/math_private.h: Likewise.
15918 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15920 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
15921 and <math_private.h>.
15922 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15923 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15924 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15925 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15926 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15927 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
15928 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15929 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15930 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15931 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15932 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15933 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15934 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15935 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15936 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15937 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15938 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15939 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15940 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15941 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15942 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15943 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15944 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15945 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15946 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15947 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15948 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15949 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15950 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15951 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15952 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15953 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15954 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15955 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15956 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15957 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15958 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15959 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15960 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15961 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15962 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
15963 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15964 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15965 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15966 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15967 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15968 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
15969 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15970 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15971 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15972 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15973 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
15974 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15975 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15976 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15977 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15978 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15979 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15980 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15981 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
15982 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15983 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15984 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15985 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15986 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
15987 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15988 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15989 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15990 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
15991 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
15992 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15993 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15994 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15995 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15996 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
15997 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
15998 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
15999 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16000 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
16001 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
16002 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16003 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
16004 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16005 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16006 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16007 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16008 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
16009 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
16010 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
16011 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16012 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16013 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
16014 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16015 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16016 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16017 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16018 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16019 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16020 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16021 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16022 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16023 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16024 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16025 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16026 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16027 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16028 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16029 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16030 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16031 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16032 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16033 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16034 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16035 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16036 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
16037 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16038 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16039 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16040 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16041 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16042 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16043 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16044 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16045 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
16046 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16047 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16048 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16049 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
16050 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16051 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
16052 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
16053 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16054 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16055 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
16056 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
16057 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16058 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16059 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16060 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
16061 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16062 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16063 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16064 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16065 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
16066 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
16067 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16068 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16069 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16070 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
16071 * sysdeps/ieee754/k_standard.c: Likewise.
16072 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
16073 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16074 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16075 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16076 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16077 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16078 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16079 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16080 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16081 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16082 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16083 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16084 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16085 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16086 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16087 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16088 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16089 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16090 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16091 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16092 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16093 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16094 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16095 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16096 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16097 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16098 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16099 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16100 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16101 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16102 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16103 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16104 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16105 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16106 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16107 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16108 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16109 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
16110 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
16111 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16112 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16113 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16114 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16115 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16116 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16117 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16118 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16119 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16120 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16121 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16122 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16123 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16124 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16125 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
16126 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16127 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16128 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
16129 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16130 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16131 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16132 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16133 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16134 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16135 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16136 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16137 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16138 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16139 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16140 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16141 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16142 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16143 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16144 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16145 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16146 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16147 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16148 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
16149 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16150 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16151 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16152 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16153 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16154 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16155 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16156 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
16157 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16158 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16159 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16160 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16161 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16162 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
16163 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16164 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
16165 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16166 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16167 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16168 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
16169 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
16170 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
16171 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
16172 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16173 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16174 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16175 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16176 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
16177 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16178 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16179 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
16180 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
16181 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16182 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16183 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16184 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16185 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16186 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16187 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16188 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16189 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16190 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16191 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16192 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16193 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16194 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16195 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16196 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16197 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
16198 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16199 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16200 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16201 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16202 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16203 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16204 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16205 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16206 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16207 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16208 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
16209 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16210 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16211 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
16212 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
16213 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16214 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
16215 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
16216 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16217 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16218 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16219 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16220 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16221 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
16222 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16223 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16224 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16225 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16226 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
16227 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
16228 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16229 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16230 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16231 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16232 * sysdeps/ieee754/s_lib_version.c: Likewise.
16233 * sysdeps/ieee754/s_matherr.c: Likewise.
16234 * sysdeps/ieee754/s_signgam.c: Likewise.
16235 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16236 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16237 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
16238 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
16239 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
16240 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16241 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
16242 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
16243 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
16244 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
16245 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16246 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
16247 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16248 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16249 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
16250 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16251 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16252 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16253 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16254 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16255 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16257 2012-03-09 Joseph Myers <joseph@codesourcery.com>
16259 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
16260 * sunrpc/rpc_main.c: Likewise.
16261 * sunrpc/rpc_svcout.c: Likewise.
16263 2012-03-09 David S. Miller <davem@davemloft.net>
16265 * include/math_private.h: New file.
16267 2012-03-09 Joseph Myers <joseph@codesourcery.com>
16269 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
16270 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
16271 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
16272 from <bits/socket_type.h>.
16273 (enum __socket_type): Don't define here.
16274 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
16275 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16276 bits/socket_type.h.
16279 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
16280 checking __USE_GNU.
16282 * Makerules ($(inst_includedir)/%.h): New rule.
16283 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
16284 (install-others): Remove variable setting.
16285 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
16287 2012-03-08 Richard Henderson <rth@twiddle.net>
16289 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
16290 from macro to inline function; merge with the
16291 !__LIBC_INTERNAL_MATH_INLINES version.
16292 (__ieee754_sqrtf): Likewise.
16294 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
16295 to inline function.
16296 (__rintf, __floor, __floorf): Likewise.
16298 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
16299 macro to inline function.
16300 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
16302 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
16303 not <math/math_private.h>.
16305 2012-03-08 David S. Miller <davem@davemloft.net>
16307 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
16309 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16311 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
16313 * resolv/gai_misc.c (handle_requests): Fix struct timespec
16315 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
16316 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16318 2012-03-08 Ulrich Drepper <drepper@gmail.com>
16320 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
16321 be defined individually, they must be defined as a block. Define
16322 S for printing a string instead of hidint the different by using a
16323 macro for adding the 'l'.
16324 * stdio-common/tst-fphex-wide.c: Adjust.
16326 2012-03-07 Marek Polacek <polacek@redhat.com>
16328 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
16330 2012-03-08 Marek Polacek <polacek@redhat.com>
16333 * stdio-common/Makefile (tests): Add tst-fphex-wide.
16334 * stdio-common/tst-fphex.c: Define a few macros to make the
16335 test reusable. Use them.
16336 * stdio-common/tst-fphex-wide.c: New file.
16338 2012-03-08 Joseph Myers <joseph@codesourcery.com>
16341 * manual/macros.texi (gnusystems): New macro.
16342 (nongnusystems): Likewise.
16343 (gnulinuxhurdsystems): Likewise.
16344 (gnuhurdsystems): Likewise..
16345 (gnulinuxsystems): Likewise.
16346 * manual/charset.texi: Use new macros or @theglibc{} to refer to
16347 variants of the GNU system, not "GNU system".
16348 * manual/conf.texi: Likewise.
16349 * manual/errno.texi: Likewise. Update example of errno macro
16351 * manual/filesys.texi: Likewise.
16352 (getumask): Document as specific to GNU/Hurd.
16353 * manual/install.texi: Likewise. Reword some references to
16355 * manual/intro.texi: Likewise.
16356 * manual/io.texi: Likewise.
16357 (File Name Portability): Detail which constraints are inapplicable
16358 to all GNU systems and which are only inapplicable to GNU/Hurd.
16359 * manual/job.texi: Likewise.
16360 * manual/llio.texi: Likewise.
16361 (O_NOCTTY): Document as present on GNU/Linux.
16362 * manual/maint.texi: Likewise.
16363 * manual/memory.texi: Likewise.
16364 * manual/pattern.texi: Likewise.
16365 * manual/pipe.texi: Likewise.
16366 * manual/process.texi: Likewise.
16367 * manual/resource.texi: Likewise.
16368 (RUSAGE_CHILDREN): Remove statement about specifying a particular
16370 * manual/setjmp.texi: Likewise.
16371 * manual/signal.texi: Likewise.
16372 * manual/startup.texi: Likewise.
16373 * manual/stdio.texi: Likewise.
16374 * manual/terminal.texi: Likewise.
16375 (ONLCR): Document as POSIX.
16376 (OXTABS): Document availability on GNU/Linux as XTABS.
16377 (ONOEOT): Document availability separately from other bits.
16378 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
16379 * manual/time.texi: Likewise.
16380 * manual/users.texi: Likewise.
16381 * INSTALL: Regenerated.
16382 * sysdeps/gnu/errlist.c: Regenerated.
16384 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
16385 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
16386 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
16388 * configure: Regenerated.
16390 2012-03-07 Joseph Myers <joseph@codesourcery.com>
16392 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
16393 default includes instead of AC_HEADER_CHECK.
16394 * sysdeps/i386/configure: Regenerated.
16397 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
16398 * math/s_cacoshf.c (__cacoshf): Likewise.
16399 * math/s_cacoshl.c (__cacoshl): Likewise.
16400 * math/s_casinh.c (__casinh): Set signs of result from argument.
16401 * math/s_casinhf.c (__casinhf): Likewise.
16402 * math/s_casinhl.c (__casinhl): Likewise.
16403 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
16404 (casinh_test): Add more tests.
16405 * sysdeps/i386/fpu/libm-test-ulps: Update.
16406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16408 2012-03-07 Ulrich Drepper <drepper@gmail.com>
16410 * po/zh_TW.po: Update from translation team.
16412 * login/Makefile (distribute): Remove variable.
16413 * catgets/Makefile: Likewise.
16414 * mach/Makefile: Likewise.
16415 * malloc/Makefile: Likewise.
16416 * misc/Makefile: Likewise.
16417 * iconv/Makefile: Likewise.
16418 * nscd/Makefile: Likewise.
16419 * hurd/Makefile: Likewise.
16420 * manual/Makefile: Likewise.
16421 * locale/Makefile: Likewise.
16422 * intl/Makefile: Likewise.
16423 * conform/Makefile: Likewise.
16424 * nss/Makefile: Likewise.
16425 * time/Makefile: Likewise.
16426 * soft-fp/Makefile: Likewise.
16427 * dirent/Makefile: Likewise.
16428 * gmon/Makefile: Likewise.
16429 * po/Makefile: Likewise.
16430 * rt/Makefile: Likewise.
16431 * socket/Makefile: Likewise.
16432 * math/Makefile: Likewise.
16433 * signal/Makefile: Likewise.
16434 * debug/Makefile: Likewise.
16435 * elf/Makefile: Likewise.
16436 * timezone/Makefile: Likewise.
16437 * stdlib/Makefile: Likewise.
16438 * iconvdata/Makefile: Likewise.
16439 * sunrpc/Makefile: Likewise.
16440 * io/Makefile: Likewise.
16441 * argp/Makefile: Likewise.
16442 * inet/Makefile: Likewise.
16443 * hesiod/Makefile: Likewise.
16444 * grp/Makefile: Likewise.
16445 * csu/Makefile: Likewise.
16446 * wctype/Makefile: Likewise.
16447 * crypt/Makefile: Likewise.
16448 * libio/Makefile: Likewise.
16449 * string/Makefile: Likewise.
16450 * nis/Makefile: Likewise.
16451 * resolv/Makefile: Likewise.
16452 * stdio-common/Makefile: Likewise.
16453 * wcsmbs/Makefile: Likewise.
16454 * dlfcn/Makefile: Likewise.
16455 * posix/Makefile: Likewise.
16458 * timezone/Makefile: Don't install timezone files, just the programs
16461 2012-03-06 Ulrich Drepper <drepper@gmail.com>
16463 * nss/databases.def: Add missing gshadow entry.
16465 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
16467 2012-03-06 Marek Polacek <polacek@redhat.com>
16470 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
16471 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16472 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
16473 * stdio-common/tst-long-dbl-fphex.c: New file.
16475 2012-03-06 David S. Miller <davem@davemloft.net>
16477 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16478 (set_obp_int): New function.
16479 (get_obp_int): New function.
16480 (__get_clockfreq_via_dev_openprom): Likewise.
16481 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
16482 Avoid unused variable warnings on 'val' and use builtin_expect.
16483 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
16485 (INLINE_CLONE_SYSCALL): Likewise.
16487 2012-03-05 David S. Miller <davem@davemloft.net>
16489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16491 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
16493 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16495 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
16496 only for |x| >= 40.
16497 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16499 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
16501 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
16502 Replace gettimeofday with __vdso_gettimeofday.
16504 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16505 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
16506 __vdso_clock_gettime and __vdso_getcpu.
16508 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
16509 time with __vdso_time.
16511 2012-03-05 Joseph Myers <joseph@codesourcery.com>
16513 * manual/lang.texi (size_t): Note types to which size_t may be
16514 equivalent with the GNU C Library, but do not describe when
16515 differences between them are significant.
16517 2012-03-05 Andreas Jaeger <aj@suse.de>
16519 * sysdeps/i386/fpu/libm-test-ulps: Update.
16521 2012-03-05 Joseph Myers <joseph@codesourcery.com>
16524 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
16525 (__ieee754_pow): Save and restore rounding mode and use
16526 round-to-nearest for main computations.
16527 * math/libm-test.inc (pow_test_tonearest): New function.
16528 (pow_test_towardzero): Likewise.
16529 (pow_test_downward): Likewise.
16530 (pow_test_upward): Likewise.
16531 (main): Call the new functions.
16532 * sysdeps/i386/fpu/libm-test-ulps: Update.
16533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16536 * math/libm-test.inc (cosh_test_tonearest): New function.
16537 (cosh_test_towardzero): Likewise.
16538 (cosh_test_downward): Likewise.
16539 (cosh_test_upward): Likewise.
16540 (sinh_test_tonearest): Likewise.
16541 (sinh_test_towardzero): Likewise.
16542 (sinh_test_downward): Likewise.
16543 (sinh_test_upward): Likewise.
16544 (main): Call the new functions.
16545 * sysdeps/i386/fpu/libm-test-ulps: Update.
16546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16548 2012-03-05 Tom de Vries <tom@codesourcery.com>
16550 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
16551 default stack guard is set in last bytes.
16552 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
16554 2012-03-05 Kees Cook <keescook@chromium.org>
16556 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
16559 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
16560 possibly allocate from heap instead of stack.
16561 * stdio-common/bug-vfprintf-nargs.c: New file.
16562 * stdio-common/Makefile (tests): Add nargs overflow test.
16564 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
16566 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16568 2012-03-03 Marek Polacek <polacek@redhat.com>
16570 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
16571 * math/math_private.h: Likewise.
16572 * stdlib/tst-strtod.c: Likewise.
16573 * sysdeps/i386/i486/bits/atomic.h: Likewise.
16574 * sysdeps/x86_64/bits/atomic.h: Likewise.
16576 2012-03-02 David S. Miller <davem@davemloft.net>
16578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
16579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
16580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
16581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
16582 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
16583 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
16584 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
16585 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
16587 2012-03-02 Roland McGrath <roland@hack.frob.com>
16590 * manual/examples/README: New file, says the example source files
16591 can be used under GPL>=2.
16592 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
16593 line containing just "*/".
16594 * manual/examples/add.c: Add copyright header (GPL>=2).
16595 * manual/examples/argp-ex1.c: Likewise.
16596 * manual/examples/argp-ex2.c: Likewise.
16597 * manual/examples/argp-ex3.c: Likewise.
16598 * manual/examples/argp-ex4.c: Likewise.
16599 * manual/examples/atexit.c: Likewise.
16600 * manual/examples/db.c: Likewise.
16601 * manual/examples/dir.c: Likewise.
16602 * manual/examples/dir2.c: Likewise.
16603 * manual/examples/execinfo.c: Likewise.
16604 * manual/examples/filecli.c: Likewise.
16605 * manual/examples/filesrv.c: Likewise.
16606 * manual/examples/fmtmsgexpl.c: Likewise.
16607 * manual/examples/genpass.c: Likewise.
16608 * manual/examples/inetcli.c: Likewise.
16609 * manual/examples/inetsrv.c: Likewise.
16610 * manual/examples/isockad.c: Likewise.
16611 * manual/examples/longopt.c: Likewise.
16612 * manual/examples/memopen.c: Likewise.
16613 * manual/examples/memstrm.c: Likewise.
16614 * manual/examples/mkfsock.c: Likewise.
16615 * manual/examples/mkisock.c: Likewise.
16616 * manual/examples/mygetpass.c: Likewise.
16617 * manual/examples/pipe.c: Likewise.
16618 * manual/examples/popen.c: Likewise.
16619 * manual/examples/rprintf.c: Likewise.
16620 * manual/examples/search.c: Likewise.
16621 * manual/examples/select.c: Likewise.
16622 * manual/examples/setjmp.c: Likewise.
16623 * manual/examples/sigh1.c: Likewise.
16624 * manual/examples/sigusr.c: Likewise.
16625 * manual/examples/stpcpy.c: Likewise.
16626 * manual/examples/strdupa.c: Likewise.
16627 * manual/examples/strftim.c: Likewise.
16628 * manual/examples/strncat.c: Likewise.
16629 * manual/examples/subopt.c: Likewise.
16630 * manual/examples/swapcontext.c: Likewise.
16631 * manual/examples/termios.c: Likewise.
16632 * manual/examples/testopt.c: Likewise.
16633 * manual/examples/testpass.c: Likewise.
16634 * manual/examples/timeval_subtract.c: Likewise.
16637 * manual/time.texi (Elapsed Time): Move timeval_subtract example
16639 * manual/timeval_subtract.c.texi: ... here, new file.
16641 2012-03-02 David S. Miller <davem@davemloft.net>
16643 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
16645 2012-03-02 Joseph Myers <joseph@codesourcery.com>
16648 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
16649 (__sin): Save and restore rounding mode and use round-to-nearest
16650 for all computations.
16651 (__cos): Save and restore rounding mode and use round-to-nearest
16652 for all computations.
16653 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
16655 (tan): Save and restore rounding mode and use round-to-nearest for
16657 * math/libm-test.inc (cos_test_tonearest): New function.
16658 (cos_test_towardzero): Likewise.
16659 (cos_test_downward): Likewise.
16660 (cos_test_upward): Likewise.
16661 (sin_test_tonearest): Likewise.
16662 (sin_test_towardzero): Likewise.
16663 (sin_test_downward): Likewise.
16664 (sin_test_upward): Likewise.
16665 (tan_test_tonearest): Likewise.
16666 (tan_test_towardzero): Likewise.
16667 (tan_test_downward): Likewise.
16668 (tan_test_upward): Likewise.
16669 (main): Call the new functions.
16670 * sysdeps/i386/fpu/libm-test-ulps: Update.
16671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16674 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
16675 small n, then large n, before computing and testing k+n.
16676 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16677 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
16679 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
16681 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
16682 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
16683 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
16684 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
16685 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16686 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16687 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
16688 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
16689 * math/libm-test.inc (scalbn_test): Add more tests.
16690 (scalbln_test): Likewise.
16692 * manual/filesys.texi (mode_t): Describe constraints on size and
16693 signedness, not exact equivalence to a particular type.
16695 (ino64_t): Likewise.
16697 (nlink_t): Likewise.
16698 (blkcnt_t): Likewise.
16699 (blkcnt64_t): Likewise.
16700 * manual/llio.texi (off_t): Likewise.
16703 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
16704 (__ieee754_exp): Save and restore rounding mode and use
16705 round-to-nearest for all computations.
16706 * math/libm-test.inc (exp_test_tonearest): New function.
16707 (exp_test_towardzero): Likewise.
16708 (exp_test_downward): Likewise.
16709 (exp_test_upward): Likewise.
16710 (main): Call the new functions.
16711 * sysdeps/i386/fpu/libm-test-ulps: Update.
16712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16714 2012-03-01 Chris Demetriou <cgd@google.com>
16716 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
16717 have predictable order.
16719 2012-03-01 David S. Miller <davem@davemloft.net>
16721 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
16723 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
16724 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
16725 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
16726 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
16728 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
16729 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
16730 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
16731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
16732 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
16733 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
16734 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
16735 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
16736 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
16738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16740 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
16741 * sysdeps/sparc/fpu/libm-test-ulps: to here.
16742 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
16744 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
16745 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16746 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16747 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
16748 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
16749 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
16750 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
16751 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16752 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16753 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
16754 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
16755 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16756 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16757 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16758 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16759 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16760 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
16761 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
16762 * sysdeps/sparc/elf/configure: Regenerated.
16764 2012-03-01 Joseph Myers <joseph@codesourcery.com>
16766 * configure.in (AS, LD): Require binutils 2.20 or later.
16767 * configure: Regenerated.
16768 * manual/install.texi (Tools for Compilation): Give binutils 2.20
16769 as required minimum version.
16770 * INSTALL: Regenerated.
16774 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
16775 before squaring exponent.
16776 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
16777 bottom long double and 27 bits of top long double before squaring
16779 * math/libm-test.inc (erfc_test): Add more tests.
16780 * sysdeps/i386/fpu/libm-test-ulps: Update.
16781 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16784 2012-03-01 Kai Tietz <ktietz@redhat.com>
16786 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
16787 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
16788 containing bit-fields.
16789 * soft-fp/extended.h (_FP_UNION_E): Likewise.
16790 * soft-fp/single.h (_FP_UNION_S): Likewise.
16791 * soft-fp/double.h (_FP_UNION_D): Likewise.
16793 2012-02-29 Joseph Myers <joseph@codesourcery.com>
16796 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
16797 not include ../strcmp.S.
16798 [USE_AS_STRNCASECMP_L]: Likewise.
16799 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
16800 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
16801 * sysdeps/i386/i686/multiarch/strncase_l-c.c
16802 (__strncasecmp_l_ia32): Define as alias to
16803 __strncasecmp_l_nonascii.
16806 * math/libm-test.inc (expm1_test): Add test for bug 5794.
16807 * sysdeps/i386/fpu/libm-test-ulps: Update.
16808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16810 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
16811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16813 2012-02-29 Jeff Law <law@redhat.com>
16815 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
16816 out of bounds read.
16818 2012-02-29 Marek Polacek <polacek@redhat.com>
16821 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
16822 * elf/Makefile: Add rules to run tst-unused-dep.out.
16824 2012-02-28 David S. Miller <davem@davemloft.net>
16826 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
16827 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
16828 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
16829 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
16830 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
16831 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
16833 2012-02-29 Joseph Myers <joseph@codesourcery.com>
16835 * math/libm-test.inc (llround_test): Move one test from
16836 lround_test. Use TEST_f_L in moved test.
16837 (lround_test): Move misplaced test to llround_test. Add testcase
16840 2012-02-28 Ulrich Drepper <drepper@gmail.com>
16842 * sysdeps/x86_64/fpu/e_expf.S: New file.
16843 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
16845 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
16848 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
16849 of remain_len that may cause incomplete multi-byte character and
16851 * posix/bug-regex33.c: New file.
16852 * posix/Makefile (tests): Add bug-regex33.
16854 2012-02-28 Joseph Myers <joseph@codesourcery.com>
16856 * manual/macros.texi: New file.
16857 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
16858 * manual/libc.texinfo: Include macros.texi.
16859 * manual/creatute.texi: Likewise.
16860 * manual/install.texi: Likewise.
16861 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
16862 @glibcadj{} in references to the GNU C Library.
16863 * manual/charset.texi: Likewise.
16864 * manual/conf.texi: Likewise.
16865 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
16866 when not using those macros.
16867 * manual/creature.texi: Likewise.
16868 * manual/crypt.texi: Likewise.
16869 * manual/errno.texi: Likewise.
16870 * manual/filesys.texi: Likewise.
16871 * manual/header.texi: Likewise.
16872 * manual/install.texi: Likewise.
16873 * manual/intro.texi: Likewise.
16874 * manual/io.texi: Likewise.
16875 * manual/job.texi: Likewise.
16876 * manual/lang.texi: Likewise.
16877 * manual/libc.texiinfo: Likewise.
16878 * manual/llio.texi: Likewise.
16879 * manual/locale.texi: Likewise.
16880 * manual/maint.texi: Likewise.
16881 * manual/math.texi: Likewise.
16882 * manual/memory.texi: Likewise.
16883 * manual/message.texi: Likewise.
16884 * manual/nss.texi: Likewise.
16885 * manual/pattern.texi: Likewise.
16886 * manual/process.texi: Likewise.
16887 * manual/resource.texi: Likewise.
16888 * manual/search.texi: Likewise.
16889 * manual/setjmp.texi: Likewise.
16890 * manual/signal.texi: Likewise.
16891 * manual/socket.texi: Likewise.
16892 * manual/startup.texi: Likewise.
16893 * manual/stdio.texi: Likewise.
16894 * manual/string.texi: Likewise.
16895 * manual/sysinfo.texi: Likewise.
16896 * manual/syslog.texi: Likewise.
16897 * manual/terminal.texi: Likewise.
16898 * manual/time.texi: Likewise.
16899 * manual/users.texi: Likewise.
16900 * INSTALL: Regenerated.
16901 * NOTES: Regenerated.
16902 * sysdeps/gnu/errlist.c: Regenerated.
16904 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
16906 * include/dirent.h: Include <dirstream.h> before
16909 2012-02-28 David S. Miller <davem@davemloft.net>
16911 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
16912 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
16913 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
16914 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
16916 2012-02-27 David S. Miller <davem@davemloft.net>
16918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
16919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
16920 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
16921 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
16923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
16924 frame pointer instead of stack pointer relative arg slot.
16925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16926 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16927 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16929 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
16932 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
16934 2012-02-27 David S. Miller <davem@davemloft.net>
16936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
16937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
16940 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16941 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16942 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
16943 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
16945 2012-02-27 Joseph Myers <joseph@codesourcery.com>
16947 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
16948 later. Allow versions 5-9.
16949 * configure: Regenerated.
16950 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
16951 required minimum version and 4.6 as recommended version. Do not
16952 mention bugs in GCC 2.7 and 2.8.
16953 * INSTALL: Regenerated.
16955 2012-02-27 David S. Miller <davem@davemloft.net>
16957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
16958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
16959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
16960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
16961 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
16962 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
16963 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
16964 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
16966 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
16967 manipulate bits before adding and subtracting TWO112[sx].
16968 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16970 2012-02-27 Roland McGrath <roland@hack.frob.com>
16973 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
16974 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
16975 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
16976 being in POSIX, because they are in 1003.1-2008.
16978 * rt/tst-aio.c: Include <fcntl.h>.
16979 * rt/tst-aio7.c: Likewise.
16980 * rt/tst-aio64.c: Likewise.
16982 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
16984 2012-02-27 Joseph Myers <joseph@codesourcery.com>
16986 * manual/install.texi (--with-headers): Describe headers as
16987 interface headers, not private headers.
16988 (Specific advice for GNU/Linux systems): Describe use of headers
16989 from "make headers_install", not private headers from older
16991 * INSTALL: Regenerated.
16992 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
16994 * sysdeps/unix/sysv/linux/configure: Regenerated.
16996 * manual/llio.texi (fclean): Remove documentation.
16998 * manual/Makefile (libc-texi-generated): New variable. Include
17000 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
17001 $(libc-texi-generated), not duplicated list of files.
17002 (version.texi, stamp-version): New rules.
17003 (realclean): Remove $(libc-texi-generated), not individual files
17004 from that list. Do not remove dir-add.texinfo.
17005 * manual/libc.texinfo: Comment out uses of edition numbers and
17006 references to printed manual. Remove last-updated dates.
17007 (EDITION): Comment out.
17009 (VERSION, UPDATED): Remove.
17010 (version.texi): Include.
17012 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
17014 * sysdeps/posix/spawni.c: Include <signal.h>.
17015 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
17016 * sysdeps/pthread/aio_fsync.c: Likewise.
17018 2012-02-26 Ulrich Drepper <drepper@gmail.com>
17020 * conform/Makefile (tests): Run only when not cross-compiling and
17021 when fast-check is not defined.
17023 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
17024 * conform/data/limits.h-data: Fixes for POSIX2008.
17025 * conform/run-conformtest.sh: Run all tests.
17026 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
17028 * include/bits/dlfcn.h: Likewise.
17029 * include/langinfo.h: Likewise.
17030 * include/monetary.h: Likewise.
17031 * include/sys/poll.h: Likewise.
17033 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
17035 * posix/spawn.h: Define __need_sigset_t.
17036 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
17037 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
17038 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
17039 to get sigevent_t only.
17040 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
17041 only for __USE_GNU.
17042 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17043 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17044 process_vm_writev only for __USE_GNU.
17045 * termios/termios.h: Declare tcgetsid also for POSIX2008.
17047 * conform/Makefile: For now ignore errors from run-conformtest.
17048 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
17049 POSIX to avoid namespace pollution. Don't prepend headers.
17050 * conform/data/aio.h-data: Fixes for POSIX testing.
17051 * conform/data/fcntl.h-data: Likewise.
17052 * conform/data/glob.h-data: Likewise.
17053 * conform/data/grp.h-data: Likewise.
17054 * conform/data/pthread.h-data: Likewise.
17055 * conform/data/pwd.h-data: Likewise.
17056 * conform/data/signal.h-data: Likewise.
17057 * conform/data/spawn.h-data: Likewise.
17058 * conform/data/stdio.h-data: Likewise.
17059 * conform/data/stdlib.h-data: Likewise.
17060 * conform/data/stropts.h-data: Likewise.
17061 * conform/data/sys/mman.h-data: Likewise.
17062 * conform/data/sys/stat.h-data: Likewise.
17063 * conform/data/sys/types.h-data: Likewise.
17064 * conform/data/sys/wait.h-data: Likewise.
17065 * conform/data/time.h-data: Likewise.
17066 * conform/data/unistd.h-data: Likewise.
17067 * conform/data/utime.h-data: Likewise.
17069 * io/sys/stat.h: fchmod was always in POSIX.
17070 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
17071 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
17072 * rt/aio.h: Define __need_timespec before including <time.h>.
17073 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
17074 struct. Add forward declaration of pthread_attr_t and use it in
17076 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17077 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17078 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
17079 always remove CLK_TCK definition.
17081 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
17083 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
17085 2012-02-25 Ulrich Drepper <drepper@gmail.com>
17087 * conform/run-conformtest.sh: New file.
17088 * conform/Makefile: Run run-conformtest for tests.
17089 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
17092 * conform/data/uchar.h-data: New file.
17093 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
17094 * conform/data/arpa/inet.h-data: Likewise.
17095 * conform/data/assert.h-data: Likewise.
17096 * conform/data/complex.h-data: Likewise.
17097 * conform/data/cpio.h-data: Likewise.
17098 * conform/data/ctype.h-data: Likewise.
17099 * conform/data/dirent.h-data: Likewise.
17100 * conform/data/dlfcn.h-data: Likewise.
17101 * conform/data/errno.h-data: Likewise.
17102 * conform/data/fcntl.h-data: Likewise.
17103 * conform/data/float.h-data: Likewise.
17104 * conform/data/fmtmsg.h-data: Likewise.
17105 * conform/data/fnmatch.h-data: Likewise.
17106 * conform/data/ftw.h-data: Likewise.
17107 * conform/data/glob.h-data: Likewise.
17108 * conform/data/grp.h-data: Likewise.
17109 * conform/data/iconv.h-data: Likewise.
17110 * conform/data/inttypes.h-data: Likewise.
17111 * conform/data/langinfo.h-data: Likewise.
17112 * conform/data/libgen.h-data: Likewise.
17113 * conform/data/limits.h-data: Likewise.
17114 * conform/data/locale.h-data: Likewise.
17115 * conform/data/math.h-data: Likewise.
17116 * conform/data/monetary.h-data: Likewise.
17117 * conform/data/mqueue.h-data: Likewise.
17118 * conform/data/ndbm.h-data: Likewise.
17119 * conform/data/net/if.h-data: Likewise.
17120 * conform/data/netdb.h-data: Likewise.
17121 * conform/data/netinet/in.h-data: Likewise.
17122 * conform/data/nl_types.h-data: Likewise.
17123 * conform/data/poll.h-data: Likewise.
17124 * conform/data/pthread.h-data: Likewise.
17125 * conform/data/pwd.h-data: Likewise.
17126 * conform/data/regex.h-data: Likewise.
17127 * conform/data/sched.h-data: Likewise.
17128 * conform/data/search.h-data: Likewise.
17129 * conform/data/semaphore.h-data: Likewise.
17130 * conform/data/setjmp.h-data: Likewise.
17131 * conform/data/signal.h-data: Likewise.
17132 * conform/data/spawn.h-data: Likewise.
17133 * conform/data/stdarg.h-data: Likewise.
17134 * conform/data/stdio.h-data: Likewise.
17135 * conform/data/stdlib.h-data: Likewise.
17136 * conform/data/string.h-data: Likewise.
17137 * conform/data/strings.h-data: Likewise.
17138 * conform/data/stropts.h-data: Likewise.
17139 * conform/data/sys/ipc.h-data: Likewise.
17140 * conform/data/sys/mman.h-data: Likewise.
17141 * conform/data/sys/msg.h-data: Likewise.
17142 * conform/data/sys/resource.h-data: Likewise.
17143 * conform/data/sys/select.h-data: Likewise.
17144 * conform/data/sys/sem.h-data: Likewise.
17145 * conform/data/sys/shm.h-data: Likewise.
17146 * conform/data/sys/socket.h-data: Likewise.
17147 * conform/data/sys/stat.h-data: Likewise.
17148 * conform/data/sys/statvfs.h-data: Likewise.
17149 * conform/data/sys/time.h-data: Likewise.
17150 * conform/data/sys/timeb.h-data: Likewise.
17151 * conform/data/sys/times.h-data: Likewise.
17152 * conform/data/sys/types.h-data: Likewise.
17153 * conform/data/sys/uio.h-data: Likewise.
17154 * conform/data/sys/un.h-data: Likewise.
17155 * conform/data/sys/utsname.h-data: Likewise.
17156 * conform/data/sys/wait.h-data: Likewise.
17157 * conform/data/syslog.h-data: Likewise.
17158 * conform/data/tar.h-data: Likewise.
17159 * conform/data/termios.h-data: Likewise.
17160 * conform/data/utime.h-data: Likewise.
17161 * conform/data/utmpx.h-data: Likewise.
17162 * conform/data/varargs.h-data: Likewise.
17163 * conform/data/wchar.h-data: Likewise.
17164 * conform/data/wctype.h-data: Likewise.
17165 * conform/data/wordexp.h-data: Likewise.
17167 * include/stropts.h: New file.
17168 * include/uchar.h: New file.
17169 * include/aio.h: Changes to allow conformtest.pl to use the headers.
17170 * include/assert.h: Likewise.
17171 * include/ctype.h: Likewise.
17172 * include/dirent.h: Likewise.
17173 * include/dlfcn.h: Likewise.
17174 * include/fcntl.h: Likewise.
17175 * include/fnmatch.h: Likewise.
17176 * include/glob.h: Likewise.
17177 * include/grp.h: Likewise.
17178 * include/libio.h: Likewise.
17179 * include/locale.h: Likewise.
17180 * include/math.h: Likewise.
17181 * include/net/if.h: Likewise.
17182 * include/netdb.h: Likewise.
17183 * include/netinet/in.h: Likewise.
17184 * include/pthread.h: Likewise.
17185 * include/pwd.h: Likewise.
17186 * include/regex.h: Likewise.
17187 * include/sched.h: Likewise.
17188 * include/search.h: Likewise.
17189 * include/setjmp.h: Likewise.
17190 * include/signal.h: Likewise.
17191 * include/stdio.h: Likewise.
17192 * include/stdlib.h: Likewise.
17193 * include/string.h: Likewise.
17194 * include/sys/cdefs.h: Likewise.
17195 * include/sys/mman.h: Likewise.
17196 * include/sys/msg.h: Likewise.
17197 * include/sys/resource.h: Likewise.
17198 * include/sys/select.h: Likewise.
17199 * include/sys/socket.h: Likewise.
17200 * include/sys/stat.h: Likewise.
17201 * include/sys/statvfs.h: Likewise.
17202 * include/sys/time.h: Likewise.
17203 * include/sys/times.h: Likewise.
17204 * include/sys/uio.h: Likewise.
17205 * include/sys/utsname.h: Likewise.
17206 * include/sys/wait.h: Likewise.
17207 * include/termios.h: Likewise.
17208 * include/time.h: Likewise.
17209 * include/ulimit.h: Likewise.
17210 * include/unistd.h: Likewise.
17211 * include/utime.h: Likewise.
17212 * include/wchar.h: Likewise.
17213 * include/wctype.h: Likewise.
17214 * include/wordexp.h: Likewise.
17216 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
17218 * time/time.h: TIME_UTC must be a macro.
17219 Make timespec_get available for ISO C11 only as well.
17221 2012-02-24 Ulrich Drepper <drepper@gmail.com>
17223 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
17224 Reported by Peng Haitao <penght@cn.fujitsu.com>.
17226 2012-02-24 Joseph Myers <joseph@codesourcery.com>
17228 * configure.in: Use -o not -a in test for unsupported multi-arch.
17230 2012-02-24 Joseph Myers <joseph@codesourcery.com>
17232 * manual/texinfo.tex: Update to version 2012-01-19.16.
17234 2012-02-24 Joseph Myers <joseph@codesourcery.com>
17236 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
17238 2012-02-24 Roland McGrath <roland@hack.frob.com>
17241 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
17242 * manual/fdl-1.3.texi: New file.
17243 * manual/fdl-1.1.texi: File removed.
17246 * manual/libc.texinfo (FDL_VERSION): New @set.
17247 Use it for mention of FDL in cover text.
17248 (Documentation License): Use it in @include file name.
17250 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17251 Roland McGrath <roland@hack.frob.com>
17254 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
17255 not LONG_LONG_MAX and LONG_LONG_MIN.
17256 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
17257 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
17259 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
17261 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17265 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
17266 manipulate bits before adding and subtracting TWO23[sx].
17267 * math/libm-test.inc (nearbyint_test): Add more tests.
17269 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17272 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
17273 bits before adding and subtracting TWO23[sx].
17274 * math/libm-test.inc (rint_test): Add more tests.
17275 (rint_test_tonearest): Likewise.
17276 (rint_test_towardzero): Likewise.
17277 (rint_test_downward): Likewise.
17278 (rint_test_upward: Likewise.
17280 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17283 * include/stdc-predef.h: New file. Extracted from features.h.
17284 * include/features.h: Include stdc-predef.h.
17285 * Makefile (headers): Add stdc-predef.h.
17286 * CONFORMANCE (Compiler limitations): Update.
17288 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17290 * manual/libc.texinfo (VERSION, UPDATED): Revert.
17292 2012-02-21 David S. Miller <davem@davemloft.net>
17294 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
17295 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17297 2012-02-20 David S. Miller <davem@davemloft.net>
17299 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
17300 using a normal save/restore sequence, rather than allocating a
17301 dummy stack frame just to store a frame pointer and restore.
17302 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17304 2012-02-21 Joseph Myers <joseph@codesourcery.com>
17306 * manual/install.texi: Fix stray word in line-wrapped comment.
17308 2012-02-20 David S. Miller <davem@davemloft.net>
17310 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
17311 both binutils and gcc support GOTDATA.
17313 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
17314 "rd %pc" in the PIC register setup sequences.
17316 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
17317 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
17318 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17319 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
17320 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17321 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17322 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17323 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17324 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
17325 (SYSCALL_ERROR_HANDLER): Likewise.
17326 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17327 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17328 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
17329 (SYSCALL_ERROR_HANDLER): Likewise.
17331 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
17332 (HAVE_GCC_GOTDATA): New.
17333 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
17334 relocation support in both binutils and gcc.
17335 * sysdeps/sparc/elf/configure: Regenerate.
17337 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
17338 * sysdeps/sparc/sparc32/elf/configure: Delete.
17339 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
17340 * sysdeps/sparc/sparc64/elf/configure: Delete.
17341 * sysdeps/sparc/elf/configure.in: New file.
17342 * sysdeps/sparc/elf/configure: Generate.
17344 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
17345 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
17346 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17347 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
17348 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
17350 2012-02-21 Joseph Myers <joseph@codesourcery.com>
17352 * manual/install.texi: Do not mention specific glibc version
17354 * manual/libc.texinfo (VERSION, UPDATED): Update.
17355 (@copying): Use @copyright{} and range of years.
17357 2012-02-21 Joseph Myers <joseph@codesourcery.com>
17360 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
17361 [crti.S not in sysdirs] (generated): Do not append.
17362 [crti.S not in sysdirs] (omit-deps): Likewise.
17363 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
17364 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
17365 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
17366 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
17367 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
17369 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
17370 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
17371 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
17372 * csu/defs.awk: Remove file.
17373 * sysdeps/generic/initfini.c: Likewise.
17374 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
17376 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
17379 2012-02-20 Joseph Myers <joseph@codesourcery.com>
17381 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
17382 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
17383 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
17384 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
17385 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17386 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
17388 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
17389 (__EPOLL_PACKED): Define to empty if not defined by
17391 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
17392 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17395 2012-02-20 Joseph Myers <joseph@codesourcery.com>
17397 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
17398 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
17399 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
17400 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
17402 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
17403 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17406 2012-02-20 Joseph Myers <joseph@codesourcery.com>
17408 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
17410 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17411 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17412 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
17413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17415 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
17417 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17418 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17420 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
17422 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
17423 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
17425 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
17427 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
17430 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
17432 * math/w_acos.c: Use non-signaling floating-point comparisons.
17433 * math/w_acosf.c: Likewise.
17434 * math/w_acosh.c: Likewise.
17435 * math/w_acoshf.c: Likewise.
17436 * math/w_acoshl.c: Likewise.
17437 * math/w_acosl.c: Likewise.
17438 * math/w_asin.c: Likewise.
17439 * math/w_asinf.c: Likewise.
17440 * math/w_asinl.c: Likewise.
17441 * math/w_atanh.c: Likewise.
17442 * math/w_atanhf.c: Likewise.
17443 * math/w_atanhl.c: Likewise.
17444 * math/w_exp2.c: Likewise.
17445 * math/w_exp2f.c: Likewise.
17446 * math/w_exp2l.c: Likewise.
17447 * math/w_j0.c: Likewise.
17448 * math/w_j0f.c: Likewise.
17449 * math/w_j0l.c: Likewise.
17450 * math/w_j1.c: Likewise.
17451 * math/w_j1f.c: Likewise.
17452 * math/w_j1l.c: Likewise.
17453 * math/w_jn.c: Likewise.
17454 * math/w_jnf.c: Likewise.
17455 * math/w_log.c: Likewise.
17456 * math/w_log10.c: Likewise.
17457 * math/w_log10f.c: Likewise.
17458 * math/w_log10l.c: Likewise.
17459 * math/w_log2.c: Likewise.
17460 * math/w_log2f.c: Likewise.
17461 * math/w_log2l.c: Likewise.
17462 * math/w_logf.c: Likewise.
17463 * math/w_logl.c: Likewise.
17464 * math/w_sqrt.c: Likewise.
17465 * math/w_sqrtf.c: Likewise.
17466 * math/w_sqrtl.c: Likewise.
17467 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17468 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
17469 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17470 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17471 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17473 2012-02-19 Joseph Myers <joseph@codesourcery.com>
17476 * manual/string.texi (strnlen): Use correct parameter name in
17477 equivalent expression.
17479 2012-02-19 Joseph Myers <joseph@codesourcery.com>
17482 * manual/users.texi (seteuid): Consistently use neweuid for
17485 2012-02-19 Joseph Myers <joseph@codesourcery.com>
17488 * manual/nss.texi (Services in the NSS configuration): Correct
17489 list of services in example configuration file.
17491 2012-02-19 Nick Bowler <nbowler@draconx.ca>
17494 * manual/arith.texi: Remove statements about negative zero
17495 behaving identically to zero.
17497 2012-02-18 Joseph Myers <joseph@codesourcery.com>
17500 * manual/install.texi: Do not document upgrading from libc5.
17502 2012-02-18 Joseph Myers <joseph@codesourcery.com>
17505 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
17507 2012-02-18 David S. Miller <davem@davemloft.net>
17509 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
17510 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
17511 %o7 across the call.
17512 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
17514 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
17515 SETUP_PIC_REG_LEAF.
17516 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17517 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
17518 * sysdeps/sparc/crtn.S: Likewise.
17520 2012-02-17 Ulrich Drepper <drepper@gmail.com>
17522 * aout/Makefile: Remove.
17524 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
17527 * manual/examples/argp-ex1.c (main): Format definition in GNU
17529 * manual/examples/argp-ex2.c (main): Likewise.
17530 * manual/examples/argp-ex3.c (main): Likewise.
17531 * manual/examples/argp-ex4.c (main): Likewise.
17532 * manual/examples/longopt.c (main): Use new-style prototype
17534 * manual/examples/strncat.c (main): Specify return type and use
17535 (void) for arguments.
17536 * manual/examples/subopt.c (main): Use char **argv argument.
17538 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17541 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
17544 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
17547 * manual/string.texi (strchr): Change when strchrnul is
17550 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
17553 * manual/locale.texi (setlocale): Document LOCPATH.
17555 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17558 * manual/process.texi (execle): Move @dots{} before last argument.
17560 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
17563 * manual/charset.texi (Generic Charset Conversion): Fix typo
17564 (LC_TYPE -> LC_CTYPE).
17566 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
17569 * manual/arith.texi (scalbn): Use @var{} on parameter names.
17570 (scalbnf): Likewise.
17571 (scalbnl): Likewise.
17572 (scalbln): Likewise.
17573 (scalblnf): Likewise.
17574 (scalblnl): Likewise.
17575 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
17576 (vwarnx): Likewise.
17579 * manual/filesys.texi (telldir): Use braces around return type.
17580 * manual/llio.texi (mmap): Add space after comma.
17581 (mmap64): Likewise.
17582 * manual/math.texi (jn): Use @var{} on parameter names.
17588 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
17590 * manual/resource.texi (ulimit): Use @dots{} instead of literal
17592 (sched_get_priority_min): Remove semicolon on @deftypefun line.
17593 (sched_get_priority_max): Likewise.
17594 * manual/signal.texi (sigvec): Add space after comma.
17595 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
17597 (if_indextoname): Likewise.
17598 (if_freenameindex): Likewise.
17599 (sendto): Use ',' instead of '.' in prototype.
17600 * manual/startup.texi (syscall): Use @dots{} instead of literal
17602 * manual/stdio.texi (__fpending): Separate initial words of
17603 paragraph from @deftypefun line.
17604 * manual/syslog.texi (syslog): Use @dots{} instead of literal
17606 (vsyslog): Use @var{} on parameter names.
17607 * manual/terminal.texi (stty): Use @var{} on parameter names.
17608 * manual/users.texi (getutmp): Use @var{} on parameter names.
17609 (getutmpx): Likewise.
17611 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17614 * manual/stdio.texi (fopen): Fix typos in description of
17617 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
17620 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
17621 get clock_id definition.
17623 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
17626 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
17627 (madvise): Cast every argument to void on its own.
17629 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17632 * manual/startup.texi (Exit Status): Fix typo.
17634 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17637 * manual/examples/argp-ex1.c: Include <stdlib.h>.
17638 * manual/examples/argp-ex2.c: Likewise.
17639 * manual/examples/argp-ex3.c: Likewise.
17641 2012-02-16 Richard Henderson <rth@redhat.com>
17643 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
17644 * sysdeps/s390/s390-32/initfini.c: Remove.
17645 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
17646 * sysdeps/s390/s390-64/initfini.c: Remove.
17648 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17650 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
17651 compiler output for sysdeps/generic/initfini.c.
17652 * sysdeps/sh/elf/initfini.c: Remove file.
17654 2012-02-16 David S. Miller <davem@davemloft.net>
17657 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
17659 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
17660 * sysdeps/sparc/crti.S: New file.
17661 * sysdeps/sparc/crtn.S: New file.
17662 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
17663 * sysdeps/sparc/sparc64/Makefile: Likewise.
17665 2012-02-15 Mike Frysinger <vapier@gentoo.org>
17668 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
17670 2012-02-15 Roland McGrath <roland@hack.frob.com>
17673 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
17675 * mach/devstream.c (cookie_io_functions_t): Macro removed.
17676 (write, read, close): Likewise.
17677 Patch by Aurelien Jarno <aurelien@aurel32.net>.
17679 2012-02-15 Joseph Myers <joseph@codesourcery.com>
17681 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
17682 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
17683 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
17684 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
17686 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
17687 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17690 2012-02-14 Marek Polacek <polacek@redhat.com>
17692 * sysdeps/x86_64/crti.S: New file.
17693 * sysdeps/x86_64/crtn.S: New file.
17694 * sysdeps/x86_64/elf/initfini.c: Remove file.
17696 2012-02-13 Joseph Myers <joseph@codesourcery.com>
17698 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
17699 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
17700 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
17701 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
17703 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
17704 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17707 2012-02-13 Joseph Myers <joseph@codesourcery.com>
17709 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
17710 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
17711 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
17712 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
17714 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
17715 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17718 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
17720 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
17721 __feraiseexcept instead of feraiseexcept.
17723 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
17724 nanosleep invocations.
17725 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
17726 strings, and add error checking for a nanosleep invocations.
17728 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
17730 Replace FSF snail mail address with URLs, as per GNU coding standards.
17731 Most of the snail mail addresses were wrong anyway, and omitting
17732 them makes the source code easier to maintain. Almost all of the
17733 changes are to license notices and to locale LC_IDENTIFICATION
17734 addresses, except for this one:
17735 * manual/libc.texinfo: In "Published by", give the FSF's URL,
17736 not its snail mail address.
17738 2012-02-09 Richard Henderson <rth@twiddle.net>
17740 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
17741 of kernel-features.h.
17743 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
17745 2012-02-08 Marek Polacek <polacek@redhat.com>
17747 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
17748 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
17749 * sysdeps/gnu/_G_config.h: Likewise.
17750 * sysdeps/generic/_G_config.h: Likewise.
17752 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
17754 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
17756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17758 * sysdeps/powerpc/powerpc32/crti.S: New file.
17759 * sysdeps/powerpc/powerpc32/crtn.S: New file.
17760 * sysdeps/powerpc/powerpc64/crti.S: New file.
17761 * sysdeps/powerpc/powerpc64/crtn.S: New file.
17763 * Makeconfig (have-initfini): Don't set.
17764 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
17765 * configure.in (nopic_initfini): Don't substitute.
17766 * config.h.in (HAVE_INITFINI): Don't #undef.
17767 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
17768 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
17770 2012-02-08 Joseph Myers <joseph@codesourcery.com>
17772 Support crti.S and crtn.S provided directly by architectures.
17773 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
17774 [crti.S in sysdirs] (omit-deps): Likewise.
17775 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
17776 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
17777 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
17778 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
17779 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
17780 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
17781 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
17782 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
17783 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
17784 compiler output for sysdeps/generic/initfini.c.
17785 * sysdeps/i386/elf/Makefile: Remove file.
17786 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
17788 2012-02-07 Marek Polacek <polacek@redhat.com>
17790 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
17791 * sysdeps/gnu/_G_config.h: Likewise.
17792 * sysdeps/mach/hurd/_G_config.h: Likewise.
17794 2012-02-07 Marek Polacek <polacek@redhat.com>
17796 * math/Makefile (tests): Add tst-CMPLX2.
17797 * math/tst-CMPLX2.c: New file.
17799 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
17801 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17803 * math/libm-test.inc (jn_test): Add missing L suffix.
17805 2012-02-06 Marek Polacek <polacek@redhat.com>
17807 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
17808 * sysdeps/i386/fpu/e_powf.S: Likewise.
17809 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17810 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17811 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17812 * sysdeps/i386/fpu/e_pow.S: Likewise.
17813 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17814 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17815 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17816 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17817 * sysdeps/i386/fpu/e_log2.S: Likewise.
17818 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17819 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17820 * sysdeps/i386/fpu/e_powl.S: Likewise.
17821 * sysdeps/i386/fpu/s_log1p.S: Likewise.
17822 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17823 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17824 * sysdeps/i386/fpu/e_logl.S: Likewise.
17825 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17826 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
17827 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17828 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17829 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17830 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17831 * sysdeps/i386/fpu/e_log.S: Likewise.
17832 * sysdeps/i386/fpu/s_cexp.S: Likewise.
17833 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17834 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
17835 * sysdeps/i386/fpu/e_logf.S: Likewise.
17836 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17837 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17838 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
17839 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17840 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17841 * sysdeps/i386/fpu/e_log10.S: Likewise.
17842 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17843 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17844 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17845 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17846 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17847 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17848 * sysdeps/i386/asm-syntax.h: Likewise.
17849 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17850 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17851 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17852 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
17853 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
17854 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17855 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17856 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17857 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17858 * sysdeps/powerpc/sysdep.h: Likewise.
17859 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
17860 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17862 2012-02-06 Joseph Myers <joseph@codesourcery.com>
17865 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
17867 2012-02-06 Joseph Myers <joseph@codesourcery.com>
17869 * sysdeps/i386/sysdep.h: Include <features.h>.
17870 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
17873 2012-02-05 Joseph Myers <joseph@codesourcery.com>
17875 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
17877 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
17880 2012-02-03 Joseph Myers <joseph@codesourcery.com>
17882 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
17883 (SETUP_PIC_REG): Use GET_PC_THUNK.
17884 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
17887 2012-02-03 Joseph Myers <joseph@codesourcery.com>
17889 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
17890 for non-PIC compilation.
17891 (SETUP_PIC_REG): Add .p2align directive.
17892 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
17893 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
17894 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17895 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17896 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17897 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17898 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
17899 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17900 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17901 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17902 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17903 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17904 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17905 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17906 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17907 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17908 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17909 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17910 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17911 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17912 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17913 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17914 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17915 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17916 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17917 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17918 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17919 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17920 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17921 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17922 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17923 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17924 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17925 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17926 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17927 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17928 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17929 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17930 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17931 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17932 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17934 2012-02-03 Joseph Myers <joseph@codesourcery.com>
17936 * math/tst-CMPLX.c: Include <stdio.h>.
17938 2012-01-31 Joseph Myers <joseph@codesourcery.com>
17940 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
17942 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17943 * sysdeps/sparc/bits/mathdef.h: Likewise.
17945 2012-01-31 Marek Polacek <polacek@redhat.com>
17947 * libio/libio.h: Don't define _PARAMS.
17948 * locale/programs/config.h: Don't define PARAMS.
17949 * stdlib/strtol_l.c: Likewise.
17950 (__strtol_l): Remove PARAMS from the prototype.
17952 2012-01-31 Ulrich Drepper <drepper@gmail.com>
17954 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
17955 names. Just use the correct names. Remove unnecessary wrapper
17957 * malloc/arena.c: Likewise.
17958 * malloc/hooks.c: Likewise.
17960 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
17961 ARENA_TEST says not to. Simplify test for creation of a new arena.
17962 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
17964 2012-01-30 Ulrich Drepper <drepper@gmail.com>
17966 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
17968 (update_get_addr): New function.
17969 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
17970 GET_ADDR_MODULE parameter.
17972 2012-01-30 Joseph Myers <joseph@codesourcery.com>
17974 * crypt/cert.c: Remove __STDC__ conditionals.
17975 * crypt/crypt-entry.c: Likewise.
17976 * crypt/crypt_util.c: Likewise.
17977 * libio/filedoalloc.c: Likewise.
17978 * libio/fileops.c: Likewise.
17979 * libio/genops.c: Likewise.
17980 * libio/iofclose.c: Likewise.
17981 * libio/iofdopen.c: Likewise.
17982 * libio/iofopen.c: Likewise.
17983 * libio/iofopen64.c: Likewise.
17984 * libio/iogetdelim.c: Likewise.
17985 * libio/iopopen.c: Likewise.
17986 * libio/obprintf.c: Likewise.
17987 * libio/oldfileops.c: Likewise.
17988 * libio/oldiofclose.c: Likewise.
17989 * libio/oldiofdopen.c: Likewise.
17990 * libio/oldiofopen.c: Likewise.
17991 * libio/oldiopopen.c: Likewise.
17992 * libio/wfiledoalloc.c: Likewise.
17993 * libio/wgenops.c: Likewise.
17994 * locale/programs/xmalloc.c: Likewise.
17995 * misc/syslog.c: Likewise.
17996 * stdio-common/xbug.c: Likewise.
17997 * string/memchr.c: Likewise.
17998 * string/memcmp.c: Likewise.
17999 * string/memrchr.c: Likewise.
18000 * string/rawmemchr.c: Likewise.
18001 * sysdeps/posix/getcwd.c: Likewise.
18002 * time/strftime_l.c: Likewise.
18004 2012-01-30 Joseph Myers <joseph@codesourcery.com>
18006 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
18007 * config.make.in (config-cflags-sse2avx): Define.
18008 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
18011 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
18013 * scripts/config.guess: Update from upstream config git repository.
18014 * scripts/config.sub: Likewise.
18016 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
18018 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
18020 (R_TILEPRO_*, R_TILEGX_*): New macros.
18022 * scripts/firstversions.awk: Fix bug in version range handling.
18024 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
18026 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
18028 * include/sys/epoll.h: New file.
18029 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
18032 2012-01-28 Ulrich Drepper <drepper@gmail.com>
18034 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
18035 Avoid unnecessary __WORDSIZE == 64 test.
18036 (fmaxf): Use VEX format if possible.
18041 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
18042 * math/math_private.h: Remove libc_fegetround* and
18044 * sysdeps/i386/configure.in: Check for -msse2avx.
18045 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
18046 also if SSE2AVX is defined.
18047 Remove libc_fegetround* and libc_fesetround*.
18048 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
18049 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
18050 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
18052 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18053 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18054 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18055 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18056 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18058 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
18060 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18062 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
18064 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18066 2012-01-27 Ulrich Drepper <drepper@gmail.com>
18069 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
18071 * Makeconfig (libm): Define.
18072 * elf/Makefile: Add rules to build and run tst-relsort1.
18073 * elf/tst-relsort1.c: New file.
18074 * elf/tst-relsort1mod1.c: New file.
18075 * elf/tst-relsort1mod2.c: New file.
18077 2012-01-27 Joseph Myers <joseph@codesourcery.com>
18079 * math/s_ldexp.c: Remove __STDC__ conditionals.
18080 * math/s_ldexpf.c: Likewise.
18081 * math/s_ldexpl.c: Likewise.
18082 * math/s_nextafter.c: Likewise.
18083 * math/s_nexttowardf.c: Likewise.
18084 * math/s_significand.c: Likewise.
18085 * math/s_significandf.c: Likewise.
18086 * math/s_significandl.c: Likewise.
18087 * math/w_jnl.c: Likewise.
18088 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18089 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18090 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18091 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18092 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18093 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18094 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
18095 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18096 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18097 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18098 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18099 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18100 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18101 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18102 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18103 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18104 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18105 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18106 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18107 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18108 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18109 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18110 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18111 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18112 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18113 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18114 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18115 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18116 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18117 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18118 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18119 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18120 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18121 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18122 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18123 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18124 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18125 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18126 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18127 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18128 * sysdeps/ieee754/k_standard.c: Likewise.
18129 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18130 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18131 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18132 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18133 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18134 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18135 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18136 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18137 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18138 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18139 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18140 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18141 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18142 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18143 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18144 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18145 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18146 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18147 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18148 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18149 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18150 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18151 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18152 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18153 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18154 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18155 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18156 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18157 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18158 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18159 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18160 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
18161 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18162 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18163 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18164 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18165 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
18166 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18167 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18168 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
18169 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
18170 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18171 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18172 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
18173 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18174 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18175 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18176 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18177 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18178 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18179 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
18180 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18181 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18182 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18183 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18184 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18185 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
18186 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18187 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18188 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18189 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18190 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18191 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18192 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18193 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18194 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18195 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18196 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18197 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18198 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18199 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18200 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18201 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18202 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18203 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18204 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18205 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18206 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18207 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18208 * sysdeps/ieee754/s_matherr.c: Likewise.
18209 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18210 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18211 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18212 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18214 2012-01-26 Joseph Myers <joseph@codesourcery.com>
18216 * crypt/md5.h: Remove __STDC__ conditionals.
18217 * libio/libioP.h: Likewise.
18218 * locale/programs/config.h: Likewise.
18219 * sysdeps/generic/sysdep.h: Likewise.
18220 * sysdeps/i386/asm-syntax.h: Likewise.
18221 * sysdeps/s390/asm-syntax.h: Likewise.
18222 * sysdeps/unix/sysdep.h: Likewise.
18223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18226 2012-01-26 Joseph Myers <joseph@codesourcery.com>
18228 * libio/libio.h: Remove __STDC__ conditionals.
18229 * malloc/obstack.h: Likewise.
18230 * math/complex.h: Likewise.
18231 * math/math.h: Likewise.
18232 * sysdeps/generic/_G_config.h: Likewise.
18233 * sysdeps/gnu/_G_config.h: Likewise.
18234 * sysdeps/mach/hurd/_G_config.h: Likewise.
18235 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18236 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18237 * sysdeps/sparc/bits/mathdef.h: Likewise.
18239 2012-01-26 Ulrich Drepper <drepper@gmail.com>
18242 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
18243 Clean up HAS_* macros.
18244 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
18245 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
18247 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
18249 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18250 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18251 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18252 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18253 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18255 2012-01-25 Joseph Myers <joseph@codesourcery.com>
18257 * elf/tst-unique3.cc (gets): Remove declaration.
18258 * elf/tst-unique3lib.cc (gets): Likewise.
18259 * elf/tst-unique3lib2.cc (gets): Likewise.
18260 * elf/tst-unique4.cc (gets): Likewise.
18262 2012-01-24 Ulrich Drepper <drepper@gmail.com>
18264 * include/stdio.h: Add C++ protection. Add gets declarations and
18266 * debug/tst-chk1.c: Don't declare gets here.
18267 * stdio-common/tst-gets.c: Likewise.
18269 2012-01-24 Joseph Myers <joseph@codesourcery.com>
18271 * posix/glob: Remove directory.
18273 2012-01-24 Joseph Myers <joseph@codesourcery.com>
18275 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
18277 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
18279 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
18280 of the non-standard EPFNOSUPPORT.
18282 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
18284 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
18285 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
18286 ANYWHERE set to 1 only on KERN_NO_SPACE error.
18288 2012-01-21 Ulrich Drepper <drepper@gmail.com>
18290 * wcsmbs/uchar.h: Test __STDC_VERSION__.
18292 2012-01-20 Ulrich Drepper <drepper@gmail.com>
18294 * nscd/aicache.c (addhstaiX): Do not cache negative results of
18296 * nscd/grpcache.c (cache_addgr): Likewise.
18297 * nscd/hstcache.c (cache_addhst): Likewise.
18298 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18299 * nscd/pwdcache.c (cache_addpw): Likewise.
18300 * nscd/servicescache.c (cache_addserv): Likewise.
18302 2012-01-16 Ulrich Drepper <drepper@gmail.com>
18304 * malloc/malloc.c: Various cleanups.
18305 * malloc/hooks.c: Likewise.
18307 * stdlib/Makefile (tests): Add bug-fmtmsg1.
18308 * stdlib/bug-fmtmsg1.c: New file.
18310 * stdlib/fmtmsg.c (init): Add missing unlock.
18311 Patch by Peng Haitao <penght@cn.fujitsu.com>.
18313 2012-01-12 Marek Polacek <polacek@redhat.com>
18315 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
18318 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18320 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
18321 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
18322 macro to ensure uniqueness of label name.
18323 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18324 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18326 2012-01-11 Ulrich Drepper <drepper@gmail.com>
18328 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
18330 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
18331 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18332 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18333 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
18335 2012-01-10 Ulrich Drepper <drepper@gmail.com>
18337 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
18339 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
18340 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18341 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18343 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
18345 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
18346 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18347 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18348 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
18350 * math/bits/math-finite.h: Add ldexp support.
18352 2012-01-10 Marek Polacek <polacek@redhat.com>
18354 * locale/programs/localedef.h (show_archive_content): Add noreturn
18357 2012-01-09 Ulrich Drepper <drepper@gmail.com>
18359 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
18361 2012-01-08 Ulrich Drepper <drepper@gmail.com>
18363 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
18365 * io/Makefile (headers): Add bits/poll2.h.
18367 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
18369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
18370 typo #include statement.
18372 2012-01-08 Ulrich Drepper <drepper@gmail.com>
18374 * include/sys/cdefs.h: Define __attribute_alloc_size.
18375 * catgets/gencat.c: Add alloc_size attribute and apply consistently
18376 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
18377 * elf/pldd.c: Likewise.
18378 * iconv/iconv_charmap.c: Likewise.
18379 * iconv/iconvconfig.c: Likewise.
18380 * iconv/strtab.c: Likewise.
18381 * locale/programs/locale.c: Likewise.
18382 * locale/programs/localedef.h: Likewise.
18383 * locale/programs/simple-hash.c: Likewise.
18384 * nscd/nscd.h: Likewise.
18385 * nss/makedb.c: Likewise.
18386 * sysdeps/generic/ldconfig.h: Likewise.
18387 * locale/programs/localedef.c: Remove xmalloc prototype.
18388 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
18390 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18392 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
18395 2012-01-08 Ulrich Drepper <drepper@gmail.com>
18397 * math/Makefile (tests): Add tst-CMPLX.
18398 * math/tst-CMPLX.c: New file.
18400 * math/complex.h (CMPLXL): Fix typo.
18402 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
18403 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
18405 * debug/tst-chk1.c: Add poll and ppoll tests.
18406 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
18407 * include/sys/poll.h: Add hidden proto for ppoll.
18408 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
18409 * sysdeps/mach/hurd/ppoll.c: Likewise.
18410 * io/ppoll.c: Likewise.
18411 * debug/poll_chk.c: New file.
18412 * debug/ppoll_chk.c: New file.
18413 * include/bits/poll2.h: New file.
18414 * io/bits/poll2.h: New file.
18417 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
18419 * configure.in: static is always set to yes. Remove.
18420 * config.make.in: Don't set build-static.
18421 * Makeconfig: Remove use of build-static.
18422 * dlfcn/Makefile: Likewise.
18423 * elf/Makefile: Likewise.
18424 * math/Makefile: Likewise.
18425 * misc/Makefile: Likewise.
18426 * nptl/Makefile: Likewise.
18427 * sysdeps/mach/hurd/Makefile: Likewise.
18429 * configure.in: PWD_P is not used anymore.
18430 * config.make.in: Remove PWD_P entry.
18432 * configure.in: Remove last remnants of RANLIB.
18433 No need to check for signed size_t anymore.
18434 Don't set libc_commonpagesize and libc_relro_required here for Alpha
18436 Remove __builtin_expect test because we require at least gcc 3.4.
18437 * aclocal.m4: Likewise.
18439 * wcsmbs/mbrtoc16.c: Implement using towc function.
18440 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
18441 * wcsmbs/wcsmbsload.c: Likewise.
18442 * iconv/gconv_simple.c: Likewise.
18443 * iconv/gconv_int.h: Likewise.
18444 * iconv/gconv_builtin.h: Likewise.
18445 * iconv/iconv_prog.c: Remove CHAR16 handling.
18447 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
18449 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
18451 * configure.in: Remove --with-elf and --enable-bounded options.
18452 Dont set base_machine for ia64. More non-ELF conditions removed.
18453 Remove testing and setting of leading underscore information.
18454 * config.make.in (build-bounded): Set to no.
18455 * config.h.in: Remove NO_UNDERSCORES entry.
18456 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
18458 * csu/start.c: Remove !NO_UNDERSCORE code.
18459 * locale/localeinfo.h: Likewise.
18460 * sysdeps/generic/machine-gmon.h: Likewise.
18461 * sysdeps/generic/sysdep.h: Likewise.
18462 * sysdeps/i386/sysdep.h: Likewise.
18463 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18464 * sysdeps/mach/sysdep.h: Likewise.
18465 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18466 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18467 * sysdeps/sh/sysdep.h: Likewise.
18468 * sysdeps/sparc/sparc32/alloca.S: Likewise.
18469 * sysdeps/unix/i386/sysdep.S: Likewise.
18470 * sysdeps/unix/sparc/start.c: Likewise.
18471 * sysdeps/unix/sparc/sysdep.S: Likewise.
18472 * sysdeps/unix/sparc/sysdep.h: Likewise.
18473 * sysdeps/unix/start.c: Likewise.
18474 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18475 * sysdeps/x86_64/sysdep.h: Likewise.
18477 2012-01-07 Ulrich Drepper <drepper@gmail.com>
18480 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
18482 * argp/argp-fmtstream.h: Use const instead __const.
18483 * argp/argp.h: Likewise.
18484 * assert/assert.h: Likewise.
18485 * bits/fenv.h: Likewise.
18486 * bits/sched.h: Likewise.
18487 * bits/sigset.h: Likewise.
18488 * bits/sigthread.h: Likewise.
18489 * catgets/nl_types.h: Likewise.
18490 * conform/data/pthread.h-data: Likewise.
18491 * crypt/crypt-private.h: Likewise.
18492 * crypt/crypt.h: Likewise.
18493 * crypt/crypt_util.c: Likewise.
18494 * ctype/ctype.h: Likewise.
18495 * debug/execinfo.h: Likewise.
18496 * debug/mbsnrtowcs_chk.c: Likewise.
18497 * debug/mbsrtowcs_chk.c: Likewise.
18498 * debug/wcsnrtombs_chk.c: Likewise.
18499 * debug/wcsrtombs_chk.c: Likewise.
18500 * debug/wcstombs_chk.c: Likewise.
18501 * dirent/dirent.h: Likewise.
18502 * dlfcn/dlfcn.h: Likewise.
18503 * elf/neededtest4.c: Likewise.
18504 * grp/grp.h: Likewise.
18505 * gshadow/gshadow.h: Likewise.
18506 * iconv/gconv.h: Likewise.
18507 * iconv/gconv_int.h: Likewise.
18508 * iconv/gconv_simple.c: Likewise.
18509 * iconv/iconv.h: Likewise.
18510 * iconv/loop.c: Likewise.
18511 * iconv/skeleton.c: Likewise.
18512 * include/aio.h: Likewise.
18513 * include/aliases.h: Likewise.
18514 * include/argz.h: Likewise.
18515 * include/arpa/inet.h: Likewise.
18516 * include/assert.h: Likewise.
18517 * include/dirent.h: Likewise.
18518 * include/dlfcn.h: Likewise.
18519 * include/execinfo.h: Likewise.
18520 * include/fcntl.h: Likewise.
18521 * include/fenv.h: Likewise.
18522 * include/glob.h: Likewise.
18523 * include/grp.h: Likewise.
18524 * include/libintl.h: Likewise.
18525 * include/mntent.h: Likewise.
18526 * include/netdb.h: Likewise.
18527 * include/pwd.h: Likewise.
18528 * include/rpc/netdb.h: Likewise.
18529 * include/sched.h: Likewise.
18530 * include/search.h: Likewise.
18531 * include/shadow.h: Likewise.
18532 * include/signal.h: Likewise.
18533 * include/stdio.h: Likewise.
18534 * include/stdlib.h: Likewise.
18535 * include/string.h: Likewise.
18536 * include/sys/socket.h: Likewise.
18537 * include/sys/stat.h: Likewise.
18538 * include/sys/statfs.h: Likewise.
18539 * include/sys/statvfs.h: Likewise.
18540 * include/sys/syslog.h: Likewise.
18541 * include/sys/time.h: Likewise.
18542 * include/sys/uio.h: Likewise.
18543 * include/time.h: Likewise.
18544 * include/unistd.h: Likewise.
18545 * include/utmp.h: Likewise.
18546 * include/wchar.h: Likewise.
18547 * include/wctype.h: Likewise.
18548 * inet/aliases.h: Likewise.
18549 * inet/arpa/inet.h: Likewise.
18550 * inet/netinet/ether.h: Likewise.
18551 * inet/netinet/in.h: Likewise.
18552 * intl/libintl.h: Likewise.
18553 * io/bits/fcntl2.h: Likewise.
18554 * io/fcntl.h: Likewise.
18555 * io/ftw.h: Likewise.
18556 * io/sys/poll.h: Likewise.
18557 * io/sys/stat.h: Likewise.
18558 * io/sys/statfs.h: Likewise.
18559 * io/sys/statvfs.h: Likewise.
18560 * io/utime.h: Likewise.
18561 * libio/bits/stdio.h: Likewise.
18562 * libio/bits/stdio2.h: Likewise.
18563 * libio/libio.h: Likewise.
18564 * libio/libioP.h: Likewise.
18565 * libio/stdio.h: Likewise.
18566 * locale/lc-ctype.c: Likewise.
18567 * locale/locale.h: Likewise.
18568 * login/utmp.h: Likewise.
18569 * malloc/arena.c: Likewise.
18570 * malloc/malloc.c: Likewise.
18571 * malloc/malloc.h: Likewise.
18572 * malloc/mcheck.c: Likewise.
18573 * malloc/mtrace.c: Likewise.
18574 * math/bits/mathcalls.h: Likewise.
18575 * math/fenv.h: Likewise.
18576 * math/math_private.h: Likewise.
18577 * misc/bits/error.h: Likewise.
18578 * misc/bits/syslog.h: Likewise.
18579 * misc/err.h: Likewise.
18580 * misc/error.h: Likewise.
18581 * misc/fstab.h: Likewise.
18582 * misc/mntent.h: Likewise.
18583 * misc/regexp.h: Likewise.
18584 * misc/search.h: Likewise.
18585 * misc/sgtty.h: Likewise.
18586 * misc/sys/mman.h: Likewise.
18587 * misc/sys/syslog.h: Likewise.
18588 * misc/sys/uio.h: Likewise.
18589 * misc/sys/xattr.h: Likewise.
18590 * misc/ttyent.h: Likewise.
18591 * nis/rpcsvc/ypclnt.h: Likewise.
18592 * nss/nss.h: Likewise.
18593 * posix/bits/unistd.h: Likewise.
18594 * posix/fnmatch.h: Likewise.
18595 * posix/glob.h: Likewise.
18596 * posix/sched.h: Likewise.
18597 * posix/spawn.h: Likewise.
18598 * posix/sys/wait.h: Likewise.
18599 * posix/unistd.h: Likewise.
18600 * posix/wordexp.h: Likewise.
18601 * pwd/pwd.h: Likewise.
18602 * resolv/netdb.h: Likewise.
18603 * resource/sys/resource.h: Likewise.
18604 * rt/aio.h: Likewise.
18605 * rt/bits/mqueue2.h: Likewise.
18606 * rt/mqueue.h: Likewise.
18607 * shadow/shadow.h: Likewise.
18608 * signal/signal.h: Likewise.
18609 * socket/send.c: Likewise.
18610 * socket/sendto.c: Likewise.
18611 * socket/sys/socket.h: Likewise.
18612 * stdio-common/printf.h: Likewise.
18613 * stdlib/bits/stdlib.h: Likewise.
18614 * stdlib/fmtmsg.h: Likewise.
18615 * stdlib/monetary.h: Likewise.
18616 * stdlib/stdlib.h: Likewise.
18617 * stdlib/ucontext.h: Likewise.
18618 * streams/stropts.h: Likewise.
18619 * string/argz.h: Likewise.
18620 * string/bits/string2.h: Likewise.
18621 * string/string.h: Likewise.
18622 * string/strings.h: Likewise.
18623 * sunrpc/rpc/auth.h: Likewise.
18624 * sunrpc/rpc/auth_des.h: Likewise.
18625 * sunrpc/rpc/clnt.h: Likewise.
18626 * sunrpc/rpc/netdb.h: Likewise.
18627 * sunrpc/rpc/pmap_clnt.h: Likewise.
18628 * sunrpc/rpc/xdr.h: Likewise.
18629 * sysdeps/generic/inttypes.h: Likewise.
18630 * sysdeps/generic/net/if.h: Likewise.
18631 * sysdeps/generic/sys/swap.h: Likewise.
18632 * sysdeps/gnu/net/if.h: Likewise.
18633 * sysdeps/gnu/utmpx.h: Likewise.
18634 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
18635 * sysdeps/i386/i486/bits/string.h: Likewise.
18636 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
18637 * sysdeps/s390/bits/string.h: Likewise.
18638 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
18639 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
18640 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
18641 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
18642 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18643 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
18644 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
18645 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
18646 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
18647 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
18648 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
18649 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18650 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
18651 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18652 * sysdeps/unix/sysv/linux/readv.c: Likewise.
18653 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
18654 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18655 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18656 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18657 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18658 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18659 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
18660 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
18661 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
18662 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
18663 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
18664 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
18665 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18666 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
18667 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
18668 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
18669 * sysvipc/sys/ipc.h: Likewise.
18670 * sysvipc/sys/msg.h: Likewise.
18671 * sysvipc/sys/sem.h: Likewise.
18672 * sysvipc/sys/shm.h: Likewise.
18673 * termios/termios.h: Likewise.
18674 * time/sys/time.h: Likewise.
18675 * time/time.h: Likewise.
18676 * wcsmbs/bits/wchar2.h: Likewise.
18677 * wcsmbs/uchar.h: Likewise.
18678 * wcsmbs/wchar.h: Likewise.
18679 * wctype/wctype.h: Likewise.
18682 * Makeconfig: Remove all but ELF support including AIX support.
18683 * Makerules: Likewise.
18684 * config.h.in: Likewise.
18685 * config.make.in: Likewise.
18686 * configure: Likewise.
18687 * configure.in: Likewise.
18688 * csu/Makefile: Likewise.
18689 * csu/version.c: Likewise.
18690 * debug/Makefile: Likewise.
18691 * dlfcn/Makefile: Likewise.
18692 * elf/Makefile: Likewise.
18693 * extra-lib.mk: Likewise.
18694 * iconv/Makefile: Likewise.
18695 * include/libc-symbols.h: Likewise.
18696 * include/shlib-compat.h: Likewise.
18697 * resolv/Makefile: Likewise.
18698 * resolv/res_libc.c: Likewise.
18699 * rt/Makefile: Likewise.
18700 * sysdeps/i386/asm-syntax.h: Likewise.
18701 * sysdeps/i386/sysdep.h: Likewise.
18702 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18703 * sysdeps/mach/sysdep.h: Likewise.
18704 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
18705 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
18706 * sysdeps/s390/asm-syntax.h: Likewise.
18707 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18708 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18709 * sysdeps/sh/sysdep.h: Likewise.
18710 * sysdeps/unix/sparc/sysdep.h: Likewise.
18711 * sysdeps/wordsize-32/divdi3.c: Likewise.
18712 * sysdeps/x86_64/sysdep.h: Likewise.
18714 * argp/Versions: Remove _argp_unlock_xxx.
18717 * abilist/ld.abilist: Update. Adjust for removal of tls option.
18718 * abilist/libBrokenLocale.abilist: Likewise.
18719 * abilist/libanl.abilist: Likewise.
18720 * abilist/libc.abilist: Likewise.
18721 * abilist/libcrypt.abilist: Likewise.
18722 * abilist/libdl.abilist: Likewise.
18723 * abilist/libm.abilist: Likewise.
18724 * abilist/libnsl.abilist: Likewise.
18725 * abilist/libpthread.abilist: Likewise.
18726 * abilist/libresolv.abilist: Likewise.
18727 * abilist/librt.abilist: Likewise.
18728 * abilist/libthread_db.abilist: Likewise.
18729 * abilist/libutil.abilist: Likewise.
18730 * abilist/libnss_db.abilist: New file.
18732 * scripts/abilist.awk: Add support for indirect functions.
18734 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
18736 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
18738 * shlib-versions: Remove entries for ports architectures.
18740 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
18742 * elf/stackguard-macros.h: Remove support for IA-64.
18743 * elf/tst-auditmod1.c: Likewise.
18744 * sysdeps/generic/ldsodefs.h: Likewise.
18746 * sysdeps/unix/sysv/linux/configure.in: Ports should define
18747 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
18751 * configure.in: Remove --enable-omitfp support.
18753 * config.make.in: Likewise.
18754 * Makeconfig: Likewise.
18755 * manual/install.texi: Likewise.
18757 In case anyone cares, the IA-64 architecture could move to ports.
18758 * sysdeps/ia64/*: Removed.
18759 * sysdeps/unix/sysv/linux/ia64/*: Removed.
18760 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
18763 * configure.in: Remove entries for unsupported architectures.
18766 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
18767 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
18769 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
18770 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
18771 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
18772 fall back to using wcrtomb.
18773 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
18774 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
18776 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
18777 * wcsmbs/tst-c16c32-1.c: New file.
18779 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
18782 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
18784 * elf/tst-unique3.cc: Add explicit declaration of gets.
18785 * elf/tst-unique3lib.cc: Likewise.
18786 * elf/tst-unique3lib2.cc: Likewise.
18787 * elf/tst-unique4.cc: Likewise.
18789 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
18791 2012-01-06 Joseph Myers <joseph@codesourcery.com>
18794 * assert/assert.h (static_assert): Don't define for C++.
18795 * libio/stdio.h (gets): Do declare for C++ <= C++11.
18796 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
18798 2012-01-03 Ulrich Drepper <drepper@gmail.com>
18800 * iconv/loop.c (single loop): Fix assertion in storing of
18803 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
18805 2012-01-01 Ulrich Drepper <drepper@gmail.com>
18807 * posix/getconf.c: Update copyright year.
18808 * nss/getent.c: Likewise.
18809 * nss/makedb.c: Likewise.
18810 * iconv/iconvconfig.c: Likewise.
18811 * iconv/iconv_prog.c: Likewise.
18812 * elf/ldconfig.c: Likewise.
18813 * elf/pldd.c: Likewise.
18814 * elf/sotruss.ksh: Likewise.
18815 * catgets/gencat.c: Likewise.
18816 * csu/version.c: Likewise.
18817 * elf/ldd.bash.in: Likewise.
18818 * elf/sprof.c (print_version): Likewise.
18819 * locale/programs/locale.c: Likewise.
18820 * locale/programs/localedef.c: Likewise.
18821 * login/programs/pt_chown.c: Likewise.
18822 * nscd/nscd.c (print_version): Likewise.
18823 * debug/xtrace.sh: Likewise.
18824 * malloc/memusage.sh: Likewise.
18825 * malloc/mtrace.pl: Likewise.
18826 * debug/catchsegv.sh: Likewise.
18828 2011-12-30 Jakub Jelinek <jakub@redhat.com>
18830 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
18833 2011-12-24 Ulrich Drepper <drepper@gmail.com>
18836 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
18837 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
18839 * iconv/gconv_int.h: Likewise.
18840 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
18841 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
18842 from libc for GLIBC_2.16.
18843 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
18844 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
18845 * wcsmbs/uchar.h: Really define mbstate_t.
18846 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
18847 * wcsmbs/c16rtomb.c: New file.
18848 * wcsmbs/mbrtoc16.c: New file.
18849 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
18850 for C/POSIX locale.
18851 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
18852 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
18854 * wcsmbs/wchar.h: Add missing __restrict.
18856 2011-12-23 Ulrich Drepper <drepper@gmail.com>
18859 * time/Makefile (routines): Add timespec_get.
18860 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
18861 * time/time.h: Define TIME_UTC and declare timespec_get. Define
18862 timespec for ISO C11.
18863 * time/timespec_get.c: New file.
18864 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
18865 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
18868 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
18869 * stdlib/stdlib.h: Declare aligned_alloc.
18870 * Versions.def: Add GLIBC_2.16 for libc.
18871 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
18874 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
18877 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
18881 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
18884 * assert/assert.h (static_assert): Define.
18886 * version.h: Update for 2.16 development version.
18889 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
18892 * version.h (RELEASE): Bump for 2.15 release.
18893 * include/features.h (__GLIBC_MINOR__): Bump to 15.
18895 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
18896 Patch by Marek Polacek <mpolacek@redhat.com>.
18898 * bits/byteswap.h: Protect long long constants with __extension__.
18899 * sysdeps/i386/bits/byteswap.h: Likewise.
18900 * sysdeps/ia64/bits/byteswap.h: Likewise.
18901 * sysdeps/s390/bits/byteswap.h: Likewise.
18902 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18904 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18907 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
18908 destination buffer.
18909 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
18911 2011-12-23 Marek Polacek <polacek@redhat.com>
18913 * elf/dl-addr.c (determine_info): Add inline keyword.
18914 * elf/tst-auditmod4b.c (check_avx): Likewise.
18915 * elf/tst-auditmod6b.c (check_avx): Likewise.
18916 * elf/tst-auditmod6c.c (check_avx): Likewise.
18917 * elf/tst-auditmod7b.c (check_avx): Likewise.
18919 2011-12-23 Ulrich Drepper <drepper@gmail.com>
18921 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
18924 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18927 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
18928 processing for last bytes.
18930 2011-08-06 Bruno Haible <bruno@clisp.org>
18933 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
18934 U+0385, not to U+1FEE.
18937 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
18938 entry for U+00A5 U+0301.
18940 2011-12-22 Ulrich Drepper <drepper@gmail.com>
18943 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
18944 buffer for the output is too small.
18946 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
18950 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
18951 SSE flags if possible.
18953 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18956 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
18957 processing for last bytes.
18959 2011-12-22 Joseph Myers <joseph@codesourcery.com>
18961 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
18962 (syscall-list-default-options, syscall-list-default-condition)
18963 (syscall-list-includes): Define.
18964 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
18965 list of ABIs and options and #if conditions for each ABI. Do not
18966 handle common syscalls between ABIs specially.
18967 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
18969 (syscall-list-variants, syscall-list-32bit-options)
18970 (syscall-list-32bit-condition, syscall-list-64bit-options)
18971 (syscall-list-64bit-condition): Define.
18972 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
18973 (syscall-list-variants, syscall-list-32bit-options)
18974 (syscall-list-32bit-condition, syscall-list-64bit-options)
18975 (syscall-list-64bit-condition): Define.
18976 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
18978 (syscall-list-variants, syscall-list-32bit-options)
18979 (syscall-list-32bit-condition, syscall-list-64bit-options)
18980 (syscall-list-64bit-condition): Define.
18981 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
18983 (syscall-list-variants, syscall-list-32bit-options)
18984 (syscall-list-32bit-condition, syscall-list-64bit-options)
18985 (syscall-list-64bit-condition): Define.
18987 2011-12-22 Ulrich Drepper <drepper@gmail.com>
18989 * locale/iso-639.def: Add brx entry.
18992 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
18993 Proposed by Mariusz_Cukr <marcukr@op.pl>.
18995 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
18996 __feraiseexcept_renamed.
18998 2011-12-21 Ulrich Drepper <drepper@gmail.com>
19001 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
19002 EPOLLET with unsigned values.
19003 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19004 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19006 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
19007 to large cancellation.
19008 * math/s_cacoshf.c: Likewise.
19009 * math/s_cacoshl.c: Likewise.
19011 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
19015 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
19016 * math/s_cacoshf.c: Likewise.
19017 * math/s_cacoshl.c: Likewise.
19019 2011-12-21 Ulrich Drepper <drepper@gmail.com>
19022 * iconv/gconv.h: Define __GCONV_SWAP.
19023 * iconvdata/unicode.c: The swap bit must be stored in __flags.
19024 * iconvdata/utf-16.c: Likewise.
19025 * iconvdata/utf-32.c: Likewise.
19027 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
19030 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
19031 numerator after shifting it by one limb.
19033 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
19035 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
19036 under [__USE_EXTERN_INLINES].
19038 2011-12-17 Ulrich Drepper <drepper@gmail.com>
19041 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
19043 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19045 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
19046 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
19048 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
19049 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
19050 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
19051 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
19052 for strncasecmp/strncasecmp_l compilation.
19053 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
19054 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
19056 2011-12-08 Marek Polacek <mpolacek@redhat.com>
19059 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
19062 2011-12-17 Ulrich Drepper <drepper@gmail.com>
19065 * time/tzfile.c (__tzfile_read): Check values from file header.
19067 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19069 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
19070 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
19071 * powerpc/powerpc32/dl-start.S: Likewise.
19072 * powerpc/powerpc32/elf/start.S: Likewise.
19073 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19074 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
19075 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
19076 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
19077 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19078 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
19079 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
19080 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19081 * powerpc/powerpc32/fpu/s_round.S: Likewise.
19082 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19083 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19084 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19085 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19086 * powerpc/powerpc32/memset.S: Likewise.
19087 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19088 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19089 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19090 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19091 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19092 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19093 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19094 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19095 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
19096 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
19097 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
19098 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19099 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19101 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19103 * math/libm-test.inc: Added more nearbyint tests.
19104 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
19105 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
19106 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
19107 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
19109 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
19111 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
19114 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19116 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
19117 Add wcscpy-ssse3 wcscpy-c.
19118 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
19119 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
19120 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
19121 * sysdeps/x86_64/wcschr.S: New file.
19122 * sysdeps/x86_64/wcsrchr.S: New file.
19123 * string/test-strcmp.c: Remove checking of wcscmp function for
19125 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
19126 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
19127 wcsrchr-sse2 wcsrchr-c.
19128 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
19129 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
19130 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
19131 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
19132 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
19133 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
19134 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
19135 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
19136 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
19137 * wcsmbc/wcschr.c (WCSCHR): New macro.
19139 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19141 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
19142 * wcsmbs/test-wcsrchr.c: New file.
19143 * string/test-strrchr.c: Add wcsrchr support.
19145 * wcsmbs/test-wcscpy.c: New file.
19146 * string/test-strcpy.c: Add wcscpy support.
19149 2011-12-10 Ulrich Drepper <drepper@gmail.com>
19151 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
19154 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
19157 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
19159 2011-12-04 Ulrich Drepper <drepper@gmail.com>
19161 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
19162 Minor optimizations.
19164 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
19165 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
19166 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
19168 2011-12-03 Ulrich Drepper <drepper@gmail.com>
19170 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
19171 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
19172 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
19173 for gcc to avoid warnings.
19174 * inet/Makefile (tests): Add tst-checks.
19175 * inet/tst-checks.c: New file.
19177 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
19180 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
19183 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
19184 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
19186 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
19188 2011-12-02 Ulrich Drepper <drepper@gmail.com>
19190 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
19193 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
19195 2011-11-29 Joseph Myers <joseph@codesourcery.com>
19197 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
19198 conditional on GCC version.
19199 (__arch_compare_and_exchange_val_8_acq)
19200 (__arch_compare_and_exchange_val_16_acq)
19201 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
19202 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
19203 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
19205 2011-12-02 Joseph Myers <joseph@codesourcery.com>
19207 * sysdeps/sh/backtrace.c: New file.
19209 2011-12-02 Andreas Schwab <schwab@redhat.com>
19211 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
19214 2011-12-01 Andreas Schwab <schwab@redhat.com>
19216 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
19217 falling back to utime.
19219 2011-11-30 Andreas Schwab <schwab@redhat.com>
19221 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
19222 expectations for float.
19224 2011-11-29 Andreas Schwab <schwab@redhat.com>
19226 * locale/weight.h (findidx): Add parameter len.
19227 * locale/weightwc.h (findidx): Likewise.
19228 * posix/fnmatch_loop.c (FCT): Adjust caller.
19229 * posix/regcomp.c (build_equiv_class): Likewise.
19230 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
19231 * posix/regexec.c (check_node_accept_bytes): Likewise.
19232 * string/strcoll_l.c (STRCOLL): Likewise.
19233 * string/strxfrm_l.c (STRXFRM): Likewise.
19235 2011-11-17 Ulrich Drepper <drepper@gmail.com>
19237 * Makefile.in: Remove CVSOPT handling.
19238 * configure.in: Remove use of AC_REVISION.
19239 * iconvdata/Makefile (distribute): No need to filter out CVS.
19240 * scripts/list-sources.sh: Remove CVS, subversion and monotone
19243 2011-11-16 Andreas Schwab <schwab@redhat.com>
19245 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
19246 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
19247 [USE_AS_STRNCASECMP_L]: Likewise.
19248 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
19249 NO_TLS_DIRECT_SEG_REFS.
19250 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
19251 Fix argument offsets for non-PIC.
19252 [USE_AS_STRNCASECMP_L]: Likewise.
19253 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
19254 NO_TLS_DIRECT_SEG_REFS.
19256 2011-11-15 Ulrich Drepper <drepper@gmail.com>
19258 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
19260 * locale/loadlocale.c (_nl_load_locale): Likewise.
19262 2011-11-15 Andreas Schwab <schwab@redhat.com>
19264 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
19265 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
19266 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
19267 (SYSCALL_GETTIME): Set errno on error.
19269 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
19270 count references to noai6ai_cached.
19272 2011-11-15 Ulrich Drepper <drepper@gmail.com>
19274 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
19276 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
19277 FD_CLOEXEC for /proc/self/maps.
19279 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
19280 FD_CLOEXEC for /proc/meminfo.
19282 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
19285 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
19286 FD_CLOEXEC for given file.
19288 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
19290 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
19291 FD_CLOEXEC for /etc/hosts.
19292 (_gethtent): Likewise.
19294 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
19296 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
19297 cancellation and set FD_CLOEXEC for /etc/netgroup.
19299 * nss/nss_files/files-key.c (search): Don't allow cancellation when
19300 reading /etc/publickey.
19302 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
19303 allow cancellation when reading /etc/group.
19305 * nss/nss_files/files-alias.c (internal_setent): Don't allow
19307 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
19309 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
19310 when using data file.
19312 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
19314 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
19315 (write_nis_obj): Use "c" and "e" in fopen.
19317 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
19319 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
19321 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
19323 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
19325 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
19328 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
19330 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
19332 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
19334 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
19335 file parsing and set FD_CLOEXEC.
19337 2011-11-14 Ulrich Drepper <drepper@gmail.com>
19339 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
19341 2011-11-14 Andreas Schwab <schwab@redhat.com>
19343 * malloc/arena.c (arena_get2): Don't call reused_arena when
19344 _int_new_arena failed.
19346 2011-11-14 Ulrich Drepper <drepper@gmail.com>
19348 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
19349 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
19350 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
19351 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19352 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19353 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
19354 to compile strcasecmp and strncasecmp.
19355 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
19356 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
19358 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
19360 2011-11-13 Ulrich Drepper <drepper@gmail.com>
19362 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
19363 locale-defines.sym to gen-as-const-headers.
19364 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
19365 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
19366 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
19367 to compile strcasecmp and strncasecmp.
19368 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
19369 strcasecmp_l and strncasecmp_l.
19370 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
19371 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
19372 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
19373 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
19374 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
19375 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
19376 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
19377 * sysdeps/i386/i686/multiarch/strncase.S: New file.
19378 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
19379 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
19380 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
19382 2011-11-12 Ulrich Drepper <drepper@gmail.com>
19384 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
19385 result of SYSDEP_GETTIME_CPU to retval.
19386 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
19387 parameter list to macro. Remove trailing semicolon. Adjust users.
19389 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
19392 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
19394 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19396 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
19397 from unused variable.
19399 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
19401 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
19404 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
19407 * sunrpc/rpc_prot.c (rejected): Fix case value.
19409 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
19410 unsigned long long int to avoid warnings in shift.
19412 * posix/regex_internal.c (re_string_reconstruct): Actually use result
19414 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
19417 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
19418 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
19419 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
19421 * nis/nis_table.c (nis_list): Use variable of correct type for
19422 result of __follow_path call.
19424 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19426 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
19427 of math functions ceil, trunc, floor, round, and sqrt, when
19428 avaliable on the platform.
19429 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
19431 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19432 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19433 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19435 2011-10-30 Marek Polacek <mpolacek@redhat.com>
19437 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
19438 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19440 2011-11-11 Roland McGrath <roland@hack.frob.com>
19442 * include/unistd.h: Fix __readlink return type.
19443 Reported by Chris Metcalf <cmetcalf@tilera.com>.
19445 2011-11-11 Ulrich Drepper <drepper@gmail.com>
19447 * stdlib/ucontext.h: Undo last change for makecontext.
19449 2011-11-11 Andreas Schwab <schwab@redhat.com>
19451 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
19453 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
19454 * setjmp/setjmp.h: Mark functions as non-leaf.
19455 * setjmp/bits/setjmp2.h: Likewise.
19456 * stdlib/ucontext.h: Likewise.
19458 2011-11-10 Andreas Schwab <schwab@redhat.com>
19460 * malloc/arena.c (_int_new_arena): Don't increment narenas.
19461 (reused_arena): Don't check arena limit.
19462 (arena_get2): Atomically check arena limit.
19464 2011-11-08 Ulrich Drepper <drepper@gmail.com>
19466 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
19467 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
19469 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
19472 2011-11-07 Andreas Schwab <schwab@redhat.com>
19474 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
19475 handler when locking.
19477 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19478 Fix size of allocated buffer.
19480 2011-11-04 Andreas Schwab <schwab@redhat.com>
19483 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
19484 declarations for long double functions.
19485 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
19487 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
19489 2011-11-03 Andreas Schwab <schwab@redhat.com>
19491 * nscd/nscd.c (main): Don't start AVC thread until credentials are
19494 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
19497 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19499 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
19501 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
19503 * include/alloca.h (stackinfo_alloca_round): Define.
19504 (extend_alloca): Use it.
19505 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
19506 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
19509 * scripts/check-local-headers.sh: Ignore libaudit.h.
19511 * nscd/Makefile (extra-objs): Make recursively expanded.
19513 2011-11-01 Ulrich Drepper <drepper@gmail.com>
19515 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
19516 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19518 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
19519 * posix/tst-rfc3484-2.c: Likewise.
19520 * posix/tst-rfc3484-3.c: Likewise.
19522 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19524 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
19526 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
19527 process_vm_writev from libc using GLIBC_2.15 version.
19529 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
19531 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
19533 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
19536 2011-10-31 Ulrich Drepper <drepper@gmail.com>
19539 * nss/getent.c (initgroups_keys): Show error message in case no group
19542 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
19543 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
19544 __bump_nl_timestamp.
19545 * nscd/connections (nscd_init): When host database is served open
19546 netlink socket and request notification about configuration changes.
19547 (main_loop_poll): Track netlink file descriptor and bump timestamp
19548 in case data becomes available.
19549 (main_loop_epoll): Likewise.
19550 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
19551 (database_pers_head): Add extra_data fileds.
19552 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
19553 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
19554 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
19556 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
19557 in6ai data, call __free_in6ai.
19558 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
19559 Add -DHAVE_NETLINK.
19560 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
19561 interface information. Reuse previous data if netlink timestamp
19563 (__bump_nl_timestamp): New function.
19564 (__free_in6ai): New function.
19566 2011-10-30 Ulrich Drepper <drepper@gmail.com>
19568 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
19569 close_not_cancel_no_status here.
19570 (__check_pf): Reorganize code a bit to not call close twice if OOM.
19572 2011-10-29 Ulrich Drepper <drepper@gmail.com>
19575 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
19578 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
19579 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
19580 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
19582 2011-07-03 Andreas Jaeger <aj@suse.de>
19585 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
19586 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
19587 * math/libm-test.inc (sin_test): Add test case.
19589 2011-10-29 Ulrich Drepper <drepper@gmail.com>
19592 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
19593 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19595 * elf/chroot_canon.c (chroot_canon): Cleanups.
19597 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
19600 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
19601 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19603 * string/test-strchr.c: Make usable for strchrnul testing.
19604 * string/test-strchrnul.c: New file.
19605 * string/Makefile (strop-tests): Add strchrnul.
19607 * po/it.po: Update from translation team.
19608 * po/es.po: Likewise.
19610 2011-10-28 Ulrich Drepper <drepper@gmail.com>
19612 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
19613 the three constants needed as parameters. Drop the others.
19614 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
19615 __m128i_strloadu_tolower.
19616 Create and initialize variable zero and use it in all the places
19617 where _mm_setzero_si128 was used.
19619 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
19620 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
19621 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
19622 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
19624 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
19625 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
19626 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
19627 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
19628 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
19629 __mpranred, __mptan.
19630 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
19631 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
19632 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
19633 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
19634 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
19635 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
19636 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
19637 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
19638 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
19640 2011-10-28 Andreas Schwab <schwab@redhat.com>
19642 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
19643 redefine if SHARED.
19644 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
19646 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
19647 wide char related routines to wcsmbs subdir.
19649 2011-10-27 Andreas Schwab <schwab@redhat.com>
19652 * misc/sys/cdefs.h (__THROWNL): Define.
19653 * posix/unistd.h: Use __THREADNL instead of __THREAD
19654 for memory synchronization functions.
19656 2011-10-26 Roland McGrath <roland@hack.frob.com>
19659 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
19661 * manual/stdio.texi (Obstack Streams): Node removed.
19663 2011-10-26 Andreas Schwab <schwab@redhat.com>
19665 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
19666 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19667 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19669 * math/math_private.h (math_force_eval): Allow non-addressable
19671 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
19673 2011-10-25 Ulrich Drepper <drepper@gmail.com>
19675 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
19676 file is not needed.
19678 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
19679 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
19680 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19681 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19682 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19683 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19684 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19685 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
19687 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
19688 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
19689 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
19690 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
19691 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
19692 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
19693 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
19694 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
19695 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
19696 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
19697 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
19698 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
19699 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
19700 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
19701 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
19702 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
19703 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
19704 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
19705 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
19707 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
19708 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
19710 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
19711 place. Use VEX encoding when compiling for AVX.
19713 2011-10-25 Andreas Schwab <schwab@redhat.com>
19715 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
19716 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19718 * string/test-strchr.c (do_test): Don't generate NUL bytes.
19720 2011-10-25 Ulrich Drepper <drepper@gmail.com>
19722 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
19723 useless if() expression.
19724 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19725 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19726 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19727 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19728 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19729 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19730 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19731 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19732 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19733 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19734 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19735 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19736 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19737 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19738 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19739 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19740 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19741 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19742 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19744 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
19746 2011-10-25 Andreas Schwab <schwab@redhat.com>
19748 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
19750 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19752 2011-10-25 Ulrich Drepper <drepper@gmail.com>
19754 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
19755 .text section. Avoid duplicate constants.
19756 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19757 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19758 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19759 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19760 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19761 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19762 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19763 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19764 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19765 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
19766 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19767 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19768 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19769 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19770 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19771 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19772 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19773 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19774 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19775 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19776 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19777 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19778 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19779 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
19780 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
19781 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
19782 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
19783 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
19784 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
19785 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
19786 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
19787 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
19788 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19789 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
19790 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
19791 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
19792 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
19793 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
19794 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
19795 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
19796 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
19797 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
19798 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
19799 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19800 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
19802 2011-10-24 Ulrich Drepper <drepper@gmail.com>
19804 * sysdeps/x86_64/dla.h: Move to ...
19805 * sysdeps/x86_64/fpu/dla.h: ...here.
19806 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
19807 situations. Use __builtin_fma only for gcc 4.6 and up.
19809 * config.make.in: Add have-mfma4 entry.
19810 * configure.in: Substitute libc_cv_cc_fma4.
19811 * math/Makefile (dbl-only-routines): Add sincostab.
19812 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
19813 Use __sincostab not sincos.
19814 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
19816 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19817 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19818 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19819 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
19821 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
19822 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
19823 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
19824 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
19826 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
19827 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
19829 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
19830 define aliases when function name is a macro.
19831 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
19832 sysdeps/ieee754/dbl-64/sincos.tbl.
19833 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
19834 fma4-enabled routines.
19835 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
19836 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
19837 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
19838 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
19839 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
19840 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
19841 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
19842 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
19843 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
19844 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
19845 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
19846 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
19847 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
19848 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
19849 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
19850 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
19851 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
19852 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
19853 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
19854 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
19855 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
19856 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
19857 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
19858 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
19859 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
19860 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
19861 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
19862 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
19863 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
19864 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
19866 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
19868 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19869 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19870 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19871 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19872 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19873 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19874 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19875 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19877 2011-10-24 Andreas Schwab <schwab@redhat.com>
19879 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
19881 2011-10-23 Ulrich Drepper <drepper@gmail.com>
19883 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
19885 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
19887 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
19889 * string/strnlen.c: Don't define STRNLEN, reverse logic.
19890 Remove unused variable magic_bits.
19891 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
19893 * string/strnlen.c: Define and use STRNLEN macro.
19894 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
19895 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
19896 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
19897 * wcsmbs/wcslen.c: Define and use WCSLEN.
19898 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
19899 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
19900 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
19901 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
19902 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
19903 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
19904 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19906 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19908 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19909 strnlen-sse2-no-bsf.
19910 Rename strlen-no-bsf to strlen-sse2-no-bsf.
19911 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
19912 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
19913 Add strnlen support.
19914 (USE_AS_STRNLEN): New macro.
19915 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
19916 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
19917 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
19918 * sysdeps/x86_64/wcslen.S: New file.
19920 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
19922 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
19923 XMM-moves are used for copying on small sizes.
19925 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19927 * wcsmbs/Makefile (strop-tests): Add wcschr.
19928 * wcsmbs/test-wcschr.c: New file.
19929 * string/test-strchr.c: Update.
19930 Add wcschr support.
19933 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19935 * wcsmbs/Makefile (strop-tests): Add wcslen.
19936 * wcsmbs/test-wcslen.c: New file.
19937 * string/test-strlen.c: Update.
19938 Add wcslen support.
19941 2011-10-23 Ulrich Drepper <drepper@gmail.com>
19943 * po/it.po: Update from translation team.
19945 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19947 * sysdeps/x86_64/wcscmp.S: Update.
19948 Fix wrong comparison semantics.
19949 wcscmp shall use signed comparison not unsigned.
19950 Don't use substraction to avoid overflow bug.
19951 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
19952 * wcsmbc/wcscmp.c: Likewise.
19953 * string/test-strcmp.c: Likewise.
19954 Add new tests to check cases with negative values.
19956 2011-10-23 Ulrich Drepper <drepper@gmail.com>
19958 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
19959 * sysdeps/x86_64/dla.h: ...here. New file.
19960 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
19961 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19962 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19963 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19964 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19965 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19966 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19967 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19968 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19970 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
19972 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
19973 __ynl_finite aliases.
19975 2011-10-22 Ulrich Drepper <drepper@gmail.com>
19977 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19979 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
19981 [DLA_FMA] (EMULV): Use DLA_FMA.
19982 [DLA_FMA] (MUL12): Use EMULV.
19983 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
19984 that are not needed.
19985 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19986 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19987 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19988 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19989 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19990 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19991 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19993 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
19995 * math/s_nan.c: Undef __nan.
19996 * math/s_nanf.c: Undef __nanf.
19997 * math/s_nanl.c: Undef __nanl.
19998 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
20001 2011-10-22 Ulrich Drepper <drepper@gmail.com>
20003 * math/s_catan.c: Add branch predictions.
20004 * math/s_catanf.c: Likewise.
20005 * math/s_catanh.c: Likewise.
20006 * math/s_catanhf.c: Likewise.
20007 * math/s_catanhl.c: Likewise.
20008 * math/s_catanl.c: Likewise.
20009 * math/s_cexp.c: Likewise.
20010 * math/s_cexpf.c: Likewise.
20011 * math/s_cexpl.c: Likewise.
20012 * math/s_clog.c: Likewise.
20013 * math/s_clog10.c: Likewise.
20014 * math/s_clog10f.c: Likewise.
20015 * math/s_clog10l.c: Likewise.
20016 * math/s_clogf.c: Likewise.
20017 * math/s_clogl.c: Likewise.
20018 * math/s_csqrt.c: Likewise.
20019 * math/s_csqrtf.c: Likewise.
20020 * math/s_csqrtl.c: Likewise.
20021 * math/s_ctanf.c: Likewise.
20022 * math/s_ctanh.c: Likewise.
20023 * math/s_ctanhf.c: Likewise.
20024 * math/s_ctanhl.c: Likewise.
20025 * math/s_ctanl.c: Likewise.
20027 * math/math_private.h: Define __nan, __nanf, __nanl.
20028 * math/s_cacosh.c: Include <math_private.h>.
20029 * math/s_cacoshl.c: Likewise.
20030 * math/s_casinh.c: Likewise.
20031 * math/s_casinhf.c: Likewise.
20032 * math/s_casinhl.c: Likewise.
20033 * math/s_ccos.c: Rely entire on ccosh.
20034 * math/s_ccosf.c: Rely entire on ccoshf.
20035 * math/s_ccosl.c: Rely entirely on ccoshl.
20036 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
20037 Remove tests for FE_INVALID.
20038 * math/s_ccoshf.c: Likewise.
20039 * math/s_ccoshl.c: Likewise.
20040 * math/s_csin.c: Likewise.
20041 * math/s_csinf.c: Likewise.
20042 * math/s_csinh.c Likewise.
20043 * math/s_csinhf.c: Likewise.
20044 * math/s_csinhl.c: Likewise.
20045 * math/s_csinl.c: Likewise.
20046 * math/s_ctan.c: Likewise.
20047 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
20048 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
20049 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
20051 2011-10-21 Ulrich Drepper <drepper@gmail.com>
20053 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
20054 compilation problems.
20056 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
20059 2011-10-20 Ulrich Drepper <drepper@gmail.com>
20061 * sysdeps/i386/configure.in: Test for -mfma4 option.
20062 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
20063 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
20064 COMMON_CPUID_INDEX_80000001.
20065 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
20066 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
20067 use it if FMA3 is not supported.
20068 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
20070 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
20071 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20073 2011-10-20 Andreas Schwab <schwab@redhat.com>
20076 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
20077 it would create a cycle with a link time dependency.
20079 2011-10-19 Ulrich Drepper <drepper@gmail.com>
20081 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
20083 * string/Makefile (strop-tests): Add rawmemchr.
20084 * string/test-rawmemchr.c: New file.
20086 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
20087 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
20088 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
20089 when compiling str{,n}casecmp and when AVX is available. Hook up
20090 new optimized code in initializers.
20092 2011-10-19 Andreas Schwab <schwab@redhat.com>
20094 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
20095 __feraiseexcept instead of feraiseexcept.
20097 2011-10-18 Ulrich Drepper <drepper@gmail.com>
20099 * math/math_private.h: Define defaults for libc_fetestexcept and
20101 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
20102 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
20103 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20104 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20105 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20106 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20107 libc_fetestexcept and libc_feupdateenv.
20109 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
20110 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
20111 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
20112 * sysdeps/x86_64/fpu/math_private.h: Define special version of
20113 libc_feholdexcept_setround.
20115 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
20116 Add s_nearbyint-c and s_nearbyintf-c.
20117 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
20118 nearbyintf inlines.
20119 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
20120 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
20121 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
20122 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
20124 * math/math_private.h: Define defaults for libc_fegetround,
20125 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
20126 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
20127 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
20128 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
20129 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
20130 standard functions.
20131 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20132 Remove comments and hacks for old compiler versions.
20133 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20134 libc_fegetround, libc_fesetround, libc_feholdexcept, and
20135 libc_feholdexceptl.
20137 2011-10-18 Andreas Schwab <schwab@redhat.com>
20139 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
20140 (__feraiseexcept_renamed): Add __NTH.
20141 (feraiseexcept): Add __NTH. Rename local variables to fix
20142 namespace violations.
20144 2011-10-17 Ulrich Drepper <drepper@gmail.com>
20146 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
20148 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
20150 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
20151 recently added interfaces.
20152 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
20154 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
20155 about macro parameter expansion.
20157 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
20158 __NO_MATH_INLINES is defined. Cleanups.
20160 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
20161 and __floorf is target has SSE4.1.
20162 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
20163 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
20164 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
20165 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
20167 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
20169 (floorf): Likewise.
20171 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
20173 2011-10-17 Andreas Schwab <schwab@redhat.com>
20175 * misc/sys/cdefs.h: Fix last change.
20177 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
20180 2011-10-16 Ulrich Drepper <drepper@gmail.com>
20182 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
20184 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
20185 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20186 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20187 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20188 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20189 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20190 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20191 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20192 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20193 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
20194 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
20195 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
20196 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
20197 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
20198 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
20199 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
20200 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
20201 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
20202 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
20203 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
20204 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
20205 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
20207 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
20208 ceil, ceilf, floor, floorf.
20210 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
20211 Perform IRELATIVE relocations last.
20213 * elf/do-rel.h: Add another parameter nrelative, replacing the
20214 local variable with the same name. Change name of the function
20215 to end in Rel or Rela (uppercase).
20216 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
20217 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
20218 elf_dynamic_do_##reloc function.
20220 2011-10-15 Ulrich Drepper <drepper@gmail.com>
20222 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
20223 is sufficient, at least on modern CPUs.
20225 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
20227 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
20228 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
20230 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
20232 * math/bits/math-finite.h: Add entries for exp.
20233 * math/e_expl.c: Add __*_finite alias.
20234 * sysdeps/i386/fpu/e_exp.S: Likewise.
20235 * sysdeps/i386/fpu/e_expf.S: Likewise.
20236 * sysdeps/i386/fpu/e_expl.c: Likewise.
20237 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20238 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20239 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20240 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20241 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
20242 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20243 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20245 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
20246 is sufficient, at least on modern CPUs.
20248 * ctype/ctype-info.c (__ctype_init): Define.
20249 * include/ctype.h (__ctype_init): Declare.
20250 (__ctype_b_loc): The variable is always initialized.
20251 (__ctype_toupper_loc): Likewise.
20252 (__ctype_tolower_loc): Likewise.
20253 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
20254 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
20256 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
20258 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
20260 * configure.in: Also look in $cxxmachine/include for C++ system
20263 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20265 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
20266 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
20267 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
20268 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
20269 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
20270 (USE_AS_WMEMCMP): New macro.
20272 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
20273 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
20274 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
20275 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
20276 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20277 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
20278 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
20279 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
20280 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
20281 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
20282 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
20283 (USE_AS_WMEMCMP): New macro.
20284 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
20285 * sysdeps/string/test-memcmp.c: Update.
20286 Fix simple_wmemcmp.
20288 * wcsmbs/wmemcmp.c: Update.
20289 (WMEMCMP): New macro.
20292 2011-10-12 Andreas Jaeger <aj@suse.de>
20295 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
20297 2011-10-15 Ulrich Drepper <drepper@gmail.com>
20299 * libio/iofwide.c (do_length): Avoid warning.
20301 * ctype/ctype.h (__isctype_f): Add missing __THROW.
20303 2011-10-14 Ulrich Drepper <drepper@gmail.com>
20305 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
20307 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
20308 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
20309 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
20310 * sysdeps/i386/i686/fpu/e_log.S: New file.
20311 * sysdeps/i386/i686/fpu/e_logf.S: New file.
20312 * sysdeps/i386/i686/fpu/e_logl.S: New file.
20314 * ctype/ctype.h: Add support for inlined isXXX functions when
20315 compiling C++ code.
20317 2011-10-14 Andreas Schwab <schwab@redhat.com>
20319 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20321 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
20323 2011-10-13 Roland McGrath <roland@hack.frob.com>
20326 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
20328 2011-10-13 Andreas Schwab <schwab@redhat.com>
20330 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
20331 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
20334 * sysdeps/x86_64/memrchr.S: Check for zero size.
20336 * string/stratcliff.c: Add memrchr tests.
20338 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20340 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20341 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
20342 rawmemchr-sse2 rawmemchr-sse2-bsf.
20343 * sysdeps/i386/i686/multiarch/memchr.S: New file.
20344 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
20345 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
20346 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
20347 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
20348 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
20349 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
20350 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
20351 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
20352 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
20353 * string/memrchr.c (MEMRCHR): New macro.
20355 2011-10-12 Ulrich Drepper <drepper@gmail.com>
20357 Add integration with gcc's -ffinite-math-only and optimize wrapper
20359 * Versions.def: Define GLIBC_2.15 version for libm.
20360 * math/Makefile (headers): Add bits/math-finite.h.
20361 * math/bits/math-finite.h: New file.
20362 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
20363 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
20364 * math/e_acoshl.c: Add __*_finite alias.
20365 * math/e_acosl.c: Likewise.
20366 * math/e_asinl.c: Likewise.
20367 * math/e_atan2l.c: Likewise.
20368 * math/e_atanhl.c: Likewise.
20369 * math/e_coshl.c: Likewise.
20370 * math/e_exp10.c: Likewise.
20371 * math/e_exp10f.c: Likewise.
20372 * math/e_exp10l.c: Likewise.
20373 * math/e_exp2l.c: Likewise.
20374 * math/e_fmodl.c: Likewise.
20375 * math/e_gammal_r.c: Likewise.
20376 * math/e_hypotl.c: Likewise.
20377 * math/e_j0l.c: Likewise.
20378 * math/e_j1l.c: Likewise.
20379 * math/e_jnl.c: Likewise.
20380 * math/e_lgammal_r.c: Likewise.
20381 * math/e_log10l.c: Likewise.
20382 * math/e_log2l.c: Likewise.
20383 * math/e_logl.c: Likewise.
20384 * math/e_powl.c: Likewise.
20385 * math/e_sinhl.c: Likewise.
20386 * math/e_sqrtl.c: Likewise.
20387 * math/e_scalb.c: Completely rewritten and optimized.
20388 * math/e_scalbf.c: Likewise.
20389 * math/e_scalbl.c: Likewise.
20390 * math/w_acos.c: Likewise.
20391 * math/w_acosf.c: Likewise.
20392 * math/w_acosl.c: Likewise.
20393 * math/w_acosh.c: Likewise.
20394 * math/w_acoshf.c: Likewise.
20395 * math/w_acoshl.c: Likewise.
20396 * math/w_asin.c: Likewise.
20397 * math/w_asinf.c: Likewise.
20398 * math/w_asinl.c: Likewise.
20399 * math/w_atan2.c: Likewise.
20400 * math/w_atan2f.c: Likewise.
20401 * math/w_atan2l.c: Likewise.
20402 * math/w_atanh.c: Likewise.
20403 * math/w_atanhf.c: Likewise.
20404 * math/w_atanhl.c: Likewise.
20405 * math/w_exp10.c: Likewise.
20406 * math/w_exp10f.c: Likewise.
20407 * math/w_exp10l.c: Likewise.
20408 * math/w_fmod.c: Likewise.
20409 * math/w_fmodf.c: Likewise.
20410 * math/w_fmodl.c: Likewise.
20411 * math/w_j0.c: Likewise.
20412 * math/w_j0f.c: Likewise.
20413 * math/w_j0l.c: Likewise.
20414 * math/w_j1.c: Likewise.
20415 * math/w_j1f.c: Likewise.
20416 * math/w_j1l.c: Likewise.
20417 * math/w_jn.c: Likewise.
20418 * math/w_jnf.c: Likewise.
20419 * math/w_log.c: Likewise.
20420 * math/w_logf.c: Likewise.
20421 * math/w_logl.c: Likewise.
20422 * math/w_log10.c: Likewise.
20423 * math/w_log10f.c: Likewise.
20424 * math/w_log10l.c: Likewise.
20425 * math/w_log2.c: Likewise.
20426 * math/w_log2f.c: Likewise.
20427 * math/w_log2l.c: Likewise.
20428 * math/w_pow.c: Likewise.
20429 * math/w_powf.c: Likewise.
20430 * math/w_powl.c: Likewise.
20431 * math/w_remainder.c: Likewise.
20432 * math/w_remainderf.c: Likewise.
20433 * math/w_remainderl.c: Likewise.
20434 * math/w_scalb.c: Likewise.
20435 * math/w_scalbf.c: Likewise.
20436 * math/w_scalbl.c: Likewise.
20437 * math/w_sqrt.c: Likewise.
20438 * math/w_sqrtf.c: Likewise.
20439 * math/w_sqrtl.c: Likewise.
20440 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
20441 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
20443 * math/math_private.h: Declare __kernel_standard_f.
20444 * math/w_cosh.c: Remove cruft and optimize a bit.
20445 * math/w_coshf.c: Likewise.
20446 * math/w_coshl.c: Likewise.
20447 * math/w_exp2.c: Likewise.
20448 * math/w_exp2f.c: Likewise.
20449 * math/w_exp2l.c: Likewise.
20450 * math/w_hypot.c: Likewise.
20451 * math/w_hypotf.c: Likewise.
20452 * math/w_hypotl.c: Likewise.
20453 * math/w_lgamma.c: Likewise.
20454 * math/w_lgamma_r.c: Likewise.
20455 * math/w_lgammaf.c: Likewise.
20456 * math/w_lgammaf_r.c: Likewise.
20457 * math/w_lgammal.c: Likewise.
20458 * math/w_lgammal_r.c: Likewise.
20459 * math/w_sinh.c: Likewise.
20460 * math/w_sinhf.c: Likewise.
20461 * math/w_sinhl.c: Likewise.
20462 * math/w_tgamma.c: Likewise.
20463 * math/w_tgammaf.c: Likewise.
20464 * math/w_tgammal.c: Likewise.
20465 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20466 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20467 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
20468 Minor optimizations. Pretty printing. Remove cruft.
20469 * sysdeps/i386/fpu/e_acosf.S: Likewise.
20470 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20471 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20472 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20473 * sysdeps/i386/fpu/e_acosl.c: Likewise.
20474 * sysdeps/i386/fpu/e_asin.S: Likewise.
20475 * sysdeps/i386/fpu/e_asinf.S: Likewise.
20476 * sysdeps/i386/fpu/e_atan2.S: Likewise.
20477 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
20478 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
20479 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20480 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20481 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20482 * sysdeps/i386/fpu/e_exp10.S: Likewise.
20483 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
20484 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
20485 * sysdeps/i386/fpu/e_exp2.S: Likewise.
20486 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
20487 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
20488 * sysdeps/i386/fpu/e_fmod.S: Likewise.
20489 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
20490 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
20491 * sysdeps/i386/fpu/e_hypot.S: Likewise.
20492 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
20493 * sysdeps/i386/fpu/e_log.S: Likewise.
20494 * sysdeps/i386/fpu/e_log10.S: Likewise.
20495 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20496 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20497 * sysdeps/i386/fpu/e_log2.S: Likewise.
20498 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20499 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20500 * sysdeps/i386/fpu/e_logf.S: Likewise.
20501 * sysdeps/i386/fpu/e_logl.S: Likewise.
20502 * sysdeps/i386/fpu/e_pow.S: Likewise.
20503 * sysdeps/i386/fpu/e_powf.S: Likewise.
20504 * sysdeps/i386/fpu/e_powl.S: Likewise.
20505 * sysdeps/i386/fpu/e_remainder.S: Likewise.
20506 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
20507 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
20508 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20509 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20510 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20511 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
20512 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
20513 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
20514 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20515 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20516 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20517 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20518 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20519 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20520 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20521 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20522 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20523 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20524 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20525 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
20526 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20527 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20528 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20529 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20530 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20531 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20532 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20533 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20534 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20535 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
20536 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20537 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20538 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
20539 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
20540 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20541 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
20542 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
20543 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
20544 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20545 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20546 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20547 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
20548 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
20549 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
20550 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
20551 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
20552 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
20553 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
20554 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
20555 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
20556 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
20557 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
20558 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20559 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
20560 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
20561 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
20562 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
20563 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
20564 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
20565 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20566 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20567 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20568 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20569 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
20570 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
20571 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
20572 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
20573 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
20574 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
20575 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
20576 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20577 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20578 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
20579 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
20580 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
20581 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
20582 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
20583 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
20584 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
20585 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
20586 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
20587 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
20588 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
20589 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20590 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20591 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
20592 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20593 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
20594 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20595 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
20596 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
20597 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20598 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20599 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20600 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20601 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
20602 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20603 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
20604 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20605 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20606 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20607 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20608 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20609 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20610 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20611 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
20612 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
20613 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
20614 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
20615 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
20616 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
20617 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
20618 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20619 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20620 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20621 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20622 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
20623 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20624 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
20625 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
20626 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
20627 (__isnanf): Likewise.
20628 (__isinf_ns): Likewise.
20629 (__isinf_nsf): Likewise.
20630 (__finite): Likewise.
20631 (__finitef): Likewise.
20632 (__ieee754_sqrt): Define as macro.
20633 (__ieee754_sqrtf): Define as macro.
20634 (__ieee754_sqrtl): Define as macro.
20635 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
20637 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
20638 __FINITE_MATH_ONLY__ consistent.
20639 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
20641 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
20643 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
20646 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
20648 2011-10-09 Ulrich Drepper <drepper@gmail.com>
20650 * po/ja.po: Update from translation team.
20652 2011-10-08 Roland McGrath <roland@hack.frob.com>
20654 * locale/programs/locarchive.c (prepare_address_space): New function.
20655 (create_archive, enlarge_archive, open_archive): Use it.
20657 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
20658 inside [SHARED], where it is used.
20660 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
20662 * nss/getent.c (netgroup_keys): Remove unused variable.
20663 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20665 2011-10-08 Ulrich Drepper <drepper@gmail.com>
20667 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
20668 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
20669 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
20670 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
20671 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
20672 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
20673 * math/Makefile (libm-calls): Add s_isinf_ns.
20674 * math/divtc3.c: Use __isinf_nsl instead of isinf.
20675 * math/multc3.c: Likewise.
20676 * math/s_casin.c: Likewise.
20677 * math/s_casinf.c: Likewise.
20678 * math/s_casinl.c: Likewise.
20679 * math/s_ccos.c: Likewise.
20680 * math/s_ccosf.c: Likewise.
20681 * math/s_ccosl.c: Likewise.
20682 * math/s_ctan.c: Likewise.
20683 * math/s_ctanf.c: Likewise.
20684 * math/s_ctanh.c: Likewise.
20685 * math/s_ctanhf.c: Likewise.
20686 * math/s_ctanhl.c: Likewise.
20687 * math/s_ctanl.c: Likewise.
20688 * math/w_fmod.c: Likewise.
20689 * math/w_fmodf.c: Likewise.
20690 * math/w_fmodl.c: Likewise.
20691 * math/w_remainder.c: Likewise.
20692 * math/w_remainderf.c: Likewise.
20693 * math/w_remainderl.c: Likewise.
20694 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
20695 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
20696 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
20697 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
20698 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
20699 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
20700 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
20701 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
20703 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
20705 * stdio-common/printf_fphex.c: Likewise.
20706 * stdio-common/printf_size.c: Likewise.
20708 * math/e_exp10.c: Include math_private.h using <...> not "...".
20709 * math/e_exp10f.c: Likewise.
20710 * math/e_exp10l.c: Likewise.
20711 * math/e_exp2l.c: Likewise.
20712 * math/e_j0l.c: Likewise.
20713 * math/e_j1l.c: Likewise.
20714 * math/e_jnl.c: Likewise.
20715 * math/e_lgammal_r.c: Likewise.
20716 * math/e_rem_pio2l.c: Likewise.
20717 * math/e_scalb.c: Likewise.
20718 * math/e_scalbf.c: Likewise.
20719 * math/e_scalbl.c: Likewise.
20720 * math/k_cosl.c: Likewise.
20721 * math/k_sinl.c: Likewise.
20722 * math/k_tanl.c: Likewise.
20723 * math/s_cacoshf.c: Likewise.
20724 * math/s_catan.c: Likewise.
20725 * math/s_catanf.c: Likewise.
20726 * math/s_catanh.c: Likewise.
20727 * math/s_catanhf.c: Likewise.
20728 * math/s_catanhl.c: Likewise.
20729 * math/s_catanl.c: Likewise.
20730 * math/s_ccosh.c: Likewise.
20731 * math/s_ccoshf.c: Likewise.
20732 * math/s_ccoshl.c: Likewise.
20733 * math/s_cexp.c: Likewise.
20734 * math/s_cexpf.c: Likewise.
20735 * math/s_cexpl.c: Likewise.
20736 * math/s_clog.c: Likewise.
20737 * math/s_clog10.c: Likewise.
20738 * math/s_clog10f.c: Likewise.
20739 * math/s_clog10l.c: Likewise.
20740 * math/s_clogf.c: Likewise.
20741 * math/s_clogl.c: Likewise.
20742 * math/s_csin.c: Likewise.
20743 * math/s_csinf.c: Likewise.
20744 * math/s_csinh.c: Likewise.
20745 * math/s_csinhf.c: Likewise.
20746 * math/s_csinhl.c: Likewise.
20747 * math/s_csinl.c: Likewise.
20748 * math/s_csqrt.c: Likewise.
20749 * math/s_csqrtf.c: Likewise.
20750 * math/s_csqrtl.c: Likewise.
20751 * math/s_ctan.c: Likewise.
20752 * math/s_ctanf.c: Likewise.
20753 * math/s_ctanh.c: Likewise.
20754 * math/s_ctanhf.c: Likewise.
20755 * math/s_ctanhl.c: Likewise.
20756 * math/s_ctanl.c: Likewise.
20757 * math/s_ldexp.c: Likewise.
20758 * math/s_ldexpf.c: Likewise.
20759 * math/s_ldexpl.c: Likewise.
20760 * math/s_significand.c: Likewise.
20761 * math/s_significandf.c: Likewise.
20762 * math/s_significandl.c: Likewise.
20763 * math/w_acos.c: Likewise.
20764 * math/w_acosf.c: Likewise.
20765 * math/w_acosh.c: Likewise.
20766 * math/w_acoshf.c: Likewise.
20767 * math/w_acoshl.c: Likewise.
20768 * math/w_acosl.c: Likewise.
20769 * math/w_asin.c: Likewise.
20770 * math/w_asinf.c: Likewise.
20771 * math/w_asinl.c: Likewise.
20772 * math/w_atan2.c: Likewise.
20773 * math/w_atan2f.c: Likewise.
20774 * math/w_atan2l.c: Likewise.
20775 * math/w_atanh.c: Likewise.
20776 * math/w_atanhf.c: Likewise.
20777 * math/w_atanhl.c: Likewise.
20778 * math/w_cosh.c: Likewise.
20779 * math/w_coshf.c: Likewise.
20780 * math/w_coshl.c: Likewise.
20781 * math/w_dremf.c: Likewise.
20782 * math/w_exp10.c: Likewise.
20783 * math/w_exp10f.c: Likewise.
20784 * math/w_exp10l.c: Likewise.
20785 * math/w_exp2.c: Likewise.
20786 * math/w_exp2f.c: Likewise.
20787 * math/w_fmod.c: Likewise.
20788 * math/w_fmodf.c: Likewise.
20789 * math/w_fmodl.c: Likewise.
20790 * math/w_hypot.c: Likewise.
20791 * math/w_hypotf.c: Likewise.
20792 * math/w_hypotl.c: Likewise.
20793 * math/w_j0.c: Likewise.
20794 * math/w_j0f.c: Likewise.
20795 * math/w_j0l.c: Likewise.
20796 * math/w_j1.c: Likewise.
20797 * math/w_j1f.c: Likewise.
20798 * math/w_j1l.c: Likewise.
20799 * math/w_jn.c: Likewise.
20800 * math/w_jnf.c: Likewise.
20801 * math/w_jnl.c: Likewise.
20802 * math/w_lgamma.c: Likewise.
20803 * math/w_lgamma_r.c: Likewise.
20804 * math/w_lgammaf.c: Likewise.
20805 * math/w_lgammaf_r.c: Likewise.
20806 * math/w_lgammal.c: Likewise.
20807 * math/w_lgammal_r.c: Likewise.
20808 * math/w_log.c: Likewise.
20809 * math/w_log10.c: Likewise.
20810 * math/w_log10f.c: Likewise.
20811 * math/w_log10l.c: Likewise.
20812 * math/w_log2.c: Likewise.
20813 * math/w_log2f.c: Likewise.
20814 * math/w_log2l.c: Likewise.
20815 * math/w_logf.c: Likewise.
20816 * math/w_logl.c: Likewise.
20817 * math/w_pow.c: Likewise.
20818 * math/w_powf.c: Likewise.
20819 * math/w_powl.c: Likewise.
20820 * math/w_remainder.c: Likewise.
20821 * math/w_remainderf.c: Likewise.
20822 * math/w_remainderl.c: Likewise.
20823 * math/w_scalb.c: Likewise.
20824 * math/w_scalbf.c: Likewise.
20825 * math/w_scalbl.c: Likewise.
20826 * math/w_sinh.c: Likewise.
20827 * math/w_sinhf.c: Likewise.
20828 * math/w_sinhl.c: Likewise.
20829 * math/w_sqrt.c: Likewise.
20830 * math/w_sqrtf.c: Likewise.
20831 * math/w_sqrtl.c: Likewise.
20832 * math/w_tgamma.c: Likewise.
20833 * math/w_tgammaf.c: Likewise.
20834 * math/w_tgammal.c: Likewise.
20836 * po/ja.po: Update from translation team.
20838 2011-09-29 Andreas Jaeger <aj@suse.de>
20841 * sunrpc/netname.c (netname2host): Fix logic.
20845 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
20847 * math/w_remainder.c (__remainder): Likewise.
20848 * math/w_remainderf.c (__remainderf): Likewise.
20849 * math/libm-test.inc (remainder_test): Add test cases.
20851 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20853 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
20856 2011-10-07 Ulrich Drepper <drepper@gmail.com>
20858 * string/test-memcmp.c: Avoid unncessary #defines.
20859 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20861 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20863 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
20864 Use new sse2 version for core i3 - i7 as it's faster
20865 than sse42 version.
20866 (bit_Prefer_PMINUB_for_stringop): New.
20867 * sysdeps/x86_64/rawmemchr.S: Update.
20868 Replace with faster SSE2 version.
20869 * sysdeps/x86_64/memrchr.S: New file.
20870 * sysdeps/x86_64/memchr.S: Update.
20871 Replace with faster SSE2 version.
20873 2011-09-12 Marek Polacek <mpolacek@redhat.com>
20875 * elf/dl-load.c (lose): Add cast to avoid warning.
20877 2011-10-07 Ulrich Drepper <drepper@gmail.com>
20879 * po/ca.po: Update from translation team.
20881 * inet/getnetgrent_r.c: Hook up nscd.
20882 * nscd/Makefile (routines): Add nscd_netgroup.
20883 (nscd-modules): Add netgroupcache.
20884 (CFLAGS-netgroupcache.c): Define.
20885 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
20886 (cache_search): Add const to second parameter.
20887 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
20889 (dbs): Add netgrdb entry.
20890 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
20891 (verify_persistent_db): Handle netgrdb.
20892 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
20893 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
20895 (netgroup_response_header): Define.
20896 (innetgroup_response_header): Define.
20897 (datahead): Add netgroup_response_header and innetgroup_response_header
20899 * nscd/nscd.conf: Add entries for netgroup cache.
20900 * nscd/nscd.h (dbtype): Add netgrdb.
20901 (_PATH_NSCD_NETGROUP_DB): Define.
20902 (netgroup_iov_disabled): Declare.
20903 (xmalloc, xcalloc, xrealloc): Move declarations here.
20904 (cache_search): Adjust prototype.
20905 Add netgroup-related prototypes.
20906 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
20907 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
20908 (__nscd_innetgr): Declare.
20909 * nscd/selinux.c (perms): Use access_vector_t as element type and
20910 add netgroup-related initializers.
20911 * nscd/netgroupcache.c: New file.
20912 * nscd/nscd_netgroup.c: New file.
20913 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
20914 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
20915 For four parameters use innetgr.
20916 * nss/nss_files/files-init.c: Add definition and callback for netgr.
20917 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
20918 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
20919 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
20921 * nscd/connections.c (register_traced_file): Don't register file
20922 for disabled databases.
20924 2011-10-06 Ulrich Drepper <drepper@gmail.com>
20926 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
20928 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
20929 from tree and freeing node.
20931 2011-09-25 Jiri Olsa <jolsa@redhat.com>
20933 * nss/nsswitch.c (__nss_database_lookup): Handle
20934 nss_parse_service_list out of memory case.
20936 2011-09-15 Jiri Olsa <jolsa@redhat.com>
20938 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
20939 out of memory case.
20941 2011-10-04 Andreas Schwab <schwab@redhat.com>
20943 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
20944 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
20946 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
20947 elf_machine_rela, elf_machine_lazy_rel.
20948 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
20949 (ELF_DYNAMIC_DO_REL): Likewise.
20950 (ELF_DYNAMIC_DO_RELA): Likewise.
20951 (ELF_DYNAMIC_RELOCATE): Likewise.
20952 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
20953 to ELF_DYNAMIC_DO_REL.
20954 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
20955 (dl_main): In trace mode always set __RTLD_NOIFUNC.
20956 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
20958 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
20959 skip_ifunc, don't call ifunc function if non-zero.
20960 (elf_machine_rela): Likewise.
20961 (elf_machine_lazy_rel): Likewise.
20962 (elf_machine_lazy_rela): Likewise.
20963 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
20964 (elf_machine_lazy_rel): Likewise.
20965 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
20967 (elf_machine_lazy_rel): Likewise.
20968 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20970 (elf_machine_lazy_rel): Likewise.
20971 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
20972 (elf_machine_lazy_rel): Likewise.
20973 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
20974 (elf_machine_lazy_rel): Likewise.
20975 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20976 (elf_machine_lazy_rel): Likewise.
20977 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
20978 (elf_machine_lazy_rel): Likewise.
20979 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
20980 (elf_machine_lazy_rel): Likewise.
20981 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20982 (elf_machine_lazy_rel): Likewise.
20984 2011-09-28 Ulrich Drepper <drepper@gmail.com>
20986 * nss/nss_files/files-init.c (_nss_files_init): Use static
20987 initialization for all the *_traced_file variables.
20989 2011-09-28 Andreas Schwab <schwab@redhat.com>
20991 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20993 2011-09-27 Roland McGrath <roland@hack.frob.com>
20996 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
20998 2011-09-27 Andreas Schwab <schwab@redhat.com>
21000 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21001 Reread the line before reparsing it.
21003 2011-09-26 Andreas Schwab <schwab@redhat.com>
21005 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
21007 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
21008 Maxim Kuvyrkov <maxim@codesourcery.com>
21009 Joseph Myers <joseph@codesourcery.com>
21011 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
21012 if needed for __stack_chk_guard.
21014 2011-09-19 Roland McGrath <roland@hack.frob.com>
21016 * sysdeps/posix/spawni.c (script_execute): Always define it.
21017 It will be optimized away if unused.
21018 (maybe_script_execute): New function.
21019 (__spawni): Call it.
21021 * Makerules: Don't include tls.make.
21022 (config-tls): Always set to thread.
21023 * tls.make.c: File removed.
21025 2011-09-19 Mike Frysinger <vapier@gentoo.org>
21027 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
21028 * config.make.in (CPPFLAGS-config): New substituted variable.
21030 2011-09-15 Ulrich Drepper <drepper@gmail.com>
21032 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
21035 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
21036 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
21038 2011-09-15 Roland McGrath <roland@hack.frob.com>
21040 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
21041 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
21042 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21043 (CALL_FAIL): Likewise.
21044 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
21045 (CALL_FAIL): Macro removed.
21046 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
21048 2011-09-15 Ulrich Drepper <drepper@gmail.com>
21050 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
21051 for __FINITE_MATH_ONLY__ == 1.
21053 2011-09-15 Andreas Schwab <schwab@redhat.com>
21055 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
21056 __ieee754_sqrt instead of sqrt.
21057 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
21058 __ieee754_sqrtf instead of sqrtf.
21059 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
21060 __floorf instead of floorf.
21061 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
21062 __floorf, __truncf instead of floorf, truncf.
21064 2011-09-14 Ulrich Drepper <drepper@gmail.com>
21066 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
21068 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
21069 __extern_always_inline.
21070 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
21073 2011-09-14 Andreas Schwab <schwab@redhat.com>
21075 * elf/rtld.c (dl_main): Also relocate in dependency order when
21076 doing symbol dependency testing.
21078 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
21080 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21081 Always define `refsym'.
21083 2011-09-13 Andreas Schwab <schwab@redhat.com>
21085 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
21086 (__FD_ELT): Renamed from __FDELT.
21087 * misc/bits/select2.h (__FD_ELT): Likewise.
21088 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
21089 __FD_MASK instead of __FDELT, __FDMASK.
21090 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21092 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21095 * elf/Makefile (gen-ldd): Fix pattern.
21097 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
21098 (init_tls): Likewise.
21100 2011-09-12 Ulrich Drepper <drepper@gmail.com>
21102 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
21104 2011-09-12 Andreas Schwab <schwab@redhat.com>
21106 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
21107 `struct cmsghdr *' instead of `void *'.
21108 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
21111 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
21113 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
21115 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
21116 ldd_rewrite_script.
21118 2011-09-11 Ulrich Drepper <drepper@gmail.com>
21120 * configure.in: Remove --with-tls option.
21121 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
21122 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
21123 out in case it is missing.
21124 * sysdeps/ia64/elf/configure.in: Likewise.
21125 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
21126 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
21127 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
21128 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
21129 * sysdeps/sh/elf/configure.in: Likewise.
21130 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
21131 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
21132 * sysdeps/x86_64/elf/configure.in: Likewise.
21133 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
21134 * sysdeps/mach/hurd/tls.h: Likewise.
21137 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
21140 * configure.in: Fix use of AC_INIT.
21142 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
21144 2011-09-10 Ulrich Drepper <drepper@gmail.com>
21146 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
21148 * malloc/hooks.c: Likewise.
21151 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
21152 variables statically.
21153 (narenas): Initialize.
21154 (list_lock): Initialize.
21155 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
21156 initializtion of main_arena and list_lock. Small cleanups.
21157 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
21158 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
21159 Add initializers to main_arena and mp_.
21160 (malloc_state): Remove pagesize member. Change all users to use
21163 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
21164 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
21165 is always initialized.
21167 * malloc/malloc.c: Removed unused configurations and dead code.
21168 * malloc/arena.c: Likewise.
21169 * malloc/hooks.c: Likewise.
21170 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
21172 * include/tls.h: Removed. USE___THREAD must always be defined.
21173 * bits/libc-tsd.h: Don't handle !USE___THREAD.
21174 * elf/dl-libc.c: Likewise.
21175 * elf/dl-tsd.c: Likewise.
21176 * include/errno.h: Likewise.
21177 * include/netdb.h: Likewise.
21178 * include/resolv.h: Likewise.
21179 * inet/herrno-loc.c: Likewise.
21180 * inet/herrno.c: Likewise.
21181 * malloc/arena.c: Likewise.
21182 * malloc/hooks.c: Likewise.
21183 * malloc/malloc.c: Likewise.
21184 * resolv/res-state.c: Likewise.
21185 * resolv/res_libc.c: Likewise.
21186 * sysdeps/i386/dl-machine.h: Likewise.
21187 * sysdeps/ia64/dl-machine.h: Likewise.
21188 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
21189 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21190 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
21191 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
21192 * sysdeps/sh/dl-machine.h: Likewise.
21193 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21194 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21195 * sysdeps/unix/i386/sysdep.S: Likewise.
21196 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21197 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
21198 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
21199 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21200 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
21201 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21202 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21203 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21204 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21205 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21206 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21207 * sysdeps/x86_64/dl-machine.h: Likewise.
21208 * tls.make.c: Likewise.
21210 * configure.in: Remove --with-__thread option. Make tests for
21211 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
21212 tls_model attribute fail if no support is available. Remove
21214 * Makeconfig: Adjust for dropped configure option. All features are
21216 * Makerules: Likewise.
21217 * Versions.def: Likewise.
21218 * argp/argp-fmtstream.c: Likewise.
21219 * argp/argp-fmtstream.h: Likewise.
21220 * argp/argp-help.c: Likewise.
21221 * assert/assert.c: Likewise.
21222 * config.h.in: Likewise.
21223 * config.make.in: Likewise.
21224 * configure: Likewise.
21225 * configure.in: Likewise.
21226 * csu/Versions: Likewise.
21227 * csu/init.c: Likewise.
21228 * elf/tst-audit2.c: Likewise.
21229 * elf/tst-tls10.c: Likewise.
21230 * elf/tst-tls10.h: Likewise.
21231 * elf/tst-tls11.c: Likewise.
21232 * elf/tst-tls12.c: Likewise.
21233 * elf/tst-tls14.c: Likewise.
21234 * elf/tst-tlsmod11.c: Likewise.
21235 * elf/tst-tlsmod12.c: Likewise.
21236 * elf/tst-tlsmod13.c: Likewise.
21237 * elf/tst-tlsmod13a.c: Likewise.
21238 * elf/tst-tlsmod14a.c: Likewise.
21239 * elf/tst-tlsmod15b.c: Likewise.
21240 * elf/tst-tlsmod16a.c: Likewise.
21241 * elf/tst-tlsmod16b.c: Likewise.
21242 * elf/tst-tlsmod7.c: Likewise.
21243 * elf/tst-tlsmod8.c: Likewise.
21244 * elf/tst-tlsmod9.c: Likewise.
21245 * gmon/gmon.c: Likewise.
21246 * grp/fgetgrent_r.c: Likewise.
21247 * grp/putgrent.c: Likewise.
21248 * hurd/fopenport.c: Likewise.
21249 * include/libc-symbols.h: Likewise.
21250 * include/tls.h: Likewise.
21251 * intl/gettextP.h: Likewise.
21252 * intl/loadinfo.h: Likewise.
21253 * locale/global-locale.c: Likewise.
21254 * locale/localeinfo.h: Likewise.
21255 * mach/devstream.c: Likewise.
21256 * malloc/arena.c: Likewise.
21257 * malloc/set-freeres.c: Likewise.
21258 * misc/err.c: Likewise.
21259 * misc/getttyent.c: Likewise.
21260 * misc/mntent_r.c: Likewise.
21261 * posix/getopt.c: Likewise.
21262 * posix/wordexp.c: Likewise.
21263 * pwd/fgetpwent_r.c: Likewise.
21264 * resolv/Versions: Likewise.
21265 * resolv/res_hconf.c: Likewise.
21266 * shadow/fgetspent_r.c: Likewise.
21267 * shadow/putspent.c: Likewise.
21268 * stdio-common/printf_fphex.c: Likewise.
21269 * stdio-common/tmpfile.c: Likewise.
21270 * stdlib/abort.c: Likewise.
21271 * stdlib/fmtmsg.c: Likewise.
21272 * sunrpc/auth_unix.c: Likewise.
21273 * sunrpc/clnt_perr.c: Likewise.
21274 * sunrpc/clnt_tcp.c: Likewise.
21275 * sunrpc/clnt_udp.c: Likewise.
21276 * sunrpc/clnt_unix.c: Likewise.
21277 * sunrpc/openchild.c: Likewise.
21278 * sunrpc/svc_simple.c: Likewise.
21279 * sunrpc/svc_tcp.c: Likewise.
21280 * sunrpc/svc_udp.c: Likewise.
21281 * sunrpc/svc_unix.c: Likewise.
21282 * sunrpc/xdr.c: Likewise.
21283 * sunrpc/xdr_array.c: Likewise.
21284 * sunrpc/xdr_rec.c: Likewise.
21285 * sunrpc/xdr_ref.c: Likewise.
21286 * sunrpc/xdr_stdio.c: Likewise.
21288 2011-09-09 Ulrich Drepper <drepper@gmail.com>
21290 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21292 2011-07-03 Andreas Jaeger <aj@suse.de>
21294 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
21295 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
21296 regenerate with gen-libm-tests.pl.
21298 2010-05-12 Petr Baudis <pasky@suse.cz>
21301 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
21302 around j0() zero points by switching to j1().
21303 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21304 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21305 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21306 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21308 2011-09-09 Ulrich Drepper <drepper@gmail.com>
21310 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
21312 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
21314 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21315 Patch in part by Pavel Roskin <proski@gnu.org>.
21318 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
21320 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
21321 Free memory block if necessary.
21324 * libio/genops.c (INTDEF): For string streams the _lock pointer can
21325 be NULL. Don't lock in this case.
21327 2011-09-09 Roland McGrath <roland@hack.frob.com>
21329 * elf/elf.h (ELFOSABI_GNU): New macro.
21330 (ELFOSABI_LINUX): Define to that.
21332 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
21334 * string/strncat.c (strncat): Undef the symbol in case it has been
21335 defined in bits/string.h.
21337 2011-09-09 Ulrich Drepper <drepper@gmail.com>
21339 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
21341 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
21344 2011-08-17 Andreas Jaeger <aj@suse.de>
21346 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
21348 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21349 Ian Lance Taylor <iant@google.com>
21351 * math/libm-test.inc (lround_test): New testcase.
21352 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
21354 2011-09-08 Ulrich Drepper <drepper@gmail.com>
21356 * Makefile: Remove support for automatic cvs check-ins.
21357 * Makerules: Likewise.
21358 * config.make.in: Likewise.
21359 * configure.in: Likewise.
21360 * intl/Makefile: Likewise.
21361 * locale/Makefile: Likewise.
21362 * po/Makefile: Likewise.
21363 * posix/Makefile: Likewise.
21364 * sysdeps/gnu/Makefile: Likewise.
21365 * sysdeps/mach/hurd/Makefile: Likewise.
21366 * sysdeps/sparc/sparc32/Makefile: Likewise.
21369 * posix/Makefile (bug-regex32-ENV): Define.
21370 Patch by John Stanley <jpsinthemix@verizon.net>.
21372 * misc/Makefile (headers): Add bits/select2.h.
21373 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
21374 * misc/bits/select2.h: New file.
21375 * include/bits/select2.h: New file.
21376 * debug/Makefile (routines): Add fdelt_chk.
21377 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
21378 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
21380 * debug/fdelt_chk.c: New file.
21382 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
21383 * wcsmbs/test-wmemcmp.c: Likewise.
21384 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
21385 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
21387 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21389 * string/Makefile (strop-tests): Add memcmp.
21390 * string/test-wmemcmp.c: New file.
21391 * string/test-memcmp.c: Add wmemcmp support.
21393 2011-09-08 Roland McGrath <roland@hack.frob.com>
21396 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
21399 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
21400 garbage value in a __mach_port_mod_refs call in the cases of the
21401 task-self and thread-self ports.
21403 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21405 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
21407 2011-09-08 Andreas Schwab <schwab@redhat.com>
21409 * elf/dl-load.c (lose): Check for non-null L.
21411 2011-09-07 Ulrich Drepper <drepper@gmail.com>
21413 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
21415 * elf/dl-libc.c (dlerror_run): Pass back error code from
21419 * elf/dl-load.c (lose): Free l_origin if it is valid.
21421 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
21423 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
21424 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21425 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21426 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21427 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
21428 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
21430 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21432 * sysdeps/powerpc/fpu/e_hypot.c: New file.
21433 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
21434 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
21435 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
21436 * sysdeps/powerpc/fpu/k_cosf.c: New file.
21437 * sysdeps/powerpc/fpu/k_sinf.c: New file.
21438 * sysdeps/powerpc/fpu/s_cosf.c: New file.
21439 * sysdeps/powerpc/fpu/s_sinf.c: New file.
21440 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
21441 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
21443 2011-08-15 Alan Modra <amodra@gmail.com>
21446 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
21447 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
21448 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
21449 ppc_mcount to static-only-routines.
21450 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
21452 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
21453 __mcount_internal with usual JUMPTARGET. Remove useless nop.
21455 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
21457 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
21458 for finite and infinity parameters.
21460 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21462 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
21463 and add nop instructions for throughput optimization.
21464 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21466 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
21468 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
21469 aligned copy for power7 with vector-scalar instructions.
21470 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21472 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
21474 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
21477 2011-09-07 Andreas Schwab <schwab@redhat.com>
21480 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
21483 2011-09-07 Ulrich Drepper <drepper@gmail.com>
21485 * sysdeps/unix/sysv/linux/x86_64/init-first.c
21486 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
21487 syscall wrapper around clock_gettime in __vdso_clock_gettime.
21488 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
21491 2011-09-06 Ulrich Drepper <drepper@gmail.com>
21493 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
21494 Forgot to demangle the pointer.
21496 * sysdeps/i386/sysdep.h: Define atom_text_section.
21497 * sysdeps/x86_64/sysdep.h: Likewise.
21498 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
21499 section with atom_text_section.
21500 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21501 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21502 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
21503 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21504 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
21506 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
21507 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
21508 already be defined. Change to take two parameters and don't assign
21509 result to variable. Adjust all users.
21510 Define INTERNAL_GETTIME if not already defined.
21511 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
21513 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
21514 HAVE_CLOCK_GETTIME_VSYSCALL.
21515 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
21517 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
21518 gettimeofday vsyscall, just use time.
21520 2011-09-06 Andreas Schwab <schwab@redhat.com>
21522 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
21525 2011-09-06 Ulrich Drepper <drepper@gmail.com>
21527 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
21529 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
21531 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
21532 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
21533 syscall if possible.
21535 2011-09-05 Ulrich Drepper <drepper@gmail.com>
21537 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
21538 e_ident. Don't pass to find_mapsXX.
21539 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
21541 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21543 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21544 strchr-sse2-no-bsf strrchr-sse2-no-bsf
21545 * sysdeps/x86_64/multiarch/strchr.S: Update.
21546 Check bit_slow_BSF bit.
21547 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21548 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
21549 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
21551 2011-09-05 Ulrich Drepper <drepper@gmail.com>
21554 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
21556 (tryshell): Define.
21557 (__spawni): Change last parameter to be flag. Test
21558 SPAWN_XFLAGS_USE_PATH flag to use path or not.
21559 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
21560 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
21561 * posix/spawni.c: Likewise.
21562 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
21563 * posix/spawnp.c: Likewise. Change normal version to use
21564 SPAWN_XFLAGS_USE_PATH.
21565 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
21566 SPAWN_XFLAGS_TRY_SHELL.
21569 * posix/glob.h: Remove gcc 1.x support.
21572 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
21574 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21576 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21577 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
21579 * sysdeps/i386/i686/multiarch/strchr.S: New file.
21580 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
21581 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
21582 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
21583 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
21584 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
21586 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21588 * sysdeps/x86_64/wcscmp.S: New file.
21590 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
21591 wcscmp-c wcscmp-sse2
21592 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
21593 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
21594 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
21595 * wcsmbs/wcscmp.c: Allow renaming.
21597 2011-09-05 David S. Miller <davem@davemloft.net>
21599 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
21600 stack slot, rather than the struct return pointer slot.
21601 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
21602 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
21603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
21604 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
21606 2011-09-05 Ulrich Drepper <drepper@gmail.com>
21608 * po/ja.po: Update from translation team.
21611 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
21612 kernel in 64-bit binaries.
21614 2011-09-01 David S. Miller <davem@davemloft.net>
21616 * elf/elf.h (HWCAP_SPARC_*): Move to..
21617 * sysdeps/sparc/sysdep.h: this new file and add new values.
21618 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
21619 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
21620 _DL_HWCAP_COUNT to 24.
21621 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21623 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
21624 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
21625 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
21626 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
21627 instead of magic constants.
21628 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21630 2011-08-31 David S. Miller <davem@davemloft.net>
21632 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
21633 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
21634 Reimplement to do errno handling inline.
21635 (SYSCALL_ERROR_HANDLER): New macro.
21636 (__SYSCALL_STRING): Do not do errno handling in asm.
21637 (__CLONE_SYSCALL_STRING): Delete.
21638 (__INTERNAL_SYSCALL_STRING): Delete.
21639 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
21640 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
21641 (PSEUDO): Reimplement to do errno handling inline.
21642 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
21643 (SYSCALL_ERROR_HANDLER): New macro.
21644 (__SYSCALL_STRING): Do not do errno handling in asm.
21645 (__CLONE_SYSCALL_STRING): Delete.
21646 (__INTERNAL_SYSCALL_STRING): Delete.
21647 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
21648 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
21650 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
21651 (inline_syscall*): Add 'err' argument.
21652 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
21653 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
21654 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
21655 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
21657 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
21658 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21660 2011-08-30 Andreas Schwab <schwab@redhat.com>
21662 * elf/rtld.c (dl_main): Relocate objects in dependency order.
21664 2011-08-29 Jiri Olsa <jolsa@redhat.com>
21666 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
21669 2011-08-24 David S. Miller <davem@davemloft.net>
21671 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
21673 2011-08-24 Andreas Schwab <schwab@redhat.com>
21675 * elf/Makefile: Add rules to build and run unload8 test.
21676 * elf/unload8.c: New file.
21677 * elf/unload8mod1.c: New file.
21678 * elf/unload8mod1x.c: New file.
21679 * elf/unload8mod2.c: New file.
21680 * elf/unload8mod3.c: New file.
21682 * elf/dl-close.c (_dl_close_worker): Reset private search list if
21685 2011-08-23 David S. Miller <davem@davemloft.net>
21687 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
21688 subtract stack bias.
21689 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
21690 %sp not %fp in calculations.
21691 (_JMPBUF_UNWINDS_ADJ): Likewise.
21693 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
21694 (aio_suspend): Call it to force an exception region around the
21695 AIO_MISC_WAIT() invocation.
21697 2011-08-23 Andreas Schwab <schwab@redhat.com>
21699 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
21702 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
21704 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
21706 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
21707 and <dl-machine.h>.
21708 (Elf64_FuncDesc): Remove.
21710 2011-08-22 David S. Miller <davem@davemloft.net>
21712 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
21713 sigaltstack check, add missing cfi directives.
21714 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
21715 missing cfi directives, and sigaltstack handling.
21717 2011-08-16 Andreas Schwab <schwab@redhat.com>
21720 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
21721 object is seen twice.
21722 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21724 * elf/Makefile (distribute): Add tst-initorder2.c.
21725 (tests): Add tst-initorder2.
21726 (modules-names): Add tst-initorder2a tst-initorder2b
21727 tst-initorder2c tst-initorder2d. Add rules to build them.
21728 ($(objpfx)tst-initorder2.out): New rule.
21729 * elf/tst-initorder2.c: New file.
21730 * elf/tst-initorder2.exp: New file.
21732 2011-08-22 Andreas Schwab <schwab@redhat.com>
21734 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
21736 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
21737 dependencies back to end of function.
21739 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
21740 $(elfobjdir)/ld.so.
21742 2011-08-21 Ulrich Drepper <drepper@gmail.com>
21744 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
21745 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
21746 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
21747 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
21748 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
21749 of __vdso_gettimeofday.
21750 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
21751 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
21753 (_libc_vdso_platform_setup): Remove initialization of
21754 __vdso_gettimeofday and __vdso_time.
21756 2011-08-20 Ulrich Drepper <drepper@gmail.com>
21758 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
21759 and fgetc_unlocked.
21760 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
21763 * elf/dl-open.c (add_to_global): Report additions to the global scope
21764 for LD_DEBUG=scopes.
21765 (dl_open_worker): Also print scope of newly loaded dependencies.
21766 (_dl_show_scope): Indicate if there is no scope.
21769 * stdio-common/Makefile (tests): Add bug24.
21770 * stdio-common/bug24.c: New file.
21772 2011-08-19 Andreas Jaeger <aj@suse.de>
21775 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
21776 non-existant file when using close-on-exec mode.
21778 2011-08-20 Ulrich Drepper <drepper@gmail.com>
21780 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
21781 the very first instruction.
21783 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
21784 the CFI state in the end.
21785 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
21786 inclusion of dl-trampoline.h.
21787 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
21789 2011-08-19 Andreas Schwab <schwab@redhat.com>
21791 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
21792 expectations for long double.
21794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
21795 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
21797 2011-08-14 David S. Miller <davem@davemloft.net>
21799 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
21800 artificual limit depends upon the system page size.
21802 2011-08-17 Ulrich Drepper <drepper@gmail.com>
21804 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
21805 * resolv/Makefile: Define CFLAGS-libresolv.
21807 2011-08-17 Andreas Schwab <schwab@redhat.com>
21809 * nss/makedb.c (compute_tables): Make variables used in nested
21812 2011-08-17 Ulrich Drepper <drepper@gmail.com>
21814 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
21815 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
21816 if buffer was too small.
21818 * elf/pldd.c (main): Attach to all threads in the process.
21819 Rewrite /proc handling to use *at functions.
21821 2011-08-16 Ulrich Drepper <drepper@gmail.com>
21823 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
21824 specifies first scope to show.
21825 (dl_open_worker): Update callers. Move printing scope of new
21826 object to before the relocation.
21827 * elf/rtld.c (dl_main): Update _dl_show_scope call.
21828 * sysdeps/generic/ldsodefs.h: Update declaration.
21830 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
21831 string for the scope number.
21833 2011-08-14 Ulrich Drepper <drepper@gmail.com>
21835 * nscd/servicescache.c (cache_addserv): Make sure written is always
21838 2011-08-14 Roland McGrath <roland@hack.frob.com>
21840 * sysdeps/i386/i486/bits/atomic.h
21841 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
21842 statement expression, so as to suppress "set but not used" warning.
21843 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
21845 * string/strncat.c (STRNCAT): Use prototype definition.
21847 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
21848 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
21850 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
21851 (localedef-modules): Add localedef.
21852 (locale-modules): Add locale.
21854 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
21855 * elf/rtld.c (dl_main): Invert order of assignment in last change,
21856 to avoid a warning.
21858 2011-08-14 David S. Miller <davem@davemloft.net>
21860 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
21861 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
21863 2011-08-13 Ulrich Drepper <drepper@gmail.com>
21865 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
21866 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
21867 * elf/rtld.c (dl_main): Set l_name of vDSO.
21868 Call _dl_show_scope when DL_DEBUG_SCOPES.
21869 (process_dl_debug): Recognize scopes flag and also set it for all.
21870 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
21871 Declare _dl_show_scope.
21873 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
21874 (do_dlopen): Pass caller_dlopen to dl_open.
21875 (__libc_dlopen_mode): Initialize caller_dlopen.
21877 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
21878 of libc. Make tolower call locale-independent. Optimize a bit by
21879 using isdigit instead of isalnum.
21880 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
21882 2011-08-12 Ulrich Drepper <drepper@gmail.com>
21884 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
21885 was a dependency or dynamically loaded.
21887 2011-08-11 Ulrich Drepper <drepper@gmail.com>
21889 * intl/l10nflist.c: Allow architecture-specific pop function.
21890 * sysdeps/x86_64/l10nflist.c: New file.
21892 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
21895 2011-08-10 Andreas Schwab <schwab@redhat.com>
21897 * include/dirent.h: Add libc_hidden_proto for scandirat and
21898 scandirat64. Don't declare __scandirat64.
21899 * dirent/scandirat.c: Add libc_hidden_def.
21900 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
21901 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
21903 2011-08-10 David S. Miller <davem@davemloft.net>
21905 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
21907 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21908 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21909 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21911 2011-08-09 Ulrich Drepper <drepper@gmail.com>
21913 * Versions.def [libc]: Add GLIBC_2.15.
21914 * dirent/Makefile (routines): Add scandirat and scandirat64.
21915 * dirent/Versions [libc]: Export scandirat and scandirat64 for
21917 * dirent/dirent.h: Declare scandirat and scandirat64.
21918 * dirent/scandirat.c: New file.
21919 * dirent/scandirat64.c: New file.
21920 * sysdeps/wordsize-64/scandirat.c: New file.
21921 * sysdeps/wordsize-64/scandirat64.c: New file.
21922 * dirent/opendir.c: Define opendirat.
21923 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
21925 * dirent/scandir64.c: Adjust for scandir.c change.
21926 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
21927 __scandirat64, and __scandir_cancel_handler.
21928 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
21929 additional parameter and use openat instead of open (outside of ld.so).
21930 Add new __opendir as wrapper around __opendirat.
21931 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
21932 here without requiring old scandirat implementation.
21934 2011-08-08 Ulrich Drepper <drepper@gmail.com>
21936 * dirent/scandir.c (cancel_handler): Renamed to
21937 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
21938 defined. Adjust users.
21939 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
21940 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
21942 2011-08-04 Ulrich Drepper <drepper@gmail.com>
21944 * string/test-string.h (IMPL): Use __STRING to expand name and then
21947 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
21950 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21952 * string/Makefile: Update.
21953 (strop-tests): Append strncat.
21954 * string/test-wcscmp.c: New file.
21955 New comprehensive test for wcscmp.
21956 * string/test-strcmp.c: Update.
21957 (WIDE): New define.
21959 2011-07-22 Andreas Schwab <schwab@redhat.com>
21961 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
21964 2011-07-26 Andreas Schwab <schwab@redhat.com>
21966 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21967 encoding to ACE if AI_IDN.
21969 2011-08-01 Jakub Jelinek <jakub@redhat.com>
21971 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
21972 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
21974 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21976 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
21977 Fix overflow bug in strncat.
21978 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
21980 * string/test-strncat.c: Update.
21981 Add new tests for checking overflow bugs.
21983 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21985 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21986 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
21987 * sysdeps/i386/i686/multiarch/strcat.S: New file.
21988 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
21989 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
21990 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
21991 * sysdeps/i386/i686/multiarch/strncat.S: New file.
21992 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
21993 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
21995 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
21996 (USE_AS_STRCAT): Define.
21997 Add strcat and strncat support.
21998 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22000 2011-07-25 Andreas Schwab <schwab@redhat.com>
22002 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
22003 __n bigger than INT_MAX+1.
22004 (__strncmp_g): Likewise.
22006 2011-07-23 Ulrich Drepper <drepper@gmail.com>
22008 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
22009 * libio/stido.h: Likewise.
22011 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
22013 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
22016 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
22017 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22018 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22019 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22020 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22023 * scripts/test-installation.pl: Don't expect libnss_test1 to be
22026 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
22028 (_dl_x86_64_save_sse): Likewise.
22030 2011-07-22 Ulrich Drepper <drepper@gmail.com>
22032 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
22034 (_dl_x86_64_save_sse): Likewise.
22036 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
22038 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
22040 2011-07-21 Andreas Schwab <schwab@redhat.com>
22042 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
22044 (_dl_x86_64_save_sse): Use correct AVX check.
22046 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22048 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
22049 bug in strncpy/strncat.
22050 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22052 2011-07-21 Ulrich Drepper <drepper@gmail.com>
22054 * string/tester.c (test_strcat): Add tests for different alignments
22055 of source and destination.
22056 (test_strncat): Likewise.
22058 2011-07-20 Ulrich Drepper <drepper@gmail.com>
22061 * posix/glob.c (glob): Check passed in values before using them in
22062 expressions to avoid some overflows.
22063 (glob_in_dir): Likewise.
22066 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
22067 check for AVX enablement so that we don't crash with old kernels and
22069 * elf/tst-audit4.c: Add same checks here.
22070 * elf/tst-audit6.c: Likewise.
22072 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
22074 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
22076 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
22078 2011-07-20 Ulrich Drepper <drepper@gmail.com>
22080 * po/cs.po: Update from translation team.
22081 * po/bg.po: Likewise.
22083 2011-07-12 Marek Polacek <mpolacek@redhat.com>
22085 * misc/sys/cdefs.h: Add support for const attribute.
22086 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
22087 to gnu_dev_{major,minor,makedev} functions.
22089 2011-07-20 Marek Polacek <mpolacek@redhat.com>
22091 * intl/dcigettext.c (get_output_charset): Add missing bracket.
22093 2011-07-20 Andreas Schwab <schwab@redhat.com>
22095 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
22098 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22100 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
22101 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
22102 register in order to avoid conflicts with the soft frame pointer
22103 being held in r11 when necessary.
22104 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22105 (INTERNAL_VSYSCALL_NCS): Likewise.
22107 2011-07-14 Marek Polacek <mpolacek@redhat.com>
22109 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
22110 * elf/dl-fini.c (_dl_fini): Adjust caller.
22111 * elf/dl-close.c (_dl_close_worker): Likewise.
22112 * sysdeps/generic/ldsodefs.h: Adjust declaration.
22114 2011-07-15 Marek Polacek <mpolacek@redhat.com>
22116 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
22117 "aux_cache->nlibs < 0".
22119 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
22120 in the reload-count case.
22122 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22124 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22125 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
22126 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
22127 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
22128 * sysdeps/x86_64/multiarch/strcat.S: New file.
22129 * sysdeps/x86_64/multiarch/strncat.S: New file.
22130 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
22131 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
22132 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
22133 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
22134 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
22135 (USE_AS_STRCAT): Define.
22136 Add strcat and strncat support.
22137 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22138 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22139 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
22140 * string/strncat.c: Update.
22141 (USE_AS_STRNCAT): Define.
22142 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22143 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
22145 * sysdeps/x86_64/multiarch/init-arch.h
22146 (bit_Prefer_PMINUB_for_stringop): New.
22147 (index_Prefer_PMINUB_for_stringop): Likewise.
22148 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
22149 bit_Prefer_PMINUB_for_stringop.
22151 2011-07-19 Ulrich Drepper <drepper@gmail.com>
22153 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
22155 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
22156 of casting of buffer.
22157 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
22158 buffer32 and buffer64.
22159 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
22160 writes instead of casting of buffer.
22161 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
22163 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
22166 2011-07-19 Andreas Schwab <schwab@redhat.com>
22168 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
22170 2011-07-19 Ulrich Drepper <drepper@gmail.com>
22172 * nscd/nscd.c (termination_handler): Don't do anything for a database
22173 if it has not yet been initialized.
22175 2011-07-18 Ulrich Drepper <drepper@gmail.com>
22177 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22179 2011-07-15 Marek Polacek <mpolacek@redhat.com>
22181 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22183 2011-07-18 Ulrich Drepper <drepper@gmail.com>
22185 * po/nl.po: Update from translation team.
22186 * po/sv.po: Likewise.
22188 2011-07-16 Roland McGrath <roland@hack.frob.com>
22190 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
22191 now disallowed by GCC.
22193 * configure.in (use-default-link): Default to yes if a test -shared
22194 link meets our qualifications.
22195 * configure: Regenerated.
22197 * config.make.in (output-format): New variable.
22198 * configure.in: Check for ld --print-output-format support.
22199 * configure: Regenerated.
22200 * Makerules ($(common-objpfx)format.lds)
22201 [$(output-format) != unknown]: Just use $(output-format),
22202 instead of the linker-script munging.
22204 2011-07-14 Roland McGrath <roland@hack.frob.com>
22206 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
22207 of $(common-objpfx)shlib.lds.
22208 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
22210 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
22211 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
22213 * configure.in (-z relro check): Adjust test code to add a large
22214 writable data section after it.
22215 * configure: Regenerated.
22217 2011-07-11 Roland McGrath <roland@hack.frob.com>
22219 * configure.in (-z relro check): Fix test code to make the variable
22221 * configure: Regenerated.
22223 2011-07-11 Ulrich Drepper <drepper@gmail.com>
22225 * nscd/nscd.h (struct traced_file): Define.
22226 (struct database_dyn): Remove inotify_descr, reset_res, and filename
22227 elements. Add traced_files.
22228 (inotify_fd): Declare.
22229 (register_traced_file): Declare.
22230 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
22231 (inotify_fd): Export.
22232 (resolv_conf_descr): Remove.
22233 (nscd_init): Move inotify descriptor creation to main.
22234 Don't register files for notification here.
22235 (register_traced_file): New function.
22236 (invalidate_cache): Don't use reset_res to determine whether to call
22237 res_init, go through the list of registered files.
22238 (main_loop_poll): The inotify descriptors are now stored in the
22239 structures for the traced files.
22240 (main_loop_epoll): Likewise
22241 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
22242 to __nss_disable_nscd.
22243 * nscd/cache.c (prune_cache): There is no single inotify descriptor
22244 for a database anymore. Check the records for all the registered
22246 * nss/Makefile (libnss_files-routines): Add files-init.
22247 (libnss_db-routines): Add db-init.
22248 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
22249 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
22250 * nss/nss_db/db-init.c: New file.
22251 * nss/nss_files/files-init.c: New file.
22252 * nss/nsswitch.c (nss_load_library): New function. Broken out of
22253 __nss_lookup_function.
22254 (__nss_lookup_function): Call nss_load_library.
22255 (nss_load_all_libraries): New function.
22256 (__nss_disable_nscd): Take parameter with callback function for files
22257 to register. Set is_nscd. Load all the DSOs for the NSS modules
22258 used for the cached services.
22259 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
22260 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
22261 options for features to all the files in nscd.
22263 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
22265 2011-07-10 Roland McGrath <roland@hack.frob.com>
22267 * csu/elf-init.c (__libc_csu_init): Comment typo.
22269 2011-07-09 Ulrich Drepper <drepper@gmail.com>
22271 * po/pl.po: Update from translation team.
22272 * po/ja.po: Likewise.
22273 * po/ru.po: Likewise.
22274 * po/ko.po: Likewise.
22275 * po/fr.po: Likewise.
22277 2011-07-09 Roland McGrath <roland@hack.frob.com>
22279 * configure.in (.ctors/.dtors header and trailer check):
22280 Use an empirical test on a built program.
22281 * configure: Regenerated.
22283 * configure.in (-z relro check): Use an empirical test on a built DSO.
22284 Detect, but do not require, on ia64.
22285 * configure: Regenerated.
22287 * configure.in (READELF): Find it with AC_CHECK_TOOL.
22288 Update tests that use readelf to use $READELF instead.
22289 * configure: Regenerated.
22291 2011-07-08 Ulrich Drepper <drepper@gmail.com>
22293 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
22294 if the result is not used.
22296 2011-07-05 Andreas Jaeger <aj@suse.de>
22299 * stdlib/tst-strtod.c: Add testcase.
22301 2011-07-07 Ulrich Drepper <drepper@gmail.com>
22303 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
22304 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
22305 The latter has a higher limit. Take additional parameter to pass to
22307 (__pathconf): Pass file to __statfs_link_max.
22308 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
22310 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
22314 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
22315 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22317 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
22318 (__statfs_filesize_max): Likewise.
22319 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
22321 2011-07-05 Andreas Jaeger <aj@suse.de>
22323 * resolv/res_comp.c (dn_skipname): Remove unused variable.
22325 2011-07-06 Marek Polacek <mpolacek@redhat.com>
22327 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
22329 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
22332 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
22334 * Makefile (strop-tests): Add strncat.
22335 * string/test-strncat.c: New file.
22337 2011-06-30 Marek Polacek <mpolacek@redhat.com>
22339 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
22341 2011-06-21 Andreas Jaeger <aj@suse.de>
22343 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
22344 Copy rule from iconvdata/Makefile.
22346 2011-07-06 Ulrich Drepper <drepper@gmail.com>
22349 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
22350 but no long options are defined, just return 'W'.
22352 2011-06-22 Marek Polacek <mpolacek@redhat.com>
22355 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
22357 2011-07-06 Ulrich Drepper <drepper@gmail.com>
22359 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
22361 (innetgr): Likewise.
22363 2011-07-05 Roland McGrath <roland@hack.frob.com>
22365 * config.make.in (install_root): Default to $(DESTDIR).
22367 2011-07-05 Ulrich Drepper <drepper@gmail.com>
22369 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
22371 2011-07-02 Roland McGrath <roland@hack.frob.com>
22373 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
22375 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
22376 containing directory rather than embedding absolute directory names.
22378 * scripts/check-local-headers.sh: Rewritten using awk.
22379 Match by word, not by line. Print error messages for matches.
22380 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
22382 * Makerules [shlib-lds-flags empty]:
22383 ($(common-objpfx)libc_pic.opts): New target.
22384 ($(common-objpfx)libc_pic.os.clean): New target.
22385 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
22387 * config.make.in (OBJCOPY): New variable.
22388 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
22389 * configure: Regenerated.
22391 * config.make.in (use-default-link): New variable.
22392 * configure.in (use_default_link): Grok --with-default-link to set it.
22393 * configure: Regenerated.
22394 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
22395 (shlib-lds, shlib-lds-flags): Define to empty.
22397 * Makerules (shlib-lds): New variable.
22398 (shlib-lds-flags): New variable.
22399 (build-shlib, build-moduile, build-module-asneeded): Use it.
22400 ($(common-objpfx)libc.so): Use $(shlib-lds).
22401 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
22402 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
22404 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
22405 DT_FLAGS/DT_FLAGS_1 with zero flags.
22407 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
22408 linker script munging.
22410 2011-07-02 Ulrich Drepper <drepper@gmail.com>
22412 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
22414 * crypt/sha512.c (sha512_process_block): Perform total addition using
22415 128-bit if possible.
22416 (__sha512_finish_ctx): Likewise.
22417 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
22419 * crypt/sha256.c (SWAP64): Define.
22420 (sha256_process_block): Perform total addition using 64-bit if
22422 (__sha256_finish_ctx): Likewise.
22424 2011-07-01 Ulrich Drepper <drepper@gmail.com>
22426 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
22427 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22428 * nscd/hstcache.c (cache_addhst): Likewise.
22429 * nscd/grpcache.c (cache_addgr): Likewise.
22430 * nscd/aicache.c (addhstaiX): Likewise
22431 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
22433 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
22435 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
22436 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22437 * nscd/hstcache.c (cache_addhst): Likewise.
22438 * nscd/grpcache.c (cache_addgr): Likewise.
22439 * nscd/aicache.c (addhstaiX): Likewise
22441 2011-07-01 Andreas Schwab <schwab@redhat.com>
22443 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
22444 domain only when needed.
22446 2011-06-30 Andreas Schwab <schwab@redhat.com>
22448 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
22449 is always restored.
22451 2011-06-29 Ulrich Drepper <drepper@gmail.com>
22453 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
22454 are re-adding the entry.
22455 * nscd/servicescache.c (cache_addserv): Likewise.
22457 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
22459 * sysdeps/generic/dl-irel.h: fix protection against multiple
22461 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
22463 2011-06-28 Ulrich Drepper <drepper@gmail.com>
22466 * malloc/memusage.sh: Fix quoting in message.
22467 * debug/xtrace.sh: Likewise.
22469 * configure.in: Remove support for --experimental-malloc option, make
22471 * config.make.in: Likewise.
22472 * malloc/Makefile: Likewise.
22474 2011-06-27 Andreas Schwab <schwab@redhat.com>
22476 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
22477 two-byte characters.
22479 2011-06-27 Roland McGrath <roland@hack.frob.com>
22481 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
22482 AC_CACHE_CHECK invocation.
22483 * configure: Regenerated.
22485 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
22487 2011-06-27 Ulrich Drepper <drepper@gmail.com>
22490 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
22491 bit from old_res_options.
22493 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
22495 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
22496 value type for setfct.
22498 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
22500 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22501 __gettimeofday instead of gettimeofday.
22503 2011-06-26 Ulrich Drepper <drepper@gmail.com>
22505 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
22507 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
22509 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
22511 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
22514 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
22516 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22517 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
22518 strcpy-sse2-unaligned strncpy-sse2-unaligned
22519 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
22520 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
22521 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
22522 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
22523 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
22524 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
22525 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
22526 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
22527 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
22528 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
22529 (STRCPY): Support SSE2 and SSSE3 versions.
22531 2011-06-24 Ulrich Drepper <drepper@gmail.com>
22534 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
22535 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
22536 kernels which artificially limit size of requests.
22538 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
22540 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22541 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
22542 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
22543 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
22544 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
22545 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
22546 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
22547 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
22548 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
22549 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
22550 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
22551 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
22552 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
22553 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
22554 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
22555 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22556 Enable unaligned load optimization for Intel Core i3, i5 and i7
22558 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
22560 (index_Fast_Unaligned_Load): Define.
22561 (HAS_FAST_UNALIGNED_LOAD): Define.
22563 2011-06-23 Marek Polacek <mpolacek@redhat.com>
22565 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
22567 2011-06-22 Ulrich Drepper <drepper@gmail.com>
22570 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
22571 until it is clear that the information is realy needed.
22572 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
22574 2011-06-22 Andreas Schwab <schwab@redhat.com>
22576 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
22578 2011-06-22 Ulrich Drepper <drepper@gmail.com>
22580 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22581 /sys/devices/system/cpu/online if it is usable.
22583 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
22584 reading the information from the /proc filesystem to once a second.
22586 2011-06-21 Andreas Jaeger <aj@suse.de>
22588 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
22589 NULL after inclusion of kernel headers.
22591 2011-06-21 Ulrich Drepper <drepper@gmail.com>
22593 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
22594 calls to internal_setent.
22597 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
22598 addresses using gethostbyname4_r ignore IPv4 addresses.
22600 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
22601 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
22603 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
22605 2011-06-20 David S. Miller <davem@davemloft.net>
22607 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
22609 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
22611 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
22612 (elf_irel): Use it.
22613 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
22614 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
22615 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
22616 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
22617 * sysdeps/x86_64/dl-irel.h: Likewise.
22619 * elf/dl-runtime.c: Use elf_ifunc_invoke.
22620 * elf/dl-sym.c: Likewise.
22622 2011-06-15 Ulrich Drepper <drepper@gmail.com>
22624 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
22625 need to dereference resplen2.
22627 2011-06-14 Andreas Schwab <schwab@redhat.com>
22629 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
22631 2011-06-15 Ulrich Drepper <drepper@gmail.com>
22633 * Makeconfig: Define vardbdir and inst_vardbdir.
22634 * nss/Makefile: Add rules to install db-Makefile.
22636 * nss/nss_db/db-XXX.c: Cleanup.
22638 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
22639 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
22641 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
22642 * nss/makedb.c: Implement -g option to specify that value strings
22643 are generated and should not be added to table iterated over for
22645 * nss/nss_db/db-initgroups.c: New file.
22647 * nss/getent.c: Add support for initgroups lookups through getgrouplist
22650 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
22651 (internal_getgrouplist): Adjust to name change.
22652 Update use_initgroups_entry if this is not the first call.
22653 * nss/databases.def: Add initgroups entry.
22655 * nss/makedb.c (compute_tables): Check result of multiple hash table
22656 sizes to minimize maximum chain length.
22658 2011-06-14 Ulrich Drepper <drepper@gmail.com>
22660 * Versions.def: Add entry for libnss_db.
22661 * shlib-versions: Likewise.
22662 * nss/Makefile: Add rules to build libnss_db.
22663 * nss/Versions: Add libnss_db information. Organize libnss_files
22665 * nss/db-Makefile: Add gshadow support. Change rules for the new
22666 makedb progra. Some minor improvements to generate smaller files.
22667 * nss/nss_db/nss_db.h: Move NSS database header data structures to
22669 * nss/makedb.c: ...here.
22670 Improve database format to be smaller and require less memory at
22672 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
22674 * nss/nss_db/db-netgrp.c: Likewise.
22675 * nss/nss_db/db-open.c: Likewise.
22676 * nss/nss_files/flies-XXX.x: Adjust comments.
22677 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
22678 * nss/nss_files/files-grp.c: Likewise.
22679 * nss/nss_files/files-hosts.c: Likewise.
22680 * nss/nss_files/files-network.c: Likewise.
22681 * nss/nss_files/files-proto.c: Likewise.
22682 * nss/nss_files/files-pwd.c: Likewise.
22683 * nss/nss_files/files-rpc.c: Likewise.
22684 * nss/nss_files/files-service.c: Likewise.
22685 * nss/nss_files/files-sgrp.c: Likewise.
22686 * nss/nss_files/files-spwd.c: Likewise.
22687 * nss/nss_db/db-alias.c: Removed.
22688 * nss/nss_db/dummy-db.h: Removed.
22690 2011-06-02 Ulrich Drepper <drepper@gmail.com>
22692 * nss/makedb.c: Rewritten to not use database library.
22693 * nss/Makefile: Update to build new makedb program.
22695 2011-06-14 Andreas Jaeger <aj@suse.de>
22697 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
22698 memset declaration.
22700 2011-06-10 Andreas Schwab <schwab@redhat.com>
22702 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
22705 2011-06-10 Roland McGrath <roland@hack.frob.com>
22707 * Makerules (shlib.lds): Fail if the linker script comes out empty.
22708 * elf/Makefile ($(objpfx)ld.so): Likewise.
22710 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
22711 Don't list ld.so twice in dependencies.
22713 * posix/bug-regex31.c: Include <stdlib.h>.
22715 * nscd/hstcache.c (cache_addhst): Remove unused variable.
22717 * nis/nss_compat/compat-spwd.c
22718 (getspent_next_nss_netgr): Remove unused variable.
22719 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
22721 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
22722 nonmembers" output to use the right array.
22724 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
22726 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
22728 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
22729 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
22730 * catgets/gencat.c (read_input_file): Likewise.
22731 * locale/programs/locarchive.c (enlarge_archive): Likewise.
22733 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
22734 variable definition inside #if's controlling its use.
22736 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
22738 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
22740 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
22742 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
22745 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
22747 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
22748 * configure: Regenerated.
22750 * Makerules: Revert last change.
22751 * elf/Makefile: Likewise.
22753 2011-06-09 Roland McGrath <roland@hack.frob.com>
22755 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
22756 * elf/Makefile ($(objpfx)librtld.os): Likewise.
22757 (reloc-link): Likewise.
22759 2011-06-09 Ulrich Drepper <drepper@gmail.com>
22761 * elf/Makefile: Add rules to build pldd.
22762 * elf/pldd.c: New file.
22763 * elf/pldd-xx.c: New file.
22765 2011-06-07 Ulrich Drepper <drepper@gmail.com>
22767 * version.h: Update for 2.15 development version.
22769 2011-06-07 David S. Miller <davem@davemloft.net>
22771 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
22773 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
22774 elf_machine_lazy_rel): Likewise.
22775 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22776 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
22777 elf_machine_lazy_rel): Likewise.
22778 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
22779 dl_hwcap via passed in argument.
22780 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
22783 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22785 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
22787 2011-06-06 Roland McGrath <roland@hack.frob.com>
22790 * manual/fdl-1.1.texi: New file, verbatim from:
22791 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
22792 * manual/lgpl-2.1.texi: New file, verbatim from:
22793 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
22794 * manual/Makefile (licenses): New variable, list those new file names.
22796 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
22798 * manual/fdl.texi: File removed.
22799 * manual/lesser.texi: File removed.
22800 * manual/libc.texinfo (Copying, Documentation License):
22801 Use new @include file names, put @appendix directive before @include.
22803 2011-06-04 Jakub Jelinek <jakub@redhat.com>
22806 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
22807 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
22808 (mq_open): Add __NTH.
22810 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
22812 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22813 Assume Intel Core i3/i5/i7 processor if AVX is available.
22815 2011-05-31 Ulrich Drepper <drepper@gmail.com>
22817 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22820 2011-05-31 Andreas Schwab <schwab@redhat.com>
22822 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
22823 memory. Use alloca_account. Fix memory leak when retrying.
22825 2011-05-31 Ulrich Drepper <drepper@gmail.com>
22827 * version.h (RELEASE): Bump for 2.14 release.
22828 * include/features.h (__GLIBC_MINOR__): Bump to 14.
22830 * config.make.in (RANLIB): Remove entry.
22832 2011-05-30 Ulrich Drepper <drepper@gmail.com>
22834 * po/Makefile (po-sed-cmd): Add ksh to extensions.
22835 (libc.pot): Work around missing support for .ksh extension in xgettext.
22838 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
22839 if both request failed.
22840 (send_dg): In case of server errors clear resplen or *resplen2.
22843 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
22844 when there are multiple maps.
22845 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
22846 (_dl_fini): Remove test here.
22848 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
22850 2011-05-29 Ulrich Drepper <drepper@gmail.com>
22853 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
22854 bit from old_res_options.
22855 (gaih_inet): Likewise.
22858 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
22861 * resolv/res_init.c (res_setoptions): Make the code more compact.
22864 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
22868 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
22870 * malloc/malloc.h: Mark malloc hook variables as deprecated.
22873 * malloc/malloc.h: Declare malloc hook variables as volatile.
22875 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
22879 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
22880 raise in the comment.
22881 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22882 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22883 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
22885 2011-05-28 Ulrich Drepper <drepper@gmail.com>
22888 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
22889 grow the buffers more if it already has to be sufficient.
22890 (build_wcs_upper_buffer): Likewise.
22891 * posix/regexec.c (check_matching): Likewise.
22892 (clean_state_log_if_needed): Likewise.
22893 (extend_buffers): Don't enlarge buffers beyond size of the input
22895 Patches mostly by Emil Wojak <emil@wojak.eu>.
22896 * posix/bug-regex32.c: New file.
22897 * posix/Makefile (tests): Add bug-regex32.
22899 * locale/findlocale.c (_nl_find_locale): Return right away if
22900 _nl_explode_name failed.
22901 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
22903 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
22905 * debug/xtrace.sh: Unify messages.
22906 * malloc/memusage.sh: Likewise.
22909 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
22910 time symbol from vDSO. Substitute with vsyscall if not available.
22911 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
22914 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
22915 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
22916 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
22917 Add sendmmsg and internal_sendmmsg.
22918 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
22919 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
22920 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
22922 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
22923 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
22924 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
22926 2011-05-27 Ulrich Drepper <drepper@gmail.com>
22929 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
22930 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
22932 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
22936 * iconvdata/Makefile (tests): Add bug-iconv9.
22937 * iconvdata/bug-iconv9.c: New file.
22939 2011-05-27 Andreas Schwab <schwab@redhat.com>
22942 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
22944 2011-05-25 Jakub Jelinek <jakub@redhat.com>
22946 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22947 (struct user_regs_struct): Change intcs field back to cs.
22949 2011-05-25 Ulrich Drepper <drepper@gmail.com>
22951 * po/ja.po: Update from translation team.
22953 2011-05-23 Ulrich Drepper <drepper@gmail.com>
22956 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
22957 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
22959 2011-05-20 Andreas Schwab <schwab@redhat.com>
22961 * stdlib/longlong.h: Update from GCC.
22963 2011-05-23 Andreas Schwab <schwab@redhat.com>
22965 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
22967 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
22968 Add parameter name.
22969 (__sysconf): Pass it down.
22971 2011-05-22 Ulrich Drepper <drepper@gmail.com>
22974 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
22976 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22977 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
22978 add in in __libc_use_alloca calls. Adjust callers.
22979 (glob): Use malloc in some situations.
22981 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
22982 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
22985 2011-05-21 Ulrich Drepper <drepper@gmail.com>
22987 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
22988 and CLOCK_BOOTTIME_ALARM.
22991 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
22994 * string/_strerror.c (__strerror_r): Print negative errors as signed
22998 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
22999 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
23000 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
23002 * configure.in: Fix typo in redirection and correct removal of test
23003 files in two cases.
23006 * locale/setlocale.c (new_composite_name): Fix test to check for
23007 identical name of all categories.
23010 * libio/filedoalloc.c (local_isatty): New function.
23011 (_IO_file_doallocate): Use local_isatty.
23012 * stdio-common/perror.c (perror): In case a new stream is used
23013 forward the stream error.
23014 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
23017 2011-05-20 Ulrich Drepper <drepper@gmail.com>
23020 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
23022 * include/alloca.h (extend_alloca_account): Define.
23025 * posix/regex.h: Fix comments with documentation of user-accessible
23026 fields after compilation and describe correct free'ing of pattern
23027 after re_compile_pattern.
23028 Patch by Reuben Thomas <rrt@sc3d.org>.
23030 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
23032 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
23033 and -mno-altivec to prevent the compiler from using Altivec and/or
23034 VSX instructions when the corresponding registers are not available.
23036 2011-05-19 Andreas Schwab <schwab@redhat.com>
23038 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
23040 2011-05-19 Ulrich Drepper <drepper@gmail.com>
23042 * libio/freopen.c (freopen): Use __dup2, not dup2.
23043 * libio/freopen64.c (freopen64): Likewise.
23045 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
23048 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
23049 * math/Makefile (tests): Add test-powl.
23050 (CFLAGS-test-powl.c): Define.
23051 * math/test-powl.c: New file.
23053 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
23055 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
23057 2011-05-17 Ulrich Drepper <drepper@gmail.com>
23060 * iconvdata/gb18030.c: Update to GB18020-2005.
23062 2011-05-16 Ulrich Drepper <drepper@gmail.com>
23064 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
23065 RE_SYNTAX_POSIX_AWK): Update to match recent development.
23066 Patch by Aharon Robbins <arnold@skeeve.com>.
23069 * stdlib/putenv.c (putenv): Don't always create copy of the variable
23073 * misc/pselect.c (__pselect): Handle timeout value errors hidden
23074 through underflows.
23077 * misc/error.c (error_at_line): Ensure file_name and old_file_name
23078 point to strings before performing equality test for error_one_per_line
23082 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
23085 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23086 (struct user_fpregs_struct): Avoid __uint*_t types.
23089 * malloc/mtrace.c (tr_where): Add additional parameter to point to
23090 symbol info. Use it instead of calling _dl_addr locally.
23091 (lock_and_info): New function.
23092 (tr_freehook): Call lock_and_info and pass symbol info as additional
23093 parameter to tr_where.
23094 (tr_mallochook): Likewise.
23095 (tr_reallochook): Likewise.
23096 (tr_memalignhook): Likewise.
23098 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
23099 used and couldn't be at all thread-safe.
23101 2011-05-15 Ulrich Drepper <drepper@gmail.com>
23103 * libio/freopen.c (freopen): Don't close old file descriptor
23104 before the new one is opened. Instead dup the new file descriptor
23105 to the old one after the new stream is created.
23106 * libio/freopen64.c (freopen64): Likewise.
23107 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
23108 * libio/fileops.c (_IO_new_file_close_it): Handle new
23109 _IO_FLAGS2_NOCLOSE flag.
23110 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
23111 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
23112 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
23113 _IO_FLAGS2_NOCLOSE flag.
23114 * include/unistd.h: Add hidden_proto for dup3.
23115 Define __have_dup3.
23116 * io/dup3.c: Define hidden symbol.
23117 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
23120 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
23121 when an incomplete long option is used.
23122 * posix/tst-getopt_long1.c: New file.
23123 * posix/Makefile (tests): Add tst-getopt_long1.
23126 * scripts/config.guess: Update from autoconf-2.68.
23127 * scripts/config.sub: Likewise.
23130 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
23132 (has_cpuclock): ...this. New function.
23133 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
23134 macro here based on has_cpuclock code.
23137 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23138 First byte (not low byte) is now always NUL.
23139 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
23141 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23142 Use non-cancelable interfaces.
23145 * locale/iso-639.def: Add entry for Sorani.
23148 * include/stdlib.h: Move include protection to the right place.
23149 Define abort_msg_s. Declare __abort_msg with it.
23150 * stdlib/abort.c (__abort_msg): Adjust type.
23151 * assert/assert.c (__assert_fail_base): New function. Majority
23152 of code from __assert_fail. Allocate memory for __abort_msg with
23154 (__assert_fail): Now call __assert_fail_base.
23155 * assert/assert-perr.c: Remove bulk of implementation. Use
23156 __assert_fail_base.
23157 * include/assert.hL Declare __assert_fail_base.
23158 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
23160 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
23162 2011-05-14 Ulrich Drepper <drepper@gmail.com>
23166 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
23167 until all modules are registered in the DTV.
23168 * elf/Makefile: Add rules to build and run tst-tls19.
23169 * elf/tst-tls19.c: New file.
23170 * elf/tst-tls19mod1.c: New file.
23171 * elf/tst-tls19mod2.c: New file.
23172 * elf/tst-tls19mod3.c: New file.
23173 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
23176 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
23180 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
23181 two-byte sequence errors.
23182 * iconvdata/Makefile (tests): Add bug-iconv8.
23183 * iconvdata/bug-iconv8.c: New file.
23186 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
23189 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
23192 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
23193 (dummy_getcfa): New function.
23194 (init): Get _Unwind_GetCFA address, use dummy if not found.
23195 (backtrace_helper): In recursion check, also check whether CFA changes.
23196 (__backtrace): Completely initialize arg.
23198 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
23199 storing incomplete byte sequence in state object. Avoid testing for
23200 guaranteed too small input if we know there is enough data available.
23202 2011-05-11 Andreas Schwab <schwab@redhat.com>
23204 * Makeconfig (+link-pie): Indent.
23205 * Rules (binaries-pie): Define if $(have-fpie) and
23207 (binaries-shared): Also filter out $(binaries-pie).
23208 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
23209 * nscd/Makefile (others-pie): Add nscd.
23210 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
23211 ($(objpfx)nscd): Remove command override.
23212 * login/Makefile (others-pie): Add pt_chown.
23213 ($(objpfx)pt_chown): Remove command override.
23214 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
23215 remove command overrides.
23217 2011-05-13 Ulrich Drepper <drepper@gmail.com>
23219 * libio/tst_putwc.c: Fix error messages.
23222 * libio/fileops.c (_IO_new_file_close_it): Always flush when
23223 currently writing and seek to current position when not.
23224 * libio/Makefile (tests): Add bug-fclose1.
23225 * libio/bug-fclose1.c: New file.
23227 2011-05-12 Ulrich Drepper <drepper@gmail.com>
23230 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
23231 don't set DF_1_NODELETE here.
23232 (do_lookup_x): When entering new entry test for copy relocation
23233 and if necessary set DF_1_NODELETE flag.
23234 * elf/tst-unique4.cc: New file.
23235 * elf/tst-unique4.h: New file.
23236 * elf/tst-unique4lib.cc: New file.
23237 * elf/Makefile: Add rules to build and run tst-unique4.
23238 Patch by Piotr Bury <pbury@goahead.com>.
23240 2011-05-11 Ulrich Drepper <drepper@gmail.com>
23243 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
23246 * misc/mntent_r.c (addmntent): Flush the stream after the output
23249 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
23250 (is_trusted_path_normalize): Skip initial colon. Append slash
23251 to empty buffer. Duplicate is_trusted_path code but allow
23252 constructed patch to be prefix.
23253 (is_dst): Allow $ORIGIN followed by /.
23254 (_dl_dst_substitute): Correct clearing of check_for_trusted.
23255 Correct testing of result of is_trusted_path_normalize
23256 (decompose_rpath): Fix warning.
23258 2011-05-10 Ulrich Drepper <drepper@gmail.com>
23261 * grp/initgroups.c (internal_getgrouplist): When we found the service
23262 list through the initgroups entry in nsswitch.conf do not always
23263 continue on a successful lookup. Don't always use the
23264 __nss_group_database value if it is set.
23265 * nss/nsswitch.conf (initgroups): Change action for successful db
23266 lookup to continue for compatibility.
23268 2011-05-09 Ulrich Drepper <drepper@gmail.com>
23271 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
23273 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
23275 * iconvdata/tst-tables.sh: Likewise.
23276 * iconvdata/cp770.c: New file.
23277 * iconvdata/cp771.c: New file.
23278 * iconvdata/cp772.c: New file.
23279 * iconvdata/cp773.c: New file.
23280 * iconvdata/cp774.c: New file.
23281 * iconvdata/testdata/CP770: New file.
23282 * iconvdata/testdata/CP770..UTF8: New file.
23283 * iconvdata/testdata/CP771: New file.
23284 * iconvdata/testdata/CP771..UTF8: New file.
23285 * iconvdata/testdata/CP772: New file.
23286 * iconvdata/testdata/CP772..UTF8: New file.
23287 * iconvdata/testdata/CP773: New file.
23288 * iconvdata/testdata/CP773..UTF8: New file.
23289 * iconvdata/testdata/CP774: New file.
23290 * iconvdata/testdata/CP774..UTF8: New file.
23292 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
23294 * iconvdata/gen-8bit-gap.sh: Likewise.
23295 * iconvdata/gen-8bit.sh: Likewise.
23297 * locale/iso-639.def: Add ary entry.
23300 * locale/C-translit.h.in: Add U20A1 transliteration.
23303 * locale/iso-639.def: Add wae entry.
23304 Patch by Kevin Bortis <bortis@translate-wae.ch>.
23307 * locale/programs/localedef.c (construct_output_path): Use ssize_t
23311 * locale/C-translit.h.in: Add entry for U20B9.
23312 Patch by pravin.d.s@gmail.com.
23314 2011-05-08 Ulrich Drepper <drepper@gmail.com>
23317 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
23318 ENAMETOOLONG use generic getcwd.
23319 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
23320 in rtld. Use *stat64.
23321 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
23322 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
23323 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
23324 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
23325 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
23326 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
23327 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
23328 __fstatat64 macros.
23329 * include/dirent.h: Add libc_hidden_proto for rewinddir.
23330 * dirent/rewinddir.c: Add libc_hidden_def.
23331 * sysdeps/mach/hurd/rewinddir.c: Likewise.
23332 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
23334 * include/dirent.h (__alloc_dir): Add flags parameter.
23335 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
23336 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
23338 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
23339 from fdopendir if O_CLOEXEC is already set.
23341 2011-03-15 Alan Modra <amodra@gmail.com>
23343 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
23344 l_tls_firstbyte_offset non-zero. Save padding offset in
23345 l_tls_firstbyte_offset for later use.
23346 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
23347 freeing static tls block.
23349 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
23351 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
23352 where #ifdef was intended. The intent is to prevent ARG_MAX from
23353 being defined by the kernel headers.
23355 2011-05-07 Ulrich Drepper <drepper@gmail.com>
23358 * resolv/resolv.h: Define RES_NOTLDQUERY.
23359 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
23360 no-tld-query and set RES_NOTLDQUERY.
23361 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
23362 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
23363 modern BIND to search name as TLD unless forbidden.
23365 2011-05-07 Petr Baudis <pasky@suse.cz>
23366 Ulrich Drepper <drepper@gmail.com>
23369 * elf/dl-load.c (fillin_rpath): Move trusted path check...
23370 (is_trusted_path): ...to here.
23371 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
23372 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
23373 using is_trusted_path_normalize() in setuid scripts.
23375 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23377 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
23378 __BEGIN/__END_DECLS.
23380 2011-05-06 Ulrich Drepper <drepper@gmail.com>
23382 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
23383 NSS_STATUS_NOTFOUND if no record was found.
23385 2011-05-05 Andreas Schwab <schwab@redhat.com>
23387 * sunrpc/Makefile (headers): Add rpc/netdb.h.
23388 (headers-not-in-tirpc): Remove rpc/netdb.h
23389 * resolv/netdb.h: Revert last change.
23391 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23393 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
23394 circular dependency between libgcc.a and libc.a.
23396 2011-05-05 Andreas Schwab <schwab@redhat.com>
23398 * resolv/netdb.h: Don't include <rpc/netdb.h>.
23399 * nis/Makefile: Don't install rpcsvc/*.
23400 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
23401 instead of <rpc/types.h>.
23402 (MAXHOSTNAMELEN): Define.
23404 2011-05-03 Andreas Schwab <schwab@redhat.com>
23406 * elf/ldconfig.c (add_dir): Don't crash on empty path.
23408 2011-04-28 Maciej Babinski <mbabinski@google.com>
23411 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
23412 gethostbyname4_r when IPv6 results are possible.
23414 2011-05-02 Ulrich Drepper <drepper@gmail.com>
23417 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
23418 _PC_PIPE_BUF handling.
23420 2011-04-30 Bruno Haible <bruno@clisp.org>
23423 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
23424 * resolv/netdb.h (getnameinfo): Change type of flags parameter
23426 * inet/getnameinfo.c (getnameinfo): Likewise.
23428 2011-04-29 Ulrich Drepper <drepper@gmail.com>
23430 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
23431 to groups setting in database lookup.
23432 * nss/nsswitch.conf: Add initgroups entry.
23434 2011-04-22 Ulrich Drepper <drepper@gmail.com>
23437 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
23439 Patch by Eric Blake <eblake@redhat.com>.
23441 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
23443 * sunrpc/Makefile (need-export-routines): Add svc_run.
23444 (routines): Remove svc_run.
23445 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
23446 * sunrpc/clnt_perr.c (clnt_perrno): Export.
23447 * sunrpc/svc_run.c (svc_run): Likewise.
23448 * sunrpc/svc_udp.c (svcudp_create): Likewise.
23450 2011-04-21 Ulrich Drepper <drepper@gmail.com>
23452 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
23453 problem in reallocation in last patch.
23455 2011-04-20 Ulrich Drepper <drepper@gmail.com>
23457 * sunrpc/Makefile: Move inclusion of Rules.
23459 2011-04-19 Ulrich Drepper <drepper@gmail.com>
23461 * nss/nss_files/files-initgroups.c: New file.
23462 * nss/Makefile (libnss_files-routines): Add files-initgroups.
23463 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
23464 _nss_files_initgroups_dyn.
23466 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
23468 * elf/elf.h (R_ARM_IRELATIVE): Define.
23470 2011-04-19 Ulrich Drepper <drepper@gmail.com>
23472 * po/ru.po: Update from translation team.
23474 2011-04-17 Ulrich Drepper <drepper@gmail.com>
23476 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
23479 2011-02-06 Mike Frysinger <vapier@gentoo.org>
23482 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
23483 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
23484 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23485 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23486 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23488 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
23490 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
23492 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23493 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23494 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23496 2011-04-17 Ulrich Drepper <drepper@gmail.com>
23499 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
23501 * stdlib/bug-getcontext.c: New file.
23502 * stdlib/Makefile: Add rules to build and run bug-getcontext.
23504 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23506 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
23507 instructions into .machine "z9-109".
23508 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
23509 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
23511 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23513 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
23514 between environment variables and auxiliary vector.
23516 2011-04-16 Ulrich Drepper <drepper@gmail.com>
23518 * Makefile: Add rules to build linkobj/libc.so.
23519 * include/libc-symbols.h: Define libc_hidden_nolink.
23520 * include/rpc/auth.h: Mark functions which are to be hidden.
23521 * include/rpc/auth_des.h: Likewise.
23522 * include/rpc/auth_unix.h: Likewise.
23523 * include/rpc/clnt.h: Likewise.
23524 * include/rpc/des_crypt.h: Likewise.
23525 * include/rpc/key_prot.h: Likewise.
23526 * include/rpc/pmap_clnt.h: Likewise.
23527 * include/rpc/pmap_prot.h: Likewise.
23528 * include/rpc/pmap_rmt.h: Likewise.
23529 * include/rpc/rpc_msg.h: Likewise.
23530 * include/rpc/svc.h: Likewise.
23531 * include/rpc/svc_auth.h: Likewise.
23532 * include/rpc/xdr.h: Likewise.
23533 * nis/Makefile: Link all DSOs against linkobj/libc.so.
23534 * nss/Makefile: Likewise.
23535 * sunrpc/Makefile: Don't install headers. Build library with normal
23536 entry points. Don't build rpcinfo. Link RPC tests appropriately.
23537 * sunrpc/auth_des.c: Hide exported symbols by default, export some
23538 for the compat linking library. Remove use of INTDEF/INTUSE.
23539 * sunrpc/auth_none.c: Likewise.
23540 * sunrpc/auth_unix.c: Likewise.
23541 * sunrpc/authdes_prot.c: Likewise.
23542 * sunrpc/authuxprot.c: Likewise.
23543 * sunrpc/clnt_gen.c: Likewise.
23544 * sunrpc/clnt_perr.c: Likewise.
23545 * sunrpc/clnt_raw.c: Likewise.
23546 * sunrpc/clnt_simp.c: Likewise.
23547 * sunrpc/clnt_tcp.c: Likewise.
23548 * sunrpc/clnt_udp.c: Likewise.
23549 * sunrpc/clnt_unix.c: Likewise.
23550 * sunrpc/des_crypt.c: Likewise.
23551 * sunrpc/des_soft.c: Likewise.
23552 * sunrpc/get_myaddr.c: Likewise.
23553 * sunrpc/key_call.c: Likewise.
23554 * sunrpc/key_prot.c: Likewise.
23555 * sunrpc/netname.c: Likewise.
23556 * sunrpc/pm_getmaps.c: Likewise.
23557 * sunrpc/pm_getport.c: Likewise.
23558 * sunrpc/pmap_clnt.c: Likewise.
23559 * sunrpc/pmap_prot.c: Likewise.
23560 * sunrpc/pmap_prot2.c: Likewise.
23561 * sunrpc/pmap_rmt.c: Likewise.
23562 * sunrpc/publickey.c: Likewise.
23563 * sunrpc/rpc_cmsg.c: Likewise.
23564 * sunrpc/rpc_common.c: Likewise.
23565 * sunrpc/rpc_dtable.c: Likewise.
23566 * sunrpc/rpc_prot.c: Likewise.
23567 * sunrpc/rpc_thread.c: Likewise.
23568 * sunrpc/rtime.c: Likewise.
23569 * sunrpc/svc.c: Likewise.
23570 * sunrpc/svc_auth.c: Likewise.
23571 * sunrpc/svc_authux.c: Likewise.
23572 * sunrpc/svc_raw.c: Likewise.
23573 * sunrpc/svc_run.c: Likewise.
23574 * sunrpc/svc_simple.c: Likewise.
23575 * sunrpc/svc_tcp.c: Likewise.
23576 * sunrpc/svc_udp.c: Likewise.
23577 * sunrpc/svc_unix.c: Likewise.
23578 * sunrpc/svcauth_des.c: Likewise.
23579 * sunrpc/xcrypt.c: Likewise.
23580 * sunrpc/xdr.c: Likewise.
23581 * sunrpc/xdr_array.c: Likewise.
23582 * sunrpc/xdr_float.c: Likewise.
23583 * sunrpc/xdr_intXX_t.c: Likewise.
23584 * sunrpc/xdr_mem.c: Likewise.
23585 * sunrpc/xdr_rec.c: Likewise.
23586 * sunrpc/xdr_ref.c: Likewise.
23587 * sunrpc/xdr_sizeof.c: Likewise.
23588 * sunrpc/xdr_stdio.c: Likewise.
23590 2011-04-10 Ulrich Drepper <drepper@gmail.com>
23593 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
23594 * sysdeps/ia64/dl-tls.h: Likewise.
23595 * sysdeps/powerpc/dl-tls.h: Likewise.
23596 * sysdeps/s390/dl-tls.h: Likewise.
23597 * sysdeps/sh/dl-tls.h: Likewise.
23598 * sysdeps/sparc/dl-tls.h: Likewise.
23599 * sysdeps/x86_64/dl-tls.h: Likewise.
23600 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
23602 2011-03-14 Andreas Schwab <schwab@redhat.com>
23604 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
23605 rpath element also skip the following colon.
23606 (expand_dynamic_string_token): Add is_path parameter and pass
23607 down to DL_DST_REQUIRED and _dl_dst_substitute.
23608 (decompose_rpath): Call expand_dynamic_string_token with
23609 non-zero is_path. Ignore empty rpaths.
23610 (_dl_map_object_from_fd): Call expand_dynamic_string_token
23613 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
23615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23618 2011-04-09 Ulrich Drepper <drepper@gmail.com>
23621 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
23622 Patch by Filipe David Manana <fdmanana@apache.org>.
23624 2011-04-07 Andreas Schwab <schwab@redhat.com>
23626 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
23627 Maintain aligned stack.
23628 (CHECK_RSP): Remove unused macro.
23630 2011-04-03 Ulrich Drepper <drepper@gmail.com>
23632 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
23633 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
23635 2011-04-02 Ulrich Drepper <drepper@gmail.com>
23637 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
23639 * include/features.h: Mention __USE_XOPEN2K8 in comment.
23641 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
23644 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
23645 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
23646 * sysdeps/x86_64/memmove.c: New file.
23647 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
23648 (memcpy): Renamed to ...
23649 (__new_memcpy): This.
23650 (memcpy): Provide GLIBC_2_14 memcpy.
23651 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
23652 (memcpy): Provide GLIBC_2_2_5 memcpy.
23654 2011-04-01 Ulrich Drepper <drepper@gmail.com>
23657 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
23659 2011-03-30 Andreas Schwab <schwab@redhat.com>
23661 * misc/syncfs.c: New file.
23662 * misc/Makefile (routines): Add syncfs.
23663 * posix/unistd.h: Declare syncfs.
23664 * sysdeps/unix/syscalls.list: Add syncfs.
23666 2011-04-01 Andreas Schwab <schwab@redhat.com>
23668 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
23670 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23671 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23672 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23673 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23674 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23675 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
23676 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23678 2011-04-01 Ulrich Drepper <drepper@gmail.com>
23680 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
23681 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23682 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
23683 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23684 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23685 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23686 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23688 * io/Makefile: Compile fallocate.c, fallocate64.c, and
23689 sync_file_range.c with -fexceptions.
23690 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
23691 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
23692 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
23693 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
23694 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
23695 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23696 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
23697 sync_file_range as cancellation point
23698 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
23699 now a wrapper around __call_sync_file_range with cancellation handling.
23700 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
23701 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
23702 function name to __call_sync_file_range.
23703 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
23704 Add call_sync_file_range.
23706 2011-04-01 Andreas Schwab <schwab@redhat.com>
23708 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23711 2011-04-01 Ulrich Drepper <drepper@gmail.com>
23713 * iconv/iconv.h: Fix typo in comment.
23714 * io/fcntl.h: Likewise.
23715 * libio/stdio.h: Likewise.
23716 * posix/spawn.h: Likewise.
23717 * posix/unistd.h: Likewise.
23718 * stdlib/stdlib.h: Likewise.
23719 * time/time.h: Likewise.
23720 * wcsmbs/wchar.h: Likewise.
23722 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
23723 open_by_handle): Add.
23724 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
23725 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
23726 Augment a few comments.
23727 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23728 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23729 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23730 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23731 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23732 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
23735 * io/fcntl.h (AT_EMPTY_PATH): Define.
23737 2011-03-30 Ulrich Drepper <drepper@gmail.com>
23739 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
23740 * sysdeps/unix/sysv/linux/bits/time.h: New file.
23741 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
23743 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
23744 * Versions.def: Add GLIBC_2.14.
23745 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
23748 2011-03-22 Ulrich Drepper <drepper@gmail.com>
23750 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
23752 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23754 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
23757 * string/test-strncmp.c (do_page_test): New function.
23758 (check2): Likewise.
23759 (test_main): Call check2.
23760 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
23762 2011-03-20 Ulrich Drepper <drepper@gmail.com>
23765 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
23766 Handle cache information in CPU leaf 4.
23767 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23769 2011-03-18 Ulrich Drepper <drepper@gmail.com>
23772 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
23773 character representation.
23774 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
23776 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
23778 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
23779 END(__isnan) to END(__isnanf) to match function entry point/label
23780 EALIGN(__isnanf,...).
23782 2011-03-10 Jakub Jelinek <jakub@redhat.com>
23784 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
23786 2011-03-10 Ulrich Drepper <drepper@gmail.com>
23789 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
23790 copy from the symbol referenced in the relocation to initialize the
23792 Patch by Piotr Bury <pbury@goahead.com>.
23793 * elf/Makefile: Add rules to build and tst-unique3.
23794 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
23795 * elf/tst-unique3.cc: New file.
23796 * elf/tst-unique3.h: New file.
23797 * elf/tst-unique3lib.cc: New file.
23798 * elf/tst-unique3lib2.cc: New file.
23800 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
23802 2011-03-10 Mike Frysinger <vapier@gentoo.org>
23804 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
23805 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
23808 2011-03-06 Ulrich Drepper <drepper@gmail.com>
23810 * elf/dl-load.c (_dl_map_object): If we are looking for the first
23811 to-be-loaded object along a path to loader is ld.so.
23813 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23814 Ulrich Drepper <drepper@gmail.com>
23816 * sysdeps/x86_64/memset.S: After aligning destination, code
23817 branches to different locations depending on the value of
23818 misalignment, when multiarch is enabled. Fix this.
23820 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23822 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
23823 Set _x86_64_preferred_memory_instruction for AMD processsors.
23824 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23825 Set bit_Prefer_SSE_for_memop for AMD processors.
23827 2011-03-04 Ulrich Drepper <drepper@gmail.com>
23829 * libio/fmemopen.c (fmemopen): Optimize a bit.
23831 2011-03-03 Andreas Schwab <schwab@redhat.com>
23833 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
23835 2011-03-03 Roland McGrath <roland@redhat.com>
23837 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
23839 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
23841 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
23842 __bzero_ultra1 instead of __memset_ultra1.
23844 2011-02-23 Andreas Schwab <schwab@redhat.com>
23845 Ulrich Drepper <drepper@gmail.com>
23848 * include/link.h (struct link_map): Add l_orig_initfini.
23849 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
23850 returning unsuccessfully.
23851 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
23852 close of a file loaded at startup, restore the original l_initfini
23854 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
23855 list, store the pointer.
23856 * elf/Makefile ($(objpfx)noload-mem): New rule.
23857 (noload-ENV): Define.
23858 (tests): Add $(objpfx)noload-mem.
23859 * elf/noload.c: Include <memcheck.h>.
23860 (main): Call mtrace. Close all opened handles.
23862 2011-02-17 Andreas Schwab <schwab@redhat.com>
23865 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
23866 dependencies are missing.
23868 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
23870 Fix __if_freereq crash: Unlike the generic version which uses free,
23872 * sysdeps/mach/hurd/ifreq.h: New file.
23874 2011-01-27 Petr Baudis <pasky@suse.cz>
23875 Ulrich Drepper <drepper@gmail.com>
23878 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
23879 to extend_alloca().
23880 * stdio-common/bug23.c: New file.
23881 * stdio-common/Makefile (tests): Add bug23.
23883 2010-09-28 Andreas Schwab <schwab@redhat.com>
23884 Ulrich Drepper <drepper@gmail.com>
23887 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
23888 before performing relro protection. At old place add assertion
23889 to make sure nothing changed.
23891 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
23892 Glauber de Oliveira Costa <glommer@gmail.com>
23894 * elf/elf.h: Add new ARM TLS relocs.
23896 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
23898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
23899 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
23901 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
23903 * sysdeps/wordsize-64/tst-writev.c: New file.
23905 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
23907 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
23908 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
23909 insns in _dl_start to prevent a TOC reference before relocs are
23912 2011-02-15 Ulrich Drepper <drepper@gmail.com>
23915 * Makeconfig: Remove RANLIB definition.
23916 * Makerules: Don't use RANLIB.
23917 * aclocal.m4: Remove ranlib test.
23918 * configure.in: No need to check for ranlib.
23919 * elf/rtld-Rules: Don't use RANLIB.
23921 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23923 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
23925 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
23926 inclusion protection macro.
23928 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
23929 SIGRTMIN and SIGRTMAX and print information in that case only when
23930 SIGRTMIN is defined.
23932 2011-02-11 Jakub Jelinek <jakub@redhat.com>
23934 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
23935 arginfo fn returning -1.
23937 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
23938 and thousands string is zero terminated.
23940 2011-02-03 Andreas Schwab <schwab@redhat.com>
23942 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
23943 sysdeps/unix/sysv/linux/bits/socket.h.
23945 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
23947 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
23948 (__CPU_COUNT): Remove old macros.
23949 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
23950 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
23951 (__CPU_ALLOC, __CPU_FREE): Add macros.
23952 (__sched_cpualloc, __sched_cpufree): Add declarations.
23954 2011-02-05 Ulrich Drepper <drepper@gmail.com>
23956 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
23957 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
23958 * nscd/aicache.c (addhstaiX): Return timeout of added value.
23959 (readdhstai): Return value of addhstaiX call.
23960 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
23961 (addgrbyX): Return value returned by cache_addgr.
23962 (readdgrbyname): Return value returned by addgrbyX.
23963 (readdgrbygid): Likewise.
23964 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
23965 (addpwbyX): Return value returned by cache_addpw.
23966 (readdpwbyname): Return value returned by addhstbyX.
23967 (readdpwbyuid): Likewise.
23968 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
23969 (addservbyX): Return value returned by cache_addserv.
23970 (readdservbyname): Return value returned by addservbyX:
23971 (readdservbyport): Likewise.
23972 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
23973 (addhstbyX): Return value returned by cache_addhst.
23974 (readdhstbyname): Return value returned by addhstbyX.
23975 (readdhstbyaddr): Likewise.
23976 (readdhstbynamev6): Likewise.
23977 (readdhstbyaddrv6): Likewise.
23978 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
23979 (readdinitgroups): Return value returned by addinitgroupsX.
23980 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
23981 (prune_cache): Keep track of timeout value of re-added entries.
23982 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
23983 * nscd/nscd.h: Adjust prototypes of readd* functions.
23985 2011-02-04 Roland McGrath <roland@redhat.com>
23987 * nis/nis_server.c (nis_servstate): Use the right name for 0.
23988 (nis_stats): Likewise.
23989 * nis/nis_modify.c (nis_modify): Likewise.
23990 * nis/nis_remove.c (nis_remove): Likewise.
23991 * nis/nis_add.c (nis_add): Likewise.
23993 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
23995 * posix/fnmatch_loop.c: Add some consts.
23997 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
23999 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
24002 * config.make.in (config-cflags-novzeroupper): Define.
24003 * configure.in: Substitute libc_cv_cc_novzeroupper.
24004 * elf/Makefile (AVX-CFLAGS): Define.
24005 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
24006 (CFLAGS-tst-auditmod4a.c): Likewise.
24007 (CFLAGS-tst-auditmod4b.c): Likewise.
24008 (CFLAGS-tst-auditmod6b.c): Likewise.
24009 (CFLAGS-tst-auditmod6c.c): Likewise.
24010 (CFLAGS-tst-auditmod7b.c): Likewise.
24011 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
24013 2011-02-02 Ulrich Drepper <drepper@gmail.com>
24015 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
24016 function to the callback.
24017 Patch partly by Jiri Olsa <jolsa@redhat.com>.
24019 2011-02-02 Andreas Schwab <schwab@redhat.com>
24021 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
24024 2011-01-19 Ulrich Drepper <drepper@gmail.com>
24027 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
24029 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
24031 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
24034 * elf/Makefile: Add rules to build and run new test.
24035 * elf/tst-initorder.c: New file.
24036 * elf/tst-initorder.exp: New file.
24037 * elf/tst-initordera1.c: New file.
24038 * elf/tst-initordera2.c: New file.
24039 * elf/tst-initordera3.c: New file.
24040 * elf/tst-initordera4.c: New file.
24041 * elf/tst-initorderb1.c: New file.
24042 * elf/tst-initorderb2.c: New file.
24043 * elf/tst-order-a1.c: New file.
24044 * elf/tst-order-a2.c: New file.
24045 * elf/tst-order-a3.c: New file.
24046 * elf/tst-order-a4.c: New file.
24047 * elf/tst-order-b1.c: New file.
24048 * elf/tst-order-b2.c: New file.
24049 * elf/tst-order-main.c: New file.
24050 New test case by George Gensure <werkt0@gmail.com>.
24052 2010-10-01 Andreas Schwab <schwab@redhat.com>
24054 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24055 decoding ACE if AI_CANONIDN.
24057 2011-01-18 Ulrich Drepper <drepper@gmail.com>
24059 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
24061 2011-01-17 Ulrich Drepper <drepper@gmail.com>
24063 * version.h (RELEASE): Bump for 2.13 release.
24064 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
24066 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
24068 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
24070 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
24071 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24072 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24073 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24074 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24075 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24077 * posix/getconf.c: Update copyright year.
24078 * catgets/gencat.c: Likewise.
24079 * csu/version.c: Likewise.
24080 * debug/catchsegv.sh: Likewise.
24081 * debug/xtrace.sh: Likewise.
24082 * elf/ldconfig.c: Likewise.
24083 * elf/ldd.bash.in: Likewise.
24084 * elf/sprof.c (print_version): Likewise.
24085 * iconv/iconv_prog.c: Likewise.
24086 * iconv/iconvconfig.c: Likewise.
24087 * locale/programs/locale.c: Likewise.
24088 * locale/programs/localedef.c: Likewise.
24089 * malloc/memusage.sh: Likewise.
24090 * malloc/mtrace.pl: Likewise.
24091 * nscd/nscd.c (print_version): Likewise.
24092 * nss/getent.c: Likewise.
24094 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
24095 PF_CAIF, and PF_ALG.
24096 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24098 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
24100 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
24101 (modules-names): Use them.
24102 (ifunc-test-modules, ifunc-pie-tests): Define.
24103 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
24104 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
24105 (test-extras): Likewise.
24106 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
24107 $(compile-command.c).
24108 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
24109 (all-built-dso): Define.
24110 (check-textrel.out, check-execstack.out): Depend on it.
24112 * configure.in: Don't override --enable-multi-arch.
24114 2011-01-15 Ulrich Drepper <drepper@gmail.com>
24117 * nscd/hstcache.c (tryagain): Define.
24118 (cache_addhst): Return tryagain not notfound for temporary errors.
24119 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
24122 2011-01-14 Ulrich Drepper <drepper@gmail.com>
24125 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
24126 to make the syscall.
24127 * sysdeps/unix/sysv/linux/setgroups.c: New file.
24130 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
24131 and fall back to matching as normal character if the string ends before
24132 the matching ']' is found. This is what POSIX requires.
24133 * posix/testfnm.c: Adjust test result.
24134 * posix/globtest.sh: Adjust test result. Add new test.
24135 * posix/tst-fnmatch.input: Likewise.
24136 * posix/tst-fnmatch2.c: Add new test.
24138 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
24140 * elf/Makefile (check-execstack): Revert last change. Depend on
24142 (check-execstack.h): New target.
24143 (generated): Add check-execstack.h.
24144 * elf/check-execstack.c: Include "check-execstack.h".
24145 (main): Revert last change.
24146 (handle_file): Return zero if GNU_STACK is absent and
24147 DEFAULT_STACK_PERMS doesn't include PF_X.
24149 2011-01-13 Ulrich Drepper <drepper@gmail.com>
24151 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
24152 in child fails because the descriptor is already closed.
24153 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
24154 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
24155 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
24158 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
24162 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
24163 temporary buffer used to handle multi lookups locally.
24164 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
24166 2011-01-12 Ulrich Drepper <drepper@gmail.com>
24168 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
24171 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
24173 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
24174 alignment for SSE2.
24176 2011-01-12 Ulrich Drepper <drepper@gmail.com>
24179 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
24180 characters. When rounding increased number of integer digits recompute
24182 * stdio-common/tst-grouping.c: New file.
24183 * stdio-common/Makefile: Add rules to build and run tst-grouping.
24185 2011-01-09 Ulrich Drepper <drepper@gmail.com>
24187 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
24188 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
24190 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
24192 * bits/select.h: Likewise.
24194 2011-01-08 Ulrich Drepper <drepper@gmail.com>
24196 * po/ja.po: Update from translation team.
24198 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
24201 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
24202 implementation just like for lxstat, fxstatat, et al.
24204 2010-12-27 Jim Meyering <meyering@redhat.com>
24207 * posix/regexec.c (build_trtable): Return failure indication upon
24208 calloc failure. Otherwise, re_search_internal could infloop on OOM.
24210 2010-12-25 Ulrich Drepper <drepper@gmail.com>
24213 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
24214 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
24215 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
24216 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
24219 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
24222 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
24223 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
24225 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
24227 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
24228 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
24229 script has SORT_BY_INIT_PRIORITY.
24230 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
24231 NO_CTORS_DTORS_SECTIONS is defined.
24232 * elf/soinit.c: Likewise.
24233 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
24234 NO_CTORS_DTORS_SECTIONS is defined.
24235 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
24236 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
24237 * sysdeps/sh/init-first.c: Likewise.
24238 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
24240 2010-12-24 Ulrich Drepper <drepper@gmail.com>
24242 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
24243 always use the slow path.
24245 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
24247 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
24248 similar rule which adds the sysdep directories to the header search in
24249 order to pick up the correct platform stackinfo.h.
24250 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
24251 perform test if it is, otherwise return successfully without testing.
24252 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
24253 DEFAULT_STACK_PERMS define in stackinfo.h.
24254 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
24255 defined in stackinfo.h.
24256 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
24257 DEFAULT_STACK_PERMS defined in stackinfo.h.
24258 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
24259 * sysdeps/ia64/stackinfo.h: Likewise.
24260 * sysdeps/s390/stackinfo.h: Likewise.
24261 * sysdeps/sh/stackinfo.h: Likewise.
24262 * sysdeps/sparc/stackinfo.h: Likewise.
24263 * sysdeps/x86_64/stackinfo.h: Likewise.
24264 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
24265 PF_X for powerpc64. Retain PF_X for powerpc32.
24267 2010-12-19 Ulrich Drepper <drepper@gmail.com>
24269 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
24271 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
24272 GETDENTS_64BIT_ALIGNED.
24274 2010-12-14 Ulrich Drepper <dreper@gmail.com>
24276 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
24278 2010-12-10 Andreas Schwab <schwab@redhat.com>
24280 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
24283 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
24284 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
24286 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
24287 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
24289 2010-12-09 Ulrich Drepper <drepper@gmail.com>
24292 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
24295 2010-12-09 Jakub Jelinek <jakub@redhat.com>
24297 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
24299 2010-12-03 Ulrich Drepper <drepper@gmail.com>
24301 * po/it.po: Update from translation team.
24303 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
24305 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
24308 2010-11-30 Ulrich Drepper <drepper@gmail.com>
24310 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
24312 2010-11-24 Andreas Schwab <schwab@redhat.com>
24314 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
24316 (gaih_getanswer_slice): Likewise.
24318 2010-10-20 Jakub Jelinek <jakub@redhat.com>
24320 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
24322 2010-05-31 Petr Baudis <pasky@suse.cz>
24325 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
24326 silently even in the chroot mode.
24328 2010-11-22 Ulrich Drepper <drepper@gmail.com>
24330 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
24331 last patch a bit. Pretty printing
24333 2010-05-31 Petr Baudis <pasky@suse.cz>
24336 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
24337 initialization of skip_initgroups_dyn.
24339 2010-11-19 Ulrich Drepper <drepper@gmail.com>
24341 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
24342 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24344 2010-11-16 Ulrich Drepper <drepper@gmail.com>
24346 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
24348 2010-11-11 Andreas Schwab <schwab@redhat.com>
24350 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
24351 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
24352 (tst-fnmatch-ENV): Set MALLOC_TRACE.
24353 ($(objpfx)tst-fnmatch-mem): New rule.
24354 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
24355 * posix/tst-fnmatch.c (main): Call mtrace.
24357 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
24359 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24360 Support Intel processor model 6 and model 0x2c.
24362 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
24364 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
24367 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
24370 * string/test-strncasecmp.c (check_result): New function.
24371 (do_one_test): Use it.
24372 (check1): New function.
24373 (test_main): Use it.
24374 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
24375 Support strcasecmp and strncasecmp.
24377 2010-11-08 Ulrich Drepper <drepper@gmail.com>
24380 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
24381 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24383 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
24385 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
24387 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24389 * sysdeps/x86_64/multiarch/bzero.S: New file.
24390 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
24391 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
24392 * sysdeps/x86_64/multiarch/memset.S: New file.
24393 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
24394 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24395 Set bit_Prefer_SSE_for_memop for Intel processors.
24396 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
24398 (index_Prefer_SSE_for_memop): Define.
24399 (HAS_PREFER_SSE_FOR_MEMOP): Define.
24401 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
24403 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
24404 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
24406 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
24409 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
24410 (__x86_64_raw_data_cache_size_half): Likewise.
24411 (__x86_64_raw_shared_cache_size): Likewise.
24412 (__x86_64_raw_shared_cache_size_half): Likewise.
24414 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
24415 (__x86_64_raw_data_cache_size_half): Likewise.
24416 (__x86_64_raw_shared_cache_size): Likewise.
24417 (__x86_64_raw_shared_cache_size_half): Likewise.
24418 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
24419 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
24420 and __x86_64_raw_shared_cache_size_half. Round
24421 __x86_64_data_cache_size_half, __x86_64_data_cache_size
24422 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
24423 to multiple of 256 bytes.
24425 2010-11-03 Ulrich Drepper <drepper@gmail.com>
24428 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
24429 of inacessible symlinks. Verify result of symlink before returning it.
24430 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24431 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
24433 2010-10-28 Erich Ritz <erichritz@gmail.com>
24435 * math/math.h (isinf): Fix typo in comment.
24437 2010-11-01 Ulrich Drepper <drepper@gmail.com>
24439 * po/da.po: Update from translation team.
24441 2010-10-26 Ulrich Drepper <drepper@gmail.com>
24443 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
24444 is added to the list.
24446 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24447 Ulrich Drepper <drepper@gmail.com>
24449 * elf/dl-object.c (_dl_new_object): Don't append the new object to
24450 the global list here. Move code to...
24451 (_dl_add_to_namespace_list): ...here. New function.
24452 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
24453 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
24454 * elf/dl-load.c (lose): Don't remove the element from the list.
24455 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
24456 (_dl_map_object): Likewise.
24458 2010-10-25 Ulrich Drepper <drepper@gmail.com>
24461 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
24462 into all bytes of SSE register.
24463 Patch by Richard Li <richardpku@gmail.com>.
24465 2010-10-24 Ulrich Drepper <drepper@gmail.com>
24468 * malloc/malloc.c (_int_free): Fill correct number of bytes when
24471 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
24473 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
24474 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
24475 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
24476 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
24479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
24481 2010-10-22 Andreas Schwab <schwab@redhat.com>
24483 * include/dlfcn.h (__RTLD_SECURE): Define.
24484 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
24485 mode & __RTLD_SECURE instead.
24486 (open_path): Rename preloaded parameter to secure.
24487 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
24488 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
24489 * elf/dl-deps.c (openaux): Likewise.
24490 * elf/rtld.c (struct map_args): Remove is_preloaded.
24491 (map_doit): Don't use it.
24492 (dl_main): Likewise.
24493 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
24494 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
24496 2010-09-09 Andreas Schwab <schwab@redhat.com>
24498 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
24499 (sysd-rules-targets): Remove duplicates.
24500 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
24501 rtld-%.$o dependency.
24503 2010-10-18 Andreas Schwab <schwab@redhat.com>
24505 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
24506 _dl_map_object do it.
24508 2010-10-19 Ulrich Drepper <drepper@gmail.com>
24510 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
24511 fast fma builtins, define the macros in the C99 standard.
24512 (FP_FAST_FMAF): Likewise.
24513 (FP_FAST_FMAL): Likewise.
24514 * sysdeps/x86_64/bits/mathdef.h: Likewise.
24516 * bits/mathdef.h: Update copyright year.
24517 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24519 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
24521 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
24522 builtins, define the macros in the C99 standard.
24523 (FP_FAST_FMAF): Likewise.
24524 (FP_FAST_FMAL): Likewise.
24525 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
24527 (FP_FAST_FMAF): Likewise.
24529 2010-10-15 Jakub Jelinek <jakub@redhat.com>
24532 * math/libm-test.inc (fma_test): Some new testcases.
24533 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
24534 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
24535 y and infinite z. Do multiplication by C already in long double.
24536 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
24537 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
24538 y and infinite z. Do bitwise or of inexact bit into u.d.
24539 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
24540 * sysdeps/i386/fpu/s_fmaf.S: Removed.
24541 * sysdeps/i386/fpu/s_fma.S: Removed.
24542 * sysdeps/i386/fpu/s_fmal.S: Removed.
24544 2010-10-16 Jakub Jelinek <jakub@redhat.com>
24547 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
24548 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
24549 computation is not scheduled after fetestexcept. Fix value
24550 of minimum denormal long double.
24552 2010-10-14 Jakub Jelinek <jakub@redhat.com>
24555 * math/libm-test.inc (fma_test): Add some more tests.
24556 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
24559 2010-10-15 Andreas Schwab <schwab@redhat.com>
24561 * scripts/data/localplt-s390-linux-gnu.data: New file.
24562 * scripts/data/localplt-s390x-linux-gnu.data: New file.
24564 2010-10-13 Jakub Jelinek <jakub@redhat.com>
24567 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
24568 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
24570 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
24572 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
24573 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
24574 if one of x and y is very large and the other is subnormal.
24575 * sysdeps/s390/fpu/s_fmaf.c: New file.
24576 * sysdeps/s390/fpu/s_fma.c: New file.
24577 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
24578 * sysdeps/powerpc/fpu/s_fma.S: New file.
24579 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
24580 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
24581 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
24583 2010-10-12 Jakub Jelinek <jakub@redhat.com>
24586 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
24588 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
24589 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
24590 * sysdeps/i386/i686/multiarch/s_fma.c: Include
24591 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
24592 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
24593 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
24594 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
24596 2010-10-12 Ulrich Drepper <drepper@redhat.com>
24599 * posix/regcomp.c (parse_branch): One more memory leak plugged.
24600 * posix/bug-regex31.input: Add test case.
24602 2010-10-11 Ulrich Drepper <drepper@gmail.com>
24604 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
24605 * posix/bug-regex31.input: New file.
24608 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
24609 (parse_sub_exp): Fix last change, use postorder.
24611 * posix/bug-regex31.c: New file.
24612 * posix/Makefile: Add rules to build and run bug-regex31.
24614 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
24617 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
24620 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
24621 to have entries in sys_siglist.
24624 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
24627 2010-10-07 Jakub Jelinek <jakub@redhat.com>
24630 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
24631 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
24632 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
24633 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
24634 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
24635 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
24636 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
24637 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
24638 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
24639 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
24640 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
24641 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
24642 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24643 * math/ftestexcept.c (fetestexcept): Likewise.
24644 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
24645 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
24646 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
24647 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
24648 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
24649 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
24650 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24652 2010-10-11 Ulrich Drepper <drepper@gmail.com>
24655 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
24658 2010-10-06 Ulrich Drepper <drepper@gmail.com>
24660 * string/bug-strstr1.c: New file.
24661 * string/Makefile: Add rules to build and run bug-strstr1.
24663 2010-10-05 Eric Blake <eblake@redhat.com>
24666 * string/str-two-way.h (two_way_long_needle): Always clear memory
24667 when skipping input due to the shift table.
24669 2010-10-03 Ulrich Drepper <drepper@gmail.com>
24672 * malloc/mcheck.c: Handle large requests.
24675 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
24676 for strncmp and strncasecmp.
24677 * string/stratcliff.c: Add tests for strcmp and strncmp.
24678 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
24680 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24682 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
24685 2010-09-30 Andreas Jaeger <aj@suse.de>
24687 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
24688 (CGROUP_SUPER_MAGIC): Define.
24689 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24690 Handle btrfs and cgroup file systems.
24691 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24694 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
24696 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
24697 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
24699 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24702 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
24703 trying to locate the ELF header.
24705 2010-09-27 Andreas Schwab <schwab@redhat.com>
24708 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
24709 Mask out sign-bit copies when constructing f_fsid.
24711 2010-09-24 Petr Baudis <pasky@suse.cz>
24713 * debug/stack_chk_fail_local.c: Add missing licence exception.
24714 * debug/warning-nop.c: Likewise.
24716 2010-09-15 Joseph Myers <joseph@codesourcery.com>
24718 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
24719 implementing getdents64 using getdents syscall, set d_type if
24720 __ASSUME_GETDENTS32_D_TYPE.
24722 2010-09-16 Andreas Schwab <schwab@redhat.com>
24724 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
24725 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
24727 2010-09-21 Ulrich Drepper <drepper@redhat.com>
24730 * posix/unistd.h: Undo change of feature selection for ftruncate from
24733 2010-09-20 Ulrich Drepper <drepper@redhat.com>
24735 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
24738 2010-09-20 Andreas Schwab <schwab@redhat.com>
24740 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
24742 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24744 2010-09-14 Andreas Schwab <schwab@redhat.com>
24746 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
24747 variables after CHECK_SP call.
24748 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
24750 2010-09-13 Andreas Schwab <schwab@redhat.com>
24751 Ulrich Drepper <drepper@redhat.com>
24753 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
24754 re-relocationg ld.so.
24755 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
24756 _dl_init_paths call.
24757 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
24760 2010-09-14 Ulrich Drepper <drepper@redhat.com>
24762 * resolv/res_init.c (__res_vinit): Count the default server we added.
24764 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
24765 Ulrich Drepper <drepper@redhat.com>
24768 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24769 (____longjmp_chk): Use %ebx for saving value across system call.
24772 2010-09-06 Andreas Schwab <schwab@redhat.com>
24774 * manual/Makefile: Don't mix pattern rules with normal rules.
24776 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
24778 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
24780 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
24781 * libio/iofopncook.c (_IO_cookie_init): Likewise.
24782 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
24783 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24784 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24787 2010-09-04 Ulrich Drepper <drepper@redhat.com>
24790 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
24791 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
24793 2010-09-02 Ulrich Drepper <drepper@redhat.com>
24795 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
24796 * sysdeps/x86_64/addmul_1.S: Likewise.
24797 * sysdeps/x86_64/lshift.S: Likewise.
24798 * sysdeps/x86_64/mul_1.S: Likewise.
24799 * sysdeps/x86_64/rshift.S: Likewise.
24800 * sysdeps/x86_64/sub_n.S: Likewise.
24801 * sysdeps/x86_64/submul_1.S: Likewise.
24803 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
24805 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
24806 Define __sched_param instead of SCHED_* and sched_param when
24807 <bits/sched.h> is included with __need_schedparam defined.
24808 * bits/sched.h [__need_schedparam]
24809 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
24810 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
24811 (__defined_schedparam): Define to 1.
24812 (__sched_param): New structure, identical to sched_param.
24813 (__need_schedparam): Undefine.
24815 2010-08-31 Mike Frysinger <vapier@gentoo.org>
24817 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
24818 (epoll_create1): Declare.
24820 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
24822 2010-08-31 Andreas Schwab <schwab@redhat.com>
24825 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
24826 shifting retval into place.
24828 2010-09-01 Ulrich Drepper <drepper@redhat.com>
24830 * nis/rpcsvc/nis.h: Update copyright notice.
24831 * nis/rpcsvc/nis.x: Likewise.
24832 * nis/rpcsvc/nis_callback.h: Likewise.
24833 * nis/rpcsvc/nis_callback.x: Likewise.
24834 * nis/rpcsvc/nis_object.x: Likewise.
24835 * nis/rpcsvc/nis_tags.h: Likewise.
24836 * nis/rpcsvc/yp.h: Likewise.
24837 * nis/rpcsvc/yp.x: Likewise.
24838 * nis/rpcsvc/ypupd.h: Likewise.
24839 * nis/yp_xdr.c: Likewise.
24840 * nis/ypupdate_xdr.c: Likewise.
24842 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
24843 mainly the body of pmap_getport. Add parameters to specify timeouts.
24844 (pmap_getport): Use __libc_rpc_getport.
24845 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
24846 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
24847 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
24849 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
24851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
24854 2010-08-27 Roland McGrath <roland@redhat.com>
24856 * sysdeps/i386/i686/multiarch/Makefile
24857 (CFLAGS-varshift.c): New variable.
24859 2010-08-27 Ulrich Drepper <drepper@redhat.com>
24861 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
24862 * sysdeps/i386/i686/multiarch/varshift.c: New file.
24864 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
24866 * sysdeps/x86_64/strlen.S: Minimal code improvement.
24868 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
24870 * sysdeps/x86_64/strlen.S: Unroll the loop.
24871 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24872 strlen-sse2 strlen-sse2-bsf.
24873 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
24874 __strlen_no_bsf if bit_Slow_BSF is set.
24875 (__strlen_sse42): Removed.
24876 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
24877 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
24879 2010-08-25 Roland McGrath <roland@redhat.com>
24881 * sysdeps/x86_64/multiarch/varshift.S: File removed.
24882 * sysdeps/x86_64/multiarch/varshift.c: New file.
24883 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
24884 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
24885 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
24886 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24888 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
24890 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24891 strlen-sse2 strlen-sse2-bsf.
24892 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
24893 __strlen_sse2_bsf if bit_Slow_BSF is unset.
24894 (__strlen_sse2): Removed.
24895 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
24896 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
24897 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24898 bit_Slow_BSF for Atom.
24899 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
24900 (index_Slow_BSF): Define.
24901 (HAS_SLOW_BSF): Define.
24903 2010-08-25 Ulrich Drepper <drepper@redhat.com>
24906 * resolv/res_init.c (__res_vinit): When no server address at all
24907 is given default to loopback.
24909 2010-08-24 Roland McGrath <roland@redhat.com>
24911 * configure.in: Remove config-name.h generation.
24912 * configure: Regenerated.
24913 * config-name.in: File removed.
24914 * scripts/config-uname.sh: New file.
24915 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
24916 ($(objdir)config-name.h): New target.
24918 * sunrpc/rpc_parse.h: Avoid nested comment.
24920 2010-08-24 Richard Henderson <rth@redhat.com>
24921 Ulrich Drepper <drepper@redhat.com>
24922 H.J. Lu <hongjiu.lu@intel.com>
24924 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
24925 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
24926 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
24927 Replace _mm_srli_si128 with __m128i_shift_right. Replace
24928 _mm_alignr_epi8 with _mm_loadu_si128.
24929 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
24930 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
24931 (__m128i_shift_right): Removed.
24932 * sysdeps/i386/i686/multiarch/varshift.h: New file.
24933 * sysdeps/i386/i686/multiarch/varshift.S: New file.
24934 * sysdeps/x86_64/multiarch/varshift.h: New file.
24935 * sysdeps/x86_64/multiarch/varshift.S: New file.
24937 2010-08-21 Mike Frysinger <vapier@gentoo.org>
24939 * configure.in: Move assembler checks to before sysdep dir checking.
24941 2010-08-20 Petr Baudis <pasky@suse.cz>
24943 * LICENSES: Sync the sunrpc license.
24945 2010-08-19 Ulrich Drepper <drepper@redhat.com>
24947 * sunrpc/auth_des.c: Update copyright notice once again.
24948 * sunrpc/auth_none.c: Likewise.
24949 * sunrpc/auth_unix.c: Likewise.
24950 * sunrpc/authdes_prot.c: Likewise.
24951 * sunrpc/authuxprot.c: Likewise.
24952 * sunrpc/bindrsvprt.c: Likewise.
24953 * sunrpc/clnt_gen.c: Likewise.
24954 * sunrpc/clnt_perr.c: Likewise.
24955 * sunrpc/clnt_raw.c: Likewise.
24956 * sunrpc/clnt_simp.c: Likewise.
24957 * sunrpc/clnt_tcp.c: Likewise.
24958 * sunrpc/clnt_udp.c: Likewise.
24959 * sunrpc/clnt_unix.c: Likewise.
24960 * sunrpc/des_crypt.c: Likewise.
24961 * sunrpc/des_soft.c: Likewise.
24962 * sunrpc/get_myaddr.c: Likewise.
24963 * sunrpc/getrpcport.c: Likewise.
24964 * sunrpc/key_call.c: Likewise.
24965 * sunrpc/key_prot.c: Likewise.
24966 * sunrpc/openchild.c: Likewise.
24967 * sunrpc/pm_getmaps.c: Likewise.
24968 * sunrpc/pm_getport.c: Likewise.
24969 * sunrpc/pmap_clnt.c: Likewise.
24970 * sunrpc/pmap_prot.c: Likewise.
24971 * sunrpc/pmap_prot2.c: Likewise.
24972 * sunrpc/pmap_rmt.c: Likewise.
24973 * sunrpc/rpc/auth.h: Likewise.
24974 * sunrpc/rpc/auth_unix.h: Likewise.
24975 * sunrpc/rpc/clnt.h: Likewise.
24976 * sunrpc/rpc/des_crypt.h: Likewise.
24977 * sunrpc/rpc/key_prot.h: Likewise.
24978 * sunrpc/rpc/netdb.h: Likewise.
24979 * sunrpc/rpc/pmap_clnt.h: Likewise.
24980 * sunrpc/rpc/pmap_prot.h: Likewise.
24981 * sunrpc/rpc/pmap_rmt.h: Likewise.
24982 * sunrpc/rpc/rpc.h: Likewise.
24983 * sunrpc/rpc/rpc_des.h: Likewise.
24984 * sunrpc/rpc/rpc_msg.h: Likewise.
24985 * sunrpc/rpc/svc.h: Likewise.
24986 * sunrpc/rpc/svc_auth.h: Likewise.
24987 * sunrpc/rpc/types.h: Likewise.
24988 * sunrpc/rpc/xdr.h: Likewise.
24989 * sunrpc/rpc_clntout.c: Likewise.
24990 * sunrpc/rpc_cmsg.c: Likewise.
24991 * sunrpc/rpc_common.c: Likewise.
24992 * sunrpc/rpc_cout.c: Likewise.
24993 * sunrpc/rpc_dtable.c: Likewise.
24994 * sunrpc/rpc_hout.c: Likewise.
24995 * sunrpc/rpc_main.c: Likewise.
24996 * sunrpc/rpc_parse.c: Likewise.
24997 * sunrpc/rpc_parse.h: Likewise.
24998 * sunrpc/rpc_prot.c: Likewise.
24999 * sunrpc/rpc_sample.c: Likewise.
25000 * sunrpc/rpc_scan.c: Likewise.
25001 * sunrpc/rpc_scan.h: Likewise.
25002 * sunrpc/rpc_svcout.c: Likewise.
25003 * sunrpc/rpc_tblout.c: Likewise.
25004 * sunrpc/rpc_util.c: Likewise.
25005 * sunrpc/rpc_util.h: Likewise.
25006 * sunrpc/rpcinfo.c: Likewise.
25007 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
25008 * sunrpc/rpcsvc/key_prot.x: Likewise.
25009 * sunrpc/rpcsvc/klm_prot.x: Likewise.
25010 * sunrpc/rpcsvc/mount.x: Likewise.
25011 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
25012 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
25013 * sunrpc/rpcsvc/rex.x: Likewise.
25014 * sunrpc/rpcsvc/rstat.x: Likewise.
25015 * sunrpc/rpcsvc/rusers.x: Likewise.
25016 * sunrpc/rpcsvc/sm_inter.x: Likewise.
25017 * sunrpc/rpcsvc/spray.x: Likewise.
25018 * sunrpc/rpcsvc/yppasswd.x: Likewise.
25019 * sunrpc/rtime.c: Likewise.
25020 * sunrpc/svc.c: Likewise.
25021 * sunrpc/svc_auth.c: Likewise.
25022 * sunrpc/svc_authux.c: Likewise.
25023 * sunrpc/svc_raw.c: Likewise.
25024 * sunrpc/svc_run.c: Likewise.
25025 * sunrpc/svc_simple.c: Likewise.
25026 * sunrpc/svc_tcp.c: Likewise.
25027 * sunrpc/svc_udp.c: Likewise.
25028 * sunrpc/svc_unix.c: Likewise.
25029 * sunrpc/svcauth_des.c: Likewise.
25030 * sunrpc/xcrypt.c: Likewise.
25031 * sunrpc/xdr.c: Likewise.
25032 * sunrpc/xdr_array.c: Likewise.
25033 * sunrpc/xdr_float.c: Likewise.
25034 * sunrpc/xdr_mem.c: Likewise.
25035 * sunrpc/xdr_rec.c: Likewise.
25036 * sunrpc/xdr_ref.c: Likewise.
25037 * sunrpc/xdr_sizeof.c: Likewise.
25038 * sunrpc/xdr_stdio.c: Likewise.
25040 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
25043 2010-08-19 Andreas Schwab <schwab@redhat.com>
25045 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
25047 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
25049 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
25050 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
25051 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
25052 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
25053 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
25054 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
25055 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
25056 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
25057 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
25058 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
25059 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
25060 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
25061 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
25062 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
25064 2010-07-26 Anton Blanchard <anton@samba.org>
25066 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
25067 * malloc/arena.c (heap_trim): Likewise.
25069 2010-08-16 Ulrich Drepper <drepper@redhat.com>
25071 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
25073 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
25074 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
25076 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
25078 * sysdeps/i386/elf/Makefile: New file.
25080 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25082 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
25083 from fanotify_init.
25084 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
25085 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25087 2010-08-15 Ulrich Drepper <drepper@redhat.com>
25089 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
25091 * sysdeps/multiarch/strcmp.S: Likewise.
25093 2010-08-14 Ulrich Drepper <drepper@redhat.com>
25095 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25096 strncase_l-nonascii.
25097 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25098 Add strncase_l-ssse3.
25099 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
25100 * sysdeps/x86_64/strcmp.S: Likewise.
25101 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
25102 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
25103 * sysdeps/x86_64/strncase.S: New file.
25104 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
25105 * sysdeps/x86_64/strncase_l.S: New file.
25106 * string/Makefile (strop-tests): Add strncasecmp.
25107 * string/test-strncasecmp.c: New file.
25109 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
25112 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
25113 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
25115 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25117 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
25119 2010-08-12 Ulrich Drepper <drepper@redhat.com>
25121 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
25122 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
25123 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
25125 2010-05-01 Alan Modra <amodra@gmail.com>
25127 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
25128 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
25129 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
25130 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
25131 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
25132 tidying. Don't tail-call __sigjmp_save for static lib.
25133 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
25135 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
25136 (CALL_MCOUNT): Add eh info, and nop after bl.
25137 (TAIL_CALL_SYSCALL_ERROR): New macro.
25138 (PSEUDO_RET): Use it.
25139 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25140 Correct save location of integer regs and cr.
25141 (_dl_profile_resolve): Correct cr save location. Delete nops
25142 after bl when SHARED. Reduce cfi size a little by better
25143 placement of cfi directives.
25144 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
25145 make a stack frame. Instead use parm save area as a temp.
25146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
25147 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
25148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25149 Don't make a stack frame for parent, use parm save area.
25150 Increase child stack frame to 112 bytes. Don't save unused reg,
25151 and adjust reg usage. Set up cfi on error recovery and
25152 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
25153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25154 (__makecontext): Add dummy nop after jump to exit.
25155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
25156 Use correct parm save area and cr save, reduce stack frame.
25157 Correct cfi for possible PSEUDO_RET frame setup.
25158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
25159 Branch to local label emitted by PSEUDO_RET rather than
25162 2010-08-12 Andreas Schwab <schwab@redhat.com>
25165 * locale/programs/locale.c (print_assignment): New function.
25166 (show_locale_vars): Use it.
25168 2010-08-11 Ulrich Drepper <drepper@redhat.com>
25170 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
25172 (struct statfs64): Likewise.
25173 (_STATFS_F_FLAGS): Define.
25174 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
25175 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25176 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
25177 (ST_VALID): Define locally.
25178 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
25179 __statvfs_getflags, use the provided value.
25180 * sysdeps/unix/sysv/linux/kernel-features.h: Define
25181 __ASSUME_STATFS_F_FLAGS.
25183 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
25185 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
25186 Add sys/fanotify.h.
25187 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
25188 fanotify_mask for GLIBC_2.13.
25189 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
25190 fanotify_init and fanotify_mark.
25191 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25192 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
25194 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
25196 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
25197 prlimit64 for GLIBC_2.13.
25198 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
25200 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
25202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
25203 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25204 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
25205 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
25206 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
25208 * sysdeps/unix/sysv/linux/prlimit.c: New file.
25211 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
25212 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
25214 * nss/Makefile: Add rules to build and run tst-nss-test1.
25215 * shlib-versions: Add entry for libnss_test1.
25216 * nss/nss_test1.c: New file.
25217 * nss/tst-nss-test1.c: New file.
25219 * nss/nsswitch.c (__nss_database_custom): Define new variable.
25220 (__nss_configure_lookup): Set appropriate entry in
25221 __nss_configure_lookup to true.
25222 * nss/nsswitch.h: Define enum with indeces of databases in
25223 databases and __nss_database_custom arrays. Declare
25224 __nss_database_custom.
25225 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
25226 to avoid using nscd when custom rules are installed.
25227 * nss/getXXbyYY_r.c: Likewise.
25228 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25230 * nss/nss_files/files-parse.c: Whitespace fixes.
25232 2010-08-09 Ulrich Drepper <drepper@redhat.com>
25235 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
25236 * posix/fnmatch_loop.c: Likewise.
25238 2010-07-17 Andi Kleen <ak@linux.intel.com>
25240 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
25241 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
25242 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
25243 * Versions.def [GLIBC_2.13]: Add.
25245 2010-08-06 Ulrich Drepper <drepper@redhat.com>
25247 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25248 Also fail if tpwd after pwuid call is NULL.
25250 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
25252 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
25253 when converting to ms.
25255 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
25257 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
25258 EOPNOTSUPP errors with ENOTTY.
25259 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
25260 EOPNOTSUPP errors with ENOTTY.
25262 2010-07-31 Ulrich Drepper <drepper@redhat.com>
25264 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25265 Add strcasecmp_l-ssse3.
25266 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
25268 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
25269 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
25270 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
25272 2010-07-30 Ulrich Drepper <drepper@redhat.com>
25274 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
25276 * string/Makefile (strop-tests): Add strcasecmp.
25277 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25278 strcasecmp_l-nonascii.
25279 (gen-as-const-headers): Add locale-defines.sym.
25280 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
25281 * sysdeps/x86_64/strcasecmp.S: New file.
25282 * sysdeps/x86_64/strcasecmp_l.S: New file.
25283 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
25284 * sysdeps/x86_64/locale-defines.sym: New file.
25285 * string/test-strcasecmp.c: New file.
25287 * string/test-strcasestr.c: Test both ends of the range of characters.
25288 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
25290 2010-07-29 Roland McGrath <roland@redhat.com>
25293 * manual/locale.texi (Yes-or-No Questions): Fix example code.
25295 2010-07-27 Ulrich Drepper <drepper@redhat.com>
25297 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
25300 2010-07-27 Andreas Schwab <schwab@redhat.com>
25302 * manual/memory.texi (Malloc Tunable Parameters): Document
25305 2010-07-26 Roland McGrath <roland@redhat.com>
25308 * configure.in (-fgnu89-inline check): Set and substitute
25309 gnu89_inline, not libc_cv_gnu89_inline.
25310 * configure: Regenerated.
25311 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
25313 2010-07-26 Ulrich Drepper <drepper@redhat.com>
25315 * string/test-strnlen.c: New file.
25316 * string/Makefile (strop-tests): Add strnlen.
25317 * string/tester.c (test_strnlen): Add a few more test cases.
25318 * string/tst-strlen.c: Better error reporting.
25320 * sysdeps/x86_64/strnlen.S: New file.
25322 2010-07-24 Ulrich Drepper <drepper@redhat.com>
25324 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
25325 lower-latency instructions.
25327 2010-07-23 Ulrich Drepper <drepper@redhat.com>
25329 * string/test-strcasestr.c: New file.
25330 * string/test-strstr.c: New file.
25331 * string/Makefile (strop-tests): Add strstr and strcasestr.
25332 * string/str-two-way.h: Don't undefine MAX.
25333 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
25335 2010-07-21 Andreas Schwab <schwab@redhat.com>
25337 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25338 strcasestr-nonascii.
25339 (CFLAGS-strcasestr-nonascii.c): Define.
25340 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
25341 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
25342 Remove unused attribute.
25344 2010-07-20 Roland McGrath <roland@redhat.com>
25346 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
25347 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
25348 ld.so.cache was broken. With it, there is no way to disable dsocaps
25349 like LD_HWCAP_MASK can disable hwcaps.
25351 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25353 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
25355 2010-07-16 Ulrich Drepper <drepper@redhat.com>
25357 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
25358 call in strcasestr.
25359 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
25360 __strcasestr_sse42_nonascii.
25361 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
25362 strcasestr-nonascii.c.
25363 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
25365 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
25367 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
25368 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
25369 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
25370 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
25372 2010-07-09 Ulrich Drepper <drepper@redhat.com>
25374 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
25377 2010-07-06 Andreas Schwab <schwab@redhat.com>
25380 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
25383 2010-07-06 Ulrich Drepper <drepper@redhat.com>
25385 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
25386 _PC_PIPE_BUF using F_GETPIPE_SZ.
25388 2010-07-05 Roland McGrath <roland@redhat.com>
25390 * manual/arith.texi (Rounding Functions): Fix rint description
25391 implicit in round description.
25393 2010-07-02 Ulrich Drepper <drepper@redhat.com>
25395 * elf/Makefile: Fix linking for a few tests to make recent linker
25398 2010-06-30 Andreas Schwab <schwab@redhat.com>
25400 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
25401 $(common-objpfx)libc_nonshared.a.
25403 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
25405 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
25406 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
25407 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
25408 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
25409 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
25410 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
25411 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
25412 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
25413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
25414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
25415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
25416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
25417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
25418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
25419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
25420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
25421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
25422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
25423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
25424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
25425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
25426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
25427 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
25428 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
25429 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
25430 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
25431 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
25432 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
25433 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
25434 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
25435 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
25436 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
25437 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
25438 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
25439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
25440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
25441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
25442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
25443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
25444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
25445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
25446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
25447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
25448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
25449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
25450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
25451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
25452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
25454 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
25456 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
25457 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
25458 * string/memmove.c (memmove): Renamed to ...
25459 (MEMMOVE): ...this. Default to memmove.
25460 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
25461 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
25463 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25464 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
25465 mempcpy-ssse3-back memmove-ssse3-back.
25466 * sysdeps/x86_64/multiarch/bcopy.S: New file .
25467 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
25468 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
25469 * sysdeps/x86_64/multiarch/memcpy.S: New file.
25470 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
25471 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
25472 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
25473 * sysdeps/x86_64/multiarch/memmove.c: New file.
25474 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
25475 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
25476 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
25477 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
25478 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
25479 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
25481 (index_Fast_Copy_Backward): Define.
25482 (HAS_ARCH_FEATURE): Define.
25483 (HAS_FAST_REP_STRING): Define.
25484 (HAS_FAST_COPY_BACKWARD): Define.
25486 2010-06-21 Andreas Schwab <schwab@redhat.com>
25488 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25489 Restore proper fallback handling.
25491 2010-06-19 Ulrich Drepper <drepper@redhat.com>
25494 * posix/group_member.c (__group_member): Correct checking loop.
25496 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
25497 OOM in getpwuid_r correctly. Return error number when the caller
25498 should return, otherwise -1.
25499 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
25500 call returning > 0 value.
25501 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
25503 2010-06-07 Andreas Schwab <schwab@redhat.com>
25505 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
25506 libc_nonshared.a from targets in modules-names.
25508 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
25510 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
25513 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
25515 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
25516 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
25517 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
25518 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
25520 2010-06-02 Andreas Schwab <schwab@redhat.com>
25522 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
25524 2010-06-14 Ulrich Drepper <drepper@redhat.com>
25526 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
25528 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25529 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25530 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25531 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25532 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25533 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
25535 2010-06-14 Roland McGrath <roland@redhat.com>
25537 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
25539 2010-06-07 Jakub Jelinek <jakub@redhat.com>
25541 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
25542 __REDIRECT followed by __THROW.
25543 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
25544 * posix/getopt.h (getopt): Likewise.
25546 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25548 * hurd/lookup-at.c (__file_name_lookup_at): Accept
25549 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
25550 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
25552 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
25553 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
25555 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
25557 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
25559 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
25562 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25563 Properly check family and model.
25565 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
25567 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
25569 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
25571 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
25573 2010-05-21 Ulrich Drepper <drepper@redhat.com>
25575 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
25578 2010-05-19 Andreas Schwab <schwab@redhat.com>
25580 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
25583 2010-05-21 Andreas Schwab <schwab@redhat.com>
25585 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
25586 and internal_recvmmsg.
25587 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
25588 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
25589 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
25590 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
25592 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
25593 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25594 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25596 2010-05-20 Andreas Schwab <schwab@redhat.com>
25598 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
25600 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
25602 POWER7 optimizations.
25603 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
25604 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
25606 2010-05-19 Ulrich Drepper <drepper@redhat.com>
25608 * version.h: Update for 2.13 development version.
25610 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
25612 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
25613 exceptions. Return 0.
25615 2010-05-07 Roland McGrath <roland@redhat.com>
25617 * elf/ldconfig.c (main): Add a const.
25619 2010-05-06 Ulrich Drepper <drepper@redhat.com>
25621 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
25622 (args_options): Add no-idn option.
25623 (ahosts_keys_int): Add idn_flags to ai_flags.
25624 (parse_option): Handle 'i' option to clear idn_flags.
25626 * malloc/malloc.c (_int_free): Possible race in the most recently
25627 added check. Only act on the data if no current modification
25630 See ChangeLog.17 for earlier changes.