1 2013-02-18 Mike Frysinger <vapier@gentoo.org>
3 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
4 and __attribute_alloc_size__.
6 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8 * include/programs/xmalloc.h: Change __attribute_alloc_size to
9 __attribute_alloc_size__.
10 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
11 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13 2013-02-18 Mike Frysinger <vapier@gentoo.org>
15 * include/programs/xmalloc.h: New file.
16 * catgets/gencat.c: Include it.
17 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
18 * elf/pldd.c: Likewise.
19 * iconv/iconv_charmap.c: Likewise.
20 * iconv/iconvconfig.c: Likewise.
21 * iconv/strtab.c: Likewise.
22 * locale/programs/locale.c: Likewise.
23 * locale/programs/localedef.h: Likewise.
24 * locale/programs/simple-hash.c: Likewise.
25 * nscd/nscd.h: Likewise.
26 * nss/makedb.c: Likewise.
27 * sysdeps/generic/ldconfig.h: Likewise.
29 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31 * Versions.def: Add GLIBC_2.18.
32 * include/link.h (struct link_map): New member l_tls_dtor_count.
33 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
34 (__call_tls_dtors): Likewise.
35 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
36 __cxa_thread_atexit_impl.
37 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
43 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
45 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
46 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
48 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
50 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
51 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
53 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
54 (tests): Add test case tst-tls-atexit.
55 (modules-names): Add shared library for tst-tls-atexit.
56 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
57 (GLIBC_PRIVATE): Add __call_tls_dtors.
58 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
60 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
61 * stdlib/tst-tls-atexit.c: New test case.
62 * stdlib/tst-tls-atexit-lib.c: New test case.
64 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
66 * elf/Versions (ld): Add _dl_find_dso_for_object.
67 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
68 * elf/dl-open.c (_dl_find_dso_for_object): New function.
69 (dl_open_worker): Use _dl_find_dso_for_object.
70 * elf/dl-sym.c (do_sym): Likewise.
71 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
73 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
75 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
76 Syntactic changes only.
77 (_dl_runtime_profile): Do a tail-call to the resolved function.
79 2013-02-17 Joseph Myers <joseph@codesourcery.com>
82 * sysdeps/x86_64/bp-asm.h: Remove file.
83 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
84 <bp-sym.h> and <bp-asm.h>.
85 (__clone): Do not use BP_SYM.
86 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
87 <bp-sym.h> and <bp-asm.h>.
88 * sysdeps/unix/x86_64/sysdep.S: Likewise.
89 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
91 (_setjmp): Do not use BP_SYM.
92 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
94 (setjmp): Do not use BP_SYM.
95 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
97 (mempcpy): Do not use BP_SYM in weak_alias.
98 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
100 (strchr): Do not use BP_SYM.
101 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
103 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
104 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
105 (_start): Do not use BP_SYM.
106 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
108 (strcat): Do not use BP_SYM.
109 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
111 (STRCMP): Do not use BP_SYM.
112 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
114 (STRCPY): Do not use BP_SYM.
115 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
117 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
119 (FUNCTION): Do not use BP_SYM.
120 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
122 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
124 2013-02-17 Andreas Jaeger <aj@suse.de>
126 * time/Versions: Sort entries.
127 * string/Versions: Likewise.
128 * resolv/Versions: Likewise.
129 * posix/Versions: Likewise.
130 * iconv/Versions: Likewise.
131 * elf/Versions: Likewise.
132 * wcsmbs/Versions: Likewise.
134 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
136 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
137 loop termination condition.
139 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
140 variable to calculate EZ.
143 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
144 the lower precision input.
146 2013-02-15 Joseph Myers <joseph@codesourcery.com>
149 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
150 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
151 (run-via-rtld-prefix): Do not handle %-bp tests.
152 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
153 (all-object-suffixes): Remove .ob.
154 (bppfx): Remove variable.
155 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
156 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
157 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
158 [$(build-bounded) = yes] (libtype.ob): Likewise.
159 * Makerules (elide-routines.ob): Remove variable.
160 (do-tests-clean): Do not handle *-bp.out.
161 (common-mostlyclean): Do not handle *-bp and *-bp.out.
162 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
163 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
164 (tests): Do not include $(tests-bp.out).
165 (xtests): Do not include $(xtests-bp.out).
166 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
167 [$(build-bounded) = yes] ($(addprefix
168 $(objpfx),$(binaries-bounded))): Remove rule.
169 ($(objpfx)%-bp.out): Remove rule.
170 * config.make.in (build-bounded): Remove variable.
171 * crypt/Makefile [$(build-bounded) = yes]
172 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
173 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
175 [$(build-bounded) = yes] (install-lib): Likewise.
176 [$(build-bounded) = yes] (generated): Likewise.
177 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
179 * intl/Makefile [$(build-bounded) = yes]
180 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
181 * math/Makefile [$(build-bounded) = yes]
182 ($(tests:%=$(objpfx)%-bp): Likewise.
183 * misc/Makefile [$(build-bounded) = yes]
184 ($(objpfx)tst-tsearch-bp): Likewise.
185 * nptl/Makeconfig (bounded-thread-library): Remove variable.
186 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
188 * string/Makefile (o-objects.ob): Remove variable.
189 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
190 (CFLAGS-.ob): Remove variable.
191 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
192 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
193 both definitions of variable.
194 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
195 (ASFLAGS-.ob): Remove variable.
197 2013-02-14 Joseph Myers <joseph@codesourcery.com>
200 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
201 Remove __BOUNDED_POINTERS__ from condition.
202 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
203 * string/bits/string2.h [!__NO_STRING_INLINES &&
204 !__BOUNDED_POINTERS__]: Likewise.
205 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
207 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
208 Remove conditional code.
209 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
210 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
211 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
215 * csu/libc-start.c: Do not include <bp-sym.h>.
216 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
217 * elf/dl-open.c: Do not include <bp-sym.h>.
218 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
219 * math/fegetenv.c: Do not include <bp-sym.h>.
220 (fegetenv): Do not use BP_SYM in versioned symbols.
221 * nptl/sysdeps/pthread/bits/libc-lockP.h
222 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
224 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
225 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
226 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
227 (__pthread_mutex_destroy): Likewise.
228 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
229 (__pthread_mutex_lock): Likewise.
230 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
231 (__pthread_mutex_trylock): Likewise.
232 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
233 (__pthread_mutex_unlock): Likewise.
234 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
235 (__pthread_mutexattr_init): Likewise.
236 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
237 (__pthread_mutexattr_destroy): Likewise.
238 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
239 (__pthread_mutexattr_settype): Likewise.
240 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
241 (__pthread_rwlock_init): Likewise.
242 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
243 (__pthread_rwlock_destroy): Likewise.
244 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
245 (__pthread_rwlock_rdlock): Likewise.
246 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
247 (__pthread_rwlock_tryrdlock): Likewise.
248 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
249 (__pthread_rwlock_wrlock): Likewise.
250 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
251 (__pthread_rwlock_trywrlock): Likewise.
252 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
253 (__pthread_rwlock_unlock): Likewise.
254 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
255 (__pthread_key_create): Likewise.
256 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
257 (__pthread_setspecific): Likewise.
258 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
259 (__pthread_getspecific): Likewise.
260 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
262 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
263 (_pthread_cleanup_push_defer): Likewise.
264 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
265 (_pthread_cleanup_pop_restore): Likewise.
266 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
267 (pthread_setcancelstate): Likewise.
268 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
270 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
271 (memchr): Do not use BP_SYM in weak_alias.
272 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
273 (fegetenv): Do not use BP_SYM in versioned symbols.
274 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
275 (fesetenv): Do not use BP_SYM in versioned symbols.
276 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
277 (feupdateenv): Do not use BP_SYM in versioned symbols.
278 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
279 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
280 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
281 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
282 (open64): Do not use BP_SYM in weak_alias.
283 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
284 (fegetenv): Do not use BP_SYM in versioned symbols.
285 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
286 (fesetenv): Do not use BP_SYM in versioned symbols.
287 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
288 (feupdateenv): Do not use BP_SYM in versioned symbols.
289 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
290 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
291 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
292 (feraiseexcept): Do not use BP_SYM in versioned symbols.
293 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
294 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
295 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
297 (__libc_start_main): Do not use BP_SYM.
299 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
301 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
302 redundant return line.
306 (sub_magnitudes): Likewise.
312 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
316 (sub_magnitudes): Likewise.
323 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
325 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
326 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
329 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
330 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
331 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
332 of __mul for squares.
333 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
335 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
337 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
338 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
340 2013-02-13 Joseph Myers <joseph@codesourcery.com>
343 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
345 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
346 prototype or function definition. Rename ubp_* variables and
347 parameters. Remove argv definitions conditional on
348 [__BOUNDED_POINTERS__].
349 * debug/backtrace.c (__backtrace): Do not use __unbounded.
350 * elf/dl-runtime.c (_dl_fixup): Likewise.
351 * include/set-hooks.h (RUN_HOOK): Likewise.
352 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
354 * string/strcpy.c (strcpy): Do not use __unbounded.
355 * sysdeps/generic/frame.h (struct layout): Likewise.
356 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
357 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
358 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
359 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
360 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
361 (__backtrace): Likewise.
362 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
364 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
365 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
366 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
368 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
369 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
370 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
371 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
372 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
373 Do not use __unbounded.
374 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
375 Rename __unboundedrlimits parameter to rlimits in prototype.
376 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
377 Do not use __unbounded.
378 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
380 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
381 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
382 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
383 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
384 __ptrvalue or __unbounded.
385 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
386 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
388 (__new_msgctl): Do not use __ptrvalue.
389 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
391 (__libc_msgrcv): Do not use __ptrvalue.
392 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
393 startup_info): Do not use __unbounded.
394 (__libc_start_main): Likewise. Rename ubp_* variables and
395 parameters. Remove argv definitions conditional on
396 [__BOUNDED_POINTERS__].
397 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
399 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
401 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
403 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
405 (__new_shmctl): Do not use __ptrvalue.
406 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
407 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
409 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
410 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
411 (__libc_sigaction): Likewise.
412 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
413 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
415 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
417 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
419 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
421 * string/mempcpy.c: Implement by calling memcpy.
423 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
425 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
427 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
430 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
431 values in the mantissa.
433 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
434 minimize writes to Z.
435 (sub_magnitudes): Simplify code a bit.
437 2013-02-12 Roland McGrath <roland@hack.frob.com>
439 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
440 from the message. The linker prefixes all warnings with that already.
442 2013-02-12 Andreas Schwab <schwab@suse.de>
445 * posix/regexec.c (extend_buffers): Add parameter min_len.
446 (check_matching): Pass minimum needed length.
447 (clean_state_log_if_needed): Likewise.
448 (get_subexp): Likewise.
449 * posix/Makefile (tests): Add bug-regex34.
450 (bug-regex34-ENV): Define.
451 * posix/bug-regex34.c: New file.
454 * posix/regcomp.c (parse_bracket_exp): When looking up collating
455 elements compare against the byte sequence of it, not its name.
456 * posix/Makefile (tests): Add bug-regex35.
457 (bug-regex35-ENV): Define.
458 * posix/bug-regex35.c: New file.
460 2013-02-11 Tom de Vries <tom@codesourcery.com>
462 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
464 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
465 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
466 (CHECK_EOL): Add undef.
468 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
470 * bits/stdlib-bsearch.h: New file.
471 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
472 * stdlib/stdlib.h: Likewise.
474 2013-02-11 Roland McGrath <roland@hack.frob.com>
476 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
477 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
479 * manual/search.texi (Array Search Function): Add missing const in
481 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
482 declaration to use rlim_t.
483 (Basic Scheduling Functions): Remove erroneous const from
484 sched_getparam prototype. Remove erroneous * from
485 sched_get_priority_max and sched_get_priority_min prototypes.
486 (Resource Usage): Fix summary @comment on vtimes to refer to
487 sys/vtimes.h rather than vtimes.h.
488 Add missing *s in vtimes prototype.
489 (Limits on Resources): Fix ulimit prototype to return long int.
490 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
491 prototypes to use long int rather than double.
492 (BSD Random): Fix initstate and setstate to use char *, not void *.
493 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
494 prototype to make second argument 'struct aiocb64 *const[]'.
495 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
496 (Status of AIO Operations): Remove erroneous const in aio_return and
497 aio_return64 prototypes.
498 (Synchronizing I/O): Fix sync prototype to return void.
499 * manual/startup.texi (Suboptions): Remove an erroneous const in
501 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
502 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
503 use size_t rather than int.
504 (Scanning All Users): Likewise for getpwent_r.
505 (Setting Groups): Add missing const to setgroups prototype.
506 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
507 * manual/socket.texi (Host Names): Fix gethostbyaddr and
508 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
509 'const void *' rather than 'const char *'.
510 (Host Address Functions): Likewise for inet_ntop.
511 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
512 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
513 ssize_t for return value.
514 (Sending Data): Likewise for send, sendto, sendmsg.
515 (Socket Option Functions): Add a missing const in setsockopt prototype.
516 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
517 use wchar_t for the argument.
518 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
519 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
521 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
522 double/float/long double for second argument.
523 Fix return types of significand, significandf, significandl.
524 * manual/filesys.texi (Setting Permissions): Use mode_t for second
525 argument in fchmod prototype.
526 (File Owner): Use uid_t and gid_t in fchown prototype.
527 (File Times): Add const to utimes, futimes, and lutimes prototypes.
528 (Making Special Files): Use mode_t and dev_t in mknod prototype.
529 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
530 use 'const struct dirent **' as argument types to CMP function pointer
532 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
533 (File Times): Fix summary magic @comment for struct utimbuf and utime
534 to refer to utime.h, not time.h.
535 * manual/string.texi (Argz Functions): Add missing const in
536 argz_extract and argz_next prototypes.
537 (Finding Tokens in a String): Likewise for basename.
538 (String/Array Comparison): Fix typo in wcscasecmp prototype.
539 (Copying and Concatenation): Fix typo in wmemmove prototype.
540 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
541 (Signal Stack): Remove erroneous const in sigstack prototype.
542 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
544 (Simple Calendar Time): Likewise for stime.
545 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
547 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
548 say sys/sysctl.h instead.
549 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
550 and vsyslog prototypes.
552 2013-02-11 Tom de Vries <tom@codesourcery.com>
554 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
557 2013-02-11 Roland McGrath <roland@hack.frob.com>
559 * misc/sys/mman.h: Fix typo in mremap comment.
561 2013-02-08 Roland McGrath <roland@hack.frob.com>
563 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
566 2013-02-08 Joseph Myers <joseph@codesourcery.com>
569 * debug/segfault.c: Don't include <bp-checks.h>.
570 * sysdeps/generic/bp-checks.h: Remove file.
571 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
572 (__GETDENTS): Don't use CHECK_N.
573 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
574 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
575 (__getgroups): Don't use CHECK_N.
576 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
577 (setgroups): Don't use CHECK_N.
578 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
579 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
580 (__libc_msgrcv): Don't use CHECK_N.
581 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
582 (__libc_msgsnd): Don't use CHECK_N.
583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
585 (__libc_pread): Don't use CHECK_N.
586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
587 include <bp-checks.h>.
588 (__libc_pread64): Don't use CHECK_N.
589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
590 include <bp-checks.h>.
591 (__libc_pwrite): Don't use CHECK_N.
592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
593 include <bp-checks.h>.
594 (__libc_pwrite64): Don't use CHECK_N.
595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
597 (__libc_pread): Don't use CHECK_N.
598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
599 include <bp-checks.h>.
600 (__libc_pread64): Don't use CHECK_N.
601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
602 include <bp-checks.h>.
603 (__libc_pwrite): Don't use CHECK_N.
604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
605 include <bp-checks.h>.
606 (__libc_pwrite64): Don't use CHECK_N.
607 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
608 (do_pread): Don't use CHECK_N.
609 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
610 (do_pread64): Don't use CHECK_N.
611 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
612 (do_pwrite): Don't use CHECK_N.
613 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
614 (do_pwrite64): Don't use CHECK_N.
615 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
616 (__libc_readv): Don't use CHECK_N.
617 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
618 (semop): Don't use CHECK_N.
619 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
621 (semtimedop): Don't use CHECK_N.
622 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
623 (__libc_pread): Don't use CHECK_N.
624 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
626 (__libc_pread64): Don't use CHECK_N.
627 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
629 (__libc_pwrite): Don't use CHECK_N.
630 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
632 (__libc_pwrite64): Don't use CHECK_N.
633 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
635 (__libc_msgrcv): Don't use CHECK_N.
636 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
637 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
638 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
639 (__libc_writev): Don't use CHECK_N.
641 2013-02-08 Roland McGrath <roland@hack.frob.com>
643 * string/strcpy.c: Removed unused variable.
645 * Makeconfig (+sysdep-includes): Define with := rather than =.
646 Use an existing include/ subdir of each sysdeps dir before it.
648 2013-02-08 Carlos O'Donell <carlos@redhat.com>
650 * nscd/connection.c (register_traced_file): Comment function.
651 [HAVE_INOTIFY] (union __inev): Define.
652 [HAVE_INOTIFY] (inotify_check_files): New function.
653 [HAVE_INOTIFY] (clear_db_cache): Likewise.
654 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
656 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
658 2013-02-08 Carlos O'Donell <carlos@redhat.com>
660 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
661 loaded if not already and that a failure is permanent.
663 2013-02-08 Carlos O'Donell <carlos@redhat.com>
666 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
667 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
669 2013-02-08 Joseph Myers <joseph@codesourcery.com>
672 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
673 (CHECK_1_NULL_OK): Likewise.
674 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
675 (__fxstat): Do not use CHECK_1.
676 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
678 (___fxstat64): Do not use CHECK_1.
679 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
681 (__fxstatat): Do not use CHECK_1.
682 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
684 (__fxstatat64): Do not use CHECK_1.
685 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
687 (__fxstat): Do not use CHECK_1.
688 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
690 (__fxstatat): Do not use CHECK_1.
691 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
693 (__getresgid): Do not use CHECK_1.
694 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
696 (__getresuid): Do not use CHECK_1.
697 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
699 (__lxstat): Do not use CHECK_1.
700 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
702 (__old_msgctl): Do not use CHECK_1.
703 (__new_msgctl): Likewise.
704 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
706 (__new_setrlimit): Do not use CHECK_1.
707 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
709 (__old_shmctl): Do not use CHECK_1.
710 (__new_shmctl): Likewise.
711 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
713 (__xstat): Do not use CHECK_1.
714 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
715 (__lxstat): Do not use CHECK_1.
716 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
718 (___lxstat64): Do not use CHECK_1.
719 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
720 (__old_msgctl): Do not use CHECK_1.
721 (__new_msgctl): Likewise.
722 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
724 (__gettimeofday): Do not use CHECK_1.
725 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
726 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
727 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
729 (__gettimeofday): Do not use CHECK_1.
730 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
731 (__old_shmctl): Do not use CHECK_1_NULL_OK.
732 (__new_shmctl): Do not use CHECK_1.
733 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
735 (do_sigtimedwait): Do not use CHECK_1.
736 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
738 (do_sigwaitinfo): Do not use CHECK_1.
739 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
741 (msgctl): Do not use CHECK_1.
742 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
744 (shmctl): Do not use CHECK_1.
745 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
746 (ustat): Do not use CHECK_1.
747 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
749 (__fxstat): Do not use CHECK_1.
750 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
752 (__fxstatat): Do not use CHECK_1.
753 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
755 (__lxstat): Do not use CHECK_1.
756 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
758 (__xstat): Do not use CHECK_1.
759 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
760 (__xstat): Do not use CHECK_1.
761 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
762 (___xstat64): Do not use CHECK_1.
765 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
767 (CHECK_BOUNDS_HIGH): Likewise.
768 * string/strcpy.c: Do not include <bp-checks.h>.
769 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
771 2013-02-07 Roland McGrath <roland@hack.frob.com>
773 * nscd/nscd-client.h (__nscd_drop_map_ref):
774 Add __attribute__ ((unused)).
775 * nis/nss-nisplus.h (niserr2nss): Likewise.
777 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
778 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
780 * csu/libc-tls.c (init_static_tls, init_slotinfo):
781 Remove inline keyword.
782 * include/rounding-mode.h (round_away): Likewise.
783 * libio/wfileops.c (adjust_wide_data): Likewise.
784 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
785 (__m128i_strloadu_tolower): Likewise.
786 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
787 (__m128i_strloadu_tolower): Likewise.
788 * time/mktime.c (ydhms_diff): Likewise.
789 * locale/elem-hash.h (elem_hash): Likewise.
790 * locale/setlocale.c (setdata): Likewise.
791 * posix/regex_internal.h (re_string_char_size_at): Likewise.
792 (re_string_wchar_at): Likewise.
793 (bitset_not, bitset_merge, bitset_mask): Likewise.
794 [!(__GNUC__ > 3)] (inline): Remove macro.
795 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
796 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
797 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
798 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
799 * string/memcmp.c (memcmp_bytes): Likewise.
800 * locale/programs/locarchive.c (compute_hashval): Likewise.
801 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
802 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
803 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
804 * nss/getent.c (print_rpc, print_protocols): Likewise.
805 (print_passwd, print_group, print_aliases): Likewise.
806 * nis/nss-nisplus.h (niserr2nss): Likewise.
807 * nscd/connections.c (restart_p): Likewise.
808 Change return type to bool.
810 2013-02-05 Roland McGrath <roland@hack.frob.com>
812 * Makeconfig (all-Depend-files): Add existing
813 $(sorted-subdirs:=/Depend) files.
814 (all-subdirs): Remove nss.
815 * sysdeps/unix/inet/Subdirs: Add it here instead.
816 * hesiod/Depend: New file.
818 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
819 instead of calling alloca.
821 * io/lseek.c (__lseek): Rename to __libc_lseek.
822 Define __lseek as an alias.
824 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
826 2013-02-04 Carlos O'Donell <carlos@redhat.com>
828 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
829 else clause and remove check for non-standard endianness.
831 2013-02-04 David S. Miller <davem@davemloft.net>
833 * sysdeps/sparc/fpu/libm-test-ulps: Update.
835 2013-02-04 Joseph Myers <joseph@codesourcery.com>
838 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
839 (__ubp_memchr): Remove prototype.
840 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
841 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
842 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
843 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
844 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
846 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
847 (__ubp_memchr): Likewise.
848 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
849 (__ubp_memchr): Likewise.
850 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
851 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
852 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
853 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
855 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
856 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
857 (__getcwd): Do not use CHECK_STRING.
858 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
860 (__real_chown): Do not use CHECK_STRING.
861 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
863 (fchownat): Do not use CHECK_STRING.
864 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
866 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
868 (__lchown): Do not use CHECK_STRING.
869 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
870 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
871 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
872 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
874 include <bp-checks.h>.
875 (truncate64): Do not use CHECK_STRING.
876 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
878 (__real_chown): Do not use CHECK_STRING.
879 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
881 (__lchown): Do not use CHECK_STRING.
882 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
884 (__chown): Do not use CHECK_STRING.
885 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
887 (truncate64): Do not use CHECK_STRING.
888 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
890 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
891 (__xmknod): Do not use CHECK_STRING.
892 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
894 (__xmknodat): Do not use CHECK_STRING.
895 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
896 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
898 2013-02-04 Andreas Schwab <schwab@suse.de>
901 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
902 * include/netdb.h: Likewise for h_errno.
903 * elf/tst-stackguard1.c: Include <tls.h>.
905 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
907 * elf/link.h (struct link_map): Extend the l_addr comment.
908 * include/link.h (struct link_map): Likewise.
910 2013-02-01 Joseph Myers <joseph@codesourcery.com>
913 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
914 (BOUNDED_1): Remove macro.
915 * debug/backtrace.c: Don't include <bp-checks.h>.
916 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
917 (__backtrace): Likewise.
918 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
920 (__backtrace): Don't use BOUNDED_1.
921 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
923 (__backtrace): Don't use BOUNDED_1.
924 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
925 (__backtrace): Don't use BOUNDED_1.
926 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
927 (shmat): Don't use BOUNDED_N.
929 2013-01-31 Joseph Myers <joseph@codesourcery.com>
932 * sysdeps/generic/bp-start.h: Remove file.
933 * csu/libc-start.c: Don't include <bp-start.h>.
934 (LIBC_START_MAIN): Set up __environ directly instead of using
935 INIT_ARGV_and_ENVIRON.
936 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
940 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
942 (CHECK_FCNTL): Likewise.
943 (CHECK_N_PAGES): Likewise.
946 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
948 (CHECK_SIGSET_NULL_OK): Likewise.
949 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
951 (sigpending): Don't use CHECK_SIGSET.
952 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
954 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
955 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
957 (do_sigsuspend): Don't use CHECK_SIGSET.
958 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
960 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
961 (do_sigwait): Don't use CHECK_SIGSET.
962 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
964 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
965 include <bp-checks.h>.
966 (sigpending): Don't use CHECK_SIGSET.
967 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
968 include <bp-checks.h>.
969 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
970 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
972 (sigpending): Don't use CHECK_SIGSET.
973 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
975 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
978 * sysdeps/generic/bp-semctl.h: Remove file.
979 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
980 <bp-checks.h> and <bp-semctl.h>.
981 (__old_semctl): Don't use CHECK_SEMCTL.
982 (__new_semctl): Likewise.
983 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
985 (__old_semctl): Don't use CHECK_SEMCTL.
986 (__new_semctl): Likewise.
987 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
988 <bp-checks.h> and <bp-semctl.h>.
989 (__old_semctl): Don't use CHECK_SEMCTL.
990 (__new_semctl): Likewise.
991 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
992 <bp-checks.h> and <bp-semctl.h>.
993 (semctl): Don't use CHECK_SEMCTL.
996 * Makerules (elide-bp-thunks): Remove variable.
997 (elide-routines.oS): Don't use $(elide-bp-thunks).
998 (elide-routines.os): Likewise.
999 (elide-routines.o): Likewise.
1000 (elide-routines.op): Likewise.
1001 (elide-routines.og): Likewise.
1002 (objects): Don't use $(bp-thunks).
1003 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
1005 (common-generated): Do not add s-proto-bp.d.
1006 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
1009 Do not generate makefile rules for bounded-pointer thunks.
1010 * sysdeps/generic/bp-thunks.h: Remove file.
1011 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
1012 * sysdeps/unix/s-proto-bp.S: Likewise.
1015 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
1016 parts of result separately when argument is not close to line from
1017 -i to i and one part of argument is small.
1018 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1019 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1020 * math/libm-test.inc (cacos_test): Add more tests.
1021 (casin_test): Likewise.
1022 (casinh_test): Likewise.
1023 * sysdeps/i386/fpu/libm-test-ulps: Update.
1024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1026 2013-01-31 David S. Miller <davem@davemloft.net>
1028 * po/de.po: Update from translation team.
1030 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
1032 * time/tzfile.c: Include stdint.h for SIZE_MAX.
1034 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
1036 * configure.in (_AC_PROG_CC_C89): New definition.
1037 * configure: Regenerate.
1039 * configure.in (AC_PROG_CPP): New definition.
1040 * configure: Regenerate.
1042 2013-01-23 Joseph Myers <joseph@codesourcery.com>
1044 * debug/tst-backtrace.h: New file.
1045 * debug/tst-backtrace2.c: Include tst-backtrace.h.
1046 (ret): Remove variable.
1048 (FAIL): Remove macro.
1049 (NO_INLINE): Likewise.
1050 (fn1): Use match function instead of strstr.
1051 * debug/tst-backtrace3.c: Include tst-backtrace.h.
1052 (ret): Remove variable.
1054 (FAIL): Remove macro.
1055 (NO_INLINE): Likewise.
1056 (fn): Use match function instead of strstr.
1057 * debug/tst-backtrace4.c: Include tst-backtrace.h.
1058 (ret): Remove variable.
1060 (FAIL): Remove macro.
1061 (NO_INLINE): Likewise.
1062 (handle_signal): Use match function instead of strstr.
1063 * debug/tst-backtrace5.c: Include tst-backtrace.h.
1064 (ret): Remove variable.
1066 (FAIL): Remove macro.
1067 (NO_INLINE): Likewise.
1068 (handle_signal): Use match function instead of strstr.
1070 2013-01-23 Roland McGrath <roland@hack.frob.com>
1072 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
1074 2013-01-23 David S. Miller <davem@davemloft.net>
1076 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
1077 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
1078 argument of CAS if possible.
1079 * sysdeps/sparc/sparc64/bits/atomic.h
1080 (__arch_compare_and_exchange_val_32_acq): Likewise.
1081 (__arch_compare_and_exchange_val_64_acq): Likewise.
1083 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
1085 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
1086 * sysdeps/posix/ulimit.c: ... this.
1088 * sysdeps/unix/bsd/ulimit.c: Remove file.
1090 2013-01-23 Adam Conrad <adconrad@0c3.net>
1092 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
1093 (LDFLAGS-tst-array5): Likewise.
1095 2013-01-23 Joseph Myers <joseph@codesourcery.com>
1098 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
1099 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
1100 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
1101 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
1103 2013-01-21 David S. Miller <davem@davemloft.net>
1105 * sysdeps/sparc/backtrace.c: New file.
1106 * sysdeps/sparc/sparc32/backtrace.h: New file.
1107 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
1108 * sysdeps/sparc/sparc64/backtrace.h: New file.
1109 * sysdeps/sparc/sparc64/backtrace.c: Delete.
1110 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
1113 2013-01-21 Andreas Schwab <schwab@suse.de>
1116 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
1119 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
1121 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
1123 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1125 2013-01-18 Joseph Myers <joseph@codesourcery.com>
1126 Mark Mitchell <mark@codesourcery.com>
1127 Tom de Vries <tom@codesourcery.com>
1128 Paul Pluzhnikov <ppluzhnikov@google.com>
1130 * debug/tst-backtrace2.c: New file.
1131 * debug/tst-backtrace3.c: Likewise.
1132 * debug/tst-backtrace4.c: Likewise.
1133 * debug/tst-backtrace5.c: Likewise.
1134 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
1135 (CFLAGS-tst-backtrace3.c): Likewise.
1136 (CFLAGS-tst-backtrace4.c): Likewise.
1137 (CFLAGS-tst-backtrace5.c): Likewise.
1138 (LDFLAGS-tst-backtrace2): Likewise.
1139 (LDFLAGS-tst-backtrace3): Likewise.
1140 (LDFLAGS-tst-backtrace4): Likewise.
1141 (LDFLAGS-tst-backtrace5): Likewise.
1142 (tests): Add new tests tst-backtrace2, tst-backtrace3,
1143 tst-backtrace4 and tst-backtrace5.
1145 2013-01-18 Anton Blanchard <anton@samba.org>
1146 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1148 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
1149 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
1150 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
1151 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
1152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1153 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
1154 "+r" and remove output regs list as redundant. Add explicit inline
1155 asm to specify register of return val to work around compiler codegen
1156 bug. Remove (int) cast on return value. Add return type parameter to
1157 use in macro so that this macro does not truncate return value for
1159 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
1160 pass to INTERNAL_VSYSCALL_NCS.
1161 (INLINE_VSYSCALL): Add 'long int' as return type to
1162 INTERNAL_VSYSCALL_NCS macro invocation.
1163 (INTERNAL_VSYSCALL): Add 'long int' as return type to
1164 INTERNAL_VSYSCALL_NCS macro invocation.
1165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1167 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1170 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
1171 Fix application of SIMD FP exception mask.
1173 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
1174 mp_no from a power of two.
1175 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
1176 __mpexp_twomm1. Use __pow_mp.
1178 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
1181 2013-01-17 David S. Miller <davem@davemloft.net>
1183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1185 2013-01-17 Joseph Myers <joseph@codesourcery.com>
1188 * include/complex.h: Condition contents on [!_COMPLEX_H].
1189 (__kernel_casinhf): New prototype.
1190 (__kernel_casinh): Likewise.
1191 (__kernel_casinhl): Likewise.
1192 * math/Makefile (libm_calls): Add k_casinh.
1193 * math/k_casinh.c: New file.
1194 * math/k_casinhf.c: Likewise.
1195 * math/k_casinhl.c: Likewise.
1196 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
1197 finite nonzero arguments.
1198 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
1199 finite nonzero arguments.
1200 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
1201 finite nonzero arguments.
1202 * math/s_casinh.c: Do not include <float.h>.
1203 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
1204 * math/s_casinhf.c: Do not include <float.h>.
1205 (__casinhf): Move code for finite nonzero arguments to
1207 * math/s_casinhl.c: Do not include <float.h>.
1208 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
1210 (__casinhl): Move code for finite nonzero arguments to
1212 * math/libm-test.inc (cacos_test): Add more tests.
1213 * sysdeps/i386/fpu/libm-test-ulps: Update.
1214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1216 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
1218 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
1219 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
1220 [!HAVE_MREMAP]: Remove [defined linux] case.
1221 * malloc/arena.c: Do not include <malloc-sysdep.h>.
1223 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1225 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
1227 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
1229 * elf/elf.h (R_386_SIZE32): New relocation.
1230 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
1232 (elf_machine_rela): Likewise.
1233 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1234 R_X86_64_SIZE64 and R_X86_64_SIZE32.
1236 2013-01-17 Joseph Myers <joseph@codesourcery.com>
1238 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
1239 (FP_FAST_FMA): Do not define.
1240 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
1241 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
1242 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
1243 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
1244 !_SOFT_FLOAT]: Likewise.
1245 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
1246 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
1248 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
1249 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
1250 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
1251 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
1252 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
1253 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
1256 2013-01-16 Andreas Schwab <schwab@suse.de>
1259 * include/stdlib.h (__mktemp): Add declaration.
1260 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
1261 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
1263 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1265 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
1267 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1268 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
1269 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
1271 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
1272 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
1274 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
1276 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
1277 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
1278 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
1280 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
1281 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
1283 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1285 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
1287 2013-01-15 David S. Miller <davem@davemloft.net>
1289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1290 trunc{,f} to libm-sysdep_routes.
1291 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
1294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
1295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
1297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
1299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
1300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
1301 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
1302 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
1303 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
1304 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
1305 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
1306 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
1308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1309 nearbyint{,f} to libm-sysdep_routes.
1310 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
1313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
1315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
1317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
1319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
1320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
1321 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
1323 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
1324 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
1326 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
1327 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
1328 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
1330 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1331 libc_feholdexcept and libc_fesetenv.
1333 2013-01-15 Mike Frysinger <vapier@gentoo.org>
1335 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
1337 2013-01-14 David S. Miller <davem@davemloft.net>
1339 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
1340 (SPARC_ASM_VIS2_IFUNC): Likewise.
1341 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
1342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
1343 use of 'siam' instruction.
1344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
1346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
1348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
1350 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
1351 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1352 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
1353 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
1354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
1356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
1358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
1360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
1362 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
1363 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
1364 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
1365 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
1366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
1368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1372 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1373 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1374 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1375 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
1377 routines to libm-sysdep_routines.
1378 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1381 fdim/fdimf to libm-sysdep_routines.
1382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
1384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
1385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
1387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
1388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
1389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
1390 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
1391 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
1392 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
1393 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
1395 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1397 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
1400 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
1401 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1402 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1404 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
1405 local variable MPTWO.
1406 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1409 2013-01-13 Mike Frysinger <vapier@gentoo.org>
1411 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
1414 2013-01-13 Mike Frysinger <vapier@gentoo.org>
1416 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
1418 2013-01-13 Mike Frysinger <vapier@gentoo.org>
1420 * manual/pattern.texi (glob_t): Document gl_flags.
1421 (glob64_t): Likewise.
1423 2013-01-11 David S. Miller <davem@davemloft.net>
1425 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
1426 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
1427 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
1428 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
1429 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
1430 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
1431 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
1432 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
1433 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
1434 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
1435 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
1436 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
1437 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
1439 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
1440 sparc V9 rather than using V8 code.
1441 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1442 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1444 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1446 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
1449 2013-01-11 Roland McGrath <roland@hack.frob.com>
1451 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
1452 not in the main loop.
1453 * configure: Regenerated.
1455 2013-01-11 Joseph Myers <joseph@codesourcery.com>
1457 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
1458 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
1460 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
1461 [!__GLIBC_HAVE_LONG_LONG] case.
1462 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
1463 condition to just #else.
1464 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
1465 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
1466 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
1467 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
1469 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
1470 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
1471 #elif condition to just #else.
1472 * sysdeps/unix/sysv/linux/sys/sysmacros.h
1473 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
1474 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
1475 #elif condition to just #else.
1477 2013-01-11 Steve Ellcey <sellcey@mips.com>
1479 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
1480 (EF_MIPS_ARCH_64): Fix value.
1481 (EF_MIPS_ARCH_32R2): New.
1482 (EF_MIPS_ARCH_64R2): New.
1484 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
1486 * Makeconfig (+link-pie-before-libc): New.
1487 (+link-pie-after-libc): Likewise.
1488 (+link-pie-tests): Likewise.
1489 (+link-pie): Rewritten.
1490 (link-before-libc): Remove $(config-LDFLAGS).
1491 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
1492 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
1493 (config-LDFLAGS): Renamed to ...
1494 (rtld-LDFLAGS): This.
1495 (rtld-tests-LDFLAGS): New macro.
1496 (link-libc-rpath-link): Likewise.
1497 (link-libc-tests-rpath-link): Likewise.
1498 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
1499 (link-libc): Prepand $(link-libc-rpath-link).
1500 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
1501 (test-program-prefix): New macro.
1502 (test-via-rtld-prefix): Likewise.
1503 (test-program-cmd): Likewise.
1504 (host-test-program-cmd): Likewise.
1505 * Makefile ($(common-objpfx)testrun.sh): Replace
1506 $(run-program-prefix) with $(test-program-prefix).
1507 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
1509 ($(common-objpfx)shlib.lds): Likewise.
1510 (build-module-helper): Likewise.
1511 ($(common-objpfx)format.lds): Likewise.
1512 * Rules (binaries-pie-tests): New.
1513 (binaries-pie-notests): Likewise.
1514 (binaries-pie): Rewritten.
1515 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
1516 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
1517 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
1518 (make-test-out): Replace $(host-built-program-cmd) with
1519 $(host-test-program-cmd).
1520 * config.make.in (build-hardcoded-path-in-tests): New variable.
1521 * configure.in (--enable-hardcoded-path-in-tests): New configure
1523 (hardcoded_path_in_tests): New AC_SUBST.
1524 * configure: Regenerated.
1525 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
1526 $(built-program-cmd) with $(test-program-cmd).
1527 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
1528 (test_program_cmd): This.
1529 * elf/Makefile ($(objpfx)order.out): Run test with
1530 $(test-program-prefix).
1531 ($(objpfx)order2.out): Likewise.
1532 ($(objpfx)tst-initorder.out): Likewise.
1533 ($(objpfx)tst-initorder2.out): Likewise.
1534 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
1535 $(test-program-cmd).
1536 ($(objpfx)tst-array1-static.out): Likewise.
1537 ($(objpfx)tst-array2.out): Likewise.
1538 ($(objpfx)tst-array3.out): Likewise.
1539 ($(objpfx)tst-array4.out): Likewise.
1540 ($(objpfx)tst-array5.out): Likewise.
1541 ($(objpfx)tst-array5-static.out): Likewise.
1542 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
1543 $(test-program-cmd).
1544 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
1545 $(run-program-prefix) with $(test-program-prefix).
1546 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
1547 (test_program_prefix): This.
1548 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
1549 $(run-program-prefix) with $(test-program-prefix).
1550 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
1551 (test_program_prefix): This.
1552 * iconvdata/tst-tables.sh: Likewise.
1553 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
1554 $(run-program-prefix) with $(test-program-prefix).
1555 ($(objpfx)tst-translit.out): Likewise.
1556 ($(objpfx)tst-gettext2.out): Likewise.
1557 ($(objpfx)tst-gettext4.out): Likewise.
1558 ($(objpfx)tst-gettext6.out): Likewise.
1559 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
1560 (test_program_prefix): This.
1561 * intl/tst-gettext2.sh: Likewise.
1562 * intl/tst-gettext4.sh Likewise.
1563 * intl/tst-gettext6.sh: Likewise.
1564 * intl/tst-translit.sh: Likewise.
1565 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
1566 with $(test-program-cmd).
1567 * libio/Makefile ($(objpfx)test-freopen.out): Replace
1568 $(run-program-prefix) with $(test-program-prefix).
1569 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
1570 (test_program_prefix): This.
1571 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
1572 $(run-program-prefix) with $(test-program-prefix).
1573 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
1574 (test_program_prefix): This.
1575 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
1576 * posix/Makefile ($(objpfx)globtest.out): Replace
1577 $(run-via-rtld-prefix) and $(test-wrapper) with
1578 $(test-program-prefix) and $(test-via-rtld-prefix).
1579 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
1580 $(test-program-prefix).
1581 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
1582 $(host-test-program-cmd).
1583 (tst-spawn-ARGS): Likewise.
1584 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
1585 $(test-program-prefix).
1586 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
1587 (test_via_rtld_prefix): This.
1588 (test_wrapper): Renamed to ...
1589 (test_program_prefix): This.
1590 (run_program_prefix): Replaced by test_program_prefix.
1591 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
1592 (test_program_prefix): This.
1593 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
1594 with $(host-test-program-cmd).
1595 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
1596 $(run-program-prefix) with $(test-program-prefix).
1597 ($(objpfx)tst-printf.out): Likewise.
1598 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
1599 $(test-program-cmd).
1600 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
1601 (test_program_prefix): This.
1602 * stdio-common/tst-unbputc.sh: Likewise.
1603 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
1604 $(run-program-prefix) with $(test-program-prefix).
1605 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
1606 (test_program_prefix): This.
1607 * string/Makefile ($(objpfx)tst-svc.out): Replace
1608 $(built-program-cmd) with $(test-program-cmd).
1610 2013-01-11 Andreas Jaeger <aj@suse.de>
1613 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
1614 value. Sync with Linux 3.7.
1616 2013-01-10 David S. Miller <davem@davemloft.net>
1618 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
1619 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1620 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1622 2013-01-10 Roland McGrath <roland@hack.frob.com>
1624 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
1626 * configure: Regenerated.
1628 2013-01-10 David S. Miller <davem@davemloft.net>
1630 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
1631 sparc V9 rather than using V8 code.
1632 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1633 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1635 2013-01-10 Roland McGrath <roland@hack.frob.com>
1637 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
1638 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
1639 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
1640 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
1641 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
1642 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
1643 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
1644 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
1645 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
1646 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
1647 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
1648 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
1649 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
1650 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
1651 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
1652 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
1653 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
1654 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
1655 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
1656 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
1657 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
1658 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
1659 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
1660 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
1661 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
1662 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
1663 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
1665 2013-01-10 David S. Miller <davem@davemloft.net>
1667 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1669 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1671 * posix/Makefile (tests-static): New variable.
1672 (tests): Add $(tests-static).
1673 (tst-exec-static-ARGS): New variable.
1674 (tst-spawn-static-ARGS): Likewise.
1675 * posix/tst-exec-static.c: New file.
1676 * posix/tst-spawn-static.c: Likewise.
1677 * posix/tst-exec.c: Support run directly.
1678 * posix/tst-spawn.c: Likewise.
1680 2013-01-10 Joseph Myers <joseph@codesourcery.com>
1682 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
1684 * math/bits/mathcalls.h (llrint): Likewise.
1685 (llround): Likewise.
1686 * stdlib/stdlib.h (struct drand48_data): Likewise.
1687 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
1688 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
1689 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
1691 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
1693 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
1694 (elf_greg_t): Likewise.
1695 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
1696 (__jmp_buf): Likewise.
1697 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
1699 (llrint): Likewise, for all definitions.
1700 (llrintl): Likewise.
1702 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
1703 Remove [__GNUC__] condition.
1704 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
1705 condition to just [__USE_ISOC99].
1706 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
1708 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1711 * sysdeps/unix/sysv/linux/x86/bits/environments.h
1712 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
1714 (_POSIX_V6_ILP32_OFF32): Likewise.
1715 (_XBS5_ILP32_OFF32): Likewise.
1716 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
1717 (__ILP32_OFFBIG_LDFLAGS): Likewise.
1719 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1721 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
1723 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
1724 doubles __mpexp_twomm1. Adjust usage.
1725 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
1728 2013-01-10 Andreas Schwab <schwab@suse.de>
1731 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
1732 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
1734 2013-01-09 David S. Miller <davem@davemloft.net>
1737 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
1738 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
1739 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
1740 TCP_FASTOPEN): Define.
1741 (tcp_repair_opt): New structure.
1742 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
1744 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
1745 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
1746 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
1747 (tcp_cookie_transactions): New structure.
1749 2013-01-09 Anton Blanchard <anton@samba.org>
1751 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
1752 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
1753 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
1754 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
1756 2013-01-09 Joseph Myers <joseph@codesourcery.com>
1758 * include/features.h (__USE_ANSI): Remove.
1760 2013-01-09 Roland McGrath <roland@hack.frob.com>
1762 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
1764 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
1766 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1768 * sysdeps/s390/fpu/libm-test-ulps: Update.
1770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1772 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
1777 (__mp_dbl): Likewise.
1778 (__dbl_mp): Likewise.
1779 (add_magnitudes): Likewise.
1780 (sub_magnitudes): Likewise.
1786 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
1791 (__mp_dbl): Likewise.
1792 (__dbl_mp): Likewise.
1793 (add_magnitudes): Likewise.
1794 (sub_magnitudes): Likewise.
1800 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
1805 (__mp_dbl): Likewise.
1806 (__dbl_mp): Likewise.
1807 (add_magnitudes): Likewise.
1808 (sub_magnitudes): Likewise.
1815 2013-01-08 Joseph Myers <joseph@codesourcery.com>
1817 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
1818 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
1819 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
1820 2 && __USE_EXTERN_INLINES]: Likewise.
1822 2013-01-08 Andreas Jaeger <aj@suse.de>
1825 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
1827 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1828 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1830 2013-01-07 Anton Blanchard <anton@samba.org>
1832 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
1833 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1834 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
1835 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1836 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1837 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1838 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
1839 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1840 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1841 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1842 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1843 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1844 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1845 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1846 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1847 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1848 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1849 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1850 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1851 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1852 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1853 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
1854 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1855 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1856 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
1857 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1858 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1859 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1860 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
1861 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1862 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1863 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1864 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1865 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1866 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1867 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1868 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1869 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1870 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
1871 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1872 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
1873 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1874 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1876 2013-01-07 Joseph Myers <joseph@codesourcery.com>
1878 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
1879 (__MALLOC_PMT): Likewise.
1880 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
1881 [__GNUC__], only on [_LIBC].
1882 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1883 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
1884 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1885 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
1886 forward declaration.
1887 (realloc_hook_ini): Likewise.
1888 (memalign_hook_ini): Likewise.
1889 (__libc_memalign): Do not use __MALLOC_PMT in variable
1891 (__libc_valloc): Likewise.
1892 (__libc_pvalloc): Likewise.
1893 (__libc_calloc): Likewise.
1894 (__posix_memalign): Likewise.
1897 * math/s_casinh.c: Include <float.h>.
1898 (__casinh): Do not do computation with squaring and square root
1899 for large arguments.
1900 * math/s_casinhf.c: Include <float.h>.
1901 (__casinhf): Do not do computation with squaring and square root
1902 for large arguments.
1903 * math/s_casinhl.c: Include <float.h>.
1904 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
1905 (__casinhl): Do not do computation with squaring and square root
1906 for large arguments.
1907 * math/libm-test.inc (casin_test): Add more tests.
1908 (casinh_test): Likewise.
1909 * sysdeps/i386/fpu/libm-test-ulps: Update.
1910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1912 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
1914 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
1915 (__x86_64_raw_data_cache_size): Likewise.
1916 (__x86_64_data_cache_size_half): Likewise.
1917 (__x86_64_raw_data_cache_size_half): Likewise.
1918 (__x86_64_shared_cache_size): Likewise.
1919 (__x86_64_raw_shared_cache_size): Likewise.
1920 (__x86_64_shared_cache_size_half): Likewise.
1921 (__x86_64_raw_shared_cache_size_half): Likewise.
1922 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
1924 (__x86_data_cache_size): This.
1925 (__x86_64_raw_data_cache_size): Renamed to ...
1926 (__x86_raw_data_cache_size): This.
1927 (__x86_64_data_cache_size_half): Renamed to ...
1928 (__x86_data_cache_size_half): This.
1929 (__x86_64_raw_data_cache_size_half): Renamed to ...
1930 (__x86_raw_data_cache_size_half): This.
1931 (__x86_64_shared_cache_size): Renamed to ...
1932 (__x86_shared_cache_size): This.
1933 (__x86_64_raw_shared_cache_size): Renamed to ...
1934 (__x86_raw_shared_cache_size): This.
1935 (__x86_64_shared_cache_size_half): Renamed to ...
1936 (__x86_shared_cache_size_half): This.
1937 (__x86_64_raw_shared_cache_size_half): Renamed to ...
1938 (__x86_raw_shared_cache_size_half): This.
1939 * sysdeps/x86_64/memcpy.S: Updated.
1940 * sysdeps/x86_64/memset.S: Likewise.
1941 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1942 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1943 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1945 2013-01-04 David S. Miller <davem@davemloft.net>
1947 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1949 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
1951 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
1952 1 to avoid redefinition warning.
1953 (__USE_GNU): Don't define.
1954 (init_signaling_nan): Protoize.
1956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1958 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1960 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
1961 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
1962 (__cpymn): Likewise.
1963 (norm): Remove commented code.
1965 (__mp_dbl): Likewise.
1967 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
1968 (__cpymn): Likewise.
1969 (norm): Remove commented code.
1971 (__mp_dbl): Likewise.
1974 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
1975 mp_no value for 1.0 and 2.0.
1976 (norm): Use RADIXI instead of radixi.d.
1978 (__mul): Use 0.0 instead of zero.d.
1979 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
1980 mp_no value for 1.0 and 2.0.
1981 (norm): Use RADIXI instead of radixi.d.
1983 (__mul): Use 0.0 instead of zero.d.
1985 2013-01-04 Joseph Myers <joseph@codesourcery.com>
1988 * math/s_casinh.c (__casinh): Reduce finite argument to first
1989 quadrant then set signs of results at the end.
1990 * math/s_casinhf.c (__casinhf): Likewise.
1991 * math/s_casinhl.c (__casinhl): Likewise.
1992 * math/libm-test.inc (casin_test): Add more tests.
1993 (casinh_test): Likewise.
1994 * sysdeps/i386/fpu/libm-test-ulps: Update.
1995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1997 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1999 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
2001 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
2003 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
2006 (__mp_dbl): Likewise.
2009 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
2010 and adjust the header comment.
2012 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
2013 variable name from declaration.
2015 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
2017 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2018 Initialize COMMON_CPUID_INDEX_7 element.
2019 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
2020 (CPUID_RTM): Likewise.
2021 (HAS_RTM): Likewise.
2022 (COMMON_CPUID_INDEX_7): New enum.
2024 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
2027 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
2028 size is zero, record memory as freed.
2030 2013-01-03 Andreas Jaeger <aj@suse.de>
2032 * po/ia.po: Add new Interlingua translation.
2034 2012-01-03 Allan McRae <allan@archlinux.org>
2036 * locale/programs/localedef.c: Fix description of '--posix' flag.
2038 2013-01-02 Joseph Myers <joseph@codesourcery.com>
2040 * NEWS: Update dates in second copyright notice.
2041 * README: Update copyright dates in example.
2042 * manual/libc.texinfo: Update copyright dates.
2043 * scripts/test-installation.pl: Update copyright date in --version
2046 * hurd/ctty-input.c: Fix copyright notice formatting.
2047 * hurd/ctty-output.c: Likewise.
2048 * hurd/dtable.c: Likewise.
2049 * hurd/hurd-raise.c: Likewise.
2050 * hurd/hurdprio.c: Likewise.
2051 * hurd/msgportdemux.c: Likewise.
2052 * misc/sys/file.h: Likewise.
2053 * misc/sys/ioctl.h: Likewise.
2054 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2055 * sysdeps/mach/hurd/chdir.c: Likewise.
2056 * sysdeps/mach/hurd/fchdir.c: Likewise.
2057 * sysdeps/mach/hurd/rename.c: Likewise.
2058 * sysdeps/mach/hurd/rmdir.c: Likewise.
2059 * sysdeps/mach/hurd/seekdir.c: Likewise.
2060 * sysdeps/mach/hurd/setsid.c: Likewise.
2061 * sysdeps/posix/wait3.c: Likewise.
2063 * All files with FSF copyright notices: Update copyright dates
2064 using scripts/update-copyrights.
2065 * intl/plural.c: Regenerated.
2066 * locale/programs/charmap-kw.h: Likewise.
2067 * locale/programs/locfile-kw.h: Likewise.
2069 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2071 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
2074 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
2075 calculation loop and add branch prediction.
2077 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
2078 check access beyond bounds of m1np.
2080 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2082 (__inv): Remove local variable MPTWO to use the global
2084 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
2085 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2087 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
2088 MP3HALFS static const.
2090 2013-01-01 David S. Miller <davem@davemloft.net>
2092 * po/ca.po: Update from translation team.
2094 2013-01-01 Joseph Myers <joseph@codesourcery.com>
2096 * scripts/update-copyrights: New file.
2097 * Makeconfig: Reformat copyright notice.
2098 * ctype/ctype.h: Likewise.
2099 * debug/swprintf_chk.c: Likewise.
2100 * elf/dl-cache.c: Likewise.
2101 * elf/dl-debug.c: Likewise.
2102 * elf/dl-object.c: Likewise.
2103 * grp/initgroups.c: Likewise.
2104 * hurd/Makefile: Likewise.
2105 * hurd/hurd/signal.h: Likewise.
2106 * hurd/hurdfault.c: Likewise.
2107 * hurd/hurdioctl.c: Likewise.
2108 * hurd/hurdlookup.c: Likewise.
2109 * hurd/intr-msg.c: Likewise.
2110 * iconv/gconv_open.c: Likewise.
2111 * libio/swprintf.c: Likewise.
2112 * locale/lc-ctype.c: Likewise.
2113 * locale/nl_langinfo.c: Likewise.
2114 * mach/Machrules: Likewise.
2115 * mach/Makefile: Likewise.
2116 * malloc/obstack.h: Likewise.
2117 * manual/Makefile: Likewise.
2118 * manual/tsort.awk: Likewise.
2119 * misc/bits/stab.def: Likewise.
2120 * nis/nis_print_group_entry.c: Likewise.
2121 * nis/nis_table.c: Likewise.
2122 * nis/nss_compat/compat-pwd.c: Likewise.
2123 * nis/nss_compat/compat-spwd.c: Likewise.
2124 * po/Makefile: Likewise.
2125 * posix/fnmatch.c: Likewise.
2126 * posix/regex.h: Likewise.
2127 * resolv/Makefile: Likewise.
2128 * resolv/nss_dns/dns-network.c: Likewise.
2129 * resolv/res_hconf.c: Likewise.
2130 * scripts/gen-sorted.awk: Likewise.
2131 * soft-fp/soft-fp.h: Likewise.
2132 * stdio-common/printf.h: Likewise.
2133 * stdlib/monetary.h: Likewise.
2134 * stdlib/random.c: Likewise.
2135 * stdlib/random_r.c: Likewise.
2136 * sysdeps/generic/Makefile: Likewise.
2137 * sysdeps/gnu/Makefile: Likewise.
2138 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2139 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2140 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2141 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2142 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2143 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2144 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2145 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2146 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2147 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2148 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2149 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2150 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
2151 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
2152 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
2153 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
2154 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2155 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2156 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2157 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2158 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2159 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2160 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2161 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2162 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
2163 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
2164 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2165 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
2166 * sysdeps/mach/hurd/errnos.awk: Likewise.
2167 * sysdeps/mach/hurd/fork.c: Likewise.
2168 * sysdeps/mach/hurd/getcwd.c: Likewise.
2169 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
2170 * sysdeps/mach/hurd/mmap.c: Likewise.
2171 * sysdeps/mach/hurd/utimes.c: Likewise.
2172 * sysdeps/mach/hurd/xmknod.c: Likewise.
2173 * sysdeps/posix/profil.c: Likewise.
2174 * sysdeps/posix/readdir_r.c: Likewise.
2175 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2176 * sysdeps/powerpc/bits/setjmp.h: Likewise.
2177 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
2178 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2179 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2180 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2181 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2182 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2183 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2184 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2185 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2186 * sysdeps/pthread/lio_listio.c: Likewise.
2187 * sysdeps/sparc/dl-procinfo.h: Likewise.
2188 * sysdeps/unix/i386/sysdep.S: Likewise.
2189 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2190 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
2191 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2192 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
2193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2194 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2195 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2196 * sysdeps/unix/sysv/linux/speed.c: Likewise.
2197 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2198 * sysdeps/wordsize-32/divdi3.c: Likewise.
2199 * time/sys/time.h: Likewise.
2200 * wcsmbs/Makefile: Likewise.
2202 2013-01-01 David S. Miller <davem@davemloft.net>
2204 * po/fr.po: Update from translation team.
2206 * catgets/gencat.c: Update copyright year.
2207 * csu/version.c: Likewise.
2208 * debug/catchsegv.sh: Likewise.
2209 * debug/pcprofiledump.c: Likewise.
2210 * debug/xtrace.sh: Likewise.
2211 * elf/ldconfig.c: Likewise.
2212 * elf/ldd.bash.in: Likewise.
2213 * elf/pldd.c: Likewise.
2214 * elf/sotruss.ksh: Likewise.
2215 * elf/sprof.c: Likewise.
2216 * iconv/iconv_prog.c: Likewise.
2217 * iconv/iconvconfig.c: Likewise.
2218 * locale/programs/locale.c: Likewise.
2219 * locale/programs/localedef.c: Likewise.
2220 * login/programs/pt_chown.c: Likewise.
2221 * malloc/memusage.sh: Likewise.
2222 * malloc/memusagestat.c: Likewise.
2223 * malloc/mtrace.pl: Likewise.
2224 * nscd/nscd.c: Likewise.
2225 * nss/getent.c: Likewise.
2226 * nss/makedb.c: Likewise.
2227 * posix/getconf.c: Likewise.
2229 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2231 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
2234 2012-12-30 Mike Frysinger <vapier@gentoo.org>
2236 * math/bits/mathcalls.h (modf): Use __nonnull.
2238 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2240 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
2241 (split): Use macro CN instead of the bare value.
2242 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
2244 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
2245 instead of the bare value.
2248 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2250 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
2252 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2254 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
2256 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2257 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2258 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
2259 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2261 2012-12-28 Andreas Jaeger <aj@suse.de>
2263 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
2264 values are from Linux 3.7.
2266 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
2267 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
2269 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2271 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
2274 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
2276 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
2277 variables with preprocessor constants.
2278 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2279 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
2280 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
2282 2012-12-27 Bruno Haible <bruno@clisp.org>
2285 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
2288 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2290 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
2291 and use variable directly.
2292 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
2294 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2296 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
2297 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2299 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2300 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2301 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
2302 include directive. Remove local variable MPONE.
2303 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
2304 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
2305 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2307 2012-12-25 David S. Miller <davem@davemloft.net>
2309 * version.h (RELEASE): Set to "development".
2310 (VERSION): Set to "2.17.90".
2311 * NEWS: Add 2.18 section.
2313 2012-12-21 David S. Miller <davem@davemloft.net>
2315 * po/hr.po: Update from translation team.
2317 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2319 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
2321 2012-12-19 Steve Ellcey <sellcey@mips.com>
2323 * NEWS: Mention new memcpy for MIPS.
2325 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2327 * manual/contrib.texi (Contributors): Spelling correction.
2329 2012-12-15 David S. Miller <davem@davemloft.net>
2331 * po/ru.po: Update from translation team.
2333 2012-12-13 David S. Miller <davem@davemloft.net>
2335 * NEWS: Mention IFUNC testsuite enhancements.
2337 * po/pl.po: Update from translation team.
2338 * po/bg.po: Likewise.
2340 * manual/contrib.texi (Contributors): Update entries for Hongjiu
2341 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
2343 2012-12-11 David S. Miller <davem@davemloft.net>
2345 * po/sv.po: Update from translation team.
2347 * po/vi.po: Update from translation team.
2349 * po/cs.po: Update from translation team.
2351 * po/de.po: Update from translation team.
2352 * po/eo.po: Likewise.
2353 * po/nl.po: Likewise.
2355 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2358 * manual/argp.texi (Argp Helper Functions): Move node to follow
2362 * manual/conf.texi (Limits on File System Capacity): Mention if
2363 terminating null is included in the max size.
2365 2012-12-10 Andreas Jaeger <aj@suse.de>
2367 * po/cs.po: Update from translation team.
2369 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2371 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
2372 void pointer and cast to uintptr_t.
2373 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
2375 * sysdeps/s390/s390-64/memcpy.S: Likewise.
2376 * sysdeps/s390/s390-64/memset.S: Likewise.
2378 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
2381 * menual/message.texi (Message Translation): Fix typos.
2382 (Helper programs for gettext): Likewise.
2384 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
2387 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
2390 2012-12-07 David S. Miller <davem@davemloft.net>
2392 * po/libc.pot: Update.
2394 2012-12-07 Richard Henderson <rth@redhat.com>
2397 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
2398 normal/normal case to before the switch.
2399 (_FP_DIV): Likewise.
2401 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
2402 Mike Frysinger <vapier@gentoo.org>
2404 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
2405 check for __NR_fadvise64_64.
2407 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
2409 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
2410 0, not just to plain "0" as a statement.
2411 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
2414 2012-12-06 Joseph Myers <joseph@codesourcery.com>
2416 * NEWS: Use sourceware.org in Bugzilla URL.
2418 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2421 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2423 * stdio-common/tst-put-error.c (do_test): Add newline to the
2424 padded test to ensure flush.
2426 2012-12-05 Jeff Law <law@redhat.com>
2428 * sunrpc/etc.rpc (fedfs_admin): Add entry.
2430 2012-12-05 Joseph Myers <joseph@codesourcery.com>
2432 * README: Don't refer to ports add-on as distributed separately.
2433 Mention AArch64 in list of systems supported in the ports add-on.
2435 * LICENSES: Add more non-FSF copyright and license notices.
2437 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
2440 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
2442 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
2443 10000 as width of padded output.
2445 2012-12-04 Joseph Myers <joseph@codesourcery.com>
2447 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
2449 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
2450 variable LX with __attribute__ ((unused)).
2451 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2453 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2454 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2455 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
2456 with __attribute__ ((unused)).
2458 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
2460 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
2462 2012-12-04 Joseph Myers <joseph@codesourcery.com>
2464 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
2465 (CFLAGS-nldbl-acos.c): New variable.
2466 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
2467 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
2468 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
2469 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
2470 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
2471 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
2472 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
2473 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
2474 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
2475 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
2476 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
2477 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
2478 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
2479 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
2480 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
2481 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
2482 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
2483 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
2484 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
2485 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
2486 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
2487 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
2488 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
2489 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
2490 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
2491 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
2492 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
2493 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
2494 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
2495 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
2496 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
2497 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
2498 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
2499 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
2500 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
2501 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
2502 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
2503 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
2504 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
2505 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
2506 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
2507 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
2508 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
2509 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
2510 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
2511 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
2512 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
2513 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
2514 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
2515 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
2516 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
2517 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
2518 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
2519 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
2520 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
2521 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
2522 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
2523 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
2524 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
2525 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
2526 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
2527 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
2528 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
2529 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
2530 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
2531 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
2532 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
2533 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
2534 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
2535 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
2536 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
2537 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
2538 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
2539 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
2540 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
2541 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
2542 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
2543 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
2544 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
2545 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
2546 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
2547 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
2548 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
2549 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
2550 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
2551 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
2552 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
2553 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
2554 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
2555 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
2556 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
2557 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
2558 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
2559 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
2560 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
2561 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
2562 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
2564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2565 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2568 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
2569 whole low double instead of just low 47 bits when splitting values
2572 2012-12-03 Allan McRae <allan@archlinux.org>
2574 * manual/stdio.texi (Predefined Printf Handlers): Remove
2575 @hsep and @vsep usage.
2577 2012-12-03 Mike Frysinger <vapier@gentoo.org>
2579 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
2580 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
2582 2012-12-03 Jeff Law <law@redhat.com>
2584 * time/sys/time.h (settimeofday): Do not mark TV argument
2587 2012-12-01 Mike Frysinger <vapier@gentoo.org>
2589 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
2590 when currently writing and seek to current position when not.
2591 * libio/Makefile (tests): Remove bug-fclose1.
2592 * libio/bug-fclose1.c: Delete.
2594 2012-12-01 Joseph Myers <joseph@codesourcery.com>
2596 * manual/arith.texi (feenableexcept): Fix typo.
2597 (fedisableexcept): Likewise.
2599 2012-11-30 Roland McGrath <roland@hack.frob.com>
2601 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
2602 second, differently-typed declaration, rather than a cast.
2604 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2606 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
2607 * include/rpc/svc.h: ... here.
2609 2012-11-30 Aurelien Jarno <aurel32@debian.org>
2612 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
2613 depending n and resplen2 to catch cases where answer
2616 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
2618 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
2619 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
2621 2012-11-29 Mike Frysinger <vapier@gentoo.org>
2623 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
2625 2012-11-29 Roland McGrath <roland@hack.frob.com>
2627 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
2629 2012-11-28 Jeff Law <law@redhat.com>
2632 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
2633 dataset_temporary. Track alloca usage into alloca_used.
2634 If dataset is large allocate and release it via malloc/free.
2636 2012-06-04 Florian Weimer <fweimer@redhat.com>
2639 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
2641 2012-11-28 David S. Miller <davem@davemloft.net>
2643 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2645 2012-11-28 Joseph Myers <joseph@codesourcery.com>
2648 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
2649 of pi/2 rounded to nearest to 64 bits.
2650 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
2652 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
2655 2012-11-28 Jeff Law <law@redhat.com>
2656 Martin Osvald <mosvald@redhat.com>
2659 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
2660 * sunrpc/svc.c: Include time.h.
2661 (__svc_accept_failed): New function.
2662 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
2663 any reason other than EINTR, call __svc_accept_failed.
2664 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
2665 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
2667 2012-11-28 Andreas Schwab <schwab@suse.de>
2669 * scripts/abilist.awk: Also handle indirect functions in .opd
2672 2012-11-28 Joseph Myers <joseph@codesourcery.com>
2675 * sysdeps/x86/fpu/powl_helper.c: New file.
2676 * sysdeps/x86/fpu/Makefile: Likewise.
2677 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
2679 (__ieee754_powl): Use __powl_helper for finite arguments except
2680 integer exponents below 8.
2681 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
2683 (__ieee754_powl): Use __powl_helper for finite arguments except
2684 integer exponents below 8.
2685 * math/libm-test.inc (pow_test): Add more tests and enable some
2686 previously disabled tests.
2687 * sysdeps/i386/fpu/libm-test-ulps: Update.
2688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2690 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2691 Carlos O'Donell <carlos_odonell@mentor.com>
2693 * nss/makedb.c (is_prime): Assert that input is odd and greater
2694 than 4. Note that fact in a comment too.
2695 (next_prime): Add 4 to input.
2697 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2700 * libio/Makefile (tests): Add test case tst-fwrite-error.
2701 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
2702 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
2703 * libio/tst-fwrite-error.c: New test case.
2705 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
2707 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
2708 before casting to void *.
2709 * include/libc-internal.h (__pointer_type): New macro.
2710 (__integer_if_pointer_type_sub): Likewise.
2711 (__integer_if_pointer_type): Likewise.
2712 (cast_to_integer): Likewise.
2713 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
2714 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
2715 before casting to atomic64_t.
2716 (atomic_exchange_acq): Likewise.
2717 (__arch_exchange_and_add_body): Likewise.
2718 (__arch_add_body): Likewise.
2719 (atomic_add_negative): Likewise.
2720 (atomic_add_zero): Likewise.
2722 2012-11-26 Joseph Myers <joseph@codesourcery.com>
2724 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
2725 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
2726 (add_fdes): Likewise.
2727 (linear_search_fdes): Likewise.
2728 (binary_search_unencoded_fdes): Likewise.
2730 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
2732 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
2734 2012-11-24 Adam Conrad <adconrad@0c3.net>
2736 * configure.in: Autodetect C++ header directories.
2737 * configure: Regenerated.
2739 2012-11-23 Mike Frysinger <vapier@gentoo.org>
2741 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
2743 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
2745 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2747 2012-11-22 Joseph Myers <joseph@codesourcery.com>
2749 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
2750 LDBL_MANT_DIG == 106]: Disable some tests.
2751 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2753 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2757 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
2758 input for small inputs. Return +/- pi/2 for large inputs.
2759 * math/libm-test.inc (atan_test): Add more tests.
2761 * sysdeps/generic/unwind-dw2-fde-glibc.c
2762 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
2763 __attribute__ ((unused)).
2766 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
2767 x * y if x and y are nonzero and z is zero.
2770 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
2771 nonzero exponents with absolute value below 0x1p-117 to +/-
2775 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
2776 up arguments below 2**-450, not just those below 2**-500.
2777 * math/libm-test.inc (hypot_test): Add another test.
2780 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2781 Return a+b for ratio over 2**120, not 2**60.
2782 * math/libm-test.inc (hypot_test): Add another test.
2784 * math/libm-test.inc (clog_test): Use
2785 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
2786 (clog10_test): Likewise.
2789 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
2791 2012-11-22 Andreas Schwab <schwab@suse.de>
2793 * sysdeps/i386/fpu/libm-test-ulps: Update.
2795 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
2797 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
2798 printf output with newline.
2800 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
2803 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
2804 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
2805 -z nodlopen, -z initfirst and -z execstack support.
2806 * configure: Regenerated.
2808 * elf/elf.h (DF_1_NODIRECT): New macro.
2809 (DF_1_IGNMULDEF): Likewise.
2810 (DF_1_NOKSYMS): Likewise.
2811 (DF_1_NOHDR): Likewise.
2812 (DF_1_EDITED): Likewise.
2813 (DF_1_NORELOC): Likewise.
2814 (DF_1_SYMINTPOSE): Likewise.
2815 (DF_1_GLOBAUDIT): Likewise.
2816 (DF_1_SINGLETON): Likewise.
2817 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
2818 DT_1_SUPPORTED_MASK bits.
2819 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
2821 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
2823 * sysdeps/unix/make-syscalls.sh: Document prefixes.
2825 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
2827 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
2830 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
2831 (sendmmsg): Move declarations...
2832 * socket/sys/socket.h: ... here.
2833 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
2834 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
2836 * socket/recvmmsg.c: ... this new file.
2837 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
2838 (sendmmsg): Rename to __sendmmsg, create weak alias and make
2839 definition of __sendmmsg hidden.
2840 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2841 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
2842 Move ENOSYS stub into and include it from...
2843 * socket/sendmmsg.c: ... this new file.
2844 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
2845 (sysdep_routines): Move recvmmsg and sendmmsg...
2846 * socket/Makefile (routines): ... here.
2847 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
2848 (GLIBC_PRIVATE): Add __sendmmsg.
2849 * include/sys/socket.h (__sendmmsg): Add declarations.
2850 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
2853 2012-11-20 Joseph Myers <joseph@codesourcery.com>
2855 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
2856 variable I1 with __attribute__ ((unused)).
2857 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2859 2012-11-19 Joseph Myers <joseph@codesourcery.com>
2861 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
2862 DUMMY variables with __attribute__ ((unused)).
2864 * bits/byteswap.h: Include <bits/types.h>.
2865 (__bswap_64): Use __uint64_t instead of unsigned long long int.
2867 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2869 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
2870 string_t. Do not manually set errno.
2871 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
2872 length with __strnlen. Make sure to both set errno and return it on
2875 2012-11-19 David S. Miller <davem@davemloft.net>
2877 With help from Joseph Myers.
2878 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
2879 very large arguments properly.
2880 * math/libm-test.inc (atan_test): New tests.
2881 (atan2_test): New tests.
2882 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2883 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2885 2012-11-19 Joseph Myers <joseph@codesourcery.com>
2888 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
2891 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
2892 [POSIX] (EADDRNOTAVAIL): Likewise.
2893 [POSIX] (EAFNOSUPPORT): Likewise.
2894 [POSIX] (EALREADY): Likewise.
2895 [POSIX] (ECONNABORTED): Likewise.
2896 [POSIX] (ECONNREFUSED): Likewise.
2897 [POSIX] (ECONNRESET): Likewise.
2898 [POSIX] (EDESTADDRREQ): Likewise.
2899 [POSIX] (EDQUOT): Likewise.
2900 [POSIX] (EHOSTUNREACH): Likewise.
2901 [POSIX] (EIDRM): Likewise.
2902 [POSIX] (EISCONN): Likewise.
2903 [POSIX] (ELOOP): Likewise.
2904 [POSIX] (EMULTIHOP): Likewise.
2905 [POSIX] (ENETDOWN): Likewise.
2906 [POSIX] (ENETUNREACH): Likewise.
2907 [POSIX] (ENOBUFS): Likewise.
2908 [POSIX] (ENODATA): Likewise.
2909 [POSIX] (ENOLINK): Likewise.
2910 [POSIX] (ENOMSG): Likewise.
2911 [POSIX] (ENOPROTOOPT): Likewise.
2912 [POSIX] (ENOSR): Likewise.
2913 [POSIX] (ENOSTR): Likewise.
2914 [POSIX] (ENOTCONN): Likewise.
2915 [POSIX] (ENOTSOCK): Likewise.
2916 [POSIX] (EOPNOTSUPP): Likewise.
2917 [POSIX] (EOVERFLOW): Likewise.
2918 [POSIX] (EPROTO): Likewise.
2919 [POSIX] (EPROTONOSUPPORT): Likewise.
2920 [POSIX] (EPROTOTYPE): Likewise.
2921 [POSIX] (ESTALE): Likewise.
2922 [POSIX] (ETIME): Likewise.
2923 [POSIX] (ETXTBSY): Likewise.
2924 [POSIX] (EWOULDBLOCK): Likewise.
2925 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
2926 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
2927 [POSIX] (SEEK_CUR): Likewise.
2928 [POSIX] (SEEK_END): Likewise.
2929 [POSIX || UNIX98] (mode_t): Do not require.
2930 [POSIX] (off_t): Likewise.
2931 [POSIX] (pid_t): Likewise.
2932 [POSIX] (sys/stat.h): Do not allow header.
2933 [POSIX] (unistd.h): Likewise.
2934 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
2935 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
2936 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
2937 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
2939 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
2940 sigevent): Specify elements.
2941 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
2943 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
2944 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
2946 * conform/data/cpio.h-data [POSIX]: Disable whole file.
2947 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
2948 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
2949 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
2950 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
2951 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
2952 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
2953 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
2954 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
2955 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
2956 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
2957 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
2958 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
2959 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
2961 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
2963 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
2965 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
2967 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
2968 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
2969 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
2970 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
2971 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
2972 Specify lower bound on value.
2973 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
2974 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
2975 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
2976 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
2977 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
2978 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
2979 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
2980 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
2982 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
2984 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
2985 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
2986 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
2987 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
2988 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
2989 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
2990 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
2991 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
2992 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
2993 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
2994 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
2995 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
2996 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
2997 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
2998 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
2999 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
3001 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
3003 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
3004 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
3005 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
3006 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
3007 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
3008 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
3010 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
3011 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
3012 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
3013 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
3014 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
3015 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
3016 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
3018 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
3019 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
3020 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
3021 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
3022 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
3023 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
3024 specify as optional.
3025 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
3026 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
3027 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
3028 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
3029 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
3030 [XPG3] (NL_LANGMAX): Likewise.
3031 [POSIX || XPG3] (NL_MSGMAX): Likewise.
3032 [POSIX || XPG3] (NL_NMAX): Likewise.
3033 [POSIX || XPG3] (NL_SETMAX): Likewise.
3034 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
3035 [XPG3] (NZERO): Likewise.
3036 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
3037 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
3038 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
3039 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
3040 (REG_ERANGE): Expect.
3041 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
3043 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
3044 Use (void) in prototype.
3045 [POSIX] (*_t): Allow.
3046 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
3047 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
3048 (WRDE_BADVAL): Expect.
3050 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
3052 [XPG3 || XPG4] (O_RSYNC): Likewise.
3053 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
3055 [XPG3 || XPG4] (pthread_sigmask): Likewise.
3056 [XPG3 || XPG4] (sigqueue): Likewise.
3057 [XPG3 || XPG4] (sigtimedwait): Likewise.
3058 [XPG3 || XPG4] (sigwaitinfo): Likewise.
3059 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
3060 [XPG3 || XPG4] (vsnprintf): Likewise.
3061 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
3063 [XPG3 || XPG4] (blksize_t): Likewise.
3064 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
3066 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
3067 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3068 [XPG3 || XPG4] (struct itimerspec): Likewise.
3069 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
3070 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
3071 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
3072 [XPG3 || XPG4] (clockid_t): Likewise.
3073 [XPG3 || XPG4] (timer_t): Likewise.
3074 [XPG3 || XPG4] (clock_getres): Likewise.
3075 [XPG3 || XPG4] (clock_gettime): Likewise.
3076 [XPG3 || XPG4] (clock_settime): Likewise.
3077 [XPG3 || XPG4] (nanosleep): Likewise.
3078 [XPG3 || XPG4] (timer_create): Likewise.
3079 [XPG3 || XPG4] (timer_delete): Likewise.
3080 [XPG3 || XPG4] (timer_gettime): Likewise.
3081 [XPG3 || XPG4] (timer_getoverrun): Likewise.
3082 [XPG3 || XPG4] (timer_settime): Likewise.
3083 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
3084 [XPG3 || XPG4] (getlogin_r): Likewise.
3085 [XPG3 || XPG4] (pread): Likewise.
3086 [XPG3 || XPG4] (pthread_atfork): Likewise.
3087 [XPG3 || XPG4] (pwrite): Likewise.
3090 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
3093 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3095 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
3096 finalizing MALLSTREAM.
3098 * sysdeps/mach/hurd/syncfs.c: New file.
3100 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3103 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
3104 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
3105 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
3106 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
3107 (_nss_dns_gethostbyname4_r): Likewise.
3108 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
3109 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
3111 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
3114 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
3116 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
3118 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
3119 * elf/cache.c (print_entry): Print ",AArch64" for
3122 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
3123 * elf/cache.c (print_entry): Print ",hard-float" for
3126 2012-11-18 David S. Miller <davem@davemloft.net>
3128 With help from Joseph Myers.
3129 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
3131 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
3133 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
3134 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
3136 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3137 * math/libm-test.inc (y0_test): New tests.
3138 (y1_test): New tests.
3139 * sysdeps/i386/fpu/libm-test-ulps: Update.
3140 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3141 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3143 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
3145 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
3147 * configure: Regenerated.
3149 2012-11-17 David S. Miller <davem@davemloft.net>
3152 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
3153 nonzero exponents with absolute value below 0x1p-128 to +/-
3156 2012-11-17 Joseph Myers <joseph@codesourcery.com>
3158 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
3160 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
3162 * posix/getconf-speclist.c: New file.
3163 * posix/posix-envs.def: Likewise.
3164 * posix/confstr.c (START_ENV_GROUP): New macro.
3165 (END_ENV_GROUP): Likewise.
3166 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3167 (KNOWN_PRESENT_ENV_STRING): Likewise.
3168 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3169 (UNKNOWN_ENVIRONMENT): Likewise.
3170 (confstr): Include posix-envs.def instead of handling
3171 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
3172 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
3173 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
3174 (END_ENV_GROUP): Likewise.
3175 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3176 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3177 (UNKNOWN_ENVIRONMENT): Likewise.
3178 (__sysconf): Include posix-envs.def instead of handling associated
3179 cases directly here.
3180 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
3181 preprocessing getconf-speclist.c rather than running getconf or
3182 generating empty file.
3184 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
3186 * scripts/check-local-headers.sh: Ignore 'mach' headers.
3188 2012-11-16 Andrej Lajovic <natrij@gmail.com>
3191 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
3193 2012-11-16 David S. Miller <davem@davemloft.net>
3195 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
3196 smaller than LDBL_EPSILON/2.0L, just return xm1.
3198 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
3200 * elf/tst-array1.c (init): Set constructor priority to 1000.
3201 (fini): Set destructor priority to 1000.
3202 * elf/tst-array2dep.c: Likewise.
3204 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3207 * libio/fileops.c (_IO_new_file_write): Correctly return error.
3208 (_IO_new_file_xsputn): Also return EOF if none of the input
3209 data was written when overflow failed.
3210 * libio/iopadn.c (_IO_padn): Likewise.
3211 * libio/iowpadn.c (_IO_wpadn): Likewise.
3212 * stdio-common/tst-put-error.c: Add copyright notice.
3213 (do_test): Add case for printing padded string.
3214 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
3215 _IO_padn returned error.
3216 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
3217 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
3220 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3222 * libio/libioP.h: Add comment note that the references to C++
3223 bits are now obsolete.
3225 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3227 * math/libm-test.inc (check_complex): Use asprintf.
3229 2012-11-14 Joseph Myers <joseph@codesourcery.com>
3231 * debug/pcprofiledump.c (print_version): Update copyright year.
3232 * malloc/memusagestat.c (print_version): Likewise.
3234 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
3237 * elf/Makefile (tests): Add tst-audit8.
3238 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
3239 ($(objpfx)tst-audit8.out): New target.
3240 (tst-audit8-ENV): New variable.
3241 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
3242 audit if l_reloc_result is NULL.
3243 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
3244 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
3245 * elf/tst-audit8.c: New file.
3247 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3249 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
3250 * misc/Makefile (CFLAGS-select.c): Define.
3251 * posix/Makefile (CFLAGS-pause.c): Define.
3253 2012-11-13 David S. Miller <davem@davemloft.net>
3255 * crypt/Makefile: Move test targets after toplevel Rules
3256 inclusion. Grab any necessary sysdep routines when linking.
3257 * crypt/md5.c (md5_process_block): Remove define, we will always
3258 name it __md5_process_block.
3259 (md5_finish_ctx): Update md5_process_block call.
3260 (md5_stream): Likewise.
3261 (md5_process_bytes): Likewise.
3262 (md5_process_block): Rename to __md5_process_block and move to ...
3263 * crypt/md5-block.c: ... here.
3264 * crypt/sha256.c (sha256_process_block): Move to ...
3265 * crypt/sha256-block.c: ... here.
3266 * crypt/sha512.c (sha512_process_block): Move to ...
3267 * crypt/sha512-block.c: ... here.
3268 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
3270 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
3271 * sysdeps/sparc/sparc64/multiarch/Makefile
3272 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
3274 (localedef-aux): Add md5 crypto assembler when in locale subdir.
3275 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
3277 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
3278 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
3279 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
3280 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
3281 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
3282 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
3283 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
3284 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
3285 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
3287 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
3288 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
3290 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
3292 2012-11-13 Joseph Myers <joseph@codesourcery.com>
3294 * timezone/tzselect.ksh: Update from tzcode git revision
3295 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
3296 * timezone/zdump.c: Likewise.
3297 * timezone/zic.c: Likewise.
3298 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
3299 in TZVERSION setting, not $(PKGVERSION).
3300 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
3301 REPORT_BUGS_TO settings.
3304 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
3307 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3309 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
3310 detection to immediately after _FP_ROUND().
3311 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
3314 2012-11-11 David S. Miller <davem@davemloft.net>
3316 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
3318 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
3319 __close rather than their public counterparts.
3321 2012-11-10 Joseph Myers <joseph@codesourcery.com>
3323 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
3325 [UNIX98] (sem_timedwait): Do not expect.
3326 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
3327 [XPG4 || UNIX98] (sockatmark): Do not expect.
3328 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
3329 (clock_getcpuclockid): Do not expect.
3330 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
3331 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
3333 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
3334 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
3335 [UNIX98] (vwscanf): Likewise.
3336 [UNIX98] (vswscanf): Likewise.
3338 2012-11-09 Joseph Myers <joseph@codesourcery.com>
3340 * timezone/version.h: Remove file.
3341 * timezone/README: Do not refer to version.h.
3342 * timezone/Makefile ($(objpfx)zic.o): New dependency on
3344 ($(objpfx)zdump.o): Likewise.
3345 ($(objpfx)version.h): New target.
3347 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
3349 * timezone/README: Don't mention modification to tzselect.ksh.
3350 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
3351 work on unmodified tzselect.ksh. Substitute version numbers in
3354 * Makefile (format-me): Remove.
3355 (INSTALL): Adjust indentation. Use commands directly instead of
3358 * aclocal.m4 (ACX_PKGVERSION): New macro.
3359 (ACX_BUGURL): Likewise.
3360 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
3361 (PKGVERSION): New AC_DEFINE_UNQUOTED.
3362 (REPORT_BUGS_TO): Likewise.
3363 * configure: Regenerated.
3364 * config.h.in (PKGVERSION): New macro.
3365 (REPORT_BUGS_TO): Likewise.
3366 * config.make.in (PKGVERSION): New variable.
3367 (PKGVERSION_TEXI): Likewise.
3368 (REPORT_BUGS_TO): Likewise.
3369 (REPORT_BUGS_TEXI): Likewise.
3370 * Makefile (format-me): Use -I$(common-objpfx)manual.
3371 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
3372 ($(common-objpfx)manual/%): New target.
3373 (manual/%): Remove target.
3374 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
3375 (print_version): Use PKGVERSION.
3376 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
3377 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
3379 ($(objpfx)xtrace): Likewise.
3380 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
3381 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
3382 (print_version): Use PKGVERSION.
3383 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
3384 (do_version): Use PKGVERSION.
3385 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
3387 (common-ldd-rewrite): Likewise.
3388 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
3389 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
3390 (print_version): Use PKGVERSION.
3391 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
3392 * elf/pldd.c (argp_program_bug_address): Remove variable.
3393 (more_help): New function.
3394 (argp): Use more_help.
3395 (print_version): Use PKGVERSION.
3396 * elf/sln.c (main): Use PKGVERSION.
3397 (usage): Use REPORT_BUGS_TO.
3398 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
3399 (top level): Use PKGVERSION.
3400 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
3401 (print_version): Use PKGVERSION.
3402 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
3403 (print_version): Use PKGVERSION.
3404 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
3405 (print_version): Use PKGVERSION.
3406 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
3407 (print_version): Use PKGVERSION.
3408 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
3409 (print_version): Use PKGVERSION.
3410 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
3411 (print_version): Use PKGVERSION.
3412 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
3414 ($(objpfx)memusage): Likewise.
3415 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
3416 (do_version): Use PKGVERSION.
3417 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
3418 (print_version): Use PKGVERSION.
3419 * malloc/mtrace.pl ($PACKAGE): Remove variable.
3420 ($PKGVERSION): New variable.
3421 ($REPORT_BUGS_TO): Likewise.
3422 (usage): Use $REPORT_BUGS_TO.
3423 (top level): Use $PKGVERSION.
3424 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
3425 ($(objpfx)pkgvers.texi): New rule.
3426 ($(objpfx)stamp-pkgvers): Likewise.
3427 * manual/install.texi: Include pkgvers.texi.
3428 (--with-pkgversion): Document new configure option.
3429 (--with-bugurl): Likewise.
3430 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
3431 than necessarily for this particular distribution. Use
3432 REPORT_BUGS_TO for where to report bugs.
3433 * INSTALL: Regenerated.
3434 * manual/libc.texinfo: Include pkgvers.texi.
3435 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
3436 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
3437 (print_version): Use PKGVERSION.
3438 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
3439 (print_version): Use PKGVERSION.
3440 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
3441 (print_version): Use PKGVERSION.
3442 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
3443 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
3445 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
3446 (print_version): Use PKGVERSION.
3447 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
3448 (print_version): Use PKGVERSION.
3449 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
3452 * timezone/checktab.awk: Update from tzcode 2012i.
3453 * timezone/ialloc.c: Likewise.
3454 * timezone/private.h: Likewise.
3455 * timezone/scheck.c: Likewise.
3456 * timezone/tzfile.h: Likewise.
3457 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
3458 (TZVERSION): Hardcode tzcode version number.
3459 * timezone/zdump.c: Update from tzcode 2012i.
3460 * timezone/zic.c: Likewise.
3461 * timezone/version.h: New file.
3462 * timezone/README: Describe version.h. Update upstream location.
3465 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
3466 (mktemp): Enable declaration.
3467 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
3468 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
3469 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
3470 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
3472 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
3474 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
3476 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
3478 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
3480 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
3484 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
3485 offset in buffer as u_int32_t not u_long. Consistently use memcpy
3486 for copies of such integer values.
3487 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
3488 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
3490 2012-11-09 Andreas Jaeger <aj@suse.de>
3492 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
3493 definitions and declarations that are provided by
3494 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3496 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3498 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
3499 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
3500 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
3503 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3505 * elf/elf.h: Update comment before AArch64 relocations.
3507 2012-11-07 David S. Miller <davem@davemloft.net>
3509 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
3510 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3511 (__start_context): Declare.
3512 (__makecontext_ret): Delete.
3513 (__makecontext): Hook up __start_context instead of
3515 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
3516 (sysdep_routines): Add __start_context when in stdlib.
3518 2012-11-07 Joseph Myers <joseph@codesourcery.com>
3520 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
3521 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
3522 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
3524 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
3525 (READELF): New variable. Use it instead of hardcoded "readelf".
3527 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
3529 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
3530 * sysdeps/x86/Makefile: Here.
3531 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
3532 * sysdeps/x86/tst-xmmymm.sh: This.
3534 2012-11-07 Joseph Myers <joseph@codesourcery.com>
3536 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
3538 [UNIX98] (pthread_barrier_t): Do not expect.
3539 [UNIX98] (pthread_barrierattr_t): Likewise.
3540 [UNIX98] (pthread_spinlock_t): Likewise.
3541 [UNIX98] (pthread_barrier_destroy): Likewise.
3542 [UNIX98] (pthread_barrier_init): Likewise.
3543 [UNIX98] (pthread_barrier_wait): Likewise.
3544 [UNIX98] (pthread_barrierattr_destroy): Likewise.
3545 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
3546 [UNIX98] (pthread_barrierattr_init): Likewise.
3547 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
3548 [UNIX98] (pthread_getcpuclockid): Likewise.
3549 [UNIX98] (pthread_mutex_timedlock): Likewise.
3550 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
3551 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
3552 [UNIX98] (pthread_sigmask): Likewise.
3553 [UNIX98] (pthread_spin_destroy): Likewise.
3554 [UNIX98] (pthread_spin_init): Likewise.
3555 [UNIX98] (pthread_spin_lock): Likewise.
3556 [UNIX98] (pthread_spin_trylock): Likewise.
3557 [UNIX98] (pthread_spin_unlock): Likewise.
3558 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
3560 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
3561 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
3562 [XPG3 || XPG4] (pthread_cond_t): Likewise.
3563 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
3564 [XPG3 || XPG4] (pthread_key_t): Likewise.
3565 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
3566 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
3567 [XPG3 || XPG4] (pthread_once_t): Likewise.
3568 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
3569 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
3570 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
3571 [XPG3 || XPG4] (pthread_t): Likewise.
3573 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
3575 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
3577 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
3578 Change function return type to int.
3580 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
3581 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
3582 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
3583 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
3584 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
3585 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
3586 [!POSIX] (posix_madvise): Likewise.
3587 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
3589 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
3590 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
3592 (posix_mem_offset): Likewise.
3593 (posix_typed_mem_get_info): Likewise.
3594 (posix_typed_mem_open): Likewise.
3596 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
3597 Change condition to [XOPEN2K8].
3599 * conform/conformtest.pl: Preprocess allow-header data with -x c
3600 instead of from stdin.
3601 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
3602 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
3603 [C99-based standards] (cerfc): Likewise.
3604 [C99-based standards] (cexp2): Likewise.
3605 [C99-based standards] (cexpm1): Likewise.
3606 [C99-based standards] (clog10): Likewise.
3607 [C99-based standards] (clog1p): Likewise.
3608 [C99-based standards] (clog2): Likewise.
3609 [C99-based standards] (clgamma): Likewise.
3610 [C99-based standards] (ctgamma): Likewise.
3611 [C99-based standards] (cerff): Likewise.
3612 [C99-based standards] (cerfcf): Likewise.
3613 [C99-based standards] (cexp2f): Likewise.
3614 [C99-based standards] (cexpm1f): Likewise.
3615 [C99-based standards] (clog10f): Likewise.
3616 [C99-based standards] (clog1pf): Likewise.
3617 [C99-based standards] (clog2f): Likewise.
3618 [C99-based standards] (clgammaf): Likewise.
3619 [C99-based standards] (ctgammaf): Likewise.
3620 [C99-based standards] (cerfl): Likewise.
3621 [C99-based standards] (cerfcl): Likewise.
3622 [C99-based standards] (cexp2l): Likewise.
3623 [C99-based standards] (cexpm1l): Likewise.
3624 [C99-based standards] (clog10l): Likewise.
3625 [C99-based standards] (clog1pl): Likewise.
3626 [C99-based standards] (clog2l): Likewise.
3627 [C99-based standards] (clgammal): Likewise.
3628 [C99-based standards] (ctgammal): Likewise.
3629 * conform/data/inttypes.h-data [C99-based standards]: Include
3630 stdint.h-data. Remove all expectations for stdint.h contents.
3631 [C99-based standards] (PRI*): Do not allow.
3632 [C99-based standards] (SCN*): Likewise.
3633 [C99-based standards] (*_t): Likewise.
3634 [C99-based-standards] (PRId8): Expect macro.
3635 [C99-based-standards] (PRIi8): Likewise.
3636 [C99-based-standards] (PRIo8): Likewise.
3637 [C99-based-standards] (PRIu8): Likewise.
3638 [C99-based-standards] (PRIx8): Likewise.
3639 [C99-based-standards] (PRIX8): Likewise.
3640 [C99-based-standards] (SCNd8): Likewise.
3641 [C99-based-standards] (SCNi8): Likewise.
3642 [C99-based-standards] (SCNo8): Likewise.
3643 [C99-based-standards] (SCNu8): Likewise.
3644 [C99-based-standards] (SCNx8): Likewise.
3645 [C99-based-standards] (PRIdLEAST8): Likewise.
3646 [C99-based-standards] (PRIiLEAST8): Likewise.
3647 [C99-based-standards] (PRIoLEAST8): Likewise.
3648 [C99-based-standards] (PRIuLEAST8): Likewise.
3649 [C99-based-standards] (PRIxLEAST8): Likewise.
3650 [C99-based-standards] (PRIXLEAST8): Likewise.
3651 [C99-based-standards] (SCNdLEAST8): Likewise.
3652 [C99-based-standards] (SCNiLEAST8): Likewise.
3653 [C99-based-standards] (SCNoLEAST8): Likewise.
3654 [C99-based-standards] (SCNuLEAST8): Likewise.
3655 [C99-based-standards] (SCNxLEAST8): Likewise.
3656 [C99-based-standards] (PRIdFAST8): Likewise.
3657 [C99-based-standards] (PRIiFAST8): Likewise.
3658 [C99-based-standards] (PRIoFAST8): Likewise.
3659 [C99-based-standards] (PRIuFAST8): Likewise.
3660 [C99-based-standards] (PRIxFAST8): Likewise.
3661 [C99-based-standards] (PRIXFAST8): Likewise.
3662 [C99-based-standards] (SCNdFAST8): Likewise.
3663 [C99-based-standards] (SCNiFAST8): Likewise.
3664 [C99-based-standards] (SCNoFAST8): Likewise.
3665 [C99-based-standards] (SCNuFAST8): Likewise.
3666 [C99-based-standards] (SCNxFAST8): Likewise.
3667 [C99-based-standards] (PRId16): Likewise.
3668 [C99-based-standards] (PRIi16): Likewise.
3669 [C99-based-standards] (PRIo16): Likewise.
3670 [C99-based-standards] (PRIu16): Likewise.
3671 [C99-based-standards] (PRIx16): Likewise.
3672 [C99-based-standards] (PRIX16): Likewise.
3673 [C99-based-standards] (SCNd16): Likewise.
3674 [C99-based-standards] (SCNi16): Likewise.
3675 [C99-based-standards] (SCNo16): Likewise.
3676 [C99-based-standards] (SCNu16): Likewise.
3677 [C99-based-standards] (SCNx16): Likewise.
3678 [C99-based-standards] (PRIdLEAST16): Likewise.
3679 [C99-based-standards] (PRIiLEAST16): Likewise.
3680 [C99-based-standards] (PRIoLEAST16): Likewise.
3681 [C99-based-standards] (PRIuLEAST16): Likewise.
3682 [C99-based-standards] (PRIxLEAST16): Likewise.
3683 [C99-based-standards] (PRIXLEAST16): Likewise.
3684 [C99-based-standards] (SCNdLEAST16): Likewise.
3685 [C99-based-standards] (SCNiLEAST16): Likewise.
3686 [C99-based-standards] (SCNoLEAST16): Likewise.
3687 [C99-based-standards] (SCNuLEAST16): Likewise.
3688 [C99-based-standards] (SCNxLEAST16): Likewise.
3689 [C99-based-standards] (PRIdFAST16): Likewise.
3690 [C99-based-standards] (PRIiFAST16): Likewise.
3691 [C99-based-standards] (PRIoFAST16): Likewise.
3692 [C99-based-standards] (PRIuFAST16): Likewise.
3693 [C99-based-standards] (PRIxFAST16): Likewise.
3694 [C99-based-standards] (PRIXFAST16): Likewise.
3695 [C99-based-standards] (SCNdFAST16): Likewise.
3696 [C99-based-standards] (SCNiFAST16): Likewise.
3697 [C99-based-standards] (SCNoFAST16): Likewise.
3698 [C99-based-standards] (SCNuFAST16): Likewise.
3699 [C99-based-standards] (SCNxFAST16): Likewise.
3700 [C99-based-standards] (PRId32): Likewise.
3701 [C99-based-standards] (PRIi32): Likewise.
3702 [C99-based-standards] (PRIo32): Likewise.
3703 [C99-based-standards] (PRIu32): Likewise.
3704 [C99-based-standards] (PRIx32): Likewise.
3705 [C99-based-standards] (PRIX32): Likewise.
3706 [C99-based-standards] (SCNd32): Likewise.
3707 [C99-based-standards] (SCNi32): Likewise.
3708 [C99-based-standards] (SCNo32): Likewise.
3709 [C99-based-standards] (SCNu32): Likewise.
3710 [C99-based-standards] (SCNx32): Likewise.
3711 [C99-based-standards] (PRIdLEAST32): Likewise.
3712 [C99-based-standards] (PRIiLEAST32): Likewise.
3713 [C99-based-standards] (PRIoLEAST32): Likewise.
3714 [C99-based-standards] (PRIuLEAST32): Likewise.
3715 [C99-based-standards] (PRIxLEAST32): Likewise.
3716 [C99-based-standards] (PRIXLEAST32): Likewise.
3717 [C99-based-standards] (SCNdLEAST32): Likewise.
3718 [C99-based-standards] (SCNiLEAST32): Likewise.
3719 [C99-based-standards] (SCNoLEAST32): Likewise.
3720 [C99-based-standards] (SCNuLEAST32): Likewise.
3721 [C99-based-standards] (SCNxLEAST32): Likewise.
3722 [C99-based-standards] (PRIdFAST32): Likewise.
3723 [C99-based-standards] (PRIiFAST32): Likewise.
3724 [C99-based-standards] (PRIoFAST32): Likewise.
3725 [C99-based-standards] (PRIuFAST32): Likewise.
3726 [C99-based-standards] (PRIxFAST32): Likewise.
3727 [C99-based-standards] (PRIXFAST32): Likewise.
3728 [C99-based-standards] (SCNdFAST32): Likewise.
3729 [C99-based-standards] (SCNiFAST32): Likewise.
3730 [C99-based-standards] (SCNoFAST32): Likewise.
3731 [C99-based-standards] (SCNuFAST32): Likewise.
3732 [C99-based-standards] (SCNxFAST32): Likewise.
3733 [C99-based-standards] (PRId64): Likewise.
3734 [C99-based-standards] (PRIi64): Likewise.
3735 [C99-based-standards] (PRIo64): Likewise.
3736 [C99-based-standards] (PRIu64): Likewise.
3737 [C99-based-standards] (PRIx64): Likewise.
3738 [C99-based-standards] (PRIX64): Likewise.
3739 [C99-based-standards] (SCNd64): Likewise.
3740 [C99-based-standards] (SCNi64): Likewise.
3741 [C99-based-standards] (SCNo64): Likewise.
3742 [C99-based-standards] (SCNu64): Likewise.
3743 [C99-based-standards] (SCNx64): Likewise.
3744 [C99-based-standards] (PRIdLEAST64): Likewise.
3745 [C99-based-standards] (PRIiLEAST64): Likewise.
3746 [C99-based-standards] (PRIoLEAST64): Likewise.
3747 [C99-based-standards] (PRIuLEAST64): Likewise.
3748 [C99-based-standards] (PRIxLEAST64): Likewise.
3749 [C99-based-standards] (PRIXLEAST64): Likewise.
3750 [C99-based-standards] (SCNdLEAST64): Likewise.
3751 [C99-based-standards] (SCNiLEAST64): Likewise.
3752 [C99-based-standards] (SCNoLEAST64): Likewise.
3753 [C99-based-standards] (SCNuLEAST64): Likewise.
3754 [C99-based-standards] (SCNxLEAST64): Likewise.
3755 [C99-based-standards] (PRIdFAST64): Likewise.
3756 [C99-based-standards] (PRIiFAST64): Likewise.
3757 [C99-based-standards] (PRIoFAST64): Likewise.
3758 [C99-based-standards] (PRIuFAST64): Likewise.
3759 [C99-based-standards] (PRIxFAST64): Likewise.
3760 [C99-based-standards] (PRIXFAST64): Likewise.
3761 [C99-based-standards] (SCNdFAST64): Likewise.
3762 [C99-based-standards] (SCNiFAST64): Likewise.
3763 [C99-based-standards] (SCNoFAST64): Likewise.
3764 [C99-based-standards] (SCNuFAST64): Likewise.
3765 [C99-based-standards] (SCNxFAST64): Likewise.
3766 [C99-based-standards] (PRIdMAX): Likewise.
3767 [C99-based-standards] (PRIiMAX): Likewise.
3768 [C99-based-standards] (PRIoMAX): Likewise.
3769 [C99-based-standards] (PRIuMAX): Likewise.
3770 [C99-based-standards] (PRIxMAX): Likewise.
3771 [C99-based-standards] (PRIXMAX): Likewise.
3772 [C99-based-standards] (SCNdMAX): Likewise.
3773 [C99-based-standards] (SCNiMAX): Likewise.
3774 [C99-based-standards] (SCNoMAX): Likewise.
3775 [C99-based-standards] (SCNuMAX): Likewise.
3776 [C99-based-standards] (SCNxMAX): Likewise.
3777 [C99-based-standards] (PRIdPTR): Likewise.
3778 [C99-based-standards] (PRIiPTR): Likewise.
3779 [C99-based-standards] (PRIoPTR): Likewise.
3780 [C99-based-standards] (PRIuPTR): Likewise.
3781 [C99-based-standards] (PRIxPTR): Likewise.
3782 [C99-based-standards] (PRIXPTR): Likewise.
3783 [C99-based-standards] (SCNdPTR): Likewise.
3784 [C99-based-standards] (SCNiPTR): Likewise.
3785 [C99-based-standards] (SCNoPTR): Likewise.
3786 [C99-based-standards] (SCNuPTR): Likewise.
3787 [C99-based-standards] (SCNxPTR): Likewise.
3788 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
3790 * conform/data/stdint.h-data: Update comments to clarify
3792 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
3794 [C99-based standards] (INT8_MAX): Likewise.
3795 [C99-based standards] (INT16_MIN): Likewise.
3796 [C99-based standards] (INT16_MAX): Likewise.
3797 [C99-based standards] (INT32_MIN): Likewise.
3798 [C99-based standards] (INT32_MAX): Likewise.
3799 [C99-based standards] (INT64_MIN): Likewise.
3800 [C99-based standards] (INT64_MAX): Likewise.
3801 [C99-based standards] (UINT8_MAX): Likewise.
3802 [C99-based standards] (UINT16_MAX): Likewise.
3803 [C99-based standards] (UINT32_MAX): Likewise.
3804 [C99-based standards] (UINT64_MAX): Likewise.
3805 [C99-based standards] (INT_LEAST8_MIN): Likewise.
3806 [C99-based standards] (INT_LEAST8_MAX): Likewise.
3807 [C99-based standards] (INT_LEAST16_MIN): Likewise.
3808 [C99-based standards] (INT_LEAST16_MAX): Likewise.
3809 [C99-based standards] (INT_LEAST32_MIN): Likewise.
3810 [C99-based standards] (INT_LEAST32_MAX): Likewise.
3811 [C99-based standards] (INT_LEAST64_MIN): Likewise.
3812 [C99-based standards] (INT_LEAST64_MAX): Likewise.
3813 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
3814 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
3815 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
3816 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
3817 [C99-based standards] (INT_FAST8_MIN): Likewise.
3818 [C99-based standards] (INT_FAST8_MAX): Likewise.
3819 [C99-based standards] (INT_FAST16_MIN): Likewise.
3820 [C99-based standards] (INT_FAST16_MAX): Likewise.
3821 [C99-based standards] (INT_FAST32_MIN): Likewise.
3822 [C99-based standards] (INT_FAST32_MAX): Likewise.
3823 [C99-based standards] (INT_FAST64_MIN): Likewise.
3824 [C99-based standards] (INT_FAST64_MAX): Likewise.
3825 [C99-based standards] (UINT_FAST8_MAX): Likewise.
3826 [C99-based standards] (UINT_FAST16_MAX): Likewise.
3827 [C99-based standards] (UINT_FAST32_MAX): Likewise.
3828 [C99-based standards] (UINT_FAST64_MAX): Likewise.
3829 [C99-based standards] (INTPTR_MIN): Likewise.
3830 [C99-based standards] (INTPTR_MAX): Likewise.
3831 [C99-based standards] (UINTPTR_MAX): Likewise.
3832 [C99-based standards] (INTMAX_MIN): Likewise.
3833 [C99-based standards] (INTMAX_MAX): Likewise.
3834 [C99-based standards] (UINTMAX_MAX): Likewise.
3835 [C99-based standards] (PTRDIFF_MIN): Likewise.
3836 [C99-based standards] (PTRDIFF_MAX): Likewise.
3837 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
3838 [C99-based standards] (SIZE_MAX): Likewise.
3839 [C99-based standards] (WCHAR_MAX): Likewise.
3840 [C99-based standards] (WINT_MAX): Likewise.
3841 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
3842 constraint on value.
3843 [C99-based standards] (WCHAR_MIN): Likewise.
3844 [C99-based standards] (WINT_MIN): Likewise.
3845 [C99-based standards] (*_t): Allow.
3846 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
3847 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
3848 Include math.h-data and complex.h-data. Remove all expectations
3849 of math.h and complex.h contents.
3850 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
3852 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
3853 (struct tm): Expect tag.
3854 [C99-based-standards] (wcstof): Expect function.
3855 [C99-based-standards] (wcstold): Likewise.
3856 [C99-based-standards] (wcstoll): Likewise.
3857 [C99-based-standards] (wcstoull): Likewise.
3858 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
3859 macro-int-constant. Specify type.
3860 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
3861 constraint on value.
3862 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3864 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
3866 [ISO C standards]: Do not allow headers.
3867 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
3868 wcs[abcdefghijklmnopqrstuvwxyz]*.
3869 [ISO C standards] (*_t): Do not allow.
3870 * conform/data/wctype.h-data [C99-based standards] (iswblank):
3872 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
3873 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3875 [ISO C standards]: Do not allow headers.
3876 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
3877 is[abcdefghijklmnopqrstuvwxyz]*.
3878 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
3879 to[abcdefghijklmnopqrstuvwxyz]*.
3880 [ISO C standards] (*_t): Do not allow.
3881 * conform/data/stdalign.h-data: New file.
3882 * conform/data/stdbool.h-data: Likewise.
3883 * conform/data/stdnoreturn.h-data: Likewise.
3885 2012-11-07 Roland McGrath <roland@hack.frob.com>
3888 * manual/filesys.texi (Directory Entries): Typo fix.
3889 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
3891 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3893 * elf/elf.h (EM_AARCH64): New macro.
3894 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
3895 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
3896 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
3897 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
3898 (R_AARCH64_TLSDESC): Likewise.
3899 (NT_ARM_TLS): Likewise.
3900 (NT_ARM_HW_BREAK): Likewise.
3901 (NT_ARM_HW_WATCH): Likewise.
3903 2012-11-07 Joseph Myers <joseph@codesourcery.com>
3906 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
3907 (__ieee754_powl): Saturate nonzero exponents with absolute value
3908 below 0x1p-79 to +/- 0x1p-79.
3909 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
3910 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
3911 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
3912 nonzero exponents with absolute value below 0x1p-32 to +/-
3914 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
3915 (__ieee754_powl): Saturate nonzero exponents with absolute value
3916 below 0x1p-79 to +/- 0x1p-79.
3917 * math/libm-test.inc (pow_test): Add more tests.
3919 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3921 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
3922 _dl_s390_cap_flags with kernel. Increase string length.
3923 (_dl_s390_platforms): Add z196 and zEC12.
3925 2012-11-07 Joseph Myers <joseph@codesourcery.com>
3927 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
3928 Change XOPEN21K to XOPEN2K.
3930 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
3932 * string/memmove.c: Use memcpy when possible.
3934 2012-11-06 Andreas Jaeger <aj@suse.de>
3936 * po/eo.po: Update from translation team.
3938 2012-11-06 Joseph Myers <joseph@codesourcery.com>
3941 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
3942 exponent and small x and y exponents, scale x or y up. Increase
3943 by 2 the exponent used in scaling up.
3944 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3945 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3946 * math/libm-test.inc (fma_test): Add more tests.
3947 (fma_test_towardzero): Likewise.
3948 (fma_test_downward): Likewise.
3949 (fma_test_upward): Likewise.
3951 2012-11-05 Joseph Myers <joseph@codesourcery.com>
3954 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
3958 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
3959 namespace for names of struct fields.
3960 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
3962 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3963 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
3965 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3968 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
3970 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3972 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
3976 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
3979 2012-11-04 Joseph Myers <joseph@codesourcery.com>
3982 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
3983 definitely overflow as x * y not x * y + z.
3984 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3985 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3986 * math/libm-test.inc (fma_test): Add more tests.
3987 (fma_test_towardzero): Likewise.
3988 (fma_test_downward): Likewise.
3989 (fma_test_upward): Likewise.
3991 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3995 * include/stub-tag.h: Remove file.
3996 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
3998 * manual/maint.texi (Porting): Don't reference it.
3999 * Makerules ($(objpfx)stubs): Likewise.
4000 * dirent/closedir.c: Don't include <stub-tag.h>.
4001 * dirent/dirfd.c: Likewise.
4002 * dirent/fdopendir.c: Likewise.
4003 * dirent/getdents.c: Likewise.
4004 * dirent/getdents64.c: Likewise.
4005 * dirent/opendir.c: Likewise.
4006 * dirent/readdir.c: Likewise.
4007 * dirent/readdir64.c: Likewise.
4008 * dirent/readdir64_r.c: Likewise.
4009 * dirent/readdir_r.c: Likewise.
4010 * dirent/rewinddir.c: Likewise.
4011 * dirent/seekdir.c: Likewise.
4012 * dirent/telldir.c: Likewise.
4013 * gmon/profil.c: Likewise.
4014 * grp/setgroups.c: Likewise.
4015 * inet/if_index.c: Likewise.
4016 * io/access.c: Likewise.
4017 * io/chdir.c: Likewise.
4018 * io/chmod.c: Likewise.
4019 * io/chown.c: Likewise.
4020 * io/close.c: Likewise.
4021 * io/dup.c: Likewise.
4022 * io/dup2.c: Likewise.
4023 * io/dup3.c: Likewise.
4024 * io/euidaccess.c: Likewise.
4025 * io/faccessat.c: Likewise.
4026 * io/fchdir.c: Likewise.
4027 * io/fchmod.c: Likewise.
4028 * io/fchmodat.c: Likewise.
4029 * io/fchown.c: Likewise.
4030 * io/fchownat.c: Likewise.
4031 * io/fcntl.c: Likewise.
4032 * io/flock.c: Likewise.
4033 * io/fstatfs.c: Likewise.
4034 * io/fstatfs64.c: Likewise.
4035 * io/fstatvfs.c: Likewise.
4036 * io/fstatvfs64.c: Likewise.
4037 * io/futimens.c: Likewise.
4038 * io/fxstat.c: Likewise.
4039 * io/fxstat64.c: Likewise.
4040 * io/fxstatat.c: Likewise.
4041 * io/fxstatat64.c: Likewise.
4042 * io/getcwd.c: Likewise.
4043 * io/isatty.c: Likewise.
4044 * io/lchmod.c: Likewise.
4045 * io/lchown.c: Likewise.
4046 * io/link.c: Likewise.
4047 * io/linkat.c: Likewise.
4048 * io/lseek.c: Likewise.
4049 * io/lseek64.c: Likewise.
4050 * io/lxstat64.c: Likewise.
4051 * io/mkdir.c: Likewise.
4052 * io/mkdirat.c: Likewise.
4053 * io/mkfifo.c: Likewise.
4054 * io/mkfifoat.c: Likewise.
4055 * io/open.c: Likewise.
4056 * io/open64.c: Likewise.
4057 * io/openat.c: Likewise.
4058 * io/openat64.c: Likewise.
4059 * io/pipe.c: Likewise.
4060 * io/pipe2.c: Likewise.
4061 * io/poll.c: Likewise.
4062 * io/posix_fadvise.c: Likewise.
4063 * io/posix_fadvise64.c: Likewise.
4064 * io/posix_fallocate.c: Likewise.
4065 * io/posix_fallocate64.c: Likewise.
4066 * io/read.c: Likewise.
4067 * io/readlink.c: Likewise.
4068 * io/readlinkat.c: Likewise.
4069 * io/rmdir.c: Likewise.
4070 * io/sendfile.c: Likewise.
4071 * io/sendfile64.c: Likewise.
4072 * io/statfs.c: Likewise.
4073 * io/statfs64.c: Likewise.
4074 * io/statvfs.c: Likewise.
4075 * io/statvfs64.c: Likewise.
4076 * io/symlink.c: Likewise.
4077 * io/symlinkat.c: Likewise.
4078 * io/ttyname.c: Likewise.
4079 * io/ttyname_r.c: Likewise.
4080 * io/umask.c: Likewise.
4081 * io/unlink.c: Likewise.
4082 * io/unlinkat.c: Likewise.
4083 * io/utime.c: Likewise.
4084 * io/utimensat.c: Likewise.
4085 * io/write.c: Likewise.
4086 * io/xmknod.c: Likewise.
4087 * io/xmknodat.c: Likewise.
4088 * io/xstat.c: Likewise.
4089 * io/xstat64.c: Likewise.
4090 * login/getpt.c: Likewise.
4091 * login/grantpt.c: Likewise.
4092 * login/unlockpt.c: Likewise.
4093 * math/e_acoshl.c: Likewise.
4094 * math/e_acosl.c: Likewise.
4095 * math/e_asinl.c: Likewise.
4096 * math/e_atan2l.c: Likewise.
4097 * math/e_atanhl.c: Likewise.
4098 * math/e_coshl.c: Likewise.
4099 * math/e_expl.c: Likewise.
4100 * math/e_fmodl.c: Likewise.
4101 * math/e_gammal_r.c: Likewise.
4102 * math/e_hypotl.c: Likewise.
4103 * math/e_j0l.c: Likewise.
4104 * math/e_j1l.c: Likewise.
4105 * math/e_jnl.c: Likewise.
4106 * math/e_lgammal_r.c: Likewise.
4107 * math/e_log10l.c: Likewise.
4108 * math/e_log2l.c: Likewise.
4109 * math/e_logl.c: Likewise.
4110 * math/e_powl.c: Likewise.
4111 * math/e_rem_pio2l.c: Likewise.
4112 * math/e_sinhl.c: Likewise.
4113 * math/e_sqrtl.c: Likewise.
4114 * math/fclrexcpt.c: Likewise.
4115 * math/fedisblxcpt.c: Likewise.
4116 * math/feenablxcpt.c: Likewise.
4117 * math/fegetenv.c: Likewise.
4118 * math/fegetexcept.c: Likewise.
4119 * math/fegetround.c: Likewise.
4120 * math/feholdexcpt.c: Likewise.
4121 * math/fesetenv.c: Likewise.
4122 * math/fesetround.c: Likewise.
4123 * math/feupdateenv.c: Likewise.
4124 * math/fgetexcptflg.c: Likewise.
4125 * math/fraiseexcpt.c: Likewise.
4126 * math/fsetexcptflg.c: Likewise.
4127 * math/ftestexcept.c: Likewise.
4128 * math/k_cosl.c: Likewise.
4129 * math/k_rem_pio2l.c: Likewise.
4130 * math/k_sinl.c: Likewise.
4131 * math/k_tanl.c: Likewise.
4132 * math/s_asinhl.c: Likewise.
4133 * math/s_atanl.c: Likewise.
4134 * math/s_cbrtl.c: Likewise.
4135 * math/s_erfl.c: Likewise.
4136 * math/s_expm1l.c: Likewise.
4137 * math/s_log1pl.c: Likewise.
4138 * math/s_tanhl.c: Likewise.
4139 * misc/acct.c: Likewise.
4140 * misc/brk.c: Likewise.
4141 * misc/chflags.c: Likewise.
4142 * misc/chroot.c: Likewise.
4143 * misc/fchflags.c: Likewise.
4144 * misc/fgetxattr.c: Likewise.
4145 * misc/flistxattr.c: Likewise.
4146 * misc/fremovexattr.c: Likewise.
4147 * misc/fsetxattr.c: Likewise.
4148 * misc/fsync.c: Likewise.
4149 * misc/ftruncate.c: Likewise.
4150 * misc/futimes.c: Likewise.
4151 * misc/futimesat.c: Likewise.
4152 * misc/getdomain.c: Likewise.
4153 * misc/getdtsz.c: Likewise.
4154 * misc/gethostid.c: Likewise.
4155 * misc/gethostname.c: Likewise.
4156 * misc/getloadavg.c: Likewise.
4157 * misc/getpagesize.c: Likewise.
4158 * misc/getsysstats.c: Likewise.
4159 * misc/getxattr.c: Likewise.
4160 * misc/gtty.c: Likewise.
4161 * misc/ioctl.c: Likewise.
4162 * misc/lgetxattr.c: Likewise.
4163 * misc/listxattr.c: Likewise.
4164 * misc/llistxattr.c: Likewise.
4165 * misc/lremovexattr.c: Likewise.
4166 * misc/lsetxattr.c: Likewise.
4167 * misc/lutimes.c: Likewise.
4168 * misc/madvise.c: Likewise.
4169 * misc/mincore.c: Likewise.
4170 * misc/mlock.c: Likewise.
4171 * misc/mlockall.c: Likewise.
4172 * misc/mmap.c: Likewise.
4173 * misc/mprotect.c: Likewise.
4174 * misc/msync.c: Likewise.
4175 * misc/munlock.c: Likewise.
4176 * misc/munlockall.c: Likewise.
4177 * misc/munmap.c: Likewise.
4178 * misc/preadv.c: Likewise.
4179 * misc/preadv64.c: Likewise.
4180 * misc/ptrace.c: Likewise.
4181 * misc/pwritev.c: Likewise.
4182 * misc/pwritev64.c: Likewise.
4183 * misc/readv.c: Likewise.
4184 * misc/reboot.c: Likewise.
4185 * misc/remap_file_pages.c: Likewise.
4186 * misc/removexattr.c: Likewise.
4187 * misc/revoke.c: Likewise.
4188 * misc/select.c: Likewise.
4189 * misc/setdomain.c: Likewise.
4190 * misc/setegid.c: Likewise.
4191 * misc/seteuid.c: Likewise.
4192 * misc/sethostid.c: Likewise.
4193 * misc/sethostname.c: Likewise.
4194 * misc/setregid.c: Likewise.
4195 * misc/setreuid.c: Likewise.
4196 * misc/setxattr.c: Likewise.
4197 * misc/sstk.c: Likewise.
4198 * misc/stty.c: Likewise.
4199 * misc/swapoff.c: Likewise.
4200 * misc/swapon.c: Likewise.
4201 * misc/sync.c: Likewise.
4202 * misc/syncfs.c: Likewise.
4203 * misc/syscall.c: Likewise.
4204 * misc/truncate.c: Likewise.
4205 * misc/ualarm.c: Likewise.
4206 * misc/usleep.c: Likewise.
4207 * misc/ustat.c: Likewise.
4208 * misc/utimes.c: Likewise.
4209 * misc/vhangup.c: Likewise.
4210 * misc/writev.c: Likewise.
4211 * posix/_exit.c: Likewise.
4212 * posix/alarm.c: Likewise.
4213 * posix/execve.c: Likewise.
4214 * posix/fexecve.c: Likewise.
4215 * posix/fork.c: Likewise.
4216 * posix/fpathconf.c: Likewise.
4217 * posix/getaddrinfo.c: Likewise.
4218 * posix/getegid.c: Likewise.
4219 * posix/geteuid.c: Likewise.
4220 * posix/getgid.c: Likewise.
4221 * posix/getgroups.c: Likewise.
4222 * posix/getlogin.c: Likewise.
4223 * posix/getlogin_r.c: Likewise.
4224 * posix/getpgid.c: Likewise.
4225 * posix/getpid.c: Likewise.
4226 * posix/getppid.c: Likewise.
4227 * posix/getresgid.c: Likewise.
4228 * posix/getresuid.c: Likewise.
4229 * posix/getsid.c: Likewise.
4230 * posix/getuid.c: Likewise.
4231 * posix/glob64.c: Likewise.
4232 * posix/nanosleep.c: Likewise.
4233 * posix/pathconf.c: Likewise.
4234 * posix/pause.c: Likewise.
4235 * posix/posix_madvise.c: Likewise.
4236 * posix/pread.c: Likewise.
4237 * posix/pread64.c: Likewise.
4238 * posix/pwrite.c: Likewise.
4239 * posix/pwrite64.c: Likewise.
4240 * posix/sched_getaffinity.c: Likewise.
4241 * posix/sched_getp.c: Likewise.
4242 * posix/sched_gets.c: Likewise.
4243 * posix/sched_primax.c: Likewise.
4244 * posix/sched_primin.c: Likewise.
4245 * posix/sched_rr_gi.c: Likewise.
4246 * posix/sched_setaffinity.c: Likewise.
4247 * posix/sched_setp.c: Likewise.
4248 * posix/sched_sets.c: Likewise.
4249 * posix/sched_yield.c: Likewise.
4250 * posix/setgid.c: Likewise.
4251 * posix/setlogin.c: Likewise.
4252 * posix/setpgid.c: Likewise.
4253 * posix/setresgid.c: Likewise.
4254 * posix/setresuid.c: Likewise.
4255 * posix/setsid.c: Likewise.
4256 * posix/setuid.c: Likewise.
4257 * posix/sleep.c: Likewise.
4258 * posix/spawni.c: Likewise.
4259 * posix/sysconf.c: Likewise.
4260 * posix/times.c: Likewise.
4261 * posix/wait.c: Likewise.
4262 * posix/wait3.c: Likewise.
4263 * posix/wait4.c: Likewise.
4264 * posix/waitpid.c: Likewise.
4265 * resolv/gai_sigqueue.c: Likewise.
4266 * resource/getpriority.c: Likewise.
4267 * resource/getrlimit.c: Likewise.
4268 * resource/getrusage.c: Likewise.
4269 * resource/nice.c: Likewise.
4270 * resource/setpriority.c: Likewise.
4271 * resource/setrlimit.c: Likewise.
4272 * resource/ulimit.c: Likewise.
4273 * rt/aio_cancel.c: Likewise.
4274 * rt/aio_fsync.c: Likewise.
4275 * rt/aio_read.c: Likewise.
4276 * rt/aio_sigqueue.c: Likewise.
4277 * rt/aio_suspend.c: Likewise.
4278 * rt/aio_write.c: Likewise.
4279 * rt/clock_getres.c: Likewise.
4280 * rt/clock_gettime.c: Likewise.
4281 * rt/clock_nanosleep.c: Likewise.
4282 * rt/clock_settime.c: Likewise.
4283 * rt/lio_listio.c: Likewise.
4284 * rt/mq_close.c: Likewise.
4285 * rt/mq_getattr.c: Likewise.
4286 * rt/mq_notify.c: Likewise.
4287 * rt/mq_open.c: Likewise.
4288 * rt/mq_receive.c: Likewise.
4289 * rt/mq_send.c: Likewise.
4290 * rt/mq_setattr.c: Likewise.
4291 * rt/mq_timedreceive.c: Likewise.
4292 * rt/mq_timedsend.c: Likewise.
4293 * rt/mq_unlink.c: Likewise.
4294 * rt/shm_open.c: Likewise.
4295 * rt/shm_unlink.c: Likewise.
4296 * rt/timer_create.c: Likewise.
4297 * rt/timer_delete.c: Likewise.
4298 * rt/timer_getoverr.c: Likewise.
4299 * rt/timer_gettime.c: Likewise.
4300 * rt/timer_settime.c: Likewise.
4301 * setjmp/__longjmp.c: Likewise.
4302 * setjmp/setjmp.c: Likewise.
4303 * signal/kill.c: Likewise.
4304 * signal/killpg.c: Likewise.
4305 * signal/raise.c: Likewise.
4306 * signal/sigaction.c: Likewise.
4307 * signal/sigaltstack.c: Likewise.
4308 * signal/sigblock.c: Likewise.
4309 * signal/sigignore.c: Likewise.
4310 * signal/sigintr.c: Likewise.
4311 * signal/signal.c: Likewise.
4312 * signal/sigpause.c: Likewise.
4313 * signal/sigpending.c: Likewise.
4314 * signal/sigqueue.c: Likewise.
4315 * signal/sigreturn.c: Likewise.
4316 * signal/sigset.c: Likewise.
4317 * signal/sigsetmask.c: Likewise.
4318 * signal/sigstack.c: Likewise.
4319 * signal/sigsuspend.c: Likewise.
4320 * signal/sigtimedwait.c: Likewise.
4321 * signal/sigvec.c: Likewise.
4322 * signal/sigwait.c: Likewise.
4323 * signal/sigwaitinfo.c: Likewise.
4324 * signal/sysv_signal.c: Likewise.
4325 * socket/accept.c: Likewise.
4326 * socket/accept4.c: Likewise.
4327 * socket/bind.c: Likewise.
4328 * socket/connect.c: Likewise.
4329 * socket/getpeername.c: Likewise.
4330 * socket/getsockname.c: Likewise.
4331 * socket/getsockopt.c: Likewise.
4332 * socket/isfdtype.c: Likewise.
4333 * socket/listen.c: Likewise.
4334 * socket/recv.c: Likewise.
4335 * socket/recvfrom.c: Likewise.
4336 * socket/recvmsg.c: Likewise.
4337 * socket/send.c: Likewise.
4338 * socket/sendmsg.c: Likewise.
4339 * socket/sendto.c: Likewise.
4340 * socket/setsockopt.c: Likewise.
4341 * socket/shutdown.c: Likewise.
4342 * socket/sockatmark.c: Likewise.
4343 * socket/socket.c: Likewise.
4344 * socket/socketpair.c: Likewise.
4345 * stdio-common/ctermid.c: Likewise.
4346 * stdio-common/cuserid.c: Likewise.
4347 * stdio-common/remove.c: Likewise.
4348 * stdio-common/rename.c: Likewise.
4349 * stdio-common/renameat.c: Likewise.
4350 * stdio-common/tempname.c: Likewise.
4351 * stdlib/getcontext.c: Likewise.
4352 * stdlib/makecontext.c: Likewise.
4353 * stdlib/setcontext.c: Likewise.
4354 * stdlib/swapcontext.c: Likewise.
4355 * stdlib/system.c: Likewise.
4356 * streams/fattach.c: Likewise.
4357 * streams/fdetach.c: Likewise.
4358 * streams/getmsg.c: Likewise.
4359 * streams/getpmsg.c: Likewise.
4360 * streams/putmsg.c: Likewise.
4361 * streams/putpmsg.c: Likewise.
4362 * sysdeps/unix/bsd/getpt.c: Likewise.
4363 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
4364 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
4365 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
4368 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
4369 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
4370 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4371 * sysvipc/msgctl.c: Likewise.
4372 * sysvipc/msgget.c: Likewise.
4373 * sysvipc/msgrcv.c: Likewise.
4374 * sysvipc/msgsnd.c: Likewise.
4375 * sysvipc/semctl.c: Likewise.
4376 * sysvipc/semget.c: Likewise.
4377 * sysvipc/semop.c: Likewise.
4378 * sysvipc/semtimedop.c: Likewise.
4379 * sysvipc/shmat.c: Likewise.
4380 * sysvipc/shmctl.c: Likewise.
4381 * sysvipc/shmdt.c: Likewise.
4382 * sysvipc/shmget.c: Likewise.
4383 * termios/tcdrain.c: Likewise.
4384 * termios/tcflow.c: Likewise.
4385 * termios/tcflush.c: Likewise.
4386 * termios/tcgetattr.c: Likewise.
4387 * termios/tcgetpgrp.c: Likewise.
4388 * termios/tcsendbrk.c: Likewise.
4389 * termios/tcsetattr.c: Likewise.
4390 * termios/tcsetpgrp.c: Likewise.
4391 * time/adjtime.c: Likewise.
4392 * time/clock.c: Likewise.
4393 * time/getitimer.c: Likewise.
4394 * time/gettimeofday.c: Likewise.
4395 * time/setitimer.c: Likewise.
4396 * time/settimeofday.c: Likewise.
4397 * time/stime.c: Likewise.
4398 * time/time.c: Likewise.
4400 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
4402 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
4405 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
4407 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
4409 2012-11-03 Joseph Myers <joseph@codesourcery.com>
4412 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
4413 FE_TONEAREST before applying Dekker multiplication and Knuth
4414 addition. Clear inexact exceptions and check for exact zero
4416 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4417 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4418 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4419 * math/libm-test.inc (fma_test): Add more tests.
4420 (fma_test_towardzero): Likewise.
4421 (fma_test_downward): Likewise.
4422 (fma_test_upward): Likewise.
4423 * sysdeps/generic/math_private.h (default_libc_fesetround): New
4425 (libc_fesetround): New macro.
4426 (libc_fesetroundf): Likewise.
4427 (libc_fesetroundl): Likewise.
4428 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
4430 (libc_fesetround_387): Likewise.
4431 (libc_fesetroundf): New macro.
4432 (libc_fesetround): Likewise.
4433 (libc_fesetroundl): Likewise.
4434 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
4436 (libc_fesetroundf): New macro.
4437 (libc_fesetround): Likewise.
4438 (libc_fesetroundl): Likewise.
4439 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
4440 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
4441 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
4443 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
4444 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
4446 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
4447 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
4449 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
4453 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
4454 integer constant usable in #if and use that to give value to enum
4456 (FE_DIVBYZERO): Likewise.
4457 (FE_UNDERFLOW): Likewise.
4458 (FE_OVERFLOW): Likewise.
4459 (FE_INVALID): Likewise.
4460 (FE_INVALID_SNAN): Likewise.
4461 (FE_INVALID_ISI): Likewise.
4462 (FE_INVALID_IDI): Likewise.
4463 (FE_INVALID_ZDZ): Likewise.
4464 (FE_INVALID_IMZ): Likewise.
4465 (FE_INVALID_COMPARE): Likewise.
4466 (FE_INVALID_SOFTWARE): Likewise.
4467 (FE_INVALID_SQRT): Likewise.
4468 (FE_INVALID_INTEGER_CONVERSION): Likewise.
4469 (FE_TONEAREST): Likewise.
4470 (FE_TOWARDZERO): Likewise.
4471 (FE_UPWARD): Likewise.
4472 (FE_DOWNWARD): Likewise.
4473 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
4474 (FE_DIVBYZERO): Likewise.
4475 (FE_OVERFLOW): Likewise.
4476 (FE_UNDERFLOW): Likewise.
4477 (FE_INEXACT): Likewise.
4478 (FE_TONEAREST): Likewise.
4479 (FE_DOWNWARD): Likewise.
4480 (FE_UPWARD): Likewise.
4481 (FE_TOWARDZERO): Likewise.
4482 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
4483 (FE_UNDERFLOW): Likewise.
4484 (FE_OVERFLOW): Likewise.
4485 (FE_DIVBYZERO): Likewise.
4486 (FE_INVALID): Likewise.
4487 (FE_TONEAREST): Likewise.
4488 (FE_TOWARDZERO): Likewise.
4489 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
4490 (FE_OVERFLOW): Likewise.
4491 (FE_UNDERFLOW): Likewise.
4492 (FE_DIVBYZERO): Likewise.
4493 (FE_INEXACT): Likewise.
4494 (FE_TONEAREST): Likewise.
4495 (FE_TOWARDZERO): Likewise.
4496 (FE_UPWARD): Likewise.
4497 (FE_DOWNWARD): Likewise.
4498 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
4499 (FE_DIVBYZERO): Likewise.
4500 (FE_OVERFLOW): Likewise.
4501 (FE_UNDERFLOW): Likewise.
4502 (FE_INEXACT): Likewise.
4503 (FE_TONEAREST): Likewise.
4504 (FE_DOWNWARD): Likewise.
4505 (FE_UPWARD): Likewise.
4506 (FE_TOWARDZERO): Likewise.
4508 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
4510 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
4512 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
4514 * scripts/cross-test-ssh.sh (command): Use newlines to separate
4515 commands. Quote $PWD.
4516 (blacklist_exports): Don't use remove_newlines. Replace "declare
4518 (remove_newlines): Remove.
4520 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
4522 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
4523 * stdlib/stdlib.h (atof): Moved to ...
4524 * include/bits/stdlib-float.h: Here. New file.
4525 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
4526 * stdlib/bits/stdlib-float.h: New file.
4527 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
4529 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
4532 2012-11-02 Joseph Myers <joseph@codesourcery.com>
4534 * conform/conformtest.pl (@headers): Add fenv.h.
4535 * conform/data/fenv.h-data: New file.
4536 * include/fenv.h [_ISOMAC]: Disable all contents of file except
4537 include of <math/fenv.h>.
4539 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
4540 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
4541 && !UNIX98]. Enables tests for XOPEN2K8.
4542 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
4543 POSIX2008]: Likewise.
4545 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
4546 (struct rusage): Do not expect type or its members.
4549 * math/math.h (FP_NAN): Define macro to integer constant usable in
4550 #if and use that to give value to enum constant.
4551 (FP_INFINITE): Likewise.
4552 (FP_ZERO): Likewise.
4553 (FP_SUBNORMAL): Likewise.
4554 (FP_NORMAL): Likewise.
4556 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
4558 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
4559 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
4562 2012-11-02 Roland McGrath <roland@hack.frob.com>
4564 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
4565 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
4566 autoconf-time if not.
4567 * configure.in: Remove AC_PREREQ.
4569 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4571 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
4572 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
4573 of the internal implementation.
4575 2012-11-02 Joseph Myers <joseph@codesourcery.com>
4577 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
4578 except include of <misc/sys/syslog.h>.
4580 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
4583 function returns with a NULL context exit with zero.
4585 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4587 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
4589 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
4591 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
4592 (run_program_cmd): This.
4593 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
4594 (tst_langinfo): New variable. Use it.
4596 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
4598 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
4599 floating point opcodes.
4601 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4603 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
4606 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
4608 * sysdeps/mach/hurd/powerpc: Remove directory.
4609 * sysdeps/mach/powerpc: Likewise.
4611 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4613 * scripts/check-local-headers.sh: Ignore c++ headers.
4615 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4617 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
4618 __libc_cleanup_region_start argument.
4620 2012-11-01 Joseph Myers <joseph@codesourcery.com>
4624 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
4625 x * y using scaling, not as x * y + z.
4626 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4627 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4628 * math/libm-test.inc (fma_test): Add more tests.
4629 (fma_test_towardzero): Likewise.
4630 (fma_test_downward): Likewise.
4631 (fma_test_upward): Likewise.
4633 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4635 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
4637 2012-10-31 Joseph Myers <joseph@codesourcery.com>
4639 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
4642 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
4644 * rt/tst-shm.c (worker): Correct checking for mmap failure.
4646 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4653 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4656 Fix the order of the list for glibc 2.17.
4657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4660 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4664 2012-10-31 Joseph Myers <joseph@codesourcery.com>
4667 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
4668 for low part of x being zero before using __atanl (y).
4669 * math/libm-test.inc (atan2_test): Add another test.
4671 * manual/install.texi (Configuring and compiling): Document
4672 general use of test-wrapper and test-wrapper-env.
4673 * INSTALL: Regenerated.
4675 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
4676 (__fma): Do not extract and scale down low bits on after-rounding
4677 systems when result rounded to normal precision would have normal
4679 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
4680 (__fmal): Do not extract and scale down low bits on after-rounding
4681 systems when result rounded to normal precision would have normal
4683 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
4684 (__fmal): Do not extract and scale down low bits on after-rounding
4685 systems when result rounded to normal precision would have normal
4687 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
4689 (fma_test): Add more tests.
4690 (fma_test_towardzero): Likewise.
4691 (fma_test_downward): Likewise.
4692 (fma_test_upward): Likewise.
4694 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
4696 * sysdeps/i386/tininess.h: Renamed to ...
4697 * sysdeps/x86/tininess.h: This.
4698 * sysdeps/x86_64/tininess.h: Removed.
4700 2012-10-30 Joseph Myers <joseph@codesourcery.com>
4702 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
4703 input. Use $(build-program-cmd).
4704 ($(objpfx)tst-array1-static.out): Likewise.
4705 ($(objpfx)tst-array2.out): Likewise.
4706 ($(objpfx)tst-array3.out): Likewise.
4707 ($(objpfx)tst-array4.out): Likewise.
4708 ($(objpfx)tst-array5.out): Likewise.
4709 ($(objpfx)tst-array5-static.out): Likewise.
4711 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
4713 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
4716 * nss/nsswitch.h (nss_interface_function): Provide new
4717 macro for use with NSS functions.
4718 * grp/initgroups.c: Use new macro.
4719 * nss/getXXbyYY.c: Likewise.
4720 * nss/getXXbyYY_r.c: Likewise.
4721 * nss/getXXent.c: Likewise.
4722 * nss/getXXent_r.c: Likewise.
4723 * sysdeps/posix/getaddrinfo.c: Likewise.
4725 2012-10-30 Andreas Jaeger <aj@suse.de>
4727 * po/ru.po: Update Russion translation from translation project.
4729 2012-10-30 Joseph Myers <joseph@codesourcery.com>
4733 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
4734 result and shift together with sticky bit instead of replicating
4735 round-to-nearest rounding.
4736 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4737 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4738 * math/libm-test.inc (fma_test): Add more tests. Do not permit
4739 missing underflow exceptions.
4740 (fma_test_towardzero): Add more tests.
4741 (fma_test_downward): Likewise.
4742 (fma_test_upward): Likewise.
4745 * sysdeps/generic/tininess.h: New file.
4746 * sysdeps/i386/tininess.h: Likewise.
4747 * sysdeps/sh/tininess.h: Likewise.
4748 * sysdeps/x86_64/tininess.h: Likewise.
4749 * stdlib/tst-strtod-underflow.c: Likewise.
4750 * stdlib/tst-tininess.c: Likewise.
4751 * stdlib/strtod_l.c: Include <tininess.h>.
4752 (round_and_return): Do not set errno for exact underflow cases.
4753 Force an underflow exception when setting errno for underflow.
4754 Determine underflow based on rounding to normal precision if
4755 TININESS_AFTER_ROUNDING.
4756 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
4757 ERANGE for exact underflow cases.
4758 * stdlib/Makefile (tests): Add tst-tininess and
4759 tst-strtod-underflow.
4760 ($(objpfx)tst-tininess): Use $(link-libm).
4761 ($(objpfx)tst-strtod-underflow): Likewise.
4763 2012-10-30 Andreas Jaeger <aj@suse.de>
4766 * elf/Makefile (tests): Remove conditional for have-initfini-array
4767 since this is now always required and the variable does not exist
4769 (tests-static): Likewise.
4770 (modules-names): Likewise.
4772 * po/eo.po: Add Esperanto translation from translation project.
4774 * elf/tst-array1.c (fini_array): Make writeable so that it can be
4775 merged with constructor/destructor.
4776 (init_array): Likewise.
4777 * elf/tst-array2dep.c (fini_array): Likewise.
4778 (init_array): Likewise.
4780 2012-10-29 Mike Frysinger <vapier@gentoo.org>
4782 * manual/message.texi: Delete @cartouche tags.
4784 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
4786 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
4788 * sysdeps/mach/hurd/fsync.c: Likewise.
4790 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
4791 [_POSIX_REALTIME_SIGNALS]: Change condition to
4792 [_POSIX_REALTIME_SIGNALS > 0].
4794 2012-10-27 Andreas Jaeger <aj@suse.de>
4796 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
4797 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
4798 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
4799 [__WORDSIZE != 64]: Likewise.
4801 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
4803 * iconvdata/tst-table.sh: Remove ${SHELL}.
4804 * iconvdata/tst-tables.sh: Likewise.
4806 2012-10-25 David S. Miller <davem@davemloft.net>
4808 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4809 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
4812 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
4814 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4815 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
4816 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
4819 2012-10-25 Roland McGrath <roland@hack.frob.com>
4821 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4822 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
4825 2012-10-25 Joseph Myers <joseph@codesourcery.com>
4826 Jim Blandy <jimb@codesourcery.com>
4828 * scripts/cross-test-ssh.sh: New file.
4829 * manual/install.texi (Configuring and compiling): Document use of
4831 * INSTALL: Regenerated.
4833 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
4835 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
4838 2012-10-25 Joseph Myers <joseph@codesourcery.com>
4840 * Makeconfig (run-program-prefix): Fix comment.
4842 2012-10-24 Joseph Myers <joseph@codesourcery.com>
4843 Jim Blandy <jimb@codesourcery.com>
4845 * Makeconfig (test-wrapper): New variable,
4846 (test-wrapper-env): Likewise.
4847 [$(cross-compiling) = yes && $(test-wrapper) != ""]
4848 (run-built-tests): Define to yes.
4849 (run-program-prefix): Use $(test-wrapper).
4850 (built-program-cmd): Likewise.
4851 * Rules (make-test-out): Use $(test-wrapper-env) and
4852 $(host-built-program-cmd).
4853 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
4854 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
4856 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
4857 $(test-wrapper-env) to tst-rtld-load-self.sh.
4858 ($(objpfx)order2.out): Use $(test-wrapper).
4859 ($(objpfx)tst-initorder.out): Likewise.
4860 ($(objpfx)tst-initorder2.out): Likewise.
4861 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
4862 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
4863 (test_wrapper_env): New variable. Use it to run ld.so.
4864 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
4865 Use it to run ld.so.
4866 (test_wrapper_env): Likewise.
4867 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
4868 $(test-wrapper) to run-iconv-test.sh.
4869 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
4870 (ICONV): Use $test_wrapper.
4871 * posix/Makefile ($(objpfx)globtest.out): Pass
4872 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
4873 globtest.sh, not $(run-program-prefix).
4874 * posix/globtest.sh (run_via_rtld_prefix): New variable.
4875 (test_wrapper): Likewise.
4876 (test_wrapper_env): Likewise. Use it to run globtest with HOME
4877 set together with run_via_rtld_prefix.
4878 (run_program_prefix): Define in terms of test_wrapper and
4879 run_via_rtld_prefix.
4881 2012-10-24 Roland McGrath <roland@hack.frob.com>
4883 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
4884 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
4888 * include/time.h: Remove librt_hidden_proto (clock_gettime).
4889 Declare __clock_getres, __clock_gettime, __clock_settime,
4890 __clock_nanosleep, and __clock_getcpuclockid.
4891 * rt/clock_gettime.c: Define __clock_gettime as an alias.
4892 Remove librt_hidden_def (clock_gettime).
4893 * sysdeps/unix/clock_gettime.c: Likewise.
4894 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
4895 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4896 * rt/clock_getres.c: Define __clock_getres as an alias.
4897 * sysdeps/posix/clock_getres.c: Likewise.
4898 * rt/clock_settime.c: Define __clock_settime as an alias.
4899 * sysdeps/unix/clock_settime.c: Likewise.
4900 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
4901 * sysdeps/unix/clock_nanosleep.c: Likewise.
4902 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4903 * rt/clock-compat.c: New file.
4904 * rt/Makefile (librt-routines): Add clock-compat and move
4905 $(clock-routines) to ...
4906 (routines): ... here, new variable.
4907 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
4908 Don't add get_clockfreq here.
4909 * rt/Versions (libc: GLIBC_2.17): New version set.
4910 Add clock_* symbols here.
4911 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
4912 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
4913 (GLIBC_2.17): Add clock_* symbols.
4914 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
4915 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
4916 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4921 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4922 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
4923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
4924 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
4925 * NEWS: Mention the move.
4927 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4928 Use __open, __read, __close rather than their public counterparts.
4929 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4930 (__get_clockfreq_via_cpuinfo): Likewise.
4931 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
4932 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
4934 * config.h.in (HAVE_IFUNC): New #undef.
4935 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
4937 * configure: Regenerated.
4939 2012-10-24 Mike Frysinger <vapier@gentoo.org>
4941 * configure.in: Move READELF check to start of file.
4942 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
4943 libc_cv_asm_gnu_indirect_function in the process.
4944 * configure: Regenerated.
4946 2012-10-24 Mike Frysinger <vapier@gentoo.org>
4948 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
4949 send the output to /dev/null.
4950 (libc_cv_cc_with_libunwind): Likewise.
4951 (libc_cv_as_noexecstack): Likewise.
4952 * configure: Regenerate.
4954 2012-10-24 Joseph Myers <joseph@codesourcery.com>
4956 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
4958 * posix/globtest.sh (TMPDIR): Do not set.
4959 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
4960 (testout): Likewise.
4962 2012-10-24 Andreas Jaeger <aj@suse.de>
4964 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
4965 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
4966 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
4967 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
4968 posix_fadvise64, posix_fallocate64.
4970 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
4971 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
4972 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
4974 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
4976 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
4978 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
4979 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
4980 <bits/fcntl-linux.h>.
4981 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
4983 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
4984 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
4985 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
4986 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
4987 [__WORDSIZE != 64]: Likewise.
4989 2012-10-23 Joseph Myers <joseph@codesourcery.com>
4991 * Makeconfig (run-built-tests): New variable.
4992 * Rules [$(cross-compiling) = yes]: Change condition to
4993 [$(run-built-tests) = no].
4994 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
4995 to [$(run-built-tests) = yes].
4996 * elf/Makefile [$(cross-compiling) = no]: Likewise
4997 * grp/Makefile [$(cross-compiling) = no]: Likewise.
4998 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
4999 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
5000 * intl/Makefile [$(cross-compiling) = no]: Likewise.
5001 * io/Makefile [$(cross-compiling) = no]: Likewise.
5002 * libio/Makefile [$(cross-compiling) = no]: Likewise.
5003 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
5004 * misc/Makefile [$(cross-compiling) = no]: Likewise.
5005 * posix/Makefile [$(cross-compiling) = no]: Likewise.
5006 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
5007 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
5008 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
5009 * string/Makefile [$(cross-compiling) = no]: Likewise.
5011 * posix/Makefile ($(objpfx)globtest.out): Pass
5012 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
5013 $(rtld-installed-name).
5014 * posix/globtest.sh (elf_objpfx): Remove variable.
5015 (rtld_installed_name): Likewise.
5016 (library_path): Likewise.
5017 (run_program_prefix): New variable. Use for running globtest
5020 2012-10-23 Jim Blandy <jimb@codesourcery.com>
5021 Joseph Myers <joseph@codesourcery.com>
5023 * Makeconfig (host-built-program-cmd): New variable.
5024 * elf/Makefile (tst-stackguard1-ARGS): Use
5025 $(host-built-program-cmd).
5026 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
5027 (tst-spawn-ARGS): Likewise.
5028 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
5030 2012-10-23 Joseph Myers <joseph@codesourcery.com>
5031 Jim Blandy <jimb@codesourcery.com>
5033 * Makeconfig (run-via-rtld-prefix): New variable.
5034 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
5035 (built-program-cmd): Likewise.
5037 2012-10-22 Andreas Jaeger <aj@suse.de>
5039 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
5040 __O_RSYNC if it exists, otherwise to O_SYNC.
5042 2012-10-22 Jim Blandy <jimb@codesourcery.com>
5043 Joseph Myers <joseph@codesourcery.com>
5045 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
5047 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
5049 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
5052 2012-10-22 Andreas Jaeger <aj@suse.de>
5054 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
5056 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
5058 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5061 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
5062 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
5064 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
5066 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
5069 2012-10-21 Jim Blandy <jimb@codesourcery.com>
5070 Joseph Myers <joseph@codesourcery.com>
5072 * config.make.in (NM): New variable.
5074 2012-10-21 Andreas Jaeger <aj@suse.de>
5076 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
5077 definitions and declarations that are provided by
5078 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5080 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5083 * elf/Makefile (tests-static): Add tst-leaks1-static.
5084 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
5085 ($(objpfx)tst-leaks1-static): New rule.
5086 ($(objpfx)tst-leaks1-static-mem): Likewise.
5087 (tst-leaks1-static-ENV): New macro.
5088 * elf/dl-open.c (dl_open_worker): Check the main application
5089 only if SHARED is defined.
5090 * elf/tst-leaks1-static.c: New file.
5092 2012-10-20 Andreas Jaeger <aj@suse.de>
5094 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
5095 generic values for Linux.
5096 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
5097 and declarations that are provided by <bits/fcntl-linux.h> and
5098 include <bits/fcntl-linux.h>.
5099 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5100 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5102 2012-10-20 Roland McGrath <roland@hack.frob.com>
5104 * io/fcntl.h: Move include of <bits/types.h> to the top and
5105 include it unconditionally.
5107 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5109 * wcsmbs/Makefile (tests-ifunc): New variable.
5110 (tests): Add $(tests-ifunc).
5111 * wcsmbs/test-wcschr-ifunc.c: New file.
5112 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5113 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5114 * wcsmbs/test-wcslen-ifunc.c: Likewise.
5115 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5116 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5118 * string/Makefile (tests-ifunc): New variable.
5119 (tests): Add $(tests-ifunc).
5120 * string/test-memccpy.c (TEST_NAME): New macro.
5121 * string/test-memchr.c (TEST_NAME): Likewise.
5122 * string/test-memcmp.c (TEST_NAME): Likewise.
5123 * string/test-memcpy.c (TEST_NAME): Likewise.
5124 * string/test-memmem.c (TEST_NAME): Likewise.
5125 * string/test-memmove.c (TEST_NAME): Likewise.
5126 * string/test-memset.c (TEST_NAME): Likewise.
5127 * string/test-rawmemchr.c (TEST_NAME): Likewise.
5128 * string/test-stpcpy.c (TEST_NAME): Likewise.
5129 * string/test-stpncpy.c (TEST_NAME): Likewise.
5130 * string/test-strcasecmp.c (TEST_NAME): Likewise.
5131 * string/test-strcasestr.c (TEST_NAME): Likewise.
5132 * string/test-strcat.c (TEST_NAME): Likewise.
5133 * string/test-strchr.c (TEST_NAME): Likewise.
5134 * string/test-strcmp.c(TEST_NAME): Likewise.
5135 * string/test-strcpy.c (TEST_NAME): Likewise.
5136 * string/test-strcspn.c (TEST_NAME): Likewise.
5137 * string/test-strlen.c (TEST_NAME): Likewise.
5138 * string/test-strncasecmp.c (TEST_NAME): Likewise.
5139 * string/test-strncmp.c (TEST_NAME): Likewise.
5140 * string/test-strncpy.c (TEST_NAME): Likewise.
5141 * string/test-strnlen.c (TEST_NAME): Likewise.
5142 * string/test-strpbrk.c (TEST_NAME): Likewise.
5143 * string/test-strrchr.c (TEST_NAME): Likewise.
5144 * string/test-strspn.c (TEST_NAME): Likewise.
5145 * string/test-strstr.c (TEST_NAME): Likewise.
5146 * string/test-bcopy-ifunc.c: New file.
5147 * string/test-bzero-ifunc.c: Likewise.
5148 * string/test-memccpy-ifunc.c: Likewise.
5149 * string/test-memchr-ifunc.c: Likewise.
5150 * string/test-memcmp-ifunc.c: Likewise.
5151 * string/test-memcpy-ifunc.c: Likewise.
5152 * string/test-memmem-ifunc.c: Likewise.
5153 * string/test-memmove-ifunc.c: Likewise.
5154 * string/test-mempcpy-ifunc.c: Likewise.
5155 * string/test-memset-ifunc.c: Likewise.
5156 * string/test-rawmemchr-ifunc.c: Likewise.
5157 * string/test-stpcpy-ifunc.c: Likewise.
5158 * string/test-stpncpy-ifunc.c: Likewise.
5159 * string/test-strcasecmp-ifunc.c: Likewise.
5160 * string/test-strcasestr-ifunc.c: Likewise.
5161 * string/test-strcat-ifunc.c: Likewise.
5162 * string/test-strchr-ifunc.c: Likewise.
5163 * string/test-strchrnul-ifunc.c: Likewise.
5164 * string/test-strcmp-ifunc.c: Likewise.
5165 * string/test-strcpy-ifunc.c: Likewise.
5166 * string/test-strcspn-ifunc.c: Likewise.
5167 * string/test-strlen-ifunc.c: Likewise.
5168 * string/test-strncasecmp-ifunc.c: Likewise.
5169 * string/test-strncat-ifunc.c: Likewise.
5170 * string/test-strncmp-ifunc.c: Likewise.
5171 * string/test-strncpy-ifunc.c: Likewise.
5172 * string/test-strnlen-ifunc.c: Likewise.
5173 * string/test-strpbrk-ifunc.c: Likewise.
5174 * string/test-strrchr-ifunc.c: Likewise.
5175 * string/test-strspn-ifunc.c: Likewise.
5176 * string/test-strstr-ifunc.c: Likewise.
5178 * debug/Makefile (tests-ifunc): New variable.
5179 (tests): Add $(tests-ifunc).
5180 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
5181 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
5182 * debug/test-stpcpy_chk-ifunc.c: New file.
5183 * debug/test-strcpy_chk-ifunc.c: Likewise.
5185 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5188 * elf/dl-load.c (open_verify): Retry read if the entire ELF
5189 header is not read in.
5191 2012-10-19 Joseph Myers <joseph@codesourcery.com>
5193 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
5194 script to $(SHELL) as $<. Pass $(common-objpfx) to script
5195 directly. Pass built executable to script as
5196 $(built-program-cmd).
5197 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
5198 $testprogram without using LD_LIBRARY_PATH and $ldso.
5200 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
5201 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
5202 $(rtld-installed-name).
5203 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
5204 (rtld_installed_name): Likewise.
5205 (library_path): Likewise.
5206 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
5207 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
5208 $(run-program-prefix) to tst-tables.sh.
5209 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
5210 it to run tst-table-from and tst-table-to.
5211 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
5212 Pass it to tst-table.sh.
5213 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
5214 $(run-program-prefix) to tst-gettext.sh.
5215 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
5217 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
5219 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
5221 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
5222 to run tst-gettext2.
5223 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
5224 to run tst-translit.
5225 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
5226 $(run-program-prefix) to tst-mtrace.sh.
5227 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
5229 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
5230 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
5231 $(rtld-installed-name).
5232 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
5233 (rtld_installed_name): Likewise.
5234 (run_program_prefix): New variable. Use it to run wordexp-test.
5236 * Makeconfig (ARCH): Remove all definitions.
5237 (machine): Likewise.
5238 [ARCH]: Remove conditional code.
5239 [!objdir]: Give error.
5240 [!objdir] (objpfx): Remove.
5241 [!objdir] (common-objpfx): Likewise.
5242 [!objdir] (common-objdir): Likewise.
5243 * configure.in (config_makefile): Remove. Hardcode Makefile in
5244 AC_CONFIG_FILES call.
5245 * configure: Regenerated.
5248 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
5250 (testout): Likewise.
5252 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
5253 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
5254 $(rtld-installed-name).
5255 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
5256 (rtld_installed_name): Likwise.
5257 (runit): Remove function.
5258 (run_getconf): New variable, Use it for running getconf binary.
5260 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
5263 * string/test-memmem.c (check_result): New function.
5264 (do_one_test): Use it.
5265 (check1): New function.
5266 (test_main): Use it.
5268 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
5270 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
5272 2012-10-18 Joseph Myers <joseph@codesourcery.com>
5274 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
5275 (_G_LSEEK64): Likewise.
5276 (_G_MMAP64): Likewise.
5277 (_G_FSTAT64): Likewise.
5278 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
5279 (_G_LSEEK64): Likewise.
5280 (_G_MMAP64): Likewise.
5281 (_G_FSTAT64): Likewise.
5282 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
5283 unconditional. Call __mmap64 directly.
5284 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
5285 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
5287 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
5288 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
5290 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
5291 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
5293 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
5294 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
5296 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
5297 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
5299 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
5300 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
5301 __fxstat64 directly.
5302 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
5303 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
5305 (freopen64) [!_G_OPEN64]: Remove conditional code.
5306 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
5308 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
5309 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
5311 (ftello64) [!_G_LSEEK64]: Remove conditional code.
5312 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
5314 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5315 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
5317 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
5318 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
5320 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5321 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
5323 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5324 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
5326 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5328 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5331 * manual/memory.texi (Malloc Tunable Parameters): Add note
5332 about free list pointers overwriting some perturb bytes.
5333 Wording suggested by Roland McGrath.
5335 2012-10-17 Joseph Myers <joseph@codesourcery.com>
5337 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
5338 (lgamma_test): Likewise.
5339 (tgamma_test): Likewise.
5341 2012-10-16 Florian Weimer <fweimer@redhat.com>
5344 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
5345 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
5347 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
5349 * NEWS: Mention BZ #14716.
5350 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
5351 when removing AVAILABLE1_USES_J macro.
5353 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
5355 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
5356 (__bswap_64): __uint64_t for unsigned 64-bit int.
5358 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
5360 * include/string.h (memmem): Declare libc hidden alias.
5361 * string/memmem.c (memmem): Define libc hidden alias.
5362 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
5363 __read, __close instead of open, read, close.
5365 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
5367 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
5368 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
5370 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
5371 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
5372 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
5374 (__rawmemchr_sse2): Likewise.
5375 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
5376 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
5377 (__strchr_sse2): Likewise.
5378 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
5379 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
5380 (__strcasecmp_sse2): Likewise.
5381 (__strncasecmp_sse2): Likewise.
5382 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
5383 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
5384 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
5385 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
5386 (__strrchr_sse2): Likewise.
5387 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
5389 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5390 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5391 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5392 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5393 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5394 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5395 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5396 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5397 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
5398 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
5399 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
5400 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
5401 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
5402 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5403 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5404 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5405 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5406 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5407 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
5408 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
5409 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
5410 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
5411 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
5412 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5413 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
5414 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5415 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5416 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5417 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5418 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5420 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
5422 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
5423 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
5424 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
5425 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
5427 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
5429 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
5430 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
5431 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
5432 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
5434 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5435 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5436 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5437 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5438 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5439 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5440 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5441 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5442 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5443 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5444 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5445 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5446 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5447 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
5448 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
5449 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5450 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
5451 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
5452 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5453 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5454 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5455 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5456 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5457 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5458 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5459 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
5460 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
5461 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
5462 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
5463 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5464 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
5465 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5466 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5467 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
5468 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5469 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5470 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5471 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5472 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5473 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5474 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
5476 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
5477 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
5478 * include/ifunc-impl-list.h: New file.
5479 * misc/ifunc-impl-list.c: Likewise.
5480 * misc/Makefile (routines): Add ifunc-impl-list.
5481 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
5482 * string/test-string.h: Include <ifunc-impl-list.h>.
5483 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
5484 impl_array): New variables.
5485 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
5487 (test_init): Call __libc_ifunc_impl_list to initialize
5488 func_list if TEST_IFUNC and TEST_NAME are defined.
5490 * string/Makefile (strop-tests): Add bcopy and bzero.
5491 * string/test-bcopy.c: New file.
5492 * string/test-bzero.c: Likewise.
5493 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
5495 * string/test-memset.c: Support bzero test if TEST_BZERO is
5497 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
5499 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
5501 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
5504 2012-10-10 Joseph Myers <joseph@codesourcery.com>
5506 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
5507 * configure: Regenerated.
5509 * Makeconfig (+link-static-before-libc): Don't include
5510 $(link-static-libc).
5512 * libio/libio.h (_IO_pos_t): Remove.
5514 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
5516 * NEWS: Add note about FIPS mode. Wording suggested by Roland
5519 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
5521 * crypt/crypt-entry.c: Include fips-private.h.
5522 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
5523 * crypt/md5c-test.c (main): Tolerate disabled MD5.
5524 * sysdeps/unix/sysv/linux/fips-private.h: New file.
5525 * sysdeps/generic/fips-private.h: New file, dummy fallback.
5527 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
5529 * crypt/crypt-private.h: Include stdbool.h.
5530 (_ufc_setup_salt_r): Return bool.
5531 * crypt/crypt-entry.c: Include errno.h.
5532 (__crypt_r): Return NULL with EINVAL for bad salt.
5533 * crypt/crypt_util.c (bad_for_salt): New.
5534 (_ufc_setup_salt_r): Check that salt is long enough and within
5535 the specified alphabet.
5536 * crypt/badsalttest.c: New file.
5537 * crypt/Makefile (tests): Add it.
5538 ($(objpfx)badsalttest): New.
5540 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
5542 * NEWS: Add entry for BZ #14602.
5544 2012-10-09 Joseph Myers <joseph@codesourcery.com>
5546 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
5548 * math/libm-test.inc: Update comment listing what functions and
5550 (isgreater_test): New function.
5551 (isgreaterequal_test): Likewise.
5552 (isless_test): Likewise.
5553 (islessequal_test): Likewise.
5554 (islessgreater_test): Likewise.
5555 (isunordered_test): Likewise.
5556 (main): Call the new functions.
5558 2012-10-09 Roland McGrath <roland@hack.frob.com>
5560 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
5561 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
5562 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
5563 * sysdeps/i386/configure: Regenerated.
5564 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
5565 * sysdeps/mach/configure: Regenerated.
5566 * sysdeps/mach/hurd/configure: Regenerated.
5567 * sysdeps/powerpc/configure: Regenerated.
5568 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5569 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5570 * sysdeps/s390/s390-32/configure: Regenerated.
5571 * sysdeps/s390/s390-64/configure: Regenerated.
5572 * sysdeps/sh/configure: Regenerated.
5573 * sysdeps/sparc/configure: Regenerated.
5574 * sysdeps/unix/sysv/linux/configure: Regenerated.
5575 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5576 * sysdeps/x86_64/configure: Regenerated.
5578 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
5579 defined. Don't check if MAP is NULL.
5581 2012-10-09 Joseph Myers <joseph@codesourcery.com>
5583 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
5584 (_G_stat64): Likewise.
5585 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
5586 (_G_stat64): Likewise.
5587 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
5588 instead of struct _G_stat64.
5589 * libio/fileops.c (mmap_remap_check): Likewise.
5590 (decide_maybe_mmap): Likewise.
5591 (_IO_new_file_seekoff): Likewise.
5592 (_IO_file_stat): Likewise.
5593 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
5595 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
5596 instead of struct _G_stat64.
5597 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5599 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
5602 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5604 (CHECK_EOL): New macro.
5605 (two_way_short_needle): Check beginning of haystack for EOL. Use
5607 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5608 Replace with CHECK_EOL.
5609 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5610 Replace with CHECK_EOL.
5612 2012-10-08 Joseph Myers <joseph@codesourcery.com>
5614 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
5616 * math/libm-test.inc: Update comment listing what functions and
5618 (finite_test): New function.
5619 (isinf_test): Likewise.
5620 (isnan_test): Likewise.
5621 (fpclassify_test): Test subnormal input.
5622 (isfinite_test): Likewise.
5623 (isnormal_test): Likewise.
5624 (main): Call the new functions.
5626 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
5629 * Makerules (%.dynsym): Force C locale when running
5630 $(OBJDUMP) --dynamic-syms.
5632 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
5634 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
5637 2012-10-06 David S. Miller <davem@davemloft.net>
5639 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
5640 upper 32-bits of the length value in %o2 since we use branch-on-register
5641 tests which consider the entire 64-bit register.
5643 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
5645 * string/test-strstr.c (check2): Add a test for page boundary.
5647 2012-10-05 David S. Miller <davem@davemloft.net>
5649 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
5650 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
5652 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5654 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5655 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
5656 and bzero when HWCAP_SPARC_CRYPTO is present.
5658 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
5661 * string/test-strstr.c (check2): New function.
5662 (test_main): Call check2.
5664 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
5666 * string/bug-strcasestr1.c (do_test): Moved to ...
5667 * string/test-strcasestr.c (check1): Here. New function.
5668 (do_one_test): Break out result checking code into ...
5669 (check_result): This. New function.
5670 (do_one_test): Call check_result.
5671 (test_main): Call check1.
5672 * string/bug-strchr1.c (do_test): Moved to ...
5673 * string/test-strchr.c (check1): Here. New function.
5674 (do_one_test): Break out result checking code into ...
5675 (check_result): This. New function.
5676 (do_one_test): Call check_result.
5677 (test_main): Call check1.
5678 * string/bug-strstr1.c (main): Moved to ...
5679 * string/test-strstr.c (check1): Here. New function.
5680 (do_one_test): Break out result checking code into ...
5681 (check_result): This. New function.
5682 (do_one_test): Call check_result.
5683 (test_main): Call check1.
5684 * string/bug-strcasestr1.c: Removed.
5685 * string/bug-strchr1.c: Likewise.
5686 * string/bug-strstr1.c: Likewise.
5688 * elf/Makefile (dl-routines): Add hwcaps.
5689 * elf/dl-support.c (_dl_important_hwcaps): Removed.
5690 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
5691 (_dl_important_hwcaps): Moved to ...
5692 * elf/dl-hwcaps.c: Here. New file.
5693 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
5696 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
5697 if IS_IN_rtld isn't defined.
5699 * elf/dl-support.c (_dl_sysinfo_map): New.
5700 Include "get-dynamic-info.h" and "setup-vdso.h".
5701 (_dl_non_dynamic_init): Call setup_vdso.
5702 * elf/dynamic-link.h: Don't include <assert.h>.
5703 (elf_get_dynamic_info): Moved to ...
5704 * elf/get-dynamic-info.h: Here. New file.
5705 * elf/dynamic-link.h: Include "get-dynamic-info.h".
5706 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
5707 * elf/setup-vdso.h: Here. New file.
5708 * elf/rtld.c: Include "setup-vdso.h".
5709 (dl_main): Call setup_vdso.
5711 2012-10-05 Joseph Myers <joseph@codesourcery.com>
5713 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
5714 creal in comment listing functions tested. List finite, isinf,
5715 isnan, isless, islessequal, isgreater, isgreaterequal,
5716 islessgreater, isunordered, lgamma_r and pow10 as functions and
5717 macros not tested. Mention which functions not tested are aliases
5718 for other functions. Fix typo. Note that signs of NaNs are not
5721 * scripts/config.guess: Update from config.git.
5722 * scripts/config.sub: Likewise.
5724 2012-10-04 Roland McGrath <roland@hack.frob.com>
5726 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
5727 * misc/madvise.c (madvise): Renamed to __madvise.
5728 Make madvise a weak alias.
5729 * include/sys/mman.h: Declare __madvise.
5730 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
5731 * sysdeps/unix/syscalls.list
5732 (madvise): Make __madvise the strong name, and madvise a weak alias.
5733 * sysdeps/unix/sysv/linux/syscalls.list
5734 (madvise, mmap): Remove redundant entries.
5735 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
5736 * malloc/malloc.c (mtrim): Likewise.
5737 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
5739 2012-10-03 Roland McGrath <roland@hack.frob.com>
5741 * sysdeps/mach/hurd/dl-cache.c: File removed.
5742 * config.h.in (USE_LDCONFIG): New #undef.
5743 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
5744 * configure: Regenerated.
5745 * elf/Makefile (dl-routines): Add dl-cache only under
5746 [$(use-ldconfig) = yes].
5747 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
5748 cache on [USE_LDCONFIG].
5749 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
5751 * elf/rtld.c (dl_main): Likewise.
5753 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
5755 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
5756 _SC_LEVEL4_CACHE_LINESIZE.
5758 2012-10-03 Roland McGrath <roland@hack.frob.com>
5760 * sysdeps/unix/bsd/confstr.h: File removed.
5762 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
5764 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
5767 2012-10-02 Roland McGrath <roland@hack.frob.com>
5769 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
5770 Make 'mapoff' field ElfW(Off) rather than off_t.
5772 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
5774 * nscd/Makefile: Remove nscd-cflags and all its users.
5775 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
5776 (CFLAGS-nonlib): Add compiler flags for nscd modules.
5779 * malloc.c (malloc_printerr): Clarify error message.
5781 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
5784 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5785 Set bit_FMA_Usable if FMA is supported.
5786 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
5788 (bit_FMA4_Usable): Updated.
5789 (index_FMA_Usable): New macro.
5790 (CPUID_FMA): Likewise
5791 (HAS_FMA): Defined with bit_FMA_Usable.
5793 2012-10-01 Roland McGrath <roland@hack.frob.com>
5795 * bits/types.h (__swblk_t): Type removed.
5796 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
5797 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
5798 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5799 (__SWBLK_T_TYPE): Likewise.
5800 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5801 (__SWBLK_T_TYPE): Likewise.
5802 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5803 (__SWBLK_T_TYPE): Likewise.
5804 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5805 (__SWBLK_T_TYPE): Likewise.
5807 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
5808 Honza Horak <hhorak@redhat.com>
5810 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
5811 (xdr_mapname): Use YPMAXMAP as maxsize.
5812 (xdr_peername): Use YPMAXPEER as maxsize.
5813 (xdr_keydat): Use YPAXRECORD as maxsize.
5814 (xdr_valdat): Use YPMAXRECORD as maxsize.
5816 2012-10-01 Roland McGrath <roland@hack.frob.com>
5818 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
5820 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
5821 * csu/init-first.c: ... here.
5822 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
5823 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5824 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5825 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5826 * sysdeps/i386/init-first.c: File removed.
5827 * sysdeps/sh/init-first.c: File removed.
5829 2012-10-01 Joseph Myers <joseph@codesourcery.com>
5832 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
5833 if x * y might underflow to zero and z is zero.
5834 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5835 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5836 * math/libm-test.inc (min_subnorm_value): New variable.
5837 (fma_test): Add more tests.
5838 (fma_test_towardzero): Likewise.
5839 (fma_test_downward): Likewise
5840 (fma_test_upward): Likewise.
5841 (initialize): Set min_subnorm_value.
5843 2012-09-29 Joseph Myers <joseph@codesourcery.com>
5846 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
5848 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
5849 mode for addition resulting in exact zero.
5850 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
5851 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
5853 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5854 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5855 * math/libm-test.inc (fma_test): Add more tests.
5856 (fma_test_towardzero): New function.
5857 (fma_test_downward): Likewise.
5858 (fma_test_upward): Likewise.
5859 (main): Call the new functions.
5861 2012-09-28 David S. Miller <davem@davemloft.net>
5863 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
5865 2012-09-28 Roland McGrath <roland@hack.frob.com>
5867 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
5870 * sysdeps/gnu/_G_config.h: Moved to ...
5871 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
5872 * sysdeps/mach/hurd/_G_config.h: Moved to ...
5873 * sysdeps/generic/_G_config.h: ... here.
5875 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
5877 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
5879 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
5880 Conditionalize target on [libnss_test1.so-version].
5882 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
5884 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
5885 (elfobjdir): Move out of conditionals.
5887 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
5888 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
5889 (__nss_lookup_function): Conditionalize label remove_from_tree on
5890 [!DO_STATIC_NSS || SHARED], matching its only use.
5892 2012-09-28 David S. Miller <davem@davemloft.net>
5894 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
5895 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
5897 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5899 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5900 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
5901 when HWCAP_SPARC_CRYPTO is present.
5903 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5905 * io/tst-mknodat.c: Create a FIFO instead of a socket.
5907 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
5910 * stdio-common/vfprintf.c (process_string_arg): Revert
5913 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
5915 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
5917 * stdio-common/tst-sprintf.c: Include <locale.h>
5918 (main): Test sprintf's handling of incomplete multibyte
5921 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
5923 * elf/dl-runtime.c (VERSYMIDX): Removed.
5924 * elf/dl-version.c (VERSYMIDX): Likewise.
5925 * elf/do-rel.h (VERSYMIDX): Likewise.
5927 * elf/dynamic-link.h (VERSYMIDX): Likewise.
5928 * elf/rtld.c (VALIDX): Likewise.
5929 (ADDRIDX): Likewise.
5930 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
5931 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
5932 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
5933 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
5935 (ADDRIDX): Likewise.
5937 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5939 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
5941 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
5944 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
5946 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
5947 addresses are in the same scope as 192.0.2/24.
5948 * posix/gai.conf: Document new scope table defaults.
5950 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5953 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
5954 for ftell. Compute offsets from write pointers instead.
5955 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5957 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5960 * libio/Makefile (tests): New test case tst-fseek.
5961 * libio/tst-fseek.c: New test case to verify that fseek/ftell
5962 combination works in wide mode.
5963 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
5964 state when the external buffer state changes.
5966 2012-09-27 David S. Miller <davem@davemloft.net>
5969 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
5970 pass reloc->r_addend in as the 'high' argument to
5971 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
5973 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5975 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5977 * rt/tst-aio2.c: Include <pthread.h>.
5978 * rt/tst-aio3.c: Likewise.
5980 2012-09-27 Steve Ellcey <sellcey@mips.com>
5982 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
5984 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
5986 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
5987 contents on [SHARED].
5989 2012-09-26 Marek Polacek <polacek@redhat.com>
5993 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
5994 for C++ and GCC <4.3 as well as for non GCC compilers.
5996 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5998 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6000 2012-09-25 Roland McGrath <roland@hack.frob.com>
6002 * Makefile.in (all, install): Declare with .PHONY.
6003 Reported by Michael Hope <michael.hope@linaro.org>.
6005 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6007 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
6008 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
6010 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
6012 (sydep_routines): Add the new and the internal functions.
6013 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
6014 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
6015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
6016 (GLIBC_2.17): Add the new function.
6017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6018 (GLIBC_2.17): Likewise.
6019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
6020 (GLIBC_2.17): Likewise.
6021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
6022 (GLIBC_2.17): Likewise.
6023 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
6025 2012-09-25 Alan Modra <amodra@gmail.com>
6027 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
6028 Add release barrier before setting once_control to say
6029 initialisation is done. Add hints on lwarx. Use macro in
6031 (clear_once_control): Add release barrier.
6033 2012-09-25 Joseph Myers <joseph@codesourcery.com>
6036 * math/s_clog.c (__clog): Handle more values close to |z| = 1
6038 * math/s_clog10.c (__clog10): Likewise.
6039 * math/s_clog10f.c (__clog10f): Likewise.
6040 * math/s_clog10l.c (__clog10l): Likewise.
6041 * math/s_clogf.c (__clogf): Likewise.
6042 * math/s_clogl.c (__clogl): Likewise.
6043 * math/Makefile (libm-calls): Add x2y2m1.
6044 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
6045 (__x2y2m1): Likewise.
6046 (__x2y2m1l): Likewise.
6047 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
6048 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
6049 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6050 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6051 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6052 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6053 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
6054 * sysdeps/i386/fpu/libm-test-ulps: Update.
6055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6058 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
6059 int as type of variable DEPTH.
6060 (glob): Use size_t instead of int as type of variables NEWCOUNT
6063 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6065 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6067 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
6068 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
6069 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
6070 macros for using routine as __sincosf_ia32.
6071 Use macro for function declaration and weak_alias.
6072 * sysdeps/i386/fpu/libm-test-ulps: Update.
6074 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
6075 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6077 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6079 * math/s_cexpf.c (__cexpf): Likewise.
6080 * math/s_csinf.c (__csinf): Likewise.
6081 * math/s_csinhf.c (__csinhf): Likewise.
6082 * math/s_ctanf.c (__ctanf): Likewise.
6083 * math/s_ctanhf.c (__ctanhf): Likewise.
6084 * math/s_ccosh.c (__ccoshf): Likewise.
6085 * math/s_cexp.c (__cexpl): Likewise.
6086 * math/s_csin.c (__csin): Likewise.
6087 * math/s_csinh.c (__csinh): Likewise.
6088 * math/s_ctan.c (__ctan): Likewise.
6089 * math/s_ctanh.c (ctanh): Likewise.
6090 * math/s_ccoshl.c (__ccoshl): Likewise.
6091 * math/s_cexpl.c (__cexpl): Likewise.
6092 * math/s_csinl.c (__csinl): Likewise.
6093 * math/s_csinhl.c (__csinhl): Likewise.
6094 * math/s_ctanl.c (__ctanl): Likewise.
6095 * math/s_ctanhl.c (__ctanhl): Likewise.
6097 2012-09-25 Joseph Myers <joseph@codesourcery.com>
6099 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
6100 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
6101 (_IO_off_t): Define to __off_t, not _G_off_t.
6102 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
6103 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
6104 (_IO_wint_t): Define to wint_t, not _G_wint_t.
6105 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
6106 type of __dummy and __dummy2 fields.
6107 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
6108 (_G_ssize_t): Likewise.
6109 (_G_off_t): Likewise.
6110 (_G_pid_t): Likewise.
6111 (_G_uid_t): Likewise.
6112 (_G_wchar_t): Likewise.
6113 (_G_wint_t): Likewise.
6114 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
6115 (_G_ssize_t): Likewise.
6116 (_G_off_t): Likewise.
6117 (_G_pid_t): Likewise.
6118 (_G_uid_t): Likewise.
6119 (_G_wchar_t): Likewise.
6120 (_G_wint_t): Likewise.
6121 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
6122 (_G_ssize_t): Likewise.
6123 (_G_off_t): Likewise.
6124 (_G_pid_t): Likewise.
6125 (_G_uid_t): Likewise.
6126 (_G_wchar_t): Likewise.
6127 (_G_wint_t): Likewise.
6129 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6131 * malloc/arena.c: Include malloc-sysdep.h.
6132 (shrink_heap): Use check_may_shrink_heap to decide if madvise
6133 is sufficient to shrink the heap or an unmap is needed.
6134 * sysdeps/generic/malloc-sysdep.h: New file. Define
6135 new function check_may_shrink_heap.
6136 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
6137 new function check_may_shrink_heap.
6139 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6141 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
6144 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
6146 * catgets/test-gencat.sh: Add "set -e".
6147 * elf/tst-pathopt.sh: Likewise.
6148 * grp/tst_fgetgrent.sh: Likewise.
6149 * iconvdata/run-iconv-test.sh: Likewise.
6150 * intl/tst-gettext.sh: Likewise.
6151 * intl/tst-gettext2.sh: Likewise.
6152 * intl/tst-gettext4.sh: Likewise.
6153 * intl/tst-gettext6.sh: Likewise.
6154 * intl/tst-translit.sh: Likewise.
6155 * io/ftwtest-sh: Likewise.
6156 * libio/test-freopen.sh: Likewise.
6157 * malloc/tst-mtrace.sh: Likewise.
6158 * posix/globtest.sh: Likewise.
6159 * posix/tst-getconf.sh: Likewise.
6160 * posix/wordexp-tst.sh: Likewise.
6161 * stdio-common/tst-printf.sh: Likewise.
6162 * stdio-common/tst-unbputc.sh: Likewise.
6163 * stdlib/tst-fmtmsg.sh: Likewise.
6164 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6165 * catgets/Makefile: Do not specify -e option when running
6166 testsuite shell scripts.
6167 * elf/Makefile: Likewise.
6168 * grp/Makefile: Likewise.
6169 * iconvdata/Makefile: Likewise.
6170 * intl/Makefile: Likewise.
6171 * io/Makefile: Likewise.
6172 * libio/Makefile: Likewise.
6173 * malloc/Makefile: Likewise.
6174 * posix/Makefile: Likewise.
6175 * stdio-common/Makefile: Likewise.
6176 * stdlib/Makefile: Likewise.
6177 * sysdeps/x86_64/Makefile: Likewise.
6179 * io/ftwtest-sh: Add copyright header.
6180 * posix/globtest.sh: Likewise.
6181 * posix/tst-getconf.sh: Likewise.
6182 * posix/wordexp-tst.sh: Likewise.
6183 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6185 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
6188 * Makeconfig (+link): Defined as $(+link-static) if
6189 $(build-shared) isn't yes.
6190 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
6192 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
6194 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
6197 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
6198 new chunk size with MALLOC_ALIGN_MASK.
6200 2012-09-24 Joseph Myers <joseph@codesourcery.com>
6203 * stdio-common/printf_fphex.c: Include <stdbool.h> and
6205 (__printf_fphex): Determine rounding using get_rounding_mode and
6207 * stdio-common/tst-printf-round.c (struct hex_test): New
6209 (hex_tests): New variable.
6210 (test_hex_in_one_mode): New function.
6211 (do_test): Also run tests for hex float output.
6213 2012-09-21 Joseph Myers <joseph@codesourcery.com>
6215 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6216 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6217 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
6218 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6219 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6220 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
6221 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6222 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6224 2012-09-20 Joseph Myers <joseph@codesourcery.com>
6226 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
6227 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
6228 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
6229 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
6231 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
6234 * elf/rtld.c (dl_main): Limit the check for self loading to normal
6236 * elf/tst-rtld-load-self.sh: New test.
6237 * elf/Makefile: Run it.
6239 2012-09-18 Joseph Myers <joseph@codesourcery.com>
6241 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
6242 (tst-writev-ENV): Remove.
6243 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
6245 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
6247 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
6249 2012-09-17 Joseph Myers <joseph@codesourcery.com>
6251 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
6253 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
6255 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
6256 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
6257 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
6260 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
6263 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
6264 * config.make.in (have-cpp-asm-debuginfo): Removed.
6265 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
6266 * configure: Regenerated.
6268 2012-09-14 Joseph Myers <joseph@codesourcery.com>
6271 * stdio-common/printf_fp.c: Include <stdbool.h> and
6273 (___printf_fp): Determine rounding using get_rounding_mode and
6275 * stdio-common/tst-printf-round.c: New file.
6276 * stdio-common/Makefile (tests): Add tst-printf-round.
6277 (link-libm): New variable.
6278 ($(objpfx)tst-printf-round): Depend in $(link-libm).
6280 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
6283 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
6284 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
6286 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
6289 2012-09-13 Joseph Myers <joseph@codesourcery.com>
6291 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
6292 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6293 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6294 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6296 2012-09-12 Joseph Myers <joseph@codesourcery.com>
6299 * include/rounding-mode.h: New file.
6300 * sysdeps/generic/get-rounding-mode.h: Likewise.
6301 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
6302 * stdlib/strtod_l.c: Include <rounding-mode.h>.
6303 (MAX_VALUE): New macro.
6304 (MIN_VALUE): Likewise.
6305 (overflow_value): New function.
6306 (underflow_value): Likewise.
6307 (round_and_return): Use overflow_value and underflow_value to
6308 determine return values in overflow and underflow cases. Use
6309 round_away to determine rounding depending on rounding mode.
6310 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
6311 determine return values in overflow and underflow cases.
6312 * stdlib/tst-strtod-round.c: Include <fenv.h>.
6313 (struct test_results): New structure.
6314 (struct test): Use struct test_results to store expected results
6315 for all rounding modes.
6316 (TEST): Include expected results for all rounding modes.
6317 (test_in_one_mode): New function.
6318 (do_test): Use test_in_one_mode to compute and check results.
6319 Check results for all rounding modes.
6320 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
6323 2012-12-09 Allan McRae <allan@archlinux.org>
6325 * sysdeps/i386/fpu/libm-test-ulps: Update
6327 2012-09-11 Joseph Myers <joseph@codesourcery.com>
6329 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
6330 (_G_int32_t): Likewise.
6331 (_G_uint16_t): Likewise.
6332 (_G_uint32_t): Likewise.
6333 (_G_HAVE_BOOL): Likewise.
6334 (_G_HAVE_ATEXIT): Likewise.
6335 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6336 (_G_HAVE_IO_FILE_OPEN): Likewise.
6337 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
6338 (_G_int32_t): Likewise.
6339 (_G_uint16_t): Likewise.
6340 (_G_uint32_t): Likewise.
6341 (_G_HAVE_BOOL): Likewise.
6342 (_G_HAVE_ATEXIT): Likewise.
6343 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6344 (_G_HAVE_IO_FILE_OPEN): Likewise.
6345 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
6346 (_G_int32_t): Likewise.
6347 (_G_uint16_t): Likewise.
6348 (_G_uint32_t): Likewise.
6349 (_G_HAVE_BOOL): Likewise.
6350 (_G_HAVE_ATEXIT): Likewise.
6351 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6352 (_G_HAVE_IO_FILE_OPEN): Likewise.
6354 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
6356 * csu/libc-tls.c: Update copyright years.
6358 2012-09-10 Joseph Myers <joseph@codesourcery.com>
6360 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
6361 [!_G_USING_THUNKS]: Remove conditional code.
6362 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
6363 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
6365 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
6366 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
6367 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6368 (_G_VTABLE_LABEL_PREFIX): Likewise.
6369 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6370 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6371 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6372 (_G_VTABLE_LABEL_PREFIX): Likewise.
6373 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
6374 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6375 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6376 (_G_VTABLE_LABEL_PREFIX): Likewise.
6377 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
6379 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
6381 * libio/Makefile: Include ../Makeconfig before tests.
6382 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
6383 only if $(build-shared) is yes.
6385 * iconv/gconv_db.c: Update copyright years.
6387 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6389 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
6390 unwind info if defined PIC. Fix special cases description.
6391 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
6393 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
6395 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
6397 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
6399 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
6401 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
6404 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
6405 (LDLIBS-tst-chk4): This.
6406 (LDFLAGS-tst-chk5): Renamed to ...
6407 (LDLIBS-tst-chk5): This.
6408 (LDFLAGS-tst-chk6): Renamed to ...
6409 (LDLIBS-tst-chk6): This.
6410 (LDFLAGS-tst-lfschk4): Renamed to ...
6411 (LDLIBS-tst-lfschk4): This.
6412 (LDFLAGS-tst-lfschk5): Renamed to ...
6413 (LDLIBS-tst-lfschk5): This.
6414 (LDFLAGS-tst-lfschk6): Renamed to ...
6415 (LDLIBS-tst-lfschk6): This.
6417 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
6418 on $(common-objpfx)soversions.mk.
6420 2012-09-07 Joseph Myers <joseph@codesourcery.com>
6423 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
6426 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6428 * malloc/arena.c (arena_get_retry): New function that gets
6429 another arena for the caller to try its request on.
6430 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
6431 current arena cannot fulfill the request.
6432 (__libc_memalign): Likewise.
6433 (__libc_memalign): Likewise.
6434 (__libc_pvalloc): Likewise.
6435 (__libc_calloc): Likewise.
6437 2012-09-05 John Tobey <john.tobey@gmail.com>
6440 * manual/arith.texi (Operations on Complex): Fix description
6443 2012-09-06 Joseph Myers <joseph@codesourcery.com>
6446 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
6450 * manual/memory.texi (Memory): Make order of menu items match
6453 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6455 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
6456 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
6457 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
6459 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6461 * csu/libc-tls.c (static_dtv): Renamed to ...
6462 (_dl_static_dtv): This. Make it global.
6463 (_dl_initial_dtv): Removed.
6464 (__libc_setup_tls): Updated.
6465 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
6466 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
6469 2012-09-06 Petr Machata <pmachata@redhat.com>
6471 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
6472 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
6473 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
6474 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
6476 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6479 * csu/libc-tls.c (_dl_initial_dtv): New variable.
6480 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
6483 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6486 * Makeconfig (link-static-before-libc): Replace $(+prector)
6488 (link-static-after-libc): Replace $(+postctor) with
6490 (link-bounded): Replace $(+prector)/$(+postctor) with
6491 $(+prectorT)/$(+postctorT).
6492 (+prectorT): New macro.
6493 (+postctorT): Likewise.
6495 2012-09-06 Joseph Myers <joseph@codesourcery.com>
6497 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
6498 (round_str): Handle values above the maximum for IBM long double
6500 * stdlib/tst-strtod-round.c (tests): Regenerated.
6502 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6504 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
6506 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
6507 zarch_nohighgprs around the zarch optimized routines.
6508 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
6509 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
6510 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
6513 2012-09-05 David S. Miller <davem@davemloft.net>
6515 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6517 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
6518 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
6519 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
6520 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
6523 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6525 * malloc/arena.c: Fold copyright years.
6526 * malloc/mcheck.c, malloc/memusage.c: Likewise.
6528 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6530 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
6532 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6534 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
6536 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6538 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
6539 change internal state upon failure.
6541 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6543 * malloc/mcheck.c (mcheck_check_all): Fix typo.
6544 * malloc/memusage.c (mmap): Likewise.
6545 (mmap64, mremap): Likewise. Adjust name in comment.
6547 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6549 * libio/fileops.c: Fix typos in comments.
6550 * libio/oldfileops.c: Likewise.
6551 * libio/wfileops.c: Likewise.
6553 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6556 * malloc/Makefile (tests): Add tst-malloc-usable test case.
6557 (tst-malloc-usable-ENV): Set environment for test case.
6558 * malloc/hooks.c (malloc_check_get_size): New function to get
6560 * malloc/malloc.c (musable): Use malloc_check_get_size.
6561 * malloc/tst-malloc-usable.c: New test case.
6563 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6565 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
6567 2012-09-05 Allan McRae <allan@archlinux.org>
6570 * configure.in (CXX_SYSINCLUDES): Use compiler output to
6571 determine header location.
6572 * configure: Regenerated.
6574 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6576 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
6578 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
6579 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
6583 2012-09-04 David S. Miller <davem@davemloft.net>
6585 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
6586 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
6587 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
6589 2012-09-04 Florian Weimer <fweimer@redhat.com>
6591 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
6594 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
6596 2012-09-04 Joseph Myers <joseph@codesourcery.com>
6599 * libio/iogetdelim.c: Include <limits.h>.
6600 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
6601 + len + 1 would overflow.
6603 2012-09-03 Andreas Jaeger <aj@suse.de>
6605 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6606 * sysdeps/i386/fpu/libm-test-ulps: Update.
6608 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6610 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6611 Add s_sinf-sse2, s_conf-sse2.
6613 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
6614 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
6615 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
6616 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
6618 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
6619 for using routine as __sinf_ia32.
6620 Use macro for function declaration and weak_alias.
6621 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
6622 for using routine as __cosf_ia32.
6623 Use macro for function declaration and weak_alias.
6625 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
6626 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
6628 * sysdeps/x86_64/fpu/s_sinf.S: New file.
6629 * sysdeps/x86_64/fpu/s_cosf.S: New file.
6630 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6632 * math/libm-test.inc (cos_test): Add more test cases.
6633 (sin_test): Likewise.
6634 (sincos_test): Likewise.
6636 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6638 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6639 (IFUNC_RESOLVE): Make pointers to the specialized implementations
6641 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6643 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
6646 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
6647 first element of the GOT.
6648 (elf_machine_load_address): Return the difference between
6649 the runtime address of _DYNAMIC and elf_machine_dynamic ().
6651 2012-09-01 Allan McRae <allan@archlinux.org>
6654 * configure.in (AWK): Require gawk version 3.0 or later.
6655 * configure: Regenerated.
6657 2012-09-01 Joseph Myers <joseph@codesourcery.com>
6659 * sysdeps/unix/sysv/linux/kernel-features.h
6660 (__ASSUME_POSIX_CPU_TIMERS): Remove.
6661 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6662 [__NR_clock_getres]: Make code unconditional.
6663 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
6664 (clock_getcpuclockid): Remove code left unreachable by removal of
6666 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
6668 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6669 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6670 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
6671 Make code unconditional.
6672 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6673 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6674 * sysdeps/unix/sysv/linux/clock_settime.c
6675 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
6677 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
6678 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6680 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
6683 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
6684 scripts/test-installation.pl.
6686 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
6687 and $ld_so_version if it is set.
6689 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6692 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
6693 failure if reading from procfs failed.
6694 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
6696 2012-08-27 Joseph Myers <joseph@codesourcery.com>
6698 * sysdeps/unix/sysv/linux/kernel-features.h
6699 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
6700 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6701 Remove conditional code.
6702 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6703 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
6704 Remove conditional code.
6705 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6706 * sysdeps/unix/sysv/linux/i386/fxstat.c
6707 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6708 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6709 * sysdeps/unix/sysv/linux/i386/fxstatat.c
6710 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6711 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6712 * sysdeps/unix/sysv/linux/i386/lxstat.c
6713 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6714 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6715 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
6716 Remove conditional code.
6717 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6718 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6719 Remove conditional code.
6720 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6721 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
6722 <kernel-features.h>.
6723 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
6725 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
6726 Remove conditional code.
6727 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6728 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
6731 2012-08-27 Mike Frysinger <vapier@gentoo.org>
6734 * NEWS: Add fixed bug number.
6736 2012-08-27 Joseph Myers <joseph@codesourcery.com>
6739 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
6740 underflowing exponent in case of negative sign.
6741 * stdlib/tst-strtod-round-data: Add more tests.
6742 * stdlib/tst-strtod-round.c (tests): Regenerated.
6745 * stdlib/strtod_l.c (NDIG): Remove.
6746 (HEXNDIG): Likewise.
6747 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
6748 smallest representable value.
6749 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
6750 lie within an exact representation of 1/2 ulp of the result.
6751 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
6753 (TENS_P9_IDX): Define unconditionally.
6754 (TENS_P9_SIZE): Likewise.
6755 (TENS_P10_IDX): Likewise.
6756 (TENS_P10_SIZE): Likewise.
6757 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
6758 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
6759 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
6760 entries for 10^2^13 and 10^2^14.
6761 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
6762 (TENS_P13_IDX): Define.
6763 (TENS_P13_SIZE): Likewise.
6764 (TENS_P14_IDX): Likewise.
6765 (TENS_P14_SIZE): Likewise.
6766 (_fpioconst_pow10): Change array size to
6767 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
6769 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
6770 1024]: Add entries for 10^2^13 and 10^2^14.
6771 [LAST_POW10 > _LAST_POW10]: Remove #error.
6772 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
6773 (_fpioconst_pow10): Change array size to
6774 FPIOCONST_POW10_ARRAY_SIZE.
6775 * stdlib/gen-fpioconst.c: New file.
6776 * stdlib/gen-tst-strtod-round.c: Likewise.
6777 * stdlib/tst-strtod-round-data: Likewise.
6778 * stdlib/tst-strtod-round.c: Likewise.
6779 * stdlib/Makefile (tests): Add tst-strtod-round.
6782 * stdlib/strtod_l.c: Include <stdint.h>.
6783 (NDEBUG): Do not define.
6784 (round_and_return): Change EXPONENT parameter to type intmax_t.
6785 Rearrange calculations to avoid internal overflow possibilities.
6786 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
6787 Rearrange calculations to avoid internal overflow possibilities.
6788 Assert that number fits inside MPNSIZE limbs.
6789 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
6790 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
6791 calculations and add assertions to avoid internal overflow
6792 possibilities. Add casts to avoid signed/unsigned operations.
6793 * stdlib/tst-strtod-overflow.c: New file.
6794 * stdlib/Makefile (tests): Add tst-strtod-overflow.
6796 2012-08-25 Marek Polacek <polacek@redhat.com>
6798 * time/time.h: Fix some typos in comments.
6800 2012-08-23 Roland McGrath <roland@hack.frob.com>
6802 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
6803 * posix/tst-rfc3484-2.c: Likewise.
6804 * posix/tst-rfc3484-3.c: Likewise.
6806 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
6808 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
6809 (EF_ARM_ABI_FLOAT_HARD): Likewise.
6811 2012-08-23 Joseph Myers <joseph@codesourcery.com>
6813 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
6814 #include of fxstatat64.c.
6816 2012-08-22 Roland McGrath <roland@hack.frob.com>
6818 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
6819 * shadow/getspent_r.c: Likewise.
6820 * shadow/getspnam.c: Likewise.
6821 * shadow/getspnam_r.c: Likewise.
6822 * gshadow/getsgent.c: Likewise.
6823 * gshadow/getsgent_r.c: Likewise.
6824 * gshadow/getsgnam.c: Likewise.
6825 * gshadow/getsgnam_r.c: Likewise.
6826 * inet/getnetbyad.c: Likewise.
6827 * inet/getnetbyad_r.c: Likewise.
6828 * inet/getnetbynm.c: Likewise.
6829 * inet/getnetbynm_r.c: Likewise.
6830 * inet/getnetent.c: Likewise.
6831 * inet/getnetent_r.c: Likewise.
6832 * inet/getproto.c: Likewise.
6833 * inet/getproto_r.c: Likewise.
6834 * inet/getprtent.c: Likewise.
6835 * inet/getprtent_r.c: Likewise.
6836 * inet/getprtname.c: Likewise.
6837 * inet/getprtname_r.c: Likewise.
6838 * inet/getrpcbyname.c: Likewise.
6839 * inet/getrpcbyname_r.c: Likewise.
6840 * inet/getrpcbynumber.c: Likewise.
6841 * inet/getrpcbynumber_r.c: Likewise.
6842 * inet/getrpcent.c: Likewise.
6843 * inet/getrpcent_r.c: Likewise.
6844 * inet/getaliasent.c: Likewise.
6845 * inet/getaliasent_r.c: Likewise.
6846 * inet/getaliasname.c: Likewise.
6847 * inet/getaliasname_r.c: Likewise.
6848 * nscd/getgrgid_r.c: Likewise.
6849 * nscd/getgrnam_r.c: Likewise.
6850 * nscd/gethstbyad_r.c: Likewise.
6851 * nscd/gethstbynm3_r.c: Likewise.
6852 * nscd/getpwnam_r.c: Likewise.
6853 * nscd/getpwuid_r.c: Likewise.
6854 * nscd/getsrvbynm_r.c: Likewise.
6855 * nscd/getsrvbypt_r.c: Likewise.
6856 * nscd/gai.c: Likewise.
6858 * configure.in (build_nscd): New substituted variable, set
6859 by --disable-build-nscd and defaults to $use_nscd.
6860 * configure: Regenerated.
6861 * config.make.in (build-nscd): New substituted variable.
6862 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
6863 Change conditional to require [$(build-nscd) = yes] as well.
6864 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
6867 * configure.in (use_nscd): New substituted variable, set by
6868 --disable-nscd. If enabled, define USE_NSCD.
6869 * configure: Regenerated.
6870 * config.h.in: Add USE_NSCD.
6871 * config.make.in (use-nscd): New substituted variable.
6872 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
6873 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
6874 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
6875 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
6876 (CFLAGS-getgrnam_r.c): Likewise.
6877 (CFLAGS-initgroups.c): Likewise.
6878 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
6879 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
6881 * inet/getnetgrent_r.c
6882 (nscd_setnetgrent): New function, broken out of ...
6883 (setnetgrent): ... here. Call it.
6884 (innetgr): Conditionalize nscd bits on [USE_NSCD].
6885 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
6886 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
6887 * nscd/Makefile (routines, aux): Move definitions after include of
6888 Makeconfig. Conditionalize on [$(use-nscd) != no].
6889 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
6890 Conditionalize on [USE_NSCD].
6891 (is_nscd, nscd_init_cb): Likewise.
6892 (nss_load_library): Conditionalize init callback on [USE_NSCD].
6893 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
6894 * nss/nss_db/db-init.c: Likewise.
6895 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
6897 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
6898 (make_request): Use it.
6899 (cache_valid_p): New function.
6900 (__check_pf): Use it.
6901 * NEWS: Add item for --disable-nscd.
6903 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
6905 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
6906 to support sed >= 4.2.1-20-ga9bf076.
6907 * configure: Regenerated.
6909 2012-08-22 Roland McGrath <roland@hack.frob.com>
6911 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
6912 Conditionalize whole body on [IREL].
6914 2012-08-22 Jeff Law <law@redhat.com>
6917 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
6918 if the family is PF_UNSPEC.
6920 2012-08-22 Mike Frysinger <vapier@gentoo.org>
6922 * Makerules (lib-version): Rename from V.
6923 (install-lib-nosubdir): Change V to lib-version.
6925 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
6928 * powerpc32/power6/wcschr.c: New file.
6929 * powerpc32/power6/wcscpy.c: New file.
6930 * powerpc32/power6/wcsrchr.c: New file.
6931 * powerpc64/power6/wcschr.c: New file.
6932 * powerpc64/power6/wcscpy.c: New file.
6933 * powerpc64/power6/wcsrchr.c: New file.
6935 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6937 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
6938 (two_way_short_needle): Use it.
6939 * string/strstr.c (AVAILABLE1_USES_J): Define.
6940 * string/strcasestr.c: Likewise.
6942 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
6944 * string/strcasestr.c (TOLOWER): Make side-effect safe.
6947 * NEWS: Add an entry.
6948 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
6949 define their defaults.
6950 (two_way_short_needle): Detect end-of-string on-the-fly.
6951 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
6952 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
6953 * string/bug-strcasestr1.c: New test.
6954 * string/Makefile: Run it.
6956 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6959 * string/str-two-way.h (two_way_short_needle): Optimize matching of
6960 the first character.
6962 2012-08-21 Roland McGrath <roland@hack.frob.com>
6964 * csu/elf-init.c (__libc_csu_irel): Function removed.
6965 * csu/libc-start.c (apply_irel): New function.
6966 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
6968 2012-08-21 Joseph Myers <joseph@codesourcery.com>
6970 * sysdeps/unix/sysv/linux/kernel-features.h
6971 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
6972 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6973 <kernel-features.h>.
6974 [__NR_fadvise64_64]: Make code unconditional.
6975 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
6976 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6977 !__NR_fadvise64_64)]: Likewise.
6978 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6979 !__NR_fadvise64_64))]: Likewise.
6980 [__NR_fadvise64]: Make code unconditional.
6981 [!__NR_fadvise64]: Remove conditional code.
6982 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
6983 <kernel-features.h>.
6984 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6986 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
6989 not include <kernel-features.h>.
6990 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6992 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6994 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
6995 include <kernel-features.h>.
6996 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6998 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7001 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7003 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
7004 slight instruction rearrangements per scrollpipe analysis.
7005 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7007 2012-08-20 Roland McGrath <roland@hack.frob.com>
7009 * manual/syslog.texi (syslog; vsyslog, closelog):
7010 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
7011 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
7013 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
7014 DSOCAPS to match condition on defining it.
7016 2012-08-20 Joseph Myers <joseph@codesourcery.com>
7018 * sysdeps/unix/sysv/linux/kernel-features.h
7019 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
7020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
7021 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7022 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
7024 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7025 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
7027 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7028 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7030 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
7031 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
7033 * sysdeps/unix/sysv/linux/kernel-features.h
7034 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
7035 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
7037 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7038 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
7039 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7040 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7041 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
7042 Make code unconditional.
7043 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7044 (__mmap64) [!__NR_mmap2]: Likewise.
7045 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
7046 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7047 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7048 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
7049 [__NR_mmap2]: Make code unconditional.
7050 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7051 (__mmap64) [!__NR_mmap2]: Likewise.
7053 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7055 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
7057 2012-08-18 Andreas Jaeger <aj@suse.de>
7059 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
7061 2012-08-18 Mike Frysinger <vapier@gentoo.org>
7063 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
7064 * include/unistd.h (__have_sock_cloexec): Likewise.
7065 (__have_pipe2): Likewise.
7066 (__have_dup3): Likewise.
7068 2012-08-18 Mike Frysinger <vapier@gentoo.org>
7071 * include/unistd.h (__have_pipe2): Change define into an extern int.
7072 (__have_dup3): Likewise.
7073 * socket/have_sock_cloexec.c: Include fcntl.h.
7074 (__have_pipe2): New variable.
7075 (__have_dup3): Likewise.
7077 2012-08-17 Mike Frysinger <vapier@gentoo.org>
7079 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
7081 2012-08-17 Marek Polacek <polacek@redhat.com>
7083 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
7084 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
7086 2012-08-17 Roland McGrath <roland@hack.frob.com>
7088 * configure.in: Add AC_SUBST for sysheaders.
7089 * configure: Regenerated.
7090 * config.make.in (sysheaders): New substituted variable.
7092 * sysdeps/unix/mkfifo.c: Moved ...
7093 * sysdeps/posix/mkfifo.c: ... here.
7094 * sysdeps/unix/mkfifoat.c: Moved ...
7095 * sysdeps/posix/mkfifoat.c: ... here.
7097 * sysdeps/unix/utime.c: Moved ...
7098 * sysdeps/posix/utime.c: ... here.
7100 * sysdeps/unix/time.c: Moved ...
7101 * sysdeps/posix/time.c: ... here.
7102 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
7103 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7105 * sysdeps/unix/nice.c: Moved ...
7106 * sysdeps/posix/nice.c: ... here.
7108 * sysdeps/unix/alarm.c: Moved ...
7109 * sysdeps/posix/alarm.c: ... here.
7111 * intl/Makefile ($(codeset_mo)): Depend on the input file.
7113 2012-08-17 Jeff Law <law@redhat.com>
7115 * intl/Makefile (codeset_mo): New variable.
7116 ($(codeset_mo)): New target.
7117 (tst-codeset.out): Depend on that. Remove explicit rule.
7118 (tst-gettext3.out, tst-gettext5.out): Likewise.
7119 (LOCPATH-ENV, tst-codeset-ENV): New variables.
7120 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
7121 * intl/tst-codeset.sh: Remove.
7122 * intl/tst-gettext3.sh: Likewise.
7123 * intl/tst-gettext5.sh: Likewise.
7125 2012-08-17 Roland McGrath <roland@hack.frob.com>
7127 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
7128 * sysdeps/unix/syscalls.list: ... here.
7130 * sysdeps/posix/getaddrinfo.c
7131 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
7132 (gaiconf_init, gaiconf_reload): Use them.
7134 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
7135 Define using time_t rather than struct timespec.
7137 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
7138 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
7140 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
7142 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
7143 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
7146 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
7147 __libc_cleanup_push argument.
7149 * bits/param.h: New file.
7150 * misc/sys/param.h: New file.
7151 * include/sys/param.h: New file.
7152 * misc/Makefile (headers): Add bits/param.h.
7153 * sysdeps/generic/sys/param.h: File removed.
7154 * sysdeps/unix/sysv/linux/bits/param.h: New file.
7155 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
7156 * sysdeps/mach/hurd/bits/param.h: New file.
7157 * sysdeps/mach/hurd/sys/param.h: File removed.
7159 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
7162 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
7164 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
7165 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
7168 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
7169 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
7170 rather than -D_IO_MTSAFE_IO conditionally.
7171 * stdio-common/Makefile (CPPFLAGS): Likewise.
7172 * wcsmbs/Makefile (CPPFLAGS): Likewise.
7173 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
7174 Use $(libio-mtsafe).
7175 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
7177 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
7178 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
7179 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
7180 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
7181 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
7182 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
7183 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
7184 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
7185 (CFLAGS-fread_u_chk.c): Likewise.
7186 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
7187 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
7188 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
7189 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
7190 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
7191 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
7192 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
7193 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
7194 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
7196 * libio/Makefile: Test [$(libc-reentrant) = yes]
7197 instead of [$(filter %REENTRANT, $(defines)) nonempty].
7200 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
7201 * sysdeps/pthread/configure: File removed.
7202 * sysdeps/pthread/Makeconfig: New file.
7203 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
7204 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
7206 2012-08-16 Gary Benson <gbenson@redhat.com>
7208 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
7209 unmapping the first object in a namespace.
7211 2012-08-16 Roland McGrath <roland@hack.frob.com>
7213 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
7214 (__internal_setnetgrent): ... this. Add internal_function to
7215 definition. Add libc_hidden_def.
7216 (setnetgrent): Update caller.
7217 (internal_endnetgrent): Renamed to ...
7218 (__internal_endnetgrent): ... this. Add internal_function to
7219 definition. Add libc_hidden_def.
7220 (endnetgrent): Update caller.
7221 (internal_getnetgrent_r): Renamed to ...
7222 (__internal_getnetgrent_r): ... this. Add internal_function to
7223 definition. Add libc_hidden_def.
7224 (__getnetgrent_r): Update caller.
7225 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
7227 2012-08-16 Joseph Myers <joseph@codesourcery.com>
7229 * stdlib/longlong.h: Update from GCC.
7231 2012-08-16 Roland McGrath <roland@hack.frob.com>
7233 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
7234 on _QL, which is set by umul_ppmm but never used.
7235 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
7236 variables, which are set by GMP macros but never used.
7237 * stdio-common/_itowa.c (_itowa): Likewise.
7238 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
7239 * stdlib/mod_1.c (mpn_mod_1): Likewise.
7241 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
7243 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
7244 struct La_sh_regs is not constant.
7245 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
7246 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
7247 and struct La_sparc64_regs are not constant.
7249 2012-08-16 Joseph Myers <joseph@codesourcery.com>
7251 * sysdeps/unix/sysv/linux/kernel-features.h
7252 (__ASSUME_POSIX_TIMERS): Remove.
7253 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7254 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7255 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
7256 Make code unconditional.
7257 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7258 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
7259 Make code unconditional.
7260 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7261 * sysdeps/unix/sysv/linux/clock_nanosleep.c
7262 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
7263 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7264 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
7265 Make code unconditional.
7266 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7267 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
7268 (__libc_missing_posix_timers): Remove.
7270 2012-08-15 Roland McGrath <roland@hack.frob.com>
7272 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
7273 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
7275 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
7277 * elf/dl-sym.c: Include <stdlib.h>.
7279 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
7280 constants, which avoids warnings in 32-bit builds.
7282 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
7283 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
7285 * misc/lseek.c: File moved to ...
7286 * io/lseek.c: ... here.
7288 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
7290 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
7291 shifting LEN more than 31 bits at once.
7293 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7296 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
7297 segmentation fault for a case of two empty input strings.
7298 * string/test-strncasecmp.c (check1): Renamed to...
7300 (bz14195): Add new testcase for two empty input strings and N > 0.
7301 (test_main): Call new testcase, adapt for renamed function.
7303 2012-08-15 Andreas Jaeger <aj@suse.de>
7306 * crypt/md5test2.c: New test, based on test supplied by Serge
7307 Belyshev <belyshev@depni.sinp.msu.ru>.
7308 * crypt/Makefile (xtests): Add md5test-giant..
7309 * crypt/Makefile ($(objpfx)md5test-giant): Add.
7311 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
7314 * crypt/md5.c (md5_process_block): Don't assume the buffer
7315 length is less than 2**32.
7316 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
7317 length is less than 2**64.
7319 2012-08-15 Roland McGrath <roland@hack.frob.com>
7321 * string/str-two-way.h: Include <sys/param.h>.
7322 (MAX): Macro removed.
7324 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
7325 Move #define and #undef of memmove to just before and after
7326 including <string.h>.
7328 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
7329 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
7330 and after including <string.h>. Move declarations of
7331 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
7332 to before #include "string/memmove.c".
7334 * include/dirent.h: Declare __getdirentries.
7336 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
7337 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
7339 2012-08-14 Mike Frysinger <vapier@gentoo.org>
7341 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
7342 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
7343 * sysdeps/i386/configure: Regenerated.
7344 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
7345 STABS_CURRENT_FILE, and STABS_FUN.
7346 (END): Remove call to STABS_FUN_END.
7347 (STABS_CURRENT_FILE1): Delete.
7348 (STABS_CURRENT_FILE): Likewise.
7349 (STABS_FUN): Likewise.
7350 (STABS_FUN_END): Likewise.
7351 (STABS_FUN2): Likewise.
7352 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
7353 * sysdeps/x86_64/configure: Regenerated.
7355 2012-08-14 Roland McGrath <roland@hack.frob.com>
7357 * elf/dl-open.c: Include <atomic.h>.
7358 * elf/dl-lookup.c: Likewise.
7360 2012-08-14 Joseph Myers <joseph@codesourcery.com>
7362 * sysdeps/unix/sysv/linux/kernel-features.h
7363 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
7364 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
7366 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
7368 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
7369 condition on __ASSUME_CLONE_THREAD_FLAGS.
7371 2012-08-14 Andreas Jaeger <aj@suse.de>
7373 * sysdeps/i386/fpu/libm-test-ulps: Update.
7375 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
7377 * include/atomic.h (atomic_exchange_and_add): Split into ...
7378 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
7381 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
7383 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7385 2012-08-13 Jeff Law <law@redhat.com>
7387 * manual/stdio.texi (snprintf): Clarify handling of the trailing
7388 null byte in the output string.
7390 2012-08-10 Joseph Myers <joseph@codesourcery.com>
7392 * sysdeps/unix/sysv/linux/kernel-features.h
7393 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
7394 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
7395 (__ASSUME_ARG_MAX_STACK_BASED): Define.
7396 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7397 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
7398 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
7399 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
7401 2012-08-09 Jeff Law <law@redhat.com>
7404 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
7405 When avoid_arena is set, don't retry in the that arena. Pick the
7406 next one, whatever it might be.
7407 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
7408 (arena_lock): Pass in new parameter to arena_get2.
7409 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
7411 (__libc_malloc): Unify retrying after main arena failure with
7412 __libc_memalign version.
7413 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
7415 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
7418 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
7419 to __redirect_strstr.
7420 (__strstr_sse42): Use typeof __redirect_strstr.
7421 (__strstr_ia32): Likewise.
7422 (__libc_strstr): New prototype.
7423 (strstr): Renamed to ...
7424 (__libc_strstr): This.
7425 (strstr): New strong alias of __libc_strstr.
7426 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7427 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
7430 (__libc_time): New prototype.
7431 (time_ifunc): Replace time with __libc_time.
7432 (time): New strong alias and hidden definition of __libc_time.
7433 (__GI_time): Remove strong alias.
7434 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
7436 (memmove): Redefined to __redirect_memmove.
7437 (__memmove_sse2): Use typeof __redirect_memmove.
7438 (__memmove_ssse3): Likewise.
7439 (__memmove_ssse3_back): Likewise.
7440 (__libc_memmove): New prototype.
7441 (memmove): Renamed to ...
7442 (__libc_memmove): This.
7443 (memmove): New strong alias of __libc_memmove.
7445 2012-08-08 Mark Salter <msalter@redhat.com>
7448 (R_MN10300_TLS_GD): Define.
7449 (R_MN10300_TLS_LD): Likewise.
7450 (R_MN10300_TLS_LDO): Likewise.
7451 (R_MN10300_TLS_GOTIE): Likewise.
7452 (R_MN10300_TLS_IE): Likewise.
7453 (R_MN10300_TLS_LE): Likewise.
7454 (R_MN10300_TLS_DTPMOD): Likewise.
7455 (R_MN10300_TLS_DTPOFF): Likewise.
7456 (R_MN10300_TLS_TPOFF): Likewise.
7457 (R_MN10300_SYM_DIFF): Likewise.
7458 (R_MN10300_ALIGN): Likewise.
7459 (R_MN10300_NUM): Update.
7461 2012-08-08 Joseph Myers <joseph@codesourcery.com>
7463 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
7466 2012-08-08 Roland McGrath <roland@hack.frob.com>
7468 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
7470 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
7471 sysdeps/unix -> sysdeps/posix move.
7472 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7474 2012-08-07 Allan McRae <allan@archlinux.org>
7477 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
7478 (SUNOS_CPP): Likewise.
7479 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
7481 (open_input): Call CPP using execvp.
7483 2012-08-07 Joseph Myers <joseph@codesourcery.com>
7485 * sysdeps/unix/sysv/linux/kernel-features.h
7486 (__ASSUME_PROT_GROWSUPDOWN): Remove.
7487 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7488 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7489 (__ASSUME_WAITID_SYSCALL): Likewise.
7490 * sysdeps/unix/sysv/linux/dl-execstack.c
7491 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
7493 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
7495 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
7496 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
7497 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
7499 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
7501 [__ASSUME_WAITID_SYSCALL]: Likewise.
7502 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
7504 2012-08-07 Roland McGrath <roland@hack.frob.com>
7506 * sysdeps/unix/closedir.c: Renamed to ...
7507 * sysdeps/posix/closedir.c: ... here.
7508 * sysdeps/unix/dirfd.c: Renamed to ...
7509 * sysdeps/posix/dirfd.c: ... here.
7510 * sysdeps/unix/dirstream.h: Renamed to ...
7511 * sysdeps/posix/dirstream.h: ... here.
7512 * sysdeps/unix/fdopendir.c: Renamed to ...
7513 * sysdeps/posix/fdopendir.c: ... here.
7514 * sysdeps/unix/opendir.c: Renamed to ...
7515 * sysdeps/posix/opendir.c: ... here.
7516 * sysdeps/unix/readdir.c: Renamed to ...
7517 * sysdeps/posix/readdir.c: ... here.
7518 * sysdeps/unix/readdir_r.c: Renamed to ...
7519 * sysdeps/posix/readdir_r.c: ... here.
7520 * sysdeps/unix/rewinddir.c: Renamed to ...
7521 * sysdeps/posix/rewinddir.c: ... here.
7522 * sysdeps/unix/seekdir.c: Renamed to ...
7523 * sysdeps/posix/seekdir.c: ... here.
7524 * sysdeps/unix/telldir.c: Renamed to ...
7525 * sysdeps/posix/telldir.c: ... here.
7526 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
7527 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
7528 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
7529 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
7531 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
7532 * bits/fcntl.h: ... here.
7534 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
7536 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
7537 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
7538 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
7539 (struct flock): Move l_start, l_len to the beginning.
7540 Use __pid_t for l_pid.
7541 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
7542 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
7543 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
7544 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
7545 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
7546 [__USE_LARGEFILE64] (struct flock64): New type.
7547 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
7549 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
7550 * bits/dirent.h: ... here.
7552 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
7553 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
7555 2012-08-07 Joseph Myers <joseph@codesourcery.com>
7557 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7558 Change from 2.6.0 to 2.6.16.
7559 * sysdeps/unix/sysv/linux/configure: Regenerated.
7560 * sysdeps/unix/sysv/linux/kernel-features.h
7561 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
7562 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
7564 (__ASSUME_UTIMES): Likewise.
7565 (__ASSUME_CLONE_STOPPED): Remove.
7566 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
7567 architectures, not kernel version.
7568 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
7569 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7570 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7571 (__ASSUME_WAITID_SYSCALL): Likewise.
7572 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
7573 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
7574 * README: State 2.6.16 as minimum Linux kernel version. Do not
7575 refer to older versions.
7577 2012-08-06 Roland McGrath <roland@hack.frob.com>
7579 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
7580 Define alphasort64 as an alias.
7581 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
7582 Define versionsort64 as an alias.
7583 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
7584 Define scandir64 as an alias.
7585 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
7586 Define scandirat64 as an alias.
7587 * dirent/alphasort64.c (alphasort64):
7588 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
7589 * dirent/versionsort64.c: Likewise.
7590 * dirent/scandir64.c: Likewise.
7591 * dirent/scandirat64.c: Likewise.
7592 * sysdeps/wordsize-64/alphasort.c: File removed.
7593 * sysdeps/wordsize-64/alphasort64.c: File removed.
7594 * sysdeps/wordsize-64/scandir.c: File removed.
7595 * sysdeps/wordsize-64/scandir64.c: File removed.
7596 * sysdeps/wordsize-64/scandirat.c: File removed.
7597 * sysdeps/wordsize-64/scandirat64.c: File removed.
7598 * sysdeps/wordsize-64/versionsort.c: File removed.
7599 * sysdeps/wordsize-64/versionsort64.c: File removed.
7600 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
7601 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
7602 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
7603 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
7604 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
7605 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
7606 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
7607 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
7609 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
7610 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7611 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
7612 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7613 [defined __arch64__ || defined __sparcv9]
7614 (__INO_T_MATCHES_INO64_T): New macro.
7615 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7616 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
7617 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
7618 * sysdeps/unix/sysv/linux/bits/dirent.h
7619 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
7620 (_DIRENT_MATCHES_DIRENT64): New macro.
7622 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
7623 Define lockf64 as an alias.
7624 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
7625 Define fseeko64 as an alias.
7626 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
7627 Define ftello64 as an alias.
7628 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
7629 Define _IO_fgetpos64 and fgetpos64 as aliases.
7630 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
7631 Define _IO_fsetpos64 and fsetpos64 as aliases.
7632 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
7633 Conditionalize body on this.
7634 * libio/fseeko64.c: Likewise.
7635 * libio/ftello64.c: Likewise.
7636 * libio/iofgetpos64.c: Likewise.
7637 * libio/iofsetpos64.c: Likewise.
7638 * sysdeps/wordsize-64/lockf.c: File removed.
7639 * sysdeps/wordsize-64/lockf64.c: File removed.
7640 * sysdeps/wordsize-64/fseeko.c: File removed.
7641 * sysdeps/wordsize-64/fseeko64.c: File removed.
7642 * sysdeps/wordsize-64/ftello.c: File removed.
7643 * sysdeps/wordsize-64/ftello64.c: File removed.
7644 * sysdeps/wordsize-64/iofgetpos.c: File removed.
7645 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
7646 * sysdeps/wordsize-64/iofsetpos.c: File removed.
7647 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
7648 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
7649 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
7650 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
7651 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
7652 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
7653 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
7654 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
7655 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
7656 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
7657 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
7659 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7660 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7661 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
7662 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7663 [defined __arch64__ || defined __sparcv9]
7664 (__OFF_T_MATCHES_OFF64_T): New macro.
7665 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7666 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7667 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7668 (__OFF_T_MATCHES_OFF64_T): New macro.
7670 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7672 * stdlib/secure-getenv.c (__secure_getenv): Replace
7673 GLIBC_2_16 with GLIBC_2_17.
7675 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7677 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
7678 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7680 2012-08-03 David S. Miller <davem@davemloft.net>
7682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7684 2012-08-03 Joseph Myers <joseph@codesourcery.com>
7686 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
7688 (__ASSUME_CORRECT_SI_PID): Likewise.
7689 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
7690 (__ASSUME_TMPFS_NAME): Likewise.
7691 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
7692 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
7693 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
7694 (HAVE_AUX_SECURE): Make definition unconditional.
7695 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
7696 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
7698 2012-08-03 Roland McGrath <roland@hack.frob.com>
7700 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
7701 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
7702 * sysdeps/mach/hurd/eloop-threshold.h: New file.
7703 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7704 __eloop_threshold instead of SYMLOOP_MAX.
7706 * sysdeps/generic/eloop-threshold.h: New file.
7707 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
7709 * elf/chroot_canon.c (chroot_canon): Likewise.
7711 2012-08-03 Joseph Myers <joseph@codesourcery.com>
7714 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7715 Change to 2.6.0 everywhere.
7716 * sysdeps/unix/sysv/linux/configure: Regenerated.
7717 * sysdeps/unix/sysv/linux/kernel-features.h
7718 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
7719 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
7721 (__ASSUME_POSIX_TIMERS): Define unconditionally.
7722 (__ASSUME_FUTEX_REQUEUE): Remove.
7723 (__ASSUME_STATFS64): Define unconditionally.
7724 (__ASSUME_AT_SECURE): Likewise.
7725 (__ASSUME_CORRECT_SI_PID): Likewise.
7726 (__ASSUME_TGKILL): Define without depending on kernel version for
7728 (__ASSUME_UTIMES): Likewise.
7729 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
7731 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
7732 (__ASSUME_TMPFS_NAME): Likewise.
7733 * README: Update reference to Linux kernel versions.
7735 2012-08-02 Marek Polacek <polacek@redhat.com>
7738 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
7739 libc_cv_asm_type_prefix with %.
7740 * configure: Regenerated.
7741 * include/libc-symbols.h: Remove comment about
7742 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
7743 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
7744 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
7745 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
7746 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
7747 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
7748 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
7749 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
7750 * elf/tst-unique2mod1.c: Likewise.
7751 * elf/tst-unique1mod2.c: Likewise.
7752 * elf/tst-unique1mod1.c: Likewise.
7753 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
7754 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
7755 Replace ASM_TYPE_DIRECTIVE with .type.
7756 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7757 * sysdeps/i386/sysdep.h: Likewise.
7758 * sysdeps/x86_64/sysdep.h: Likewise.
7759 * sysdeps/sh/sysdep.h: Likewise.
7760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7761 Do not define ASM_TYPE_DIRECTIVE.
7762 * sysdeps/powerpc/sysdep.h: Likewise.
7763 * sysdeps/powerpc/powerpc32/sysdep.h:
7764 Replace ASM_TYPE_DIRECTIVE with .type.
7765 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7766 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7767 * sysdeps/i386/fpu/e_powf.S: Likewise.
7768 * sysdeps/i386/fpu/e_expl.S: Likewise.
7769 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7770 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7771 * sysdeps/i386/fpu/e_pow.S: Likewise.
7772 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7773 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7774 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7775 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7776 * sysdeps/i386/fpu/e_log2.S: Likewise.
7777 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7778 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7779 * sysdeps/i386/fpu/e_powl.S: Likewise.
7780 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7781 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7782 * sysdeps/i386/fpu/e_logl.S: Likewise.
7783 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7784 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7785 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7786 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7787 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7788 * sysdeps/i386/fpu/e_log.S: Likewise.
7789 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7790 * sysdeps/i386/fpu/e_logf.S: Likewise.
7791 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7792 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7793 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7794 * sysdeps/i386/fpu/e_log10.S: Likewise.
7795 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7796 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7797 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7798 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7799 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7800 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
7801 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7802 * sysdeps/i386/i686/strtok.S: Likewise.
7803 * sysdeps/i386/i386-mcount.S: Likewise.
7804 * sysdeps/i386/strtok.S: Likewise.
7805 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
7806 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7807 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7808 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7809 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7810 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7811 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7812 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7813 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7814 * sysdeps/x86_64/_mcount.S: Likewise.
7815 * sysdeps/x86_64/strtok.S: Likewise.
7816 * sysdeps/sh/_mcount.S: Likewise.
7818 2012-08-01 Roland McGrath <roland@hack.frob.com>
7820 * libio/iofopen.c: Include <fcntl.h>.
7821 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
7822 (_IO_fopen64, fopen64): Define as aliases.
7823 * libio/iofopen64.c: Include <fcntl.h>.
7824 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
7825 Conditionalize body on this.
7826 * sysdeps/wordsize-64/iofopen.c: File removed.
7827 * sysdeps/wordsize-64/iofopen64.c: File removed.
7829 2012-08-01 Marek Polacek <polacek@redhat.com>
7831 * libc/Makeconfig: Use elf in place of binfmt-subdir.
7832 Use dlfcn directly instead of a variable.
7833 (binfmt-subdir): Do not define.
7836 2012-08-01 Joseph Myers <joseph@codesourcery.com>
7838 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
7839 Remove all definitions.
7840 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
7841 <kernel-features.h>.
7842 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7843 (miss_F_GETOWN_EX): Remove all definitions.
7844 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
7846 [!__ASSUME_FCNTL64]: Remove conditional code.
7847 [__ASSUME_FCNTL64]: Make code unconditional.
7848 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
7849 <kernel-features.h>.
7850 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7851 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
7852 (lockf64) [__NR_fcntl64]: Make code unconditional.
7853 (lockf64) [__ASSUME_FCNTL64]: Likewise.
7855 * sysdeps/unix/sysv/linux/kernel-features.h
7856 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
7857 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
7858 Make code unconditional.
7859 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7860 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
7862 [__NR_vfork]: Make code unconditional.
7863 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7864 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
7866 [__NR_vfork]: Make code unconditional.
7867 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7868 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7870 2012-08-01 Roland McGrath <roland@hack.frob.com>
7872 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
7873 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
7875 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7876 Define mkstemp64 as an alias.
7877 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7878 Define mkstemps64 as an alias.
7879 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7880 Define mkostemp64 as an alias.
7881 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7882 Define mkostemps64 as an alias.
7883 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
7884 Conditionalize body on this.
7885 * misc/mkostemp64.c: Likewise.
7886 * misc/mkostemps64.c: Likewise.
7887 * misc/mkstemps64.c: Likewise.
7888 * sysdeps/wordsize-64/mkstemp64.c: File removed.
7889 * sysdeps/wordsize-64/mkostemp64.c: File removed.
7890 * sysdeps/wordsize-64/mkostemp.c: File removed.
7891 * sysdeps/wordsize-64/mkstemp.c: File removed.
7892 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
7893 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
7894 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
7895 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
7898 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
7899 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
7900 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
7901 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
7903 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
7904 compat_symbol macros from <shlib-compat.h> rather than the underlying
7905 default_symbol_version and symbol_version macros, so that DEFAULT
7906 lines in shlib-versions are respected.
7907 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
7909 2012-08-01 Florian Weimer <fweimer@redhat.com>
7911 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
7912 Declare with warn_unused_result.
7913 (setgid, setregid, setegid, setresgid): Likewise.
7914 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
7916 * WUR-REPORT: Remove set*id functions.
7918 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
7920 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
7922 2012-07-31 Roland McGrath <roland@hack.frob.com>
7924 * include/sys/socket.h (__libc_accept, __libc_accept4):
7925 Add attribute_hidden.
7926 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
7928 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
7930 * inet/getnetgrent_r.c (setup): Likewise.
7932 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
7934 2012-07-31 David S. Miller <davem@davemloft.net>
7936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7938 2012-07-31 Joseph Myers <joseph@codesourcery.com>
7941 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
7942 value between 1.0 and 2.0 and smaller part has absolute value less
7944 * math/s_clog10.c (__clog10): Likewise.
7945 * math/s_clog10f.c (__clog10f): Likewise.
7946 * math/s_clog10l.c (__clog10l): Likewise.
7947 * math/s_clogf.c (__clogf): Likewise.
7948 * math/s_clogl.c (__clogl): Likewise.
7949 * math/libm-test.inc (clog_test): Add more tests.
7950 (clog10_test): Likewise.
7951 * sysdeps/i386/fpu/libm-test-ulps: Update.
7952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7954 2012-07-31 Florian Weimer <fweimer@redhat.com>
7956 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
7957 Exit with zero in case no suitable GID is found, and write a
7958 message to standard error.
7960 2012-07-30 Roland McGrath <roland@hack.frob.com>
7962 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
7964 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
7965 (MAXPATHLEN): Removed.
7966 (NOGROUP, NODEV): New macros.
7967 (setbit, clrbit, isset, isclr): New macros.
7968 (howmany, roundup, powerof2): New macros.
7969 (DEV_BSIZE): New macro.
7971 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
7972 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
7974 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
7975 definition on [!__NO_LONG_DOUBLE_MATH].
7977 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
7978 PTR_MANGLE and PTR_DEMANGLE.
7980 * socket/accept4.c (accept4): Rename to __libc_accept4.
7981 Define accept4 as a weak alias.
7983 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
7984 on [_DIRENT_HAVE_D_TYPE].
7985 * io/ftw.c (ftw_dir): Likewise.
7987 * io/xmknod.c (__xmknod): Don't check PATH for being null.
7989 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
7991 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
7992 Use the BSD numbers rather than the arbitrary ones we had.
7993 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
7994 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
7995 (SIGXCPU, SIGXFSZ): New macros.
7998 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
7999 initializer on [_LIBC_REENTRANT].
8001 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
8002 definitions inside [_POSIX_MAPPED_FILES].
8004 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
8006 * dirent/opendir.c: Include <fcntl.h>.
8008 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
8009 (__libc_getspecific): Likewise.
8010 (__libc_key_create): Likewise.
8012 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
8013 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
8014 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
8015 (tmpfile64): Define as alias.
8016 * sysdeps/wordsize-64/tmpfile.c: File removed.
8017 * sysdeps/wordsize-64/tmpfile64.c: File removed.
8018 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
8019 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
8021 * stdio-common/vfscanf.c: Include <stdbool.h>.
8022 * nss/makedb.c: Likewise.
8023 * stdio-common/_i18n_number.h: Likewise.
8024 * argp/argp-help.c: Likewise.
8025 * posix/wordexp.c: Likewise.
8026 * sysdeps/posix/spawni.c: Likewise.
8027 * nss/nss_files/files-initgroups.c: Likewise.
8028 * stdio-common/reg-modifier.c: Include <stdlib.h>.
8029 * nss/nss_files/files-initgroups.c: Likewise.
8030 * nss/nss_db/db-netgrp.c: Likewise.
8031 * nss/nss_db/db-initgroups.c: Likewise.
8032 * io/fchmodat.c: Include <sys/stat.h>.
8034 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
8035 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
8037 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
8040 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
8041 Add multiple inclusion protection.
8043 2012-07-27 David S. Miller <davem@davemloft.net>
8045 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8047 2012-07-27 Gary Benson <gbenson@redhat.com>
8050 * elf/rtld.c: Include <stap-probe.h>.
8051 (dl_main): Added static probes "init_start" and "init_complete".
8052 * elf/dl-load.c: Include <stap-probe.h>.
8053 (lose): Take new parameter "nsid".
8054 Added static probe "map_failed".
8055 (_dl_map_object_from_fd): Pass namespace id to lose.
8056 Added static probe "map_start".
8057 (open_verify): Pass namespace id to lose.
8058 * elf/dl-open.c: Include <stap-probe.h>.
8059 (dl_open_worker) Added static probes "map_complete", "reloc_start"
8060 and "reloc_complete".
8061 * elf/dl-close.c: Include <stap-probe.h>.
8062 (_dl_close_worker): Added static probes "unmap_start" and
8064 * elf/rtld-debugger-interface.txt: New file documenting the above.
8066 2012-07-26 Roland McGrath <roland@hack.frob.com>
8068 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
8069 rather than a string variable.
8070 * sunrpc/rpc_main.c (h_output): Likewise.
8071 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
8073 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
8075 * inet/check_native.c: New file.
8077 2012-07-26 Joseph Myers <joseph@codesourcery.com>
8080 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
8081 if larger part has absolute value 1.0.
8082 * math/s_clog10.c (__clog10): Likewise.
8083 * math/s_clog10f.c (__clog10f): Likewise.
8084 * math/s_clog10l.c (__clog10l): Likewise.
8085 * math/s_clogf.c (__clogf): Likewise.
8086 * math/s_clogl.c (__clogl): Likewise.
8087 * math/libm-test.inc (clog_test): Add more tests.
8088 (clog10_test): Likewise.
8089 * sysdeps/i386/fpu/libm-test-ulps: Update.
8090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8092 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
8093 (pltexit): Likewise.
8094 (La_regs): Likewise.
8095 (La_retval): Likewise.
8096 (int_retval): Likewise.
8097 Update #error for removed macros to refer only to definitions in
8099 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
8101 (pltexit): Likewise.
8102 (La_regs): Likewise.
8103 (La_retval): Likewise.
8104 (int_retval): Likewise.
8105 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
8107 (pltexit): Likewise.
8108 (La_regs): Likewise.
8109 (La_retval): Likewise.
8110 (int_retval): Likewise.
8111 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
8113 (pltexit): Likewise.
8114 (La_regs): Likewise.
8115 (La_retval): Likewise.
8116 (int_retval): Likewise.
8117 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
8119 (pltexit): Likewise.
8120 (La_regs): Likewise.
8121 (La_retval): Likewise.
8122 (int_retval): Likewise.
8123 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
8125 (pltexit): Likewise.
8126 (La_regs): Likewise.
8127 (La_retval): Likewise.
8128 (int_retval): Likewise.
8129 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
8131 (pltexit): Likewise.
8132 (La_regs): Likewise.
8133 (La_retval): Likewise.
8134 (int_retval): Likewise.
8135 * sysdeps/generic/tst-audit.h: Update comment to refer only to
8136 macro definitions in tst-audit.h.
8137 * sysdeps/i386/tst-audit.h: New file.
8138 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
8139 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
8140 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
8141 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
8142 * sysdeps/sh/tst-audit.h: Likewise.
8143 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
8144 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
8145 * sysdeps/x86_64/tst-audit.h: Likewise.
8147 2012-07-26 Andreas Jaeger <aj@suse.de>
8149 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
8152 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
8153 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
8154 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
8156 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
8157 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
8158 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
8160 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
8163 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
8165 (si_call_addr, si_syscall, si_arch): Define new macro.
8166 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
8168 (si_call_addr, si_syscall, si_arch): Define new marcro.
8169 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
8171 (si_call_addr, si_syscall, si_arch): Define new macro.
8172 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
8174 (si_call_addr, si_syscall, si_arch): Define new macro.
8176 2012-07-25 Joseph Myers <joseph@codesourcery.com>
8179 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8180 Change to 2.4.21 where previously 2.4.1.
8181 * sysdeps/unix/sysv/linux/configure: Regenerated.
8182 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
8183 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
8184 Linux kernel version.
8185 (__ASSUME_STD_AUXV): Remove.
8186 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
8188 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
8189 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
8190 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
8191 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
8192 (__ASSUME_NETLINK_SUPPORT): Likewise.
8193 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
8194 (__no_netlink_support): Remove conditional definition.
8195 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
8197 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8198 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
8199 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
8200 (if_nameindex_ioctl): Remove.
8201 (if_nameindex_netlink): Do not handle __no_netlink_support.
8202 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8204 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
8205 Remove conditional code.
8206 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8208 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
8210 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8211 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
8212 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
8214 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
8215 [!__ASSUME_STD_AUXV]: Remove conditional code.
8216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
8217 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
8218 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
8219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
8220 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
8221 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8223 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8225 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
8226 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8228 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8230 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8233 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
8236 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8238 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8240 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8242 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8245 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8247 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
8250 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8252 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8254 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8256 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
8259 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8261 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8263 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8265 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8268 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8270 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
8271 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
8272 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8273 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
8274 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
8275 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8276 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8277 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8278 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
8279 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8280 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
8281 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
8282 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
8283 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8284 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8285 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
8286 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
8287 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
8288 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
8289 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
8290 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
8291 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8292 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8294 2012-07-25 Florian Weimer <fweimer@redhat.com>
8296 * Versions.def: Add GLIBC_2.17.
8297 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
8298 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
8299 Introduce __libc_secure_getenv.
8300 * stdlib/Versions (2.17): Add secure_getenv
8301 (GLIBC_PRIVATE): Add __libc_secure_getenv.
8302 * stdlib/secure-getenv.c: Rename __secure_getenv to
8303 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
8304 symbol __secure_getenv for GLIBC_2.0.
8305 * stdlib/tst-secure-getenv.c: New.
8306 * stdlib/Makefile (tests): Add testcase.
8307 * manual/startup.texi (Environment Access): Document
8309 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
8310 __libc_secure_getenv.
8311 * inet/ruserpass.c (ruserpass): Likewise.
8312 * malloc/mtrace.c (mtrace): Likewise.
8313 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
8314 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
8315 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
8316 * sysdeps/posix/tempname.c: Likewise. Evaluate
8318 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
8319 __secure_getenv to __libc_secure_getenv.
8320 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
8321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8326 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8327 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8328 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8329 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8330 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8331 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
8333 2012-07-25 Joseph Myers <joseph@codesourcery.com>
8335 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
8336 (struct La_i86_retval): Likewise.
8337 (struct La_x86_64_regs): Likewise.
8338 (struct La_x86_64_retval): Likewise.
8339 (struct La_x32_regs): Likewise.
8340 (struct La_x32_retval): Likewise.
8341 (struct La_ppc32_regs): Likewise.
8342 (struct La_ppc32_retval): Likewise.
8343 (struct La_ppc64_regs): Likewise.
8344 (struct La_ppc64_retval): Likewise.
8345 (struct La_sh_regs): Likewise.
8346 (struct La_sh_retval): Likewise.
8347 (struct La_s390_32_regs): Likewise.
8348 (struct La_s390_32_retval): Likewise.
8349 (struct La_s390_64_regs): Likewise.
8350 (struct La_s390_64_retval): Likewise.
8351 (struct La_sparc32_regs): Likewise.
8352 (struct La_sparc32_retval): Likewise.
8353 (struct La_sparc64_regs): Likewise.
8354 (struct La_sparc64_retval): Likewise.
8355 (struct audit_ifaces): Remove architecture-specific pltenter and
8357 * sysdeps/i386/ldsodefs.h: New file.
8358 * sysdeps/powerpc/ldsodefs.h: Likewise.
8359 * sysdeps/s390/ldsodefs.h: Likewise.
8360 * sysdeps/sh/ldsodefs.h: Likewise.
8361 * sysdeps/sparc/ldsodefs.h: Likewise.
8362 * sysdeps/x86_64/ldsodefs.h: Likewise.
8364 2012-07-25 Marek Polacek <polacek@redhat.com>
8367 * math/libm-test.inc (yn_test): Add another test.
8368 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
8369 to ERANGE when the result is +-Inf.
8370 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8371 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
8372 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
8373 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
8375 2012-07-24 Joseph Myers <joseph@codesourcery.com>
8377 * conform/data/time.h-data (NULL): Use macro-constant. Require
8379 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
8381 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
8383 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
8385 * configure.in <sysdeps resolving>: Correct printing
8387 * configure: Regenerate.
8389 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
8391 * math/w_ilogb.c: Include <limits.h>.
8392 * math/w_ilogbl.c: Likewise.
8394 2012-07-20 Joseph Myers <joseph@codesourcery.com>
8396 * manual/lang.texi (__va_copy): Document primarily as ISO C99
8397 va_copy. Document allowing for unavailable va_copy only as
8398 pre-C99 compatibility.
8399 * manual/string.texi (Copying and Concatenation): Use va_copy
8400 instead of __va_copy in concat example.
8402 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
8404 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
8405 (__sendto): Use create_address_port. Initialize APORT and deallocate
8408 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
8409 with O_NOLINK passed to __file_name_lookup.
8411 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
8412 with O_NOLINK passed to __file_name_lookup.
8414 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
8415 negative N or less than NGIDS.
8417 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
8418 type to string_t. Set ERANGE as errno and return it if NAME is not big
8419 enough. Use memcpy instead of strncpy.
8421 2012-07-20 Joseph Myers <joseph@codesourcery.com>
8423 * elf/Makefile (check-data): Remove.
8424 (localplt.data): New vpath directive.
8425 ($(objpfx)check-localplt.out): Use localplt.data from vpath
8426 instead of $(check-data).
8427 * scripts/data/localplt-generic.data: Move to ...
8428 * sysdeps/generic/localplt.data: ... here.
8429 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
8430 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
8431 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
8432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8434 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
8435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8437 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
8438 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
8440 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
8441 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8443 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
8444 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
8446 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
8447 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
8450 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8452 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
8453 PPC32 and PPC64 files.
8454 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
8455 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
8457 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8459 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
8460 __makecontext_ret to ...
8461 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
8462 ... here and call exit if uc_link is NULL. New file.
8463 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
8464 __makecontext_ret.S.
8465 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
8466 __makecontext_ret to ...
8467 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
8468 ... here and call exit if uc_link is NULL. New file.
8469 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
8470 __makecontext_ret.S.
8472 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8474 * elf/elf.h (R_390_IRELATIVE): New definition.
8475 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
8476 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
8477 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
8478 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8479 (elf_machine_lazy_rel): Likewise.
8480 * sysdeps/s390/dl-irel.h: New file.
8481 * sysdeps/s390/s390-64/memcpy.S: New asm code.
8482 * sysdeps/s390/s390-64/memset.S: New asm code.
8483 * sysdeps/s390/s390-64/memcmp.S: New asm code.
8484 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
8485 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
8486 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
8487 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
8488 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
8489 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
8490 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
8491 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
8492 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
8493 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
8494 * sysdeps/s390/s390-32/memcpy.S: New asm code.
8495 * sysdeps/s390/s390-32/memset.S: New asm code.
8496 * sysdeps/s390/s390-32/memcmp.S: New asm code.
8498 2012-07-17 Marek Polacek <polacek@redhat.com>
8501 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
8502 * sysdeps/s390/s390-64/configure.in: Likewise.
8503 * sysdeps/sparc/configure.in: Likewise.
8504 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
8505 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
8506 * sysdeps/i386/configure.in: Likewise.
8507 * sysdeps/x86_64/configure.in: Likewise.
8508 * sysdeps/sh/configure.in: Likewise.
8509 * sysdeps/s390/s390-32/configure: Regenerated.
8510 * sysdeps/s390/s390-64/configure: Likewise.
8511 * sysdeps/x86_64/configure: Likewise.
8512 * sysdeps/sh/configure: Likewise.
8513 * sysdeps/powerpc/powerpc64/configure: Likewise.
8514 * sysdeps/powerpc/powerpc32/configure: Likewise.
8515 * sysdeps/sparc/configure: Likwise.
8516 * sysdeps/i386/configure: Likewise.
8518 * elf/dl-open.c: Comment fixes.
8520 2012-07-17 Joseph Myers <joseph@codesourcery.com>
8522 * Makefile [CXX] (check-data): Remove.
8523 [CXX] (c++-types.data): New vpath directive.
8524 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
8525 vpath. Do not allow for C++ type data being missing.
8526 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
8527 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
8528 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
8529 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
8530 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
8531 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
8532 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
8533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8535 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
8536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8538 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
8539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
8541 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
8542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
8544 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
8545 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
8547 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
8548 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
8550 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
8551 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
8553 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
8554 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
8556 * elf/tls-macros.h (TLS_LE): Move architecture-specific
8557 definitions to architecture-specific files.
8561 * sysdeps/i386/tls-macros.h: New file.
8562 * sysdeps/powerpc/tls-macros.h: Likewise.
8563 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
8564 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
8565 * sysdeps/sh/tls-macros.h: Likewise.
8566 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
8567 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
8568 * sysdeps/x86_64/tls-macros.h: Likewise.
8570 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8572 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
8573 zero value for regular exit case.
8575 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8576 (__start_context): Preserve zero value for regular exit case.
8578 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8579 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8581 * manual/setjmp.texi (setcontext): Clarify normal process
8582 termination when uc_link is the null pointer.
8583 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
8586 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
8588 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
8589 preprocessor. Test for each exception mask separately.
8591 2012-07-16 Andreas Jaeger <aj@suse.de>
8593 * po/ru.po: Update from translation team.
8595 2012-07-15 Joseph Myers <joseph@codesourcery.com>
8597 * conform/data/string.h-data (NULL): Use macro-constant. Require
8599 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8600 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8601 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
8602 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
8603 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8605 2012-07-13 Andreas Jaeger <aj@suse.de>
8607 * po/fr.po: Update from translation team.
8609 2012-07-12 Marek Polacek <polacek@redhat.com>
8612 * math/libm-test.inc (yn_test): Add test for BZ #14173.
8613 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
8616 2012-07-12 Joseph Myers <joseph@codesourcery.com>
8619 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8620 Change to 2.4.1 where previously 2.4.0.
8621 * sysdeps/unix/sysv/linux/configure: Regenerated.
8622 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
8623 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
8625 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
8626 (__ASSUME_AT_CLKTCK): Remove.
8627 (__ASSUME_AT_PAGESIZE): Likewise.
8628 (__ASSUME_AT_XID): Likewise.
8629 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
8630 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
8631 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
8633 (HAVE_AUX_PAGESIZE): Likewise.
8634 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
8635 [__ASSUME_AT_CLKTCK]: Make code unconditional.
8636 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
8638 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
8641 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
8642 the temporary buffer used to invoke __gethostbyname2_r,
8643 __gethostbyaddr_r and gethostbyname4_r to make room for struct
8644 host_data / struct gaih_addrtuple.
8645 * resolv/nss_dns/dns-host.c (global scope): Move definition of
8646 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
8647 header file nss/nsswitch.h.
8648 * nss/nsswitch.h (global scope): Add definition of implementation
8649 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
8650 resolv/nss_dns/dns-host.c).
8652 2012-07-11 Andreas Jaeger <aj@suse.de>
8654 * po/fr.po: Update from translation team.
8656 * po/sv.po: Update from translation team
8657 * po/fr.po: Another update from translation team.
8659 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8661 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
8662 for subnormals or multiply small sinh result by itself.
8663 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8666 2012-07-11 David S. Miller <davem@davemloft.net>
8668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8670 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
8673 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
8674 (INTERNAL_MARK): Shift it here.
8676 2012-07-10 Marek Polacek <polacek@redhat.com>
8679 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
8680 libc_cv_asm_global_directive with .globl.
8681 * configure: Regenerated.
8682 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
8684 * sysdeps/i386/configure: Regenerated.
8685 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
8687 * sysdeps/x86_64/configure: Regenerated.
8688 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
8689 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
8690 * elf/tst-unique2mod2.c: Likewise.
8691 * elf/tst-unique2mod1.c: Likewise.
8692 * elf/tst-unique1mod2.c: Likewise.
8693 * elf/tst-unique1mod1.c: Likewise.
8694 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8695 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8696 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8697 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8698 * sysdeps/mach/sysdep.h: Likewise.
8699 * sysdeps/i386/sysdep.h: Likewise.
8700 * sysdeps/i386/i386-mcount.S: Likewise.
8701 * sysdeps/x86_64/_mcount.S: Likewise.
8702 * sysdeps/x86_64/sysdep.h: Likewise.
8703 * sysdeps/sh/_mcount.S: Likewise.
8704 * sysdeps/sh/sysdep.h: Likewise.
8705 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
8706 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
8707 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
8708 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8709 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
8710 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
8711 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
8712 * locale/localeinfo.h: Likewise.
8713 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
8714 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
8716 2012-07-09 Roland McGrath <roland@hack.frob.com>
8719 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
8721 * manual/message.texi (The Uniforum approach): Likewise.
8722 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
8723 (glibc iconv Implementation): Likewise.
8725 2012-07-09 Joseph Myers <joseph@codesourcery.com>
8728 * math/s_clog.c (__clog): Avoid scaling a value down where that
8729 could result in underflow.
8730 * math/s_clog10.c (__clog10): Likewise.
8731 * math/s_clog10f.c (__clog10f): Likewise.
8732 * math/s_clog10l.c (__clog10l): Likewise.
8733 * math/s_clogf.c (__clogf): Likewise.
8734 * math/s_clogl.c (__clogl): Likewise.
8735 * math/libm-test.inc (clog_test): Add more tests.
8736 (clog10_test): Likewise.
8737 * sysdeps/i386/fpu/libm-test-ulps: Update.
8738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8740 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8743 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
8744 by 7 not 8 to examine high bit of fractional part.
8747 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
8748 for call to __mcount_internal.
8749 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
8750 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
8751 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
8753 2012-07-06 Joseph Myers <joseph@codesourcery.com>
8756 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
8757 approximation for values within 0x1p-13f of an odd multiple of
8759 * math/libm-test.inc (tan_test): Do not allow spurious underflow
8760 exception. Add more tests.
8761 * sysdeps/i386/fpu/libm-test-ulps: Update.
8764 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
8765 inputs and return -1 for them. Do not check for +Inf in case not
8767 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8768 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
8769 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8770 and return -1 for them. Do not check for +Inf in case not
8772 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
8774 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8775 and return -1 for them. Do not check for +Inf in case not
8777 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
8779 * sysdeps/i386/fpu/libm-test-ulps: Update.
8780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8782 2012-07-06 Mike Frysinger <vapier@gentoo.org>
8784 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
8786 2012-07-05 Joseph Myers <joseph@codesourcery.com>
8790 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
8791 could result in spurious underflow. Scale down values above
8792 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
8793 * math/s_csqrtf.c (__csqrtf): Likewise.
8794 * math/s_csqrtl.c (__csqrtl): Likewise.
8795 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
8797 * sysdeps/i386/fpu/libm-test-ulps: Update.
8798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8800 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
8802 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
8804 * catgets/xopen-msg.awk: New file.
8805 * catgets/xopen-msg.sed: Removed.
8807 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
8809 * intl/po2test.awk: New file.
8810 * intl/po2test.sed: Removed.
8812 2012-07-04 Joseph Myers <joseph@codesourcery.com>
8815 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
8816 or multiply small sinh result by itself.
8817 * math/s_ctanf.c (__ctanf): Likewise.
8818 * math/s_ctanh.c (__ctanh): Likewise.
8819 * math/s_ctanhf.c (__ctanhf): Likewise.
8820 * math/s_ctanhl.c (__ctanhl): Likewise.
8821 * math/s_ctanl.c (__ctanl): Likewise.
8822 * math/libm-test.inc (ctan_test_tonearest): New function.
8823 (ctan_test_towardzero): Likewise.
8824 (ctan_test_downward): Likewise.
8825 (ctan_test_upward): Likewise.
8826 (ctanh_test_tonearest): Likewise.
8827 (ctanh_test_towardzero): Likewise.
8828 (ctanh_test_downward): Likewise.
8829 (ctanh_test_upward): Likewise.
8830 (main): Call these new functions.
8831 * sysdeps/i386/fpu/libm-test-ulps: Update.
8832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8834 2012-07-03 Mike Frysinger <vapier@gentoo.org>
8836 * .gitignore: Delete /ports entry.
8838 2012-07-03 Andreas Jaeger <aj@suse.de>
8840 * po/bg.po: Update from translation team.
8841 * po/cs.po: Likewise.
8842 * po/de.po: Likewise.
8843 * po/hr.po: Likewise.
8844 * po/nl.pl: Likewise.
8845 * po/pl.po: Likewise.
8846 * po/vi.po: Likewise.
8848 2012-07-03 Joseph Myers <joseph@codesourcery.com>
8850 * Makeconfig [!+link] (+link-before-libc): New variable.
8851 [!+link] (+link-after-libc): Likewise.
8852 [!+link] (+link-tests): Likewise.
8853 [!+link] (+link): Define in terms of $(+link-before-libc) and
8854 $(+link-after-libc).
8855 [!+link-static] (+link-static-before-libc): New variable.
8856 [!+link-static] (+link-static-after-libc): Likewise.
8857 [!+link-static] (+link-static-tests): Likewise.
8858 [!+link-static] (+link-static): Define in terms of
8859 $(+link-static-before-libc) and $(+link-static-after-libc).
8860 [build-shared] (link-libc-before-gnulib): New variable.
8861 [build-shared] (link-libc-tests): Likewise.
8862 [build-shared] (link-libc): Define in terms of
8863 $(link-libc-before-gnulib).
8864 [!build-shared] (link-libc-tests): New variable.
8865 (link-libc-static-tests): New variable.
8866 [!gnulib] (gnulib-arch): New variable.
8867 [!gnulib] (gnulib-tests): Likewise.
8868 [!gnulib] (static-gnulib-arch): Likewise.
8869 [!gnulib] (static-gnulib-tests): Likewise.
8870 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
8871 Define with "=" instead of ":=".
8872 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
8873 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
8874 * Rules (binaries-all-notests): New variable.
8875 (binaries-all-tests): Likewise.
8876 (binaries-static-notests): Likewise.
8877 (binaries-static-tests): Likewise.
8878 (binaries-all): Define using $(binaries-all-notests) and
8879 $(binaries-all-tests).
8880 (binaries-static): Define using $(binaries-static-notests) and
8881 $(binaries-static-tests).
8882 (binaries-shared-tests): New variable.
8883 (binaries-shared-notests): Likewise.
8884 (binaries-shared): Remove variable.
8885 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
8886 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
8887 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
8888 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
8889 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
8890 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
8891 * elf/Makefile (sln-modules): New variable.
8892 (extra-objs): Add $(sln-modules:=.o).
8893 (ldconfig-modules): Add static-stubs.
8894 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
8895 * elf/static-stubs.c: New file.
8898 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
8899 by 7 not 8 to examine high bit of fractional part. Use volatile
8900 variables when splitting into final array of floats if
8901 __FLT_EVAL_METHOD__ != 0.
8902 * math/libm-test.inc (cos_test): Add another test.
8903 (sin_test): Likewise.
8904 * sysdeps/i386/fpu/libm-test-ulps: Update.
8907 * math/libm-test.inc (cosh_test): Add more tests.
8909 * version.h (RELEASE): Set to "development".
8910 (VERSION): Set to "2.16.90".
8912 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
8914 * NEWS: Update copyright. Remove last-updated date.
8915 Mention math library bug fixes and timezone data changes.
8916 * README: Mention GNU/Hurd, x32, and HPPA support status.
8918 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
8920 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
8922 2012-06-27 Andreas Jaeger <aj@suse.de>
8924 * manual/contrib.texi (Contributors): Add Samuel Thibault.
8926 2012-06-25 Andreas Jaeger <aj@suse.de>
8928 * sysdeps/s390/fpu/libm-test-ulps: Update.
8930 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
8931 Thomas Schwinge <thomas@codesourcery.com>
8933 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
8934 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
8935 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
8938 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
8940 * sysdeps/mach/start.c: Remove file.
8941 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
8942 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
8943 * sysdeps/sh/init-first.c: Likewise.
8945 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
8946 registers for frame unwinding purposes, add CFI directives.
8947 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8948 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
8949 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
8952 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
8953 __fortify_fail returning.
8954 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8956 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
8957 sysdeps/sh/____longjmp_chk.S.
8958 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
8959 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
8960 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
8961 (gen-as-const-headers): Append sigaltstack-offsets.sym.
8963 * sysdeps/sh/abort-instr.h: New file.
8964 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
8965 process in case exit returns.
8967 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
8968 initialize the GOT register before use.
8970 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
8971 calculation of ARGC > 4.
8973 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
8974 meaningful names to some local labels.
8976 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8977 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8979 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
8980 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
8981 (__arch_compare_and_exchange_val_16_acq): Likewise.
8982 (__arch_compare_and_exchange_val_32_acq): Likewise.
8983 (atomic_exchange_and_add): Fix gUSA sequence.
8984 (atomic_add): Likewise.
8985 (atomic_add_negative): Likewise.
8986 (atomic_add_zero): Likewise.
8987 (atomic_bit_test_set): Likewise.
8989 2012-06-22 Andreas Schwab <schwab@redhat.com>
8992 * include/link.h (struct link_map): Add l_free_initfini.
8993 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
8995 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
8996 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
8997 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
9000 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
9002 * configure.in: Use AC_LANG_SOURCE.
9003 * configure: Regenerate.
9005 2012-06-22 Roland McGrath <roland@hack.frob.com>
9007 * configure.in (libc_cv_localstatedir): New substituted variable.
9008 * configure: Regenerated.
9009 * config.make.in (localstatedir): New variable, substituted from
9010 libc_cv_localstatedir.
9011 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
9012 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
9013 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
9014 * sysdeps/gnu/configure: Regenerated.
9016 2012-06-21 Jeff Law <law@redhat.com>
9019 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
9020 free. Simplify list management for _LIBC case.
9022 2012-06-21 Joseph Myers <joseph@codesourcery.com>
9025 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9026 Clear sign bit of 64-bit integer value before comparing against
9029 * sysdeps/mach/configure: Regenerated.
9031 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
9034 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
9036 2012-06-21 Jeff Law <law@redhat.com>
9039 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
9040 uint16_t for elements in the "seen" array to avoid char overflows.
9041 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9042 * elf/dl-open.c (dl_open_worker): Likewise.
9044 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
9046 * scripts/list-sources.sh: Scan PORTS for translations.
9047 * po/libc.pot: Regenerated.
9049 2012-06-21 Andreas Jaeger <aj@suse.de>
9052 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
9054 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
9055 * bits/byteswap-16.h (__bswap_16): Likewise.
9056 * bits/byteswap.h (__bswap_constant_16): Likewise.
9058 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
9061 * sysdeps/i386/fpu_control.h: Removed.
9062 * sysdeps/x86_64/fpu_control.h: Moved to ...
9063 * sysdeps/x86/fpu_control.h: Here.
9065 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
9066 (_FPU_SETCW): Likewise.
9068 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
9071 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
9072 * sysdeps/x86/fpu/bits/mathinline.h: This.
9073 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
9077 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
9078 functions if __x86_64__ is defined.
9080 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
9082 * string/endian.h: Add !__ASSEMBLER__ condition for including
9083 conversion interfaces.
9085 2012-06-15 Joseph Myers <joseph@codesourcery.com>
9088 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
9089 of ABS(x) in calculating zero to negative powers other than odd
9091 * math/libm-test.inc (pow_test): Add more tests.
9093 2012-06-15 Andreas Jaeger <aj@suse.de>
9095 * manual/contrib.texi (Contributors): Update entry of Liubov
9096 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
9099 2012-06-15 Cyril Hrubis <metan@ucw.cz>
9101 * string/string.h: Add __wur to GNU version of strerror_r.
9103 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
9106 * string/Makefile (tests): Add tst-strtok_r.
9107 * string/tst-strtok_r.c: New file.
9108 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
9109 RAX_LP/RDX_LP on SAVE_PTR.
9111 2012-06-14 Roland McGrath <roland@hack.frob.com>
9113 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
9115 2012-06-14 Joseph Myers <joseph@codesourcery.com>
9117 * libm_test.inc (csqrt_test): Allow more spurious underflow
9119 (j0_test): Likewise.
9120 (j1_test): Likewise.
9121 (y0_test): Likewise.
9122 (y1_test): Likewise.
9124 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
9126 * po/Makefile (libc.pot): Use UTF-8 charset.
9128 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
9131 Suppress sign-conversion warning from FD_SET.
9132 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
9133 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
9134 not unsigned long int.
9135 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
9137 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
9141 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
9142 __extern_always_inline instead of __extern_inline.
9143 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
9144 (__signbit): Likewise.
9145 (__signbitl): Support C++ namespace.
9146 (lrintf): New inline function.
9148 (llrintf): Likewise.
9160 (nearbyint): Likewise.
9161 (nearbyintf): Likewise.
9163 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
9165 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
9166 non-default versions.
9168 2012-06-11 Roland McGrath <roland@hack.frob.com>
9171 * manual/argp.texi (Argp): Reword argp_parse description slightly.
9173 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
9175 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
9176 (FE_UPWARD, FE_DOWNWARD): Don't define.
9177 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
9178 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9180 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
9182 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9183 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9185 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9187 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9188 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
9189 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
9190 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
9192 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
9195 * sysdeps/i386/fpu/bits/fenv.h: Removed.
9196 * sysdeps/i386/fpu/Implies: New file.
9197 * sysdeps/x86_64/fpu/Implies: Likewise.
9198 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
9199 * sysdeps/x86/fpu/bits/fenv.h: This.
9201 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
9204 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9207 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
9208 character 0xffff that matches the last element of the
9211 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9213 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
9216 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9218 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
9219 values higher than 25.6283.
9221 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9223 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
9224 subnormal exponent extraction and add some __builtin_expect.
9225 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
9226 Fix for subnormal mantissa calculation.
9228 2012-06-04 Mike Frysinger <vapier@gentoo.org>
9230 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
9231 cpu2 is -1 and errno is not ENOSYS.
9233 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
9236 * sysdeps/i386/i486/bits/string.h: Renamed to ...
9237 * sysdeps/x86/bits/string.h: This.
9238 * sysdeps/x86_64/bits/string.h: Removed.
9240 * sysdeps/i386/i486/bits/string.h: Define inline functions only
9241 if not compiling for x86-64, but compiling for >= i486.
9243 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
9244 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
9246 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
9247 New macro from Linux kernel 3.4.0.
9248 (FP_XSTATE_MAGIC2): Likewise.
9249 (FP_XSTATE_MAGIC2_SIZE): Likewise.
9250 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
9251 (struct _fpx_sw_bytes): New struct.
9252 (struct _xsave_hdr): Likewise.
9253 (struct _ymmh_state): Likewise.
9254 (struct _xstate): Likewise.
9256 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
9257 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
9258 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
9259 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
9260 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
9261 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
9263 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
9264 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
9265 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
9266 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
9267 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
9268 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
9270 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9273 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
9274 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
9275 (sysdep_headers): Include sys/platform/ppc.h.
9276 * sysdeps/powerpc/test-gettimebase.c: Test for
9277 __ppc_get_timebase() to catch future ISA opcode/insn changes.
9278 * manual/Makefile (appendices): Include platform.texi.
9279 * manual/contrib.texi (Contributors): Update @node pointers.
9280 * manual/maint.texi (Maintenance): Likewise.
9281 (Platform): New node.
9282 * manual/platform.texi: New file. Document the new features.
9284 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9285 Jakub Jelinek <jakub@redhat.com>
9288 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
9289 where __builtin_expect is unavailable.
9291 2012-06-03 David S. Miller <davem@davemloft.net>
9293 * stdlib/longlong.h: Updated from GCC.
9295 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
9298 * sysdeps/powerpc/powerpc32/mcount.c: New file.
9299 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
9301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9302 (GLIBC_2.16): Likewise.
9304 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9306 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
9308 2012-06-01 Joseph Myers <joseph@codesourcery.com>
9310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
9311 (default-abi): New variable.
9312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
9313 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
9315 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
9317 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
9319 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
9322 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
9323 definition. Document in comment.
9325 2012-06-01 David S. Miller <davem@davemloft.net>
9327 * stdlib/longlong.h: Updated from GCC.
9329 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9332 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
9333 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
9334 sys/debugreg.h sys/io.h here.
9335 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
9336 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
9338 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
9339 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
9340 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
9341 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
9342 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
9343 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
9345 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
9346 Define only if __x86_64__ is defined.
9348 2012-06-01 Joseph Myers <joseph@codesourcery.com>
9351 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
9352 Use int64_t for variable i.
9353 * math/libm-test.inc (fmod_test): Add more tests.
9355 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
9356 z computation is not scheduled after fetestexcept.
9357 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
9358 Use math_force_eval instead of asm to ensure calculation scheduled
9359 before exception test.
9360 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
9361 Ensure a1 + u.d computation is not scheduled after fetestexcept.
9363 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
9365 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
9366 computation is not scheduled after fetestexcept.
9368 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9371 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
9372 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
9374 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9376 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
9377 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9379 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
9382 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
9384 (__WCHAR_MIN): Support __WORDSIZE == 64.
9385 (__WCHAR_MAX): Likewise.
9387 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
9388 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
9391 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
9392 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
9395 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
9396 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
9398 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
9399 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
9401 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
9402 Defined to 1 if __x86_64__ isn't defined.
9403 (_STAT_VER_LINUX_OLD): New.
9404 (st_atime): Remove duplicate.
9405 (st_mtime): Likewise.
9406 (st_ctime): Likewise.
9408 2012-05-31 David S. Miller <davem@davemloft.net>
9410 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
9413 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
9415 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
9419 * elf/dl-reloc.c: Include <_itoa.h>.
9420 (_dl_reloc_bad_type): Remove use of INTUSE.
9421 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
9422 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
9423 * stdio-common/psiginfo.c (psiginfo): Likewise.
9424 * stdio-common/psignal.c (psignal): Likewise.
9425 * string/strsignal.c (strsignal): Likewise.
9426 * include/signal.h (_sys_siglist): Declare hidden proto.
9427 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
9428 INTVARDEF with libc_hidden_data_def.
9429 * stdio-common/itoa-udigits.c: Likewise.
9430 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
9431 (_itoa_lower_digits_internal): Remove declaration.
9432 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
9433 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
9434 (_sys_sigabbrev_internal): Remove aliases.
9435 (_sys_siglist): Define hidden alias.
9437 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
9439 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9442 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
9445 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
9446 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
9448 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
9449 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
9450 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
9451 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
9452 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
9453 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
9455 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
9456 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
9457 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
9459 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
9467 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
9468 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
9469 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
9471 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
9472 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
9473 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
9474 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
9475 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
9476 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
9478 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
9479 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
9481 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
9482 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
9484 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
9485 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
9486 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
9488 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
9489 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
9491 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
9493 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
9494 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
9495 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
9497 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
9499 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
9501 2012-05-31 Joseph Myers <joseph@codesourcery.com>
9503 * math/math.h (M_El): Use two more decimal places.
9504 (M_LOG2El): Likewise.
9505 (M_LOG10El): Likewise.
9507 (M_LN10l): Likewise.
9509 (M_PI_2l): Likewise.
9510 (M_PI_4l): Likewise.
9511 (M_1_PIl): Likewise.
9512 (M_2_PIl): Likewise.
9513 (M_2_SQRTPIl): Likewise.
9514 (M_SQRT2l): Likewise.
9515 (M_SQRT1_2l): Likewise.
9517 2012-05-31 David S. Miller <davem@davemloft.net>
9519 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
9520 values between float registers.
9521 * sysdeps/sparc/sparc64/memset.S: Likewise.
9522 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9524 2012-05-31 Mike Frysinger <vapier@gentoo.org>
9526 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
9527 -D_FORTIFY_SOURCE=1.
9528 (CPPFLAGS-tst-longjmp_chk.c): Define.
9529 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
9530 (CPPFLAGS-tst-longjmp_chk2.c): Define.
9531 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
9532 CFLAGS-tst-wchar-h.c.
9534 2012-05-31 Marek Polacek <polacek@redhat.com>
9537 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
9538 __endmntent_internal): Remove declaration.
9539 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
9540 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
9541 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
9543 2012-05-30 David S. Miller <davem@davemloft.net>
9545 * sysdeps/sparc/sparc32/soft-fp/q_util.c
9546 (___Q_simulate_exceptions): Use real FP ops rather than writing
9548 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
9551 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9554 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
9555 * sysdeps/x86/bits/xtitypes.h: This.
9557 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
9558 * sysdeps/x86/bits/wordsize.h: This.
9560 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
9561 * sysdeps/x86/bits/huge_vall.h: This.
9563 * sysdeps/i386/bits/select.h: Removed.
9564 * sysdeps/x86_64/bits/select.h: Renamed to ...
9565 * sysdeps/x86/bits/select.h: This.
9567 * sysdeps/i386/bits/setjmp.h: Removed.
9568 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
9569 * sysdeps/x86/bits/setjmp.h: This.
9571 * sysdeps/i386/bits/mathdef.h: Removed.
9572 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
9573 * sysdeps/x86/bits/mathdef.h: This.
9575 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
9578 * include/sys/socket.h (__connect_internal)
9579 (__libc_sa_len_internal): Remove declaration.
9580 (__connect, __libc_sa_len): Declare hidden_proto.
9581 (SA_LEN): Remove use of INTUSE.
9582 * socket/connect.c: Add libc_hidden_def.
9583 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
9584 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
9585 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
9587 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9588 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
9589 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
9590 of adding _internal alias.
9592 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9595 * sysdeps/i386/bits/link.h: Removed.
9596 * sysdeps/i386/bits/linkmap.h: Likewise.
9597 * sysdeps/x86_64/bits/link.h: Renamed to ...
9598 * sysdeps/x86/bits/link.h: This.
9599 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
9600 * sysdeps/x86/bits/linkmap.h: This.
9602 * sysdeps/i386/bits/endian.h: Removed.
9603 * sysdeps/x86_64/bits/endian.h: Renamed to ...
9604 * sysdeps/x86/bits/endian.h: This.
9606 * sysdeps/i386/bits/byteswap.h: Removed.
9607 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9608 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
9609 * sysdeps/x86/bits/byteswap.h: This.
9610 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
9611 * sysdeps/x86/bits/byteswap-16.h: This.
9612 * sysdeps/i386/Implies: Add x86.
9613 * sysdeps/x86_64/Implies: Likewise.
9615 2012-05-30 David S. Miller <davem@davemloft.net>
9617 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
9618 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
9619 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9620 (FP_TRAPPING_EXCEPTIONS): Define.
9621 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9622 (FP_TRAPPING_EXCEPTIONS): Define.
9623 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
9624 subnormals only when inexact has been signalled or underflow
9625 exceptions are enabled.
9626 (_FP_PACK_CANONICAL): Likewise.
9628 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9631 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
9632 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
9634 2012-05-30 Richard Henderson <rth@twiddle.net>
9636 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
9637 with #ifndef NOT_IN_libc.
9639 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
9640 marked to avoid plt entry.
9642 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9645 * Makeconfig (default-abi): New macro.
9646 (abi-includes): Likewise.
9647 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
9648 $(abi-$(default-abi)-lib-soname) for soname if defined.
9649 ($(common-objpfx)gnu/lib-names.stmp): Generate from
9651 * Makefile (installed-stubs): Likewise.
9652 * include/stubs-biarch.h: Removed.
9653 * scripts/lib-names.awk: Only handle one library at a time.
9654 * scripts/soversions.awk: Remove WORDSIZE support.
9655 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
9657 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
9659 (syscall-list-default-condition): Likewise.
9660 (syscall-list-default-condition): Likewise.
9661 (syscall-list-includes): Likewise.
9662 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
9663 syscall-list-* with abi-*. Handle undefined abi-variants.
9664 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
9665 * sysdeps/unix/sysv/linux/i386/Implies: New file.
9666 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
9667 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
9668 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
9669 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
9671 (syscall-list-32-options): Likewise.
9672 (syscall-list-32-condition): Likewise.
9673 (syscall-list-64-options): Likewise.
9674 (syscall-list-64-condition): Likewise.
9675 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
9677 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
9680 (abi-64-ld-soname): New macro.
9681 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
9682 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
9685 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
9686 * sysdeps/x86_64/x32/shlib-versions: Likewise.
9688 2012-05-30 Joseph Myers <joseph@codesourcery.com>
9690 * sysdeps/unix/sysv/linux/kernel-features.h
9691 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
9692 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
9693 include <kernel-features.h>.
9694 [!__NR_ftruncate64]: Remove conditional code.
9695 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9696 [__NR_ftruncate64]: Make code unconditional.
9697 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9698 * sysdeps/unix/sysv/linux/truncate64.c: Do not
9699 include <kernel-features.h>.
9700 [!__NR_ftruncate64]: Remove conditional code.
9701 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9702 [__NR_ftruncate64]: Make code unconditional.
9703 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
9705 include <kernel-features.h>.
9706 [!__NR_ftruncate64]: Remove conditional code.
9707 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9708 [__NR_ftruncate64]: Make code unconditional.
9709 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9711 include <kernel-features.h>.
9712 [!__NR_ftruncate64]: Remove conditional code.
9713 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9714 [__NR_ftruncate64]: Make code unconditional.
9715 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9717 * configure.in (libc_cv_fpie): Weaken to a compile test using
9719 * configure: Regenerated.
9721 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
9724 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
9725 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
9726 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9728 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
9729 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
9730 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
9731 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
9732 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
9733 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9736 2012-05-27 David S. Miller <davem@davemloft.net>
9738 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
9740 (__Q_simulate_exceptions): Return void. Change to simulate
9741 exceptions by writing into the %fsr.
9742 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
9743 (__Qp_handle_exceptions): Likewise.
9745 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
9746 __Qp_handle_exceptions.
9747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
9748 __Qp_handle_exceptions.
9749 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9750 as unused and give dummy FP_RND_NEAREST initializer.
9751 (FP_INHIBIT_RESULTS): Define.
9752 (___Q_simulate_exceptions): Update declaration.
9753 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
9755 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9756 as unused and give dummy FP_RND_NEAREST initializer.
9757 (__Qp_handle_exceptions): Update declaration.
9758 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
9761 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
9763 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
9764 the temporary FPU control word.
9765 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9766 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
9767 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9768 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9769 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9770 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9771 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9772 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9773 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9774 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
9775 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9777 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9779 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
9782 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
9784 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
9785 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
9786 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
9787 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
9789 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
9790 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
9793 2012-05-27 Ulrich Drepper <drepper@gmail.com>
9795 * po/h.po: Update from translation team.
9797 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
9799 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
9801 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
9802 handling of denormals.
9803 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9804 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9805 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9806 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9807 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9808 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
9809 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
9812 2012-05-26 Marek Polacek <polacek@redhat.com>
9815 * math/libm-test.inc (fma_test): Don't always expect underflow
9818 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9821 * elf/tst-execstack.c: Include stackinfo.h.
9822 (do_test): Adjust test case to ensure that pthread_getattr_np
9823 behaviour remains the same after marking stack executable.
9825 2012-05-25 Joseph Myers <joseph@codesourcery.com>
9827 * sysdeps/unix/sysv/linux/kernel-features.h
9828 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
9829 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
9831 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9832 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9833 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
9835 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9836 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9838 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
9840 * configure.in: Define the default includes to being none.
9841 * configure: Regenerated.
9843 2012-05-25 Roland McGrath <roland@hack.frob.com>
9845 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
9846 * sysdeps/x86_64/setjmp.S: Likewise.
9847 * sysdeps/i386/bsd-setjmp.S: Likewise.
9848 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9849 * sysdeps/i386/setjmp.S: Likewise.
9850 * sysdeps/i386/__longjmp.S: Likewise.
9851 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9852 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
9854 * include/stap-probe.h: New file.
9855 * configure.in: Handle --enable-systemtap.
9856 * configure: Regenerated.
9857 * config.h.in (USE_STAP_PROBE): New #undef.
9858 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
9859 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
9860 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9862 2012-05-25 Joseph Myers <joseph@codesourcery.com>
9865 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9866 to 2.4.0 where earlier.
9867 * sysdeps/unix/sysv/linux/configure: Regenerated.
9868 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9869 <kernel-features.h>.
9870 [__ASSUME_32BITUIDS]: Make code unconditional.
9871 [!__ASSUME_32BITUIDS]: Remove conditional code.
9872 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
9873 <kernel-features.h>.
9874 [__ASSUME_32BITUIDS]: Make code unconditional.
9875 [!__ASSUME_32BITUIDS]: Remove conditional code.
9876 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
9877 [__ASSUME_32BITUIDS]: Make code unconditional.
9878 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
9879 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.c: Do not include
9888 <kernel-features.h>.
9889 [__ASSUME_32BITUIDS]: Make code unconditional.
9890 [!__ASSUME_32BITUIDS]: Remove conditional code.
9891 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
9892 <kernel-features.h>.
9893 [__ASSUME_32BITUIDS]: Make code unconditional.
9894 [!__ASSUME_32BITUIDS]: Remove conditional code.
9895 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9896 <kernel-features.h>.
9897 [__ASSUME_32BITUIDS]: Make code unconditional.
9898 [!__ASSUME_32BITUIDS]: Remove conditional code.
9899 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9900 <kernel-features.h>.
9901 [__ASSUME_32BITUIDS]: Make code unconditional.
9902 [!__ASSUME_32BITUIDS]: Remove conditional code.
9903 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
9904 <kernel-features.h>.
9905 [__ASSUME_32BITUIDS]: Make code unconditional.
9906 [!__ASSUME_32BITUIDS]: Remove conditional code.
9907 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9908 <kernel-features.h>.
9909 [__ASSUME_32BITUIDS]: Make code unconditional.
9910 [!__ASSUME_32BITUIDS]: Remove conditional code.
9911 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9912 <kernel-features.h>.
9913 [__ASSUME_32BITUIDS]: Make code unconditional.
9914 [!__ASSUME_32BITUIDS]: Remove conditional code.
9915 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
9916 <kernel-features.h>.
9917 [__ASSUME_32BITUIDS]: Make code unconditional.
9918 [!__ASSUME_32BITUIDS]: Remove conditional code.
9919 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
9920 <kernel-features.h>.
9921 [__NR_setresgid] (__setresgid): Do not declare.
9922 [__ASSUME_32BITUIDS]: Make code unconditional.
9923 [!__ASSUME_32BITUIDS]: Remove conditional code.
9924 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
9925 <kernel-features.h>.
9926 [__NR_setresuid] (__setresuid): Do not declare.
9927 [__ASSUME_32BITUIDS]: Make code unconditional.
9928 [!__ASSUME_32BITUIDS]: Remove conditional code.
9929 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
9930 <kernel-features.h>.
9931 [__ASSUME_32BITUIDS]: Make code unconditional.
9932 [!__ASSUME_32BITUIDS]: Remove conditional code.
9933 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
9934 <kernel-features.h>.
9935 [__ASSUME_32BITUIDS]: Make code unconditional.
9936 [!__ASSUME_32BITUIDS]: Remove conditional code.
9937 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
9938 <kernel-features.h>.
9939 [__ASSUME_32BITUIDS]: Make code unconditional.
9940 [!__ASSUME_32BITUIDS]: Remove conditional code.
9941 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
9942 <kernel-features.h>.
9943 [__ASSUME_32BITUIDS]: Make code unconditional.
9944 [!__ASSUME_32BITUIDS]: Remove conditional code.
9945 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
9946 <kernel-features.h>.
9947 [__ASSUME_32BITUIDS]: Make code unconditional.
9948 [!__ASSUME_32BITUIDS]: Remove conditional code.
9949 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
9950 <kernel-features.h>.
9951 [__ASSUME_32BITUIDS]: Make code unconditional.
9952 [!__ASSUME_32BITUIDS]: Remove conditional code.
9953 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
9954 <kernel-features.h>.
9955 [__ASSUME_32BITUIDS]: Make code unconditional.
9956 [!__ASSUME_32BITUIDS]: Remove conditional code.
9957 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
9958 <kernel-features.h>.
9959 [__ASSUME_32BITUIDS]: Make code unconditional.
9960 [!__ASSUME_32BITUIDS]: Remove conditional code.
9961 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
9962 <kernel-features.h>.
9963 [__ASSUME_32BITUIDS]: Make code unconditional.
9964 [!__ASSUME_32BITUIDS]: Remove conditional code.
9965 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9966 <kernel-features.h>.
9967 [__ASSUME_32BITUIDS]: Make code unconditional.
9968 [!__ASSUME_32BITUIDS]: Remove conditional code.
9969 * sysdeps/unix/sysv/linux/kernel-features.h
9970 (__ASSUME_SETRESUID_SYSCALL): Remove.
9971 (__ASSUME_SETRESGID_SYSCALL): Likewise.
9972 (__ASSUME_32BITUIDS): Likewise.
9973 (__ASSUME_LDT_WORKS): Likewise.
9974 (__ASSUME_O_DIRECTORY): Likewise.
9975 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
9976 architecture but not kernel version.
9977 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9978 (__ASSUME_MMAP2_SYSCALL): Likewise.
9979 (__ASSUME_STAT64_SYSCALL): Likewise.
9980 (__ASSUME_IPC64): Likewise.
9981 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
9982 <kernel-features.h>.
9983 [__ASSUME_32BITUIDS]: Make code unconditional.
9984 [!__ASSUME_32BITUIDS]: Remove conditional code.
9985 * sysdeps/unix/sysv/linux/opendir.c: Do not include
9986 <kernel-features.h>.
9987 [__ASSUME_O_DIRECTORY]: Make code unconditional.
9988 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
9989 132096]: Remove conditional code.
9990 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
9991 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9992 <kernel-features.h>.
9993 [__ASSUME_32BITUIDS]: Make code unconditional.
9994 [!__ASSUME_32BITUIDS]: Remove conditional code.
9995 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9996 <kernel-features.h>.
9997 [__ASSUME_32BITUIDS]: Make code unconditional.
9998 [!__ASSUME_32BITUIDS]: Remove conditional code.
9999 * sysdeps/unix/sysv/linux/setegid.c: Do not include
10000 <kernel-features.h>.
10001 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
10003 (__setresgid): Do not declare.
10004 [__ASSUME_32BITUIDS]: Make code unconditional.
10005 [!__ASSUME_32BITUIDS]: Remove conditional code.
10006 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
10007 <kernel-features.h>.
10008 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
10010 (__setresuid): Do not declare.
10011 [__ASSUME_32BITUIDS]: Make code unconditional.
10012 [!__ASSUME_32BITUIDS]: Remove conditional code.
10013 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10014 <kernel-features.h>.
10015 [__ASSUME_32BITUIDS]: Make code unconditional.
10016 [!__ASSUME_32BITUIDS]: Remove conditional code.
10017 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
10018 <kernel-features.h>.
10019 [__ASSUME_32BITUIDS]: Make code unconditional.
10020 [!__ASSUME_32BITUIDS]: Remove conditional code.
10022 2012-05-25 Richard Henderson <rth@twiddle.net>
10024 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
10025 dl_hwcap to ifunc resolver.
10026 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
10028 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
10029 dl_hwcap to ifunc resolver.
10030 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
10032 2012-05-24 Joseph Myers <joseph@codesourcery.com>
10035 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
10036 for |x| <= 2**-26, not 2**-57.
10037 * math/libm-test.inc (acos_test): Do not allow spurious underflow
10040 2012-05-24 Jeff Law <law@redhat.com>
10042 * stdio-common/Makefile (tests): Add bug25.
10043 * stdio-common/bug25.c: New test.
10045 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10048 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
10049 multiple of MALLOC_ALIGNMENT in size.
10050 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
10052 2012-05-24 Joseph Myers <joseph@codesourcery.com>
10054 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
10056 (FILENAME_MAX): Use macro-int-constant.
10057 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
10058 (_IOFBF): Use macro-int-constant.
10059 (_IOLBF): Likewise.
10060 (_IONBF): Likewise.
10061 (SEEK_CUR): Likewise.
10062 (SEEK_END): Likewise.
10063 (SEEK_SET): Likewise.
10064 (TMP_MAX): Likewise.
10065 (EOF): Use macro-int-constant. Require < 0.
10066 (NULL): Use macro-constant. Require == 0.
10067 (stdin): Require type to be FILE *.
10068 (stdout): Likewise.
10069 (stderr): Likewise.
10070 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
10071 macro-int-constant.
10072 (EXIT_SUCCESS): Likewise.
10073 (NULL): Use macro-constant. Require == 0.
10074 (RAND_MAX): Use macro-int-constant.
10075 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
10076 [C99-based standards] (strtof): Require function.
10077 [C99-based standards] (strtold): Likewise.
10078 [C99-based standards] (strtoll): Likewise.
10079 [C99-based standards] (strtoull): Likewise.
10080 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10081 [ISO || ISO99 || ISO11] (limits.h): Likewise.
10082 [ISO || ISO99 || ISO11] (math.h): Likewise.
10083 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
10084 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10085 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10087 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
10090 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
10091 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
10092 * intl/dgettext.c (DCGETTEXT): Likewise.
10093 * intl/gettext.c (DCGETTEXT): Likewise.
10094 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
10095 * posix/regex_internal.h (gettext): Likewise.
10096 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
10097 Remove declaration.
10098 * include/argz.h (__argz_count_internal)
10099 (__argz_stringify_internal): Remove declaration.
10100 (__argz_count, __argz_stringify): Declare hidden proto.
10101 * intl/dcgettext.c: Remove use of INTDEF.
10102 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
10103 * string/argz-stringify.c: Likewise.
10104 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10105 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10106 Declare hidden proto.
10107 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10108 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10109 Declare hidden proto.
10110 * include/stdio.h (__asprintf_internal): Don't declare.
10111 (__asprintf): Don't define as macro. Declare hidden proto.
10112 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
10113 (__fsetlocking): Declare hidden proto.
10114 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
10115 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
10117 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
10118 (_IO_setlinebuf): Remove use of INTUSE.
10119 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
10120 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
10121 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
10122 Remove declaration.
10123 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
10124 (_IO_do_flush): Remove use of INTUSE.
10125 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
10126 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
10127 (_IO_adjust_column, _IO_least_wmarker)
10128 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
10129 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
10130 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
10131 (_IO_default_doallocate, _IO_wdefault_doallocate)
10132 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
10133 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
10134 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
10135 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
10136 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
10137 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
10138 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
10139 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
10140 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
10141 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
10142 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
10143 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
10144 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
10146 (_IO_flush_all_internal, _IO_adjust_column_internal)
10147 (_IO_default_uflow_internal, _IO_default_finish_internal)
10148 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
10149 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
10150 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
10151 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
10152 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
10153 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
10154 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
10155 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
10156 (_IO_file_close_internal, _IO_file_close_it_internal)
10157 (_IO_file_underflow_internal, _IO_file_overflow_internal)
10158 (_IO_file_init_internal, _IO_file_attach_internal)
10159 (_IO_file_fopen_internal, _IO_file_read_internal)
10160 (_IO_file_sync_internal, _IO_file_seek_internal)
10161 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
10162 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
10163 (_IO_str_underflow_internal, _IO_str_overflow_internal)
10164 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
10165 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
10166 (_IO_list_all_internal, _IO_link_in_internal)
10167 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
10168 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
10169 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
10170 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
10171 (_IO_do_write_internal, _IO_padn_internal)
10172 (_IO_getline_info_internal, _IO_getline_internal)
10173 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
10174 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
10175 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
10176 (_IO_vfscanf_internal, _IO_vfprintf_internal)
10177 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
10178 (_IO_init_internal, _IO_un_link_internal): Don't declare.
10179 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
10180 with libc_hidden_ver, remove use of INTUSE.
10181 * libio/genops.c: Likewise.
10182 * libio/freopen.c: Likewise.
10183 * libio/freopen64.c: Likewise.
10184 * libio/iofclose.c: Likewise.
10185 * libio/iofdopen.c: Likewise.
10186 * libio/iofflush.c: Likewise.
10187 * libio/iofflush_u.c: Likewise.
10188 * libio/iofgets.c: Likewise.
10189 * libio/iofgets_u.c: Likewise.
10190 * libio/iofopen.c: Likewise.
10191 * libio/iofopncook.c: Likewise.
10192 * libio/iofread.c: Likewise.
10193 * libio/iofread_u.c: Likewise.
10194 * libio/ioftell.c: Likewise.
10195 * libio/iofwrite.c: Likewise.
10196 * libio/iogetline.c: Likewise.
10197 * libio/iogets.c: Likewise.
10198 * libio/iogetwline.c: Likewise.
10199 * libio/iopadn.c: Likewise.
10200 * libio/iopopen.c: Likewise.
10201 * libio/ioseekoff.c: Likewise.
10202 * libio/ioseekpos.c: Likewise.
10203 * libio/iosetbuffer.c: Likewise.
10204 * libio/iosetvbuf.c: Likewise.
10205 * libio/ioungetc.c: Likewise.
10206 * libio/ioungetwc.c: Likewise.
10207 * libio/iovdprintf.c: Likewise.
10208 * libio/iovsprintf.c: Likewise.
10209 * libio/iovsscanf.c: Likewise.
10210 * libio/memstream.c: Likewise.
10211 * libio/obprintf.c: Likewise.
10212 * libio/oldfileops.c: Likewise.
10213 * libio/oldiofclose.c: Likewise.
10214 * libio/oldiofdopen.c: Likewise.
10215 * libio/oldiofopen.c: Likewise.
10216 * libio/oldiopopen.c: Likewise.
10217 * libio/oldstdfiles.c: Likewise.
10218 * libio/putc.c: Likewise.
10219 * libio/setbuf.c: Likewise.
10220 * libio/setlinebuf.c: Likewise.
10221 * libio/stdfiles.c: Likewise.
10222 * libio/strops.c: Likewise.
10223 * libio/vasprintf.c: Likewise.
10224 * libio/vscanf.c: Likewise.
10225 * libio/vsnprintf.c: Likewise.
10226 * libio/vswprintf.c: Likewise.
10227 * libio/wfiledoalloc.c: Likewise.
10228 * libio/wfileops.c: Likewise.
10229 * libio/wgenops.c: Likewise.
10230 * libio/wmemstream.c: Likewise.
10231 * libio/wstrops.c: Likewise.
10232 * libio/__fpurge.c: Likewise.
10233 * libio/__fsetlocking.c: Likewise.
10234 * assert/assert.c: Likewise.
10235 * debug/fgets_chk.c: Likewise.
10236 * debug/fgets_u_chk.c: Likewise.
10237 * debug/fread_chk.c: Likewise.
10238 * debug/fread_u_chk.c: Likewise.
10239 * debug/gets_chk.c: Likewise.
10240 * debug/obprintf_chk.c: Likewise.
10241 * debug/vasprintf_chk.c: Likewise.
10242 * debug/vdprintf_chk.c: Likewise.
10243 * debug/vsnprintf_chk.c: Likewise.
10244 * debug/vsprintf_chk.c: Likewise.
10245 * malloc/mtrace.c: Likewise.
10246 * misc/error.c: Likewise.
10247 * misc/syslog.c: Likewise.
10248 * stdio-common/asprintf.c: Likewise.
10249 * stdio-common/fxprintf.c: Likewise.
10250 * stdio-common/getw.c: Likewise.
10251 * stdio-common/isoc99_fscanf.c: Likewise.
10252 * stdio-common/isoc99_scanf.c: Likewise.
10253 * stdio-common/isoc99_vfscanf.c: Likewise.
10254 * stdio-common/isoc99_vscanf.c: Likewise.
10255 * stdio-common/isoc99_vsscanf.c: Likewise.
10256 * stdio-common/printf-prs.c: Likewise.
10257 * stdio-common/printf_fp.c: Likewise.
10258 * stdio-common/printf_fphex.c: Likewise.
10259 * stdio-common/printf_size.c: Likewise.
10260 * stdio-common/putw.c: Likewise.
10261 * stdio-common/scanf.c: Likewise.
10262 * stdio-common/sprintf.c: Likewise.
10263 * stdio-common/tmpfile.c: Likewise.
10264 * stdio-common/vfprintf.c: Likewise.
10265 * stdio-common/vfscanf.c: Likewise.
10266 * stdlib/strfmon_l.c: Likewise.
10267 * sunrpc/openchild.c: Likewise.
10268 * sunrpc/xdr_stdio.c: Likewise.
10269 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10270 * sysdeps/mach/hurd/tmpfile.c: Likewise.
10272 2012-05-24 Roland McGrath <roland@hack.frob.com>
10274 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10276 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
10277 in the third column, to generate for the shared library an IFUNC
10278 that uses _dl_vdso_vsym.
10279 * Makerules (COMPILE.c, compile-stdin.c): New variables.
10280 * Makeconfig (object-suffixes-noshared): New variable.
10282 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
10283 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
10284 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
10285 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
10288 * include/sys/time.h (__gettimeofday): Remove macro.
10289 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
10290 * time/gettimeofday.c (__gettimeofday): Remove #undef.
10292 (__gettimeofday): Add libc_hidden_def.
10293 (gettimeofday): Add libc_hidden_weak.
10294 * sysdeps/mach/gettimeofday.c: Likewise.
10295 * sysdeps/posix/gettimeofday.c: Likewise.
10296 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
10297 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
10298 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
10299 (__gettimeofday_internal): Remove strong_alias.
10300 (__gettimeofday): Add libc_hidden_def.
10301 (gettimeofday): Add libc_hidden_weak.
10302 * sysdeps/unix/syscalls.list (gettimeofday):
10303 Remove __gettimeofday_internal alias.
10305 2012-05-24 Daniel Jacobowitz <drow@false.org>
10306 H.J. Lu <hongjiu.lu@intel.com>
10309 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
10310 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
10311 (largebin_index_32_big): New.
10312 (largebin_index): Use it for 16-byte alignment.
10313 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
10314 correction with front_misalign.
10316 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10318 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
10319 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10321 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
10323 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10325 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
10327 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
10329 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
10331 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
10333 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10335 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
10337 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
10339 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10341 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
10344 * scripts/data/c++-types-x32-linux-gnu.data: New file.
10345 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
10347 2012-05-24 Joseph Myers <joseph@codesourcery.com>
10351 * math/libm-test.inc (exp_test): Add test from bug 14036.
10352 (pow_test): Add test from bug 10846.
10354 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
10356 (special_function): Do not include flags in test name.
10357 (parse_args): Likewise.
10358 * sysdeps/i386/fpu/libm-test-ulps: Update.
10359 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10360 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10361 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10364 * math/gen-libm-test.pl (%beautify): Add entries for underflow
10366 * math/libm-test.inc ("Philosophy"): Update comment about
10368 (UNDERFLOW_EXCEPTION): New macro.
10369 (UNDERFLOW_EXCEPTION_OK): Likewise.
10370 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
10371 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
10372 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
10373 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
10374 (INVALID_EXCEPTION_OK): Update value.
10375 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10376 (OVERFLOW_EXCEPTION_OK): Likewise.
10377 (IGNORE_ZERO_INF_SIGN): Likewise.
10378 (test_exceptions): Handle underflow exceptions.
10379 (acos_test): Update for underflow exception expectations.
10380 (cexp_test): Likewise.
10381 (clog_test): Likewise.
10382 (clog10_test): Likewise.
10383 (csqrt_test): Likewise.
10384 (ctan_test): Likewise.
10385 (ctanh_test): Likewise.
10386 (exp_test): Likewise.
10387 (exp10_test): Likewise.
10388 (exp2_test): Likewise.
10389 (expm1_test): Likewise.
10390 (fma_test): Likewise.
10391 (j0_test): Likewise.
10392 (jn_test): Likewise.
10393 (nexttoward_test): Likewise.
10394 (pow_test): Likewise.
10395 (scalbn_test): Likewise.
10396 (scalbln_test): Likewise.
10397 (tan_test): Likewise.
10398 (y1_test): Likewise.
10399 * sysdeps/i386/fpu/libm-test-ulps: Update.
10400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10402 2012-05-23 David S. Miller <davem@davemloft.net>
10404 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10405 (__libc_sigaction): Remove unused local variables.
10407 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10409 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
10411 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
10413 mktime: avoid signed integer overflow
10414 * time/mktime.c (__mktime_internal): Do not mishandle the case
10415 where diff == INT_MIN.
10417 mktime: simplify computation of average
10418 * time/mktime.c (ranged_convert): Use new time_t_avg function
10419 instead of rolling our own (probably-slower) code.
10421 mktime: do not assume signed right shift propagates sign bit
10422 * time/mktime.c (isdst_differ): New static function.
10423 (__mktime_internal): No need to normalize tm_isdst now.
10424 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
10427 mktime: merge another wrapv change from gnulib
10428 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
10429 from some compilers.
10431 mktime: remove incorrect attempt at unusual arithmetics
10432 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
10433 The code didn't really work on such machines anyway.
10434 (TYPE_MINIMUM): Assume two's complement.
10435 (twos_complement_arithmetic): Verify that long_int and time_t
10436 are two's complement (or unsigned, in the latter case).
10438 mktime: check signed shifts on long_int and time_t, too
10439 * time/mktime.c (SHR): Check that shifts work as desired
10440 on the types long_int and time_t too, as SHR is used on
10443 mktime: do not assume 'long' is wide enough
10444 * time/mktime.c (verify): Move decl up.
10445 (long_int): New type.
10446 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
10447 to remove assumption in the code that 'long' is wide enough to
10448 store year values. This assumption is not true on x32 and on
10449 some non-glibc platforms.
10451 mktime: merge wrapv change from gnulib
10452 * time/mktime.c (WRAPV): New macro.
10453 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
10454 (guess_time_tm, __mktime_internal): Do not assume that signed
10455 integer overflow wraps around; modern compilers generate code
10456 where this assumption is no longer valid.
10458 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10460 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10461 Replace "jmp L(pseudo_end)" with "ret".
10462 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
10465 2012-05-23 Andreas Jaeger <aj@suse.de>
10467 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
10468 * sysdeps/unix/sysv/linux/poll.c: Remove file.
10470 2012-05-23 Andreas Jaeger <aj@suse.de>
10471 Maximilian Attems <max@stro.at>
10473 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
10476 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10478 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
10479 code so that pseudo_end is just ret and the stack pointer is
10480 correct also for static library in error case.
10482 2012-05-23 Joseph Myers <joseph@codesourcery.com>
10484 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
10485 move to syscalls.list.
10486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10491 * manual/install.texi (Running make install): Do not mention Linux
10492 kernel version for which pt_chown is not needed.
10493 (Linux): Do not mention problems with nscd with 2.0 kernels.
10494 * INSTALL: Regenerated.
10496 2012-05-23 Andreas Jaeger <aj@suse.de>
10498 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
10499 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
10501 * sysdeps/unix/sysv/linux/s390/bits/mman.h
10502 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10503 * sysdeps/unix/sysv/linux/sh/bits/mman.h
10504 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10505 * sysdeps/unix/sysv/linux/i386/bits/mman.h
10506 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10507 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
10508 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10509 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
10510 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10511 * sysdeps/unix/sysv/linux/bits/in.h
10512 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
10514 2012-05-22 Roland McGrath <roland@hack.frob.com>
10516 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
10517 (PREPARE_VERSION): Just use assert instead, it will be elided
10518 under [NDEBUG] anyway.
10520 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10522 * sysdeps/unix/sysv/linux/Makefile: Include
10523 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
10524 (sysdep_routines): Remove sysctl.
10525 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
10526 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
10527 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
10528 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
10529 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
10531 2012-05-22 Andreas Jaeger <aj@suse.de>
10533 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
10534 that pseudo_end is just ret and the stack pointer is correct also
10535 for static library in error case.
10537 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
10540 * nss/nsswitch.c (defconfig_entries): New variable.
10541 (__nss_database_lookup): Don't leak defconfig entries.
10542 (nss_parse_service_list): Don't leak on error paths.
10543 (free_database_entries): New function.
10544 (free_defconfig): New function.
10545 (free_mem): Move common code to free_database_entries.
10547 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10549 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
10551 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
10553 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10554 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
10555 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
10557 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
10558 (INTERNAL_SYSCALL_TYPES): Likewise.
10559 (LOAD_ARGS_TYPES_[1-6]): Likewise.
10560 (LOAD_REGS_TYPES_[1-6]): Likewise.
10561 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
10562 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
10564 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10566 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
10567 copysignl for GLIBC_2_0.
10568 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
10569 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
10570 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
10571 logbl for GLIBC_2_0.
10572 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
10573 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
10575 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10577 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
10578 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10580 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10583 * time/mktime.c: Update copyright years.
10585 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
10587 mktime: merge comment-quoting-style change from gnulib
10588 * time/mktime.c: Quote 'like this' in comments.
10589 The GNU coding standards suggest that we no longer quote `like this',
10590 as "`" and "'" are typically rendered asymmetrically nowadays.
10591 The typical gnulib style is to quote 'like this' when quoting
10592 code, and "like this" when quoting English.
10594 * time/mktime.c (compile-command): Add "-I.".
10596 mktime: merge mktime-internal.h change from gnulib
10597 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
10599 mktime: merge time_r change from gnulib
10600 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
10602 mktime: merge DEBUG change from gnulib
10603 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
10604 case system <time.h> has a #define.
10606 mktime: merge <sys/types.h> change from gnulib
10607 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
10608 since <time.t> is now guaranteed to define time_t.
10610 mktime: merge HAVE_CONFIG_H change from gnulib
10611 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
10613 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10615 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10618 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
10620 (struct rusage): Use anonymous union to pad each field to
10623 2012-05-21 David S. Miller <davem@davemloft.net>
10625 * Makefules (o-iterator): Remove .s cases.
10626 (compile-command.s): Delete.
10627 (COMPILE.s): Delete.
10628 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
10630 2012-05-21 Joseph Myers <joseph@codesourcery.com>
10632 * configure.in (libc_cv_predef_stack_protector): Only consider
10633 "foobar" and "__stack_chk_fail" lines in libc_undefs.
10634 * configure: Regenerated.
10636 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10638 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10639 New macro. Use R*LP on int and pointer.
10640 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
10641 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
10642 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
10643 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
10645 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
10646 [__WORDSIZE_TIME64_COMPAT32] instead of
10647 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
10648 (struct utmp): Likewise.
10649 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
10650 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
10652 (__WORDSIZE_TIME64_COMPAT32): This.
10653 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
10654 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
10655 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
10656 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
10657 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
10658 (__WORDSIZE_TIME64_COMPAT32): New macro.
10660 2012-05-21 Andreas Jaeger <aj@suse.de>
10662 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
10663 only if [SHARED]. Add prototype for __wcschr_ia32.
10665 2012-05-21 Roland McGrath <roland@hack.frob.com>
10667 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
10668 of %rbp unmolested in the jmp_buf while mangling the low bits.
10669 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
10670 unmolested high bits of %rbp while demangling the low bits.
10671 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10673 2012-05-21 Andreas Jaeger <aj@suse.de>
10675 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
10676 * sunrpc/svc_simple.c: Use it for registerrpc.
10677 * sunrpc/xcrypt.c: Use it for passwd2des.
10679 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
10681 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10683 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
10684 Don't define if [__SYSCALL_WORDSIZE != 32].
10685 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
10688 2012-05-21 Bruno Haible <bruno@clisp.org>
10689 Andreas Jaeger <aj@suse.de>
10691 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
10692 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
10693 inptr and inend for must_buffer_ch.
10694 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
10695 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
10696 * stdio-common/Makefile (tests): Remove bug15.
10697 (bug15-ENV): Remove macro.
10698 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
10701 2012-05-19 Andreas Jaeger <aj@suse.de>
10702 Roland McGrath <roland@hack.frob.com>
10704 * manual/contrib.texi: Completely rewritten. It contains now an
10705 alphabetical list of contributors and their contributions.
10707 2012-05-21 Richard Henderson <rth@twiddle.net>
10709 * misc/getauxval.c (__getauxval): Use unsigned long int.
10710 * misc/sys/auxv.h: Include <sys/cdefs.h>.
10711 (getauxval): Use unsigned long int.
10713 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10715 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10717 2012-05-21 Roland McGrath <roland@hack.frob.com>
10719 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
10720 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
10721 __alignof__ (long double).
10723 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10727 2012-05-20 Richard Henderson <rth@twiddle.net>
10729 * misc/getauxval.c: New file.
10730 * misc/sys/auxv.h: New file.
10731 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
10732 (routines): Add getauxval.
10733 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
10734 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
10735 * elf/dl-sysdep.c (_dl_auxv): Remove.
10736 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
10737 * elf/dl-support.c (_dl_auxv): New variable.
10738 (_dl_aux_init): Initialize it.
10739 * manual/startup.texi (Auxiliary Vector): New node.
10740 * sysdeps/generic/bits/hwcap.h: New file.
10741 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
10742 * sysdeps/powerpc/sysdep.h: ... here. Include it.
10743 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
10744 * sysdeps/sparc/sysdep.h: ... here. Include it.
10745 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
10746 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
10747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
10750 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
10751 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
10752 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
10753 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10754 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10755 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
10756 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
10758 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10760 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10762 2012-05-19 David S. Miller <davem@davemloft.net>
10764 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10766 2012-05-19 Joseph Myers <joseph@codesourcery.com>
10769 * math/s_ccosh.c: Include <float.h>
10770 (__ccosh): Avoid internal overflow calculating sinh and cosh
10771 values before multiplying by sin and cos values.
10772 * math/s_ccoshf.c: Likewise.
10773 * math/s_ccoshl.c: Likewise.
10774 * math/s_csin.c: Likewise.
10775 * math/s_csinf.c: Likewise.
10776 * math/s_csinl.c: Likewise.
10777 * math/s_csinh.c: Likewise.
10778 * math/s_csinhf.c: Likewise.
10779 * math/s_csinhl.c: Likewise.
10780 * math/libm-test.inc (ccos_test): Add more tests.
10781 (ccosh_test): Likewise.
10782 (csin_test): Likewise.
10783 (csinh_test): Likewise.
10784 * sysdeps/i386/fpu/libm-test-ulps: Update.
10785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10787 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
10789 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
10790 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
10792 * sysdeps/x86_64/x32/_itoa.h: Add comment.
10794 2012-05-19 Joseph Myers <joseph@codesourcery.com>
10796 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
10797 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
10798 * sysdeps/powerpc/soft-fp/Versions: Likewise.
10799 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
10800 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
10801 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
10802 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
10803 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
10804 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
10805 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
10806 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
10807 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
10808 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
10809 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
10810 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
10811 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
10812 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
10813 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
10814 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
10815 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
10816 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
10817 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
10818 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
10819 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
10820 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
10821 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
10822 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
10823 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
10824 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
10825 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
10826 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
10828 2012-05-18 Andreas Jaeger <aj@suse.de>
10830 * csu/.gitignore: Delete.
10832 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10834 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
10835 (timex): Use __syscall_slong_t.
10837 2012-05-18 Andreas Jaeger <aj@suse.de>
10838 Carlos O'Donell <carlos_odonell@mentor.com>
10840 * manual/install.texi (Configuring and compiling): Update
10841 description about files modified in the source directory.
10842 * INSTALL: Regenerated.
10844 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10846 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
10847 value. Use "or" to set return value to -1.
10848 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
10849 negate return value.
10851 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10853 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
10854 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
10855 failure if the compiler has Graphite support disabled.
10856 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
10858 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
10859 CFLAGS-memmove.c): Likewise.
10860 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
10863 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10865 * sysdeps/x86_64/x32/_itoa.h: New file.
10867 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
10868 getdents system call only if kernel and user dirents have the
10869 same d_ino and d_off.
10871 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10872 LLONG_MAX != LONG_MAX.
10873 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10874 (_fitoa_word): Likewise.
10876 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
10878 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
10879 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
10880 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
10882 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
10883 include <bits/wordsize.h>. Check __x86_64__ instead of
10885 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
10886 if __x86_64__ is defined. Use anonymous union on fpstate.
10888 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
10891 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
10893 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10894 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
10895 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
10896 Refer to _rtld_local_ro instead of _rtld_global_ro.
10897 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
10899 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
10901 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
10903 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
10904 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
10905 of _rtld_global, and rtld_progname instead of _dl_argv[0].
10907 * sysdeps/powerpc/powerpc32/dl-machine.c
10908 (__elf_machine_runtime_setup) [PROF]: Don't reference
10911 2012-05-18 Andreas Jaeger <aj@suse.de>
10913 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
10914 function only available for GCCs before 3.4 since GCC 3.4
10915 introduced a builtin.
10917 (llrintf): Likewise.
10918 (llrint): Likewise.
10925 (nearbyint): Likewise.
10926 (nearbyintf): Likewise.
10930 (floorf): Likewise.
10932 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10934 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
10935 on both fields and cast pointer to __syscall_ulong_t.
10937 * bits/types.h (__fsword_t): New type.
10938 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
10939 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
10940 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10941 (__FSWORD_T_TYPE): Likewise.
10942 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10943 (__FSWORD_T_TYPE): Likewise.
10944 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10945 (__FSWORD_T_TYPE): Likewise.
10946 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
10947 (__FSWORD_T_TYPE): Likewise.
10948 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
10949 __SWORD_TYPE with __fsword_t.
10950 (statfs64): Likewise.
10952 2012-05-17 David S. Miller <davem@davemloft.net>
10954 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
10956 2012-05-17 Andreas Jaeger <aj@suse.de>
10958 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
10961 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10963 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
10965 2012-05-17 Andreas Jaeger <aj@suse.de>
10967 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
10970 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10972 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
10974 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10976 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
10977 * sysdeps/x86_64/tst-mallocalign1.c: New file.
10979 2012-05-17 Andreas Jaeger <aj@suse.de>
10980 Carlos O'Donell <carlos_odonell@mentor.com>
10983 * sysdeps/x86_64/multiarch/init-arch.h
10984 (bit_YMM_Usable): Rename to...
10985 (bit_AVX_Usable): ... this.
10986 (bit_FMA4_Usable): New macro.
10987 (bit_XMM_state): New macro.
10988 (bit_YMM_state): New macro.
10989 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
10990 [__ASSEMBLER__] (index_AVX_Usable): ... this.
10991 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
10992 (CPUID_OSXSAVE): New macro.
10993 (CPUID_AVX): New macro.
10994 (CPUID_FMA4): New macro.
10995 (index_YMM_Usable): Rename to...
10996 (index_AVX_Usable): ... this.
10997 (HAS_AVX): Use HAS_ARCH_FEATURE.
10998 (HAS_FMA4): Likewise.
10999 (HAS_YMM_USABLE): Remove.
11000 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11001 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
11003 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
11004 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
11005 * sysdeps/x86_64/multiarch/Makefile: Likewise.
11006 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
11007 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
11009 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11011 * math/libm-test.c: Support platforms without multiple rounding modes.
11012 * math/bug-nextafter.c: Support platforms without FP exceptions.
11013 * math/bug-nexttoward.c: Likewise.
11014 * math/test-fenv.c: Likewise.
11015 * math/test-misc.c: Likewise.
11016 * stdlib/bug-getcontext.c: Likewise.
11018 2012-05-17 Andreas Jaeger <aj@suse.de>
11020 * manual/examples/search.c (critter_cmp): Change signature to
11022 * manual/string.texi (Collation Functions): Likewise.
11024 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11026 * bits/types.h: Fold copyright years.
11027 * bits/typesizes.h: Likewise.
11028 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
11029 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11030 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
11031 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
11032 * time/time.h: Likewise.
11034 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
11037 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
11038 in instead of returning them. Return void.
11039 (__libc_mallinfo): Accumulate over all arenas.
11040 (__malloc_stats): Adjust for change in int_mallinfo interface.
11042 2012-05-16 Roland McGrath <roland@hack.frob.com>
11045 * configure.in (NM): Add AC_CHECK_TOOL for it.
11046 (libc_extra_cflags): New substituted variable.
11047 Check for -fstack-protector being used implicitly.
11048 * configure: Regenerated.
11049 * config.make.in (config-extra-cflags): New variable,
11050 gets @libc_extra_cflags@.
11051 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
11054 * configure.in: Check for _FORTIFY_SOURCE being predefined.
11055 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
11056 * configure: Regenerated.
11057 * config.make.in (CPPUNDEFS): New substituted variable.
11058 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
11059 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
11060 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
11062 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11064 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
11065 (mq_attr): Use __syscall_slong_t.
11067 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11069 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
11070 Check __x86_64__ instead of __WORDSIZE.
11071 (_STAT_VER_LINUX): Likewise.
11072 (stat): Check __x86_64__ instead of __WORDSIZE. Use
11073 __syscall_ulong_t and __syscall_slong_t.
11074 (stat64): Likewise.
11076 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11078 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
11080 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11082 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
11084 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11086 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
11089 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
11090 include <bits/wordsize.h>. Check __x86_64__ instead of
11092 (greg_t): Use "__extension__ long long int" if __x86_64__ is
11094 (mcontext_t): Replace "unsigned long" with "unsigned long long".
11096 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
11097 include <bits/wordsize.h>. Check __x86_64__ instead of
11099 (user_regs_struct): Use "__extension__ unsigned long long"
11100 instead of "unsigned long" if __x86_64__ is defined.
11101 (user): Likewise. Pad after pointer field if __ILP32__ is
11104 2012-05-16 Joseph Myers <joseph@codesourcery.com>
11106 * configure.in (makeinfo): Require version 4.5 or later. Allow
11108 * configure: Regenerated.
11109 * manual/install.texi (texinfo): Increase version requirement to
11111 * INSTALL: Regenerated.
11113 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
11115 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11117 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
11119 * sysdeps/x86_64/x32/ffs.c: New file.
11121 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
11123 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
11124 defined. Use __syscall_ulong_t.
11125 (shminfo): Use __syscall_ulong_t.
11126 (shm_info): Likewise.
11128 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
11131 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
11133 (msgqnum_t): Use __syscall_ulong_t.
11134 (msglen_t): Likewise.
11135 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
11138 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
11139 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11141 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
11143 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
11144 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
11146 * sysvipc/sys/msg.h (msgbuf): Replace long int with
11149 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
11150 include <bits/wordsize.h>. Check __x86_64__ instead of
11153 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
11154 "unsigned long long int" if __x86_64__ is defined.
11155 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
11157 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
11158 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11159 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
11161 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
11163 (GET_PC): Cast to uintptr_t first.
11164 (GET_FRAME): Likewise.
11165 (GET_STACK): Likewise.
11167 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
11168 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
11169 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
11170 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
11171 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
11172 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
11173 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
11174 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
11175 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
11176 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
11177 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
11178 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
11179 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11180 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
11181 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
11182 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
11183 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
11184 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
11185 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
11186 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
11187 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
11188 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
11189 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
11190 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
11191 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
11192 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
11193 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
11194 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
11195 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
11197 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
11199 * Makerules (+depfiles): Also collect depfiles from .oS in
11201 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
11202 .oS, $(libnldbl-routines)).
11204 * Makerules (native-compile-mkdep-flags): Define.
11205 * sunrpc/Makefile (extra-objs): Add $(addprefix
11206 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
11207 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
11208 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
11209 calling $(make-target-directory).
11211 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11213 * bits/types.h (__snseconds_t): Removed.
11214 * time/time.h (struct timespec): Replace __snseconds_t with
11216 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
11217 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
11219 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11220 (__SNSECONDS_T_TYPE): Likewise.
11221 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11222 (__SNSECONDS_T_TYPE): Likewise.
11223 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11224 (__SNSECONDS_T_TYPE): Likewise.
11226 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11228 * sysdeps/mach/hurd/bits/typesizes.h
11229 (__SYSCALL_SLONG_TYPE): New macro.
11230 (__SYSCALL_ULONG_TYPE): Likewise.
11232 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11234 * bits/types.h (__syscall_slong_t): New type.
11235 (__syscall_ulong_t): Likewise.
11237 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
11238 (__SYSCALL_ULONG_TYPE): Likewise.
11239 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11240 (__SYSCALL_SLONG_TYPE): Likewise.
11241 (__SYSCALL_ULONG_TYPE): Likewise.
11242 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11243 (__SYSCALL_SLONG_TYPE): Likewise.
11244 (__SYSCALL_ULONG_TYPE): Likewise.
11245 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11246 (__SYSCALL_SLONG_TYPE): Likewise.
11247 (__SYSCALL_ULONG_TYPE): Likewise.
11249 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11251 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
11252 Add sigaltstack-offsets.sym.
11253 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11254 <sigaltstack-offsets.h>.
11255 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
11256 longjmp_msg pointer.
11257 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
11258 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
11260 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
11262 2012-05-15 Joseph Myers <joseph@codesourcery.com>
11264 * elf/stackguard-macros.h: Remove file.
11265 * sysdeps/generic/stackguard-macros.h: New file.
11266 * sysdeps/i386/stackguard-macros.h: Likewise.
11267 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11268 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11269 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11270 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11271 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11272 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11273 * sysdeps/x86_64/stackguard-macros.h: Likewise.
11274 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
11275 <elf/stackguard-macros.h>.
11278 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
11279 __aligned__ in attribute.
11280 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
11281 (gregset_t): Likewise.
11283 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11285 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
11286 * sysdeps/x86_64/64/Implies-after: Here. New file.
11287 * sysdeps/x86_64/x32/Implies-after: New file.
11289 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11291 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
11292 and access return value for _dl_profile_fixup. Use R10_LP to
11295 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11297 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
11299 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11301 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
11302 * sysdeps/x86_64/x32/sysdep.h: New file.
11304 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11306 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
11307 * sysdeps/x86_64/setjmp.S: Likewise.
11309 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11311 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
11312 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
11313 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
11314 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
11315 remove unused global constant.
11317 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
11319 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
11320 include of <not-cancel.h>.
11322 2012-05-15 Roland McGrath <roland@hack.frob.com>
11324 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
11326 2012-05-15 Jeff Law <law@redhat.com>
11327 Andreas Jaeger <aj@suse.de>
11330 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
11332 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
11333 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
11334 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
11335 code changing __hst_map_handle.map.
11337 2012-05-15 Roland McGrath <roland@hack.frob.com>
11339 * configure.in (sysnames): Look for Implies-before and Implies-after
11341 * configure: Regenerated.
11343 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11345 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
11346 8-byte data alignment with LP_SIZE alignment.
11348 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11350 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
11353 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11355 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
11357 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11359 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
11360 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
11361 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
11363 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11365 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11367 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
11368 (stackinfo_sub_sp): Likewise.
11370 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11372 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
11375 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11377 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
11380 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11382 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
11385 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11387 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
11389 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11391 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
11392 into R11_LP and load __x86_64_shared_cache_size_half into
11395 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11397 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
11400 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11402 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
11404 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
11406 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
11408 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
11409 powerpc32/power7/fpu/s_logb.c via #include.
11410 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
11411 powerpc32/power7/fpu/s_logbf.c via #include.
11412 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
11413 powerpc32/power7/fpu/s_logbl.c via #include.
11415 2012-05-15 Joseph Myers <joseph@codesourcery.com>
11417 * README.libm: Remove file.
11419 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11421 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
11422 count for x32. Use R*_LP and omit operand-size suffix.
11424 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11426 * shlib-versions: Move x86_64-.*-linux.* entries to ...
11427 * sysdeps/x86_64/64/shlib-versions: Here. New file.
11428 * sysdeps/x86_64/x32/shlib-versions: New file.
11430 2012-05-14 Roland McGrath <roland@hack.frob.com>
11432 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
11433 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
11434 Use _dl_fatal_printf instead.
11436 2012-05-14 Joseph Myers <joseph@codesourcery.com>
11438 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
11439 set if not set by the user. Do not allow for being unset.
11440 * sysdeps/unix/sysv/linux/configure: Regenerated.
11442 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11444 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
11445 the `q' suffix from lea and replace .quad with ASM_ADDR.
11447 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11449 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
11450 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
11452 (PTR_DEMANGLE): Likewise.
11454 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11456 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
11458 (ASM_ADDR): Likewise.
11459 (RAX_LP): Likewise.
11460 (RBP_LP): Likewise.
11461 (RBX_LP): Likewise.
11462 (RCX_LP): Likewise.
11463 (RDI_LP): Likewise.
11464 (RSI_LP): Likewise.
11465 (RSP_LP): Likewise.
11468 (R10_LP): Likewise.
11469 (R10_LP): Likewise.
11470 (R11_LP): Likewise.
11471 (R12_LP): Likewise.
11472 (R13_LP): Likewise.
11473 (R14_LP): Likewise.
11474 (R15_LP): Likewise.
11476 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11478 * sysdeps/x86_64/x32/dl-machine.h: New file.
11480 2012-05-14 Andreas Jaeger <aj@suse.de>
11482 * manual/Makefile (subdir): Remove export of subdir.
11483 (all): Remove target.
11484 (.PHONY): Remove all from list.
11485 (mkinstalldirs): Remove.
11486 (.PHONY): Remove installdirs from list.
11487 ($(inst_infodir)/libc.info): Use make-target-directory.
11488 (installdirs): Remove.
11489 (subdir_%): Remove.
11490 (glibc-targets): Remove.
11493 ($(objpfx)stubs ../po/manual.pot): Remove.
11494 ($(objpfx)stamp%): Remove.
11495 (make-target-directory): Remove.
11496 (subdir_install): Remove.
11497 (routines): Remove.
11504 * manual/.gitignore: Remove, it's not needed anymore.
11505 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
11507 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
11509 (texis): Renamed to $(objpfx)texis.
11510 (texis-path): New, contains path to generated files.
11511 (chapters.%): Use texis-path for complete path, add extra argument
11513 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
11514 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
11515 (summary,texi, stamp-summary): Use complete path of
11516 files. Generate files in build dir.
11517 (dir-add.texi): Build in build dir.
11518 (libm-err.texi,stamp-libm-err): Likewise.
11519 (version.texi, stamp-version): Likewise.
11520 (.%c.texi): Likewise.
11521 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
11522 (mostlyclean): Remove target.
11523 (realclean): Remove target.
11524 (generated): Add new variable with contents from mostlyclean and
11525 realclean, remove entries duplicated in common-mostlyclean, add
11526 stamp-libm-err and stamp-version.
11527 (generated-dirs): Add libc directory.
11528 ($(inst_infodir)/libc.info): Install files from build dir.
11530 * manual/install.texi (Configuring and compiling): Adjust since
11531 the info files are not part of the tar ball anymore.
11533 2012-05-14 Andreas Jaeger <aj@suse.de>
11535 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
11538 2012-05-14 Joseph Myers <joseph@codesourcery.com>
11541 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11542 to 2.2.0 where earlier.
11543 * sysdeps/unix/sysv/linux/configure: Regenerated.
11544 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
11545 Remove conditional code.
11546 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
11547 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
11548 Remove conditional code.
11549 [!__NR_lchown]: Likewise.
11550 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11551 [__NR_lchown]: Likewise.
11552 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
11553 comment referencing __ASSUME_LCHOWN_SYSCALL.
11554 * sysdeps/unix/sysv/linux/i386/sigaction.c
11555 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11556 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11557 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
11558 Remove conditional code.
11559 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
11560 (__protocol_available): Remove #if 0 code.
11561 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
11563 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
11564 * sysdeps/unix/sysv/linux/kernel-features.h
11565 (__ASSUME_GETCWD_SYSCALL): Don't define.
11566 (__ASSUME_REALTIME_SIGNALS): Likewise.
11567 (__ASSUME_PREAD_SYSCALL): Likewise.
11568 (__ASSUME_PWRITE_SYSCALL): Likewise.
11569 (__ASSUME_POLL_SYSCALL): Likewise.
11570 (__ASSUME_LCHOWN_SYSCALL): Likewise.
11571 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
11573 (__ASSUME_SIOCGIFNAME): Don't define.
11574 (__ASSUME_MSG_NOSIGNAL): Likewise.
11575 (__ASSUME_SENDFILE): Define unconditionally.
11576 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
11577 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
11579 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
11580 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
11581 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11582 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11583 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
11584 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11585 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
11587 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11588 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11590 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11591 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
11593 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11594 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
11596 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11597 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
11599 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11600 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
11602 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11603 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
11605 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11606 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
11608 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11609 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11610 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
11611 Remove conditional code.
11612 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11613 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11614 Remove conditional code.
11615 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11616 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
11617 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
11618 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11619 Remove conditional code.
11620 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11621 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
11622 Remove conditional code.
11623 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11624 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
11625 Remove conditional code.
11626 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11627 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11628 Remove conditional code.
11629 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11630 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11631 Remove conditional code.
11632 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11633 * sysdeps/unix/sysv/linux/sh/pwrite64.c
11634 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11635 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11636 * sysdeps/unix/sysv/linux/sigaction.c
11637 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11638 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11639 * sysdeps/unix/sysv/linux/sigpending.c
11640 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11641 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11642 * sysdeps/unix/sysv/linux/sigprocmask.c
11643 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11644 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11645 * sysdeps/unix/sysv/linux/sigsuspend.c
11646 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11647 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11648 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11649 (__libc_missing_rt_sigs): Remove.
11650 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
11651 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
11652 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
11653 Remove conditional code.
11654 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
11655 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
11657 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
11658 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
11659 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
11660 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
11662 2012-05-14 Andreas Jaeger <aj@suse.de>
11664 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
11665 it's not used in glibc.
11666 (__coshm1): Likewise.
11667 (__acosh1p): Likewise.
11670 * manual/string.texi (Copying and Concatenation): Add missing
11671 variable in concat example.
11672 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11674 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11677 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
11678 __builtin_clzl with __builtin_clzll.
11680 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11683 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
11686 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11688 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
11689 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
11690 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
11691 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
11693 2012-05-14 Mike Frysinger <vapier@gentoo.org>
11695 * NEWS: Update ia64 info.
11697 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
11699 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
11702 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
11704 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
11705 * sysdeps/unix/syscalls.list (dup3): Likewise.
11706 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
11707 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
11709 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11711 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
11712 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
11714 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11716 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
11718 (TLS_IE): Use mov/add instead of movq/addq to load thread
11720 (TLS_GD_PREFIX): New.
11723 2012-05-11 David S. Miller <davem@davemloft.net>
11725 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
11726 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
11727 (_FPU_SETCW): Likewise.
11729 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11731 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
11732 is 32-byte aligned.
11734 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
11737 * iconvdata/gb18030.c: Update tables.
11738 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
11739 characters specially.
11740 (BODY for TO_LOOP): Add encoding of missing ranges.
11742 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
11745 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
11746 * sysdeps/mach/hurd/dup3.c: Likewise.
11747 * sysdeps/mach/hurd/readlinkat.c: Likewise.
11748 * sysdeps/powerpc/memmove.c:: Likewise.
11750 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11752 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
11753 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
11755 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11757 * elf/elf.h (R_X86_64_RELATIVE64): New.
11758 (R_X86_64_NUM): Updated.
11759 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11760 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
11761 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
11762 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
11763 tst-quad1pie tst-quad2pie
11764 (modules-names): Add tst-quadmod1 tst-quadmod2.
11765 ($(objpfx)tst-quad1): New dependency.
11766 ($(objpfx)tst-quad2): Likewise.
11767 ($(objpfx)tst-quad1pie): Likewise.
11768 ($(objpfx)tst-quad2pie): Likewise.
11769 * sysdeps/x86_64/tst-quad1.c: New file.
11770 * sysdeps/x86_64/tst-quad1pie.c: New file.
11771 * sysdeps/x86_64/tst-quad2.c: Likewise.
11772 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
11773 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
11774 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
11775 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
11776 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
11778 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11780 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
11781 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
11782 * streams/stropts.h (t_scalar_t): Define type.
11784 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
11785 (_PATH_PRESERVE): Set to "/var/lib".
11786 (_PATH_RWHODIR): Set to "/var/spool/rwho".
11788 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
11791 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
11792 if __dir_mkfile succeeded.
11794 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
11795 checking for _hurd_dtablesize. Unlock it right after having
11796 finished _hurd_dtable allocation.
11798 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11800 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
11801 * sysdeps/mach/hurd/configure: Regenerated.
11802 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
11803 special-casing to...
11804 * sysdeps/gnu/configure.in: ... this new file.
11805 * sysdeps/unix/sysv/linux/configure: Regenerated.
11806 * sysdeps/gnu/configure: New generated file.
11808 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
11809 for Linux: use nsec instead of usec, as well as:
11810 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
11811 members of type struct timespec.
11812 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
11814 (struct stat64): Likewise.
11815 (_STATBUF_ST_NSEC): New macro.
11816 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
11818 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11819 __strtoul_internal rather than strtoul.
11821 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11823 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
11826 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11828 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
11829 which preserves existing values.
11830 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
11832 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11834 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
11835 TIMEOUT values. Return EINVAL for NFDS values either negative or
11836 greater than FD_SETSIZE.
11838 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11840 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
11841 allocated, call __vm_protect to finish enabling the existing space, and
11842 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
11843 allocate the remainder.
11845 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11847 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
11848 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
11850 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11852 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
11853 sysdeps/mach/hurd/readlink.c.
11855 * posix/tst-sysconf.c (posix_options): Only use
11856 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
11857 _POSIX_SYNCHRONIZED_IO when they are defined
11858 * sysdeps/mach/hurd/bits/posix_opt.h:
11859 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
11860 (_XOPEN_REALTIME): Undefine macro.
11861 (_XOPEN_REALTIME_THREADS): Undefine macro.
11862 (_XOPEN_SHM): Undefine macro.
11863 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
11865 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
11867 (_POSIX_ASYNC_IO): Undefine macro.
11868 (_POSIX_PRIORITIZED_IO): Undefine macro.
11869 (_POSIX_SPIN_LOCKS): Define macro to -1.
11871 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
11872 SA_NODEFER, SA_RESETHAND.
11873 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
11874 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
11877 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11879 * elf/Makefile (pldd-modules): Define unconditionally.
11881 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11883 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
11885 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11887 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
11888 Return ENOENT when name is empty.
11889 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
11891 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11893 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
11895 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
11897 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11899 Fix mlock in all cases except non-readable pages.
11900 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
11901 instead of VM_PROT_ALL as parameter to __vm_wire function.
11903 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
11904 (__mkdir): When path is `/', just fail with EEXIST.
11905 * sysdeps/mach/hurd/mkdirat.c: Likewise.
11907 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11909 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
11910 <sys/uio.h> (for writev).
11911 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
11912 and <sys/param.h> (for MIN).
11914 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11916 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
11917 REQUESTED_TIME. Properly set the remaining time and return EINTR
11920 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11922 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
11923 Depend on against $(link-rpcuserlibs).
11925 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11927 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
11928 (__libc_stack_end): Do not use attribute_relro.
11929 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
11930 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
11931 to libthread-provided value.
11932 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
11935 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11938 * bits/libc-lock.h (__libc_once_get): New macro.
11939 * sysdeps/mach/bits/libc-lock.h: Likewise.
11940 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
11941 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
11942 instead of using implementation details.
11944 * libio/fileops.c: Unconditionally include <kernel-features.h>.
11945 * libio/freopen.c: Likewise.
11946 * libio/freopen64.c: Likewise.
11947 * misc/syslog.c: Likewise.
11948 * nscd/connections.c: Likewise.
11949 * nscd/netgroupcache.c: Likewise.
11950 * sysdeps/posix/getcwd.c: Likewise.
11952 2012-05-10 Roland McGrath <roland@hack.frob.com>
11954 * math/w_ilogbf.c: Add #include <limits.h>.
11956 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11958 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
11959 path instead of returning without unlocking.
11961 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
11962 immediate-write ioctls.
11963 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
11965 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11967 * sysdeps/mach/hurd/i386/init-first.c (init): Use
11968 __builtin_frame_address instead of making assumptions about the
11969 location of the return address relative to DATA. Force early load of
11970 the return address.
11971 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
11972 __builtin_frame_address.
11975 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
11976 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
11977 implement dup3 and do some further code clean-ups.
11978 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
11979 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
11981 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11983 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
11985 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
11986 HURD_CRITICAL_END around holding _hurd_dtable_lock.
11987 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
11988 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
11989 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
11992 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
11993 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
11994 when handler == SIG_ERR, not when handler != SIG_ERR.
11996 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11998 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
11999 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
12002 accept4 for GNU Hurd.
12003 * include/sys/socket.h (__libc_accept4): New prototype.
12004 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
12005 to implement __libc_accept4.
12006 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
12008 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
12010 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
12011 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
12012 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
12013 signal-defines.sym.
12015 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12017 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
12019 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12021 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
12022 assertion on O_CLOEXEC flag.
12023 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
12024 * hurd/intern-fd.c: Likewise.
12025 * hurd/port2fd.c: Likewise.
12027 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12030 * bits/in.h (IPV6_PKTINFO): Define new macro.
12031 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
12033 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12038 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
12039 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12040 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
12041 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12042 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12043 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12044 * math/libm-test.inc (logb_test) : Additional logb tests.
12046 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
12047 Andreas Jaeger <aj@suse.de>
12049 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
12050 * configure: Regenerated.
12051 * config.h.in (LINK_OBSOLETE_RPC): New macro.
12052 * config.make.in (link-obsolete-rpc): New substituted variable.
12053 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
12054 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
12055 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12056 (shared-only-routines): Don't set it under [link-obsolete-rpc],
12057 so that libc.a contains the symbols.
12058 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12059 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
12060 * sunrpc/auth_none.c: Likewise.
12061 * sunrpc/auth_unix.c: Likewise.
12062 * sunrpc/authdes_prot.c: Likewise.
12063 * sunrpc/authuxprot.c: Likewise.
12064 * sunrpc/clnt_gen.c: Likewise.
12065 * sunrpc/clnt_perr.c: Likewise.
12066 * sunrpc/clnt_raw.c: Likewise.
12067 * sunrpc/clnt_simp.c: Likewise.
12068 * sunrpc/clnt_tcp.c: Likewise.
12069 * sunrpc/clnt_udp.c: Likewise.
12070 * sunrpc/clnt_unix.c: Likewise.
12071 * sunrpc/des_crypt.c: Likewise.
12072 * sunrpc/des_soft.c: Likewise.
12073 * sunrpc/get_myaddr.c: Likewise.
12074 * sunrpc/key_call.c: Likewise.
12075 * sunrpc/key_prot.c: Likewise.
12076 * sunrpc/netname.c: Likewise.
12077 * sunrpc/pm_getmaps.c: Likewise.
12078 * sunrpc/pm_getport.c: Likewise.
12079 * sunrpc/pmap_clnt.c: Likewise.
12080 * sunrpc/pmap_prot.c: Likewise.
12081 * sunrpc/pmap_prot2.c: Likewise.
12082 * sunrpc/pmap_rmt.c: Likewise.
12083 * sunrpc/publickey.c: Likewise.
12084 * sunrpc/rpc_cmsg.c: Likewise.
12085 * sunrpc/rpc_common.c: Likewise.
12086 * sunrpc/rpc_dtable.c: Likewise.
12087 * sunrpc/rpc_prot.c: Likewise.
12088 * sunrpc/rpc_thread.c: Likewise.
12089 * sunrpc/rtime.c: Likewise.
12090 * sunrpc/svc.c: Likewise.
12091 * sunrpc/svc_auth.c: Likewise.
12092 * sunrpc/svc_raw.c: Likewise.
12093 * sunrpc/svc_run.c: Likewise.
12094 * sunrpc/svc_tcp.c: Likewise.
12095 * sunrpc/svc_udp.c: Likewise.
12096 * sunrpc/svc_unix.c: Likewise.
12097 * sunrpc/svcauth_des.c: Likewise.
12098 * sunrpc/xcrypt.c: Likewise.
12099 * sunrpc/xdr.c: Likewise.
12100 * sunrpc/xdr_array.c: Likewise.
12101 * sunrpc/xdr_float.c: Likewise.
12102 * sunrpc/xdr_intXX_t.c: Likewise.
12103 * sunrpc/xdr_mem.c: Likewise.
12104 * sunrpc/xdr_rec.c: Likewise.
12105 * sunrpc/xdr_ref.c: Likewise.
12106 * sunrpc/xdr_sizeof.c: Likewise.
12107 * sunrpc/xdr_stdio.c: Likewise.
12109 2012-05-10 Roland McGrath <roland@hack.frob.com>
12111 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
12112 change. Update copyright years.
12114 2012-05-10 Joseph Myers <joseph@codesourcery.com>
12116 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
12118 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
12119 Joseph Myers <joseph@codesourcery.com>
12120 Paul Pluzhnikov <ppluzhnikov@google.com>
12123 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
12125 [cross-compiling] (extra-libs): Likewise.
12126 [cross-compiling] (extra-libs-others): Likewise.
12127 [cross-compiling] (librpcsvc-routines): Likewise.
12128 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
12129 [cross-compiling] (omit-deps): Likewise.
12130 (sunrpc-CPPFLAGS): New variable.
12131 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
12132 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
12133 (cross-rpcgen-objs): New variable.
12134 (extra-objs): Append $(cross-rpcgen-objs).
12135 ($(cross-rpcgen-objs)): New rule.
12136 ($(objpfx)cross-rpcgen): Likewise.
12137 (rpcgen-cmd): Define to use $(built-program-file). Expand
12139 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
12140 ($(objpfx)x%.stmp): Likewise.
12141 * sunrpc/proto.h [IS_IN_build] (_): Define.
12142 [IS_IN_build] (_libc_intl_domainname): Likewise.
12144 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12146 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
12147 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
12148 and R_X86_64_TPOFF64.
12150 2012-05-10 Joseph Myers <joseph@codesourcery.com>
12152 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
12153 sysdeps/unix/sysv/syscalls.list.
12156 * sysdeps/unix/sysv/syscalls.list: Remove file.
12158 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
12161 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
12162 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
12163 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
12164 (__LC_IDENTIFICATION): Make these macros useful in #if
12165 expressions, as required by C99.
12167 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
12169 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
12170 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
12173 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
12175 * stdlib/longlong.h: Updated from GCC.
12177 2012-05-09 Andreas Jaeger <aj@suse.de>
12179 * nscd/nscd.c (run_modes): Make named enum, reorder so that
12180 default is first entry.
12181 (run_mode): Set type.
12182 (main): Remove informal message about syslog.
12183 (options): Fix typo.
12186 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
12189 (llrintf): Likewise.
12190 (llrint): Likewise.
12193 (nearbyint): Likewise.
12194 (nearbyintf): Likewise.
12196 2012-05-09 Andreas Jaeger <aj@suse.de>
12197 Pedro Alves <palves@redhat.com>
12199 * nscd/nscd.c (run_mode): Use enum.
12200 (main): Cleanup coding style issue.
12202 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
12203 Andreas Jaeger <aj@suse.de>
12205 * nscd/nscd.c (go_background): Replaced with...
12206 (run_mode): ... this.
12207 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
12208 (options): Add -F --foreground.
12209 (main): Implement it.
12210 (parse_opt): Parse it.
12212 2012-05-09 Andreas Jaeger <aj@suse.de>
12215 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
12216 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
12217 -Wconversion warning.
12218 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
12221 2012-05-09 Joseph Myers <joseph@codesourcery.com>
12223 * conform/data/locale.h-data (NULL): Use macro-constant. Require
12225 (LC_ALL): Use macro-int-constant.
12226 (LC_COLLATE): Likewise.
12227 (LC_CTYPE): Likewise.
12228 (LC_MESSAGES): Likewise.
12229 (LC_MONETARY): Likewise.
12230 (LC_NUMERIC): Likewise.
12231 (LC_TIME): Likewise.
12232 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
12233 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12234 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12235 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
12237 [C99-based standards] (float_t): Expect type.
12238 [C99-based standards] (double_t): Expect type.
12239 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
12241 [C99-based standards] (HUGE_VALL): Likewise.
12242 [C99-based standards] (INFINITY): Likewise.
12243 [C99-based standards] (NAN): Likewise.
12244 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
12245 [C99-based standards] (FP_NAN): Likewise.
12246 [C99-based standards] (FP_NORMAL): Likewise.
12247 [C99-based standards] (FP_SUBNORMAL): Likewise.
12248 [C99-based standards] (FP_ZERO): Likewise.
12249 [C99-based standards] (FP_FAST_FMA): Use
12250 optional-macro-int-constant. Specify type. Require == 1.
12251 [C99-based standards] (FP_FAST_FMAF): Likewise.
12252 [C99-based standards] (FP_FAST_FMAL): Likewise.
12253 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
12254 [C99-based standards] (FP_ILOGBNAN): Likewise.
12255 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
12257 [C99-based standards] (MATH_ERREXCEPT): Likewise.
12258 [C99-based standards] (math_errhandling): Specify type.
12259 [ISO99 || ISO11] (signgam): Do not allow.
12260 [non-C99-based standards] (copysignf): Do not allow.
12261 [non-C99-based standards] (exp2f): Likewise.
12262 [non-C99-based standards] (log2f): Likewise.
12263 [non-C99-based standards] (modff): Allow.
12264 [non-C99-based standards] (erff): Do not allow.
12265 [non-C99-based standards] (erfcf): Likewise.
12266 [non-C99-based standards] (gammaf): Likewise.
12267 [non-C99-based standards] (hypotf): Likewise.
12268 [non-C99-based standards] (j0f): Likewise.
12269 [non-C99-based standards] (j1f): Likewise.
12270 [non-C99-based standards] (jnf): Likewise.
12271 [non-C99-based standards] (lgammaf): Likewise.
12272 [non-C99-based standards] (tgammaf): Likewise.
12273 [non-C99-based standards] (y0f): Likewise.
12274 [non-C99-based standards] (y1f): Likewise.
12275 [non-C99-based standards] (ynf): Likewise.
12276 [non-C99-based standards] (isnanf): Likewise.
12277 [non-C99-based standards] (acoshf): Likewise.
12278 [non-C99-based standards] (asinhf): Likewise.
12279 [non-C99-based standards] (atanhf): Likewise.
12280 [non-C99-based standards] (cbrtf): Likewise.
12281 [non-C99-based standards] (expm1f): Likewise.
12282 [non-C99-based standards] (ilogbf): Likewise.
12283 [non-C99-based standards] (log1pf): Likewise.
12284 [non-C99-based standards] (logbf): Likewise.
12285 [non-C99-based standards] (nextafterf): Likewise.
12286 [non-C99-based standards] (remainderf): Likewise.
12287 [non-C99-based standards] (rintf): Likewise.
12288 [non-C99-based standards] (scalbf): Likewise.
12289 [non-C99-based standards] (copysignl): Likewise.
12290 [non-C99-based standards] (exp2l): Likewise.
12291 [non-C99-based standards] (log2l): Likewise.
12292 [non-C99-based standards] (modfl): Allow.
12293 [non-C99-based standards] (erfl): Do not allow.
12294 [non-C99-based standards] (erfcl): Likewise.
12295 [non-C99-based standards] (gammal): Likewise.
12296 [non-C99-based standards] (hypotl): Likewise.
12297 [non-C99-based standards] (j0l): Likewise.
12298 [non-C99-based standards] (j1l): Likewise.
12299 [non-C99-based standards] (jnl): Likewise.
12300 [non-C99-based standards] (lgammal): Likewise.
12301 [non-C99-based standards] (tgammal): Likewise.
12302 [non-C99-based standards] (y0l): Likewise.
12303 [non-C99-based standards] (y1l): Likewise.
12304 [non-C99-based standards] (ynl): Likewise.
12305 [non-C99-based standards] (isnanl): Likewise.
12306 [non-C99-based standards] (acoshl): Likewise.
12307 [non-C99-based standards] (asinhl): Likewise.
12308 [non-C99-based standards] (atanhl): Likewise.
12309 [non-C99-based standards] (cbrtl): Likewise.
12310 [non-C99-based standards] (expm1l): Likewise.
12311 [non-C99-based standards] (ilogbl): Likewise.
12312 [non-C99-based standards] (log1pl): Likewise.
12313 [non-C99-based standards] (logbl): Likewise.
12314 [non-C99-based standards] (nextafterl): Likewise.
12315 [non-C99-based standards] (remainderl): Likewise.
12316 [non-C99-based standards] (rintl): Likewise.
12317 [non-C99-based standards] (scalbl): Likewise.
12318 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12319 [non-C99-based standards] (FP_*): Do not allow.
12320 [C99-based standards] (FP_*): Change to
12321 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12322 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12324 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
12325 (SIG_ERR): Likewise.
12326 [X/Open-based standards] (SIG_HOLD): Likewise.
12327 (SIG_IGN): Likewise.
12328 (SIGABRT): Use macro-int-constant. Specify type. Require
12330 (SIGFPE): Likewise.
12331 (SIGILL): Likewise.
12332 (SIGINT): Likewise.
12333 (SIGSEGV): Likewise.
12334 (SIGTER): Likewise.
12335 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
12336 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
12337 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
12338 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
12339 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
12340 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
12341 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
12342 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
12343 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
12344 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
12345 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
12346 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
12347 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
12348 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
12349 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
12350 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
12351 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
12352 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
12353 [X/Open-based standards] (SIGTRAP): Likewise.
12354 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
12355 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
12356 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
12357 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
12358 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12361 2012-05-08 Ian Wienand <ianw@vmware.com>
12364 * time/tzset.c (__tzset_parse_tz): Update default rules for
12365 daylight time changes in the Energy Policy Act of 2005.
12367 2012-05-09 Andreas Jaeger <aj@suse.de>
12370 * elf/ldconfig.c (parse_conf): Change string to make clear that
12371 ldconfig only issued a warning if ld.so.conf does not exist.
12373 2012-05-08 David S. Miller <davem@davemloft.net>
12375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
12376 movxtod instead of popping the value on the stack.
12378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12380 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
12382 * config.h.in: Add HAVE_ARM_PCS_VFP.
12384 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
12387 * include/features.h: Warn if user requests __FORTIFY_SOURCE
12388 checking but the checks are disabled for any reason.
12390 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
12392 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
12393 and ELF64_R_TYPE with ELFW(R_TYPE).
12395 2012-05-08 Joseph Myers <joseph@codesourcery.com>
12397 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
12398 (ulimit): Likewise.
12400 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
12401 (settimeofday): Likewise.
12403 2012-05-08 Mike Frysinger <vapier@gentoo.org>
12405 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
12406 a struct th_u2 inside the union, and move tu_block/tu_code into
12407 a new th_u3 union of tu_block/tu_code inside of that. Move
12408 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
12409 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
12410 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
12411 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
12412 (th_stuff): Change to th_u1.tu_stuff.
12414 (th_msg): Change to th_u1.th_u2.tu_data.
12416 2012-05-07 David S. Miller <davem@davemloft.net>
12418 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12421 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
12422 (SETUP_PIC_REG): Use it.
12423 (SETUP_PIC_REG_LEAF): Use it.
12425 2012-05-07 Joseph Myers <joseph@codesourcery.com>
12429 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12431 (EXPL_FINITE): Likewise.
12432 (FLDLOG): Likewise.
12433 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
12434 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
12436 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12438 (EXPL_FINITE): Likewise.
12439 (FLDLOG): Likewise.
12440 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
12441 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
12443 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
12444 test of -max_value argument for long double.
12445 * sysdeps/i386/fpu/libm-test-ulps: Update.
12446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12448 2012-05-06 David S. Miller <davem@davemloft.net>
12450 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
12451 quad soft-float symbols whose references which are compiler
12453 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12455 2012-05-06 Joseph Myers <joseph@codesourcery.com>
12459 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12461 (EXPL_FINITE): Likewise.
12462 (FLDLOG): Likewise.
12465 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
12466 Adjust comments for base varying.
12467 (__expl_finite): Change alias to EXPL_FINITE.
12468 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
12470 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
12471 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12472 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12473 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
12474 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12476 (EXPL_FINITE): Likewise.
12477 (FLDLOG): Likewise.
12480 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
12481 Adjust comments for base varying.
12482 (__expl_finite): Change alias to EXPL_FINITE.
12483 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
12485 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12488 * math/libm-test.inc (check_float_internal): Correct ulp
12489 calculation for subnormal expected results.
12491 2012-05-06 Andreas Jaeger <aj@suse.de>
12493 * Makeconfig (+math-flags): New, set to -frounding-math.
12494 (+cflags): Add +math-flags so that all of glibc gets compiled with
12497 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
12499 2012-05-05 Joseph Myers <joseph@codesourcery.com>
12501 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
12507 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
12508 (__ieee754_expl): Allow for and saturate large arguments.
12509 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
12510 (u_threshold): Likewise.
12511 (__exp): Call __ieee754_exp before checking for overflow and
12513 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
12514 (u_threshold): Likewise.
12515 (__expf): Call __ieee754_expf before checking for overflow and
12517 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
12518 (u_threshold): Likewise.
12519 (__expl): Call __ieee754_expl before checking for overflow and
12521 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
12522 (__ieee754_expl): Allow for and saturate large arguments.
12523 * math/libm-test.inc (exp_test): Add another test. Do not allow
12524 missing overflow exception on overflow.
12525 (expm1_test): Do not allow missing overflow exception on overflow.
12527 * sysdeps/i386/fpu/e_expl.c: Move to ...
12528 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
12529 rather than using inline asm.
12530 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
12531 * sysdeps/x86_64/fpu/e_expl.S: Copy from
12532 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
12534 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
12537 (signal): Likewise.
12541 2012-05-04 Joseph Myers <joseph@codesourcery.com>
12543 * sysdeps/unix/syscalls.list (adjtime): Add entry from
12544 sysdeps/unix/common/syscalls.list.
12545 (fchmod): Likewise.
12546 (fchown): Likewise.
12547 (ftruncate): Likewise.
12548 (getrusage): Likewise.
12549 (gettimeofday): Likewise.
12550 (setpgid): Likewise.
12551 (setregid): Likewise.
12552 (setreuid): Likewise.
12553 (sigaction): Likewise.
12554 (truncate): Likewise.
12555 (vhangup): Likewise.
12556 * sysdeps/unix/common/syscalls.list: Remove file.
12557 * sysdeps/unix/bsd/Implies: Don't include unix/common.
12558 * sysdeps/unix/sysv/linux/Implies: Likewise.
12560 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
12562 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
12563 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
12564 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
12566 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12568 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
12570 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
12571 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
12573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
12574 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
12576 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
12577 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
12579 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
12580 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
12582 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
12583 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
12585 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
12586 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
12588 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12590 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
12592 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
12594 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
12596 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
12597 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
12599 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
12601 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
12603 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
12605 2012-05-04 Joseph Myers <joseph@codesourcery.com>
12607 * sysdeps/unix/common/bits/dirent.h: Remove file.
12608 * sysdeps/unix/common/bits/fcntl.h: Likewise.
12610 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
12611 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
12612 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
12613 * sysdeps/unix/bsd/isatty.c: Likewise.
12614 * sysdeps/unix/bsd/tcdrain.c: Likewise.
12615 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
12616 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
12618 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12621 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
12622 long double comparison inaccuracies.
12623 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12626 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
12628 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
12629 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
12631 2012-05-04 Joseph Myers <joseph@codesourcery.com>
12634 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
12635 nonzero digits before rounding a hex value.
12636 * stdlib/tst-strtod.c (tests): Add another test.
12638 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12640 * sysdeps/s390/fpu/libm-test-ulps: Update.
12642 2012-05-03 Andreas Jaeger <aj@suse.de>
12644 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
12645 does not get optimized out.
12646 (malloc_opt_barrier): New.
12648 2012-05-03 Andreas Jaeger <aj@suse.de>
12649 Roland McGrath <roland@hack.frob.com>
12651 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
12652 intermediate file deletion.
12653 (generated): Add .symlist files.
12655 2012-05-03 Joseph Myers <joseph@codesourcery.com>
12658 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
12659 Redirect under this condition.
12660 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12661 [__USE_GNU] (__dprintf_chk): Not under this condition.
12662 [__USE_GNU] (__vdprintf_chk): Likewise.
12663 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
12664 under this condition.
12665 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12666 [__USE_XOPEN2K8] (dprintf): Define under this condition.
12667 [__USE_XOPEN2K8] (vdprintf): Likewise.
12668 [__USE_GNU] (__dprintf_chk): Not under this condition.
12669 [__USE_GNU] (__vdprintf_chk): Likewise.
12670 [__USE_GNU] (dprintf): Likewise.
12671 [__USE_GNU] (vdprintf): Likewise.
12673 2012-05-03 Roland McGrath <roland@hack.frob.com>
12675 * elf/Makefile (common-generated): Set this instead of generated for
12676 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
12677 $(all-built-dso)-derived lists.
12679 2012-05-03 Andreas Jaeger <aj@suse.de>
12681 * sysdeps/i386/fpu/libm-test-ulps: Update.
12684 * FAQ.in: Likewise.
12685 * scripts/gen-FAQ.pl: Likewise.
12686 * manual/install.texi (Installation): Point to online location of
12688 * Makefile (files-for-dist): Remove FAQ.
12691 2012-05-02 Allan McRae <allan@archlinux.org>
12693 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
12694 (LDFLAGS-reldepmod5.so): Likewise.
12695 (LDFLAGS-reldep6mod1.so): Likewise.
12696 (LDFLAGS-reldep6mod4.so): Likewise.
12697 (LDFLAGS-reldep8mod3.so): Likewise.
12698 (LDFLAGS-unload4mod1.so): Likewise.
12699 (LDFLAGS-unload4mod2.so): Likewise.
12700 (LDFLAGS-tst-initorder): Likewise.
12701 (LDFLAGS-tst-initordera2.so): Likewise.
12702 (LDFLAGS-tst-initordera3.so): Likewise.
12703 (LDFLAGS-tst-initordera4.so): Likewise.
12704 (LDFLAGS-tst-initorderb2.so): Likewise.
12705 (LDFLAGS-noload): Likewise.
12706 (LDFLAGS-next): Likewise.
12707 (LDFLAGS-order2mod1.so): Likewise.
12708 (LDFLAGS-order2mod2.so): Likewise.
12709 (LDFLAGS-tst-initorder2): Likewise.
12710 (LDFLAGS-tst-initorder2a.so): Likewise.
12711 (LDFLAGS-tst-initorder2b.so): Likewise.
12712 (LDFLAGS-tst-initorder2c.so): Likewise.
12713 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
12715 2012-05-02 David S. Miller <davem@davemloft.net>
12717 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12719 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
12722 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
12724 2012-05-02 Andreas Jaeger <aj@suse.de>
12726 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
12727 since we manipulate rounding mode.
12728 (CPPFLAGS-test-idouble.c): Likewise.
12729 (CPPFLAGS-test-ifloat.c): Likewise.
12730 (CFLAGS-test-ldouble.c): Likewise.
12731 (CFLAGS-test-double.c): Likewise.
12732 (CFLAGS-test-float.c): Likewise.
12733 (CFLAGS-test-misc.c): Likewise.
12734 (CFLAGS-test-test-fenv.c): Likewise.
12736 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12740 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
12741 comparisons to determine direction to adjust input.
12743 2012-05-01 Roland McGrath <roland@hack.frob.com>
12745 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
12746 output to the target.
12748 * scripts/localplt.awk: New file.
12749 * elf/Makefile ($(objpfx)check-localplt): Target removed.
12750 (check-localplt-CFLAGS): Variable removed.
12751 ($(all-built-dso:=.jmprel)): New static pattern rule.
12752 (generated): Add those targets.
12753 (localplt-built-dso): New variable.
12754 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
12756 * elf/check-localplt.c: File removed.
12758 * scripts/check-execstack.awk: New file.
12759 * elf/Makefile ($(objpfx)check-execstack): Target removed.
12760 (check-execstack-CFLAGS): Variable removed.
12761 ($(objpfx)check-execstack.h): Target removed.
12762 ($(objpfx)execstack-default): New target.
12763 (generated): Add that instead of check-execstack.h.
12764 ($(all-built-dso:=.phdr)): New static pattern rule.
12765 (generated): Add those targets.
12766 * elf/check-execstack.c: File removed.
12768 * scripts/check-textrel.awk: New file.
12769 * elf/Makefile ($(objpfx)check-textrel): Target removed.
12770 (check-textrel-CFLAGS): Variable removed.
12771 (all-built-dso): Use := to define.o
12772 ($(all-built-dso:=.dyn)): New static pattern rule.
12773 (generated): Add those targets.
12774 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
12775 * config.make.in (READELF): New substituted variable.
12776 * elf/check-textrel.c: File removed.
12778 2012-05-01 Joseph Myers <joseph@codesourcery.com>
12780 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12782 * conform/data/ctype.h-data [C99-based standards] (isblank):
12784 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
12785 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
12786 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12787 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
12788 Specify type. Require positive value.
12789 (EILSEQ): Likewise.
12790 (ERANGE): Likewise.
12791 [ISO || POSIX] (EILSEQ): Do not expect.
12792 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
12793 Specify type. Require positive value.
12794 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
12795 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
12796 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
12797 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
12798 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
12799 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
12800 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
12801 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
12802 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
12803 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
12804 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
12805 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
12806 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
12807 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
12808 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
12809 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
12810 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
12811 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
12812 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
12813 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
12814 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
12815 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
12816 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
12817 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
12818 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
12819 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
12820 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
12821 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
12822 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
12823 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
12824 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
12825 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
12826 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
12827 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
12828 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
12829 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
12830 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
12831 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
12832 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
12833 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
12834 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
12835 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
12836 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
12837 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
12838 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
12839 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
12840 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
12841 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
12842 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
12843 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
12844 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
12845 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
12846 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
12847 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
12848 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
12849 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
12850 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
12851 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
12852 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
12853 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
12854 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
12855 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
12856 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
12857 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
12858 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
12859 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
12860 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
12861 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
12862 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
12863 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
12864 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
12865 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
12866 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
12867 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
12868 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
12869 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
12870 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
12872 (FLT_ROUNDS): Expect as macro, not constant.
12873 (FLT_MANT_DIG): Use macro-int-constant.
12874 (DBL_MANT_DIG): Likewise.
12875 (LDBL_MANT_DIG): Likewise.
12876 (FLT_DIG): Likewise.
12877 (DBL_DIG): Likewise.
12878 (LDBL_DIG): Likewise.
12879 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
12880 (DBL_MIN_EXP): Likewise.
12881 (LDBL_MIN_EXP): Likewise.
12882 (FLT_MAX_EXP): Use macro-int-constant.
12883 (DBL_MAX_EXP): Likewise.
12884 (LDBL_MAX_EXP): Likewise.
12885 (FLT_MAX_10_EXP): Likewise.
12886 (DBL_MAX_10_EXP): Likewise.
12887 (LDBL_MAX_10_EXP): Likewise.
12888 (FLT_MAX): Use macro-constant.
12889 (DBL_MAX): Likewise.
12890 (LDBL_MAX): Likewise.
12891 (FLT_EPSILON): Use macro-constant. Give upper bound.
12892 (DBL_EPSILON): Likewise.
12893 (LDBL_EPSILON): Likewise.
12894 (FLT_MIN): Likewise.
12895 (DBL_MIN): Likewise.
12896 (LDBL_MIN): Likewise.
12897 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
12898 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
12899 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
12900 [ISO11] (FLT_HAS_SUBNORM): Likewise.
12901 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
12902 [ISO11] (DBL_DECIMAL_DIG): Likewise.
12903 [ISO11] (FLT_DECIMAL_DIG): Likewise.
12904 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
12905 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
12906 [ISO11] (FLT_TRUE_MIN): Likewise.
12907 [ISO11] (LDBL_TRUE_MIN): Likewise.
12908 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12909 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
12910 (SCHAR_MIN): Use macro-int-constant. Specify type.
12911 (SCHAR_MAX): Likewise.
12912 (UCHAR_MAX): Likewise.
12913 (CHAR_MIN): Likewise.
12914 (CHAR_MAX): Likewise.
12915 (MB_LEN_MAX): Use macro-int-constant.
12916 (SHRT_MIN): Use macro-int-constant. Specify type.
12917 (SHRT_MAX): Likewise.
12918 (USHRT_MAX): Likewise.
12919 (INT_MAX): Likewise.
12920 (INT_MIN): Use macro-int-constant. Specify type. Make upper
12922 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
12924 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12926 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
12927 bound negative. Suffix upper bound with "L".
12928 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12930 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
12932 [C99-based standards] (LLONG_MAX): Likewise.
12933 [C99-based standards] (ULLONG_MAX): Likewise.
12934 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
12936 [ISO11] (max_align_t): Require type.
12937 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12939 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
12940 from $CFLAGS, without defining away __attribute__ calls.
12941 (checknamespace): Use $CFLAGS_namespace.
12943 * conform/conformtest.pl (@keywords): Only include C99 keywords
12944 for standards based on C99 or C11.
12946 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
12948 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
12951 * conform/conformtest.pl: Handle "macro-int-constant" and test for
12952 usability of symbols in #if.
12954 * conform/conformtest.pl: If macro or constant types start
12955 "promoted:", expect the symbol to be of the following type
12956 promoted by the integer promotions.
12958 * conform/conformtest.pl: Parse all "constant" and "macro" lines
12959 in one place. Also handle "macro-constant".
12961 * conform/conformtest.pl: Only accept expected macro values with
12962 "==". Parse all "macro" lines in one place.
12963 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
12965 * conform/conformtest.pl: Handle braced types on "constant" lines
12966 instead of handling "typed-constant".
12967 * conform/data/signal.h-data: Use "constant" instead of
12970 * conform/conformtest.pl: Handle "optional-" at start of lines in
12971 one place rather than duplicating several cases. Handle each
12972 format of "macro" line with initial "optional-".
12974 * conform/conformtest.pl: Only accept expected constant or
12975 optional-constant values with "==". Parse all "constant" lines in
12976 one place. Parse all "optional-constant" lines in one place.
12977 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
12978 * conform/data/fmtmsg.h-data: Likewise.
12979 * conform/data/netinet/in.h-data: Likewise.
12980 * conform/data/tar.h-data: Likewise.
12981 * conform/data/limits.h-data: Use "==" form on "constant" and
12982 "optional-constant" lines.
12984 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
12985 Use -std=c99 for XOPEN2K.
12986 (@knownproblems): Remove.
12987 (newtoken): Don't check %isknown.
12989 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
12990 Do not expect macro.
12991 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
12992 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
12993 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
12994 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
12995 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
12996 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
12997 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
12998 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
12999 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
13000 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
13001 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
13002 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
13003 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
13004 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
13005 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
13006 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
13007 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
13008 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
13009 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
13010 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
13011 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
13012 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
13013 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
13014 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
13015 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
13016 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
13017 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
13018 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
13019 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
13020 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
13021 [XPG3] (acosh): Likewise.
13022 [XPG3] (asinh): Likewise.
13023 [XPG3] (atanh): Likewise.
13024 [XPG3] (cbrt): Likewise.
13025 [XPG3] (expm1): Likewise.
13026 [XPG3] (ilogb): Likewise.
13027 [XPG3] (log1p): Likewise.
13028 [XPG3] (logb): Likewise.
13029 [XPG3] (nextafter): Likewise.
13030 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
13031 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
13032 [XPG3] (remainder): Likewise.
13033 [XPG3] (rint): Likewise.
13034 [XPG3 || XPG4 || UNIX98] (round): Likewise.
13035 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
13036 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
13037 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
13038 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
13039 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
13040 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
13041 [UNIX98 || XOPEN2K] (scalb): Expect.
13042 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
13043 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
13044 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
13045 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
13046 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
13047 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
13048 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
13049 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
13050 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
13051 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
13052 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
13053 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
13054 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
13055 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
13056 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
13057 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
13058 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
13059 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
13060 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
13061 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
13062 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
13063 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
13064 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
13065 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
13066 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
13067 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
13068 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
13069 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
13070 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
13071 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
13072 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
13073 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
13074 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
13075 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
13076 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
13077 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
13078 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
13079 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
13080 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
13081 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
13082 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
13083 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
13084 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
13085 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
13086 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
13087 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
13088 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
13089 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
13090 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
13091 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
13092 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
13093 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
13094 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
13095 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
13096 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
13097 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
13098 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
13099 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
13100 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
13101 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
13102 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
13103 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
13104 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
13105 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
13106 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
13107 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
13108 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
13109 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
13110 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
13111 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
13112 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
13113 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
13114 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
13115 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
13116 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
13117 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
13118 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
13119 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
13120 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
13121 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
13122 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
13123 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
13124 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
13125 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
13126 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
13127 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
13128 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
13129 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
13130 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
13131 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
13132 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
13133 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
13134 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
13135 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
13136 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
13137 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
13138 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
13139 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
13140 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
13141 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
13142 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
13143 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
13144 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
13145 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
13146 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
13147 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
13148 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
13149 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
13150 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
13151 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
13152 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
13153 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
13154 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
13155 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
13156 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
13157 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
13158 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
13159 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
13160 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
13161 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
13162 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
13163 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
13164 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
13165 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
13166 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
13167 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
13168 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
13169 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
13170 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
13171 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
13172 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
13173 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
13174 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
13175 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
13176 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
13177 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
13178 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
13180 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
13181 _XOPEN_SOURCE_EXTENDED for XPG4.
13183 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
13185 * Makeconfig (localtime): Remove variable.
13186 (inst_localtime-file): Likewise.
13188 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
13202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
13206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13209 2012-05-01 Joseph Myers <joseph@codesourcery.com>
13213 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
13214 comparisons to determine direction to adjust input.
13215 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13216 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
13217 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13219 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13221 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13223 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13224 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13226 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13228 * math/libm-test.inc (nexttoward_test): Add more tests.
13230 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13233 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
13234 in version GLIBC_2.1, not GLIBC_2.0.
13235 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
13238 2012-04-30 Joseph Myers <joseph@codesourcery.com>
13241 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
13243 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13244 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
13245 * math/libm-test.inc (acos_test): Add more tests.
13246 (asin_test): Likewise.
13247 * sysdeps/i386/fpu/libm-test-ulps: Update.
13248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13251 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
13253 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
13254 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13255 * math/libm-test.inc (acos_test_tonearest): New function.
13256 (acos_test_towardzero): Likewise.
13257 (acos_test_downward): Likewise.
13258 (acos_test_upward): Likewise.
13259 (asin_test_tonearest): Likewise.
13260 (asin_test_towardzero): Likewise.
13261 (asin_test_downward): Likewise.
13262 (asin_test_upward): Likewise.
13263 (main): Call the new functions.
13264 * sysdeps/i386/fpu/libm-test-ulps: Update.
13265 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13269 * math/e_exp10.c: Include <float.h>.
13270 (__ieee754_exp10): Handle underflow here rather than multiplying
13271 large negative argument by M_LN10.
13272 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
13274 * math/e_exp10l.c: Include <float.h>.
13275 (__ieee754_exp10l): Handle underflow here rather than multiplying
13276 large negative argument by M_LN10l.
13277 * math/libm-test.inc (exp10_test): Add another test. Do not allow
13278 spurious overflow exception on underflow.
13280 2012-04-29 Marek Polacek <polacek@redhat.com>
13282 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
13283 (__fortify_function): New macro.
13284 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
13285 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
13286 __extern_always_inline.
13287 * libio/bits/stdio2.h: Likewise.
13288 * libio/bits/stdio.h: Likewise.
13289 * string/string.h: Likewise.
13290 * string/bits/string3.h: Likewise.
13291 * include/stdio.h: Likewise.
13292 * stdlib/bits/stdlib.h: Likewise.
13293 * stdlib/stdlib.h: Likewise.
13294 * rt/bits/mqueue2.h: Likewise.
13295 * rt/mqueue.h: Likewise.
13296 * posix/bits/unistd.h: Likewise.
13297 * posix/unistd.h: Likewise.
13298 * io/bits/poll2.h: Likewise.
13299 * io/bits/fcntl2.h: Likewise.
13300 * io/fcntl.h: Likewise.
13301 * io/sys/poll.h: Likewise.
13302 * misc/bits/syslog.h: Likewise.
13303 * misc/bits/syslog-ldbl.h: Likewise.
13304 * misc/sys/syslog.h: Likewise.
13305 * socket/bits/socket2.h: Likewise.
13306 * socket/sys/socket.h: Likewise.
13307 * debug/tst-chk1.c: Likewise.
13308 * wcsmbs/bits/wchar2.h: Likewise.
13309 * wcsmbs/bits/wchar-ldbl.h: Likewise.
13310 * wcsmbs/wchar.h: Likewise.
13312 2012-04-29 Andreas Jaeger <aj@suse.de>
13314 * Makerules (tests): Remove enable-check-abi protection.
13315 (check-abi-warn): Remove.
13316 (check-abi-%): Remove check-abi-warn usage.
13318 * configure.in: Remove check-abi configure option.
13319 * configure: Regenerated.
13320 * config.make.in (enable-check-abi): Remove.
13322 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
13325 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
13326 double functions to double *_finite functions.
13329 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
13330 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
13332 * stdio-common/Makefile (tests): Add tst-sprintf3.
13333 * stdio-common/tst-sprintf3.c: New file.
13335 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
13336 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
13338 2012-04-28 Joseph Myers <joseph@codesourcery.com>
13340 * conform/conformtest.pl: Remove duplicate typed-constant
13343 2012-04-28 David S. Miller <davem@davemloft.net>
13345 * Makerules (%.abilist): Add vpath on sysdep_dirs.
13346 (check-abi-%): Remove AWK script prerequisite and explicit
13348 (check-abi): Rewrite to just diff the symlist with the abilist.
13349 (config-tls, config-abi-config): Delete, no longer used.
13350 (update-abi-%): Remove AWK script and explicit abilist directory.
13351 (update-abi): Rewrite to simply compare and conditionally copy the
13352 symlist and the sysdep abilist file. Remove update-abi-config
13354 * abilist/ld.abilist: Remove.
13355 * abilist/libBrokenLocale.abilist: Remove.
13356 * abilist/libanl.abilist: Remove.
13357 * abilist/libcrypt.abilist: Remove.
13358 * abilist/libdl.abilist: Remove.
13359 * abilist/librt.abilist: Remove.
13360 * abilist/libthread_db.abilist: Remove.
13361 * abilist/libutil.abilist: Remove.
13362 * scripts/extract-abilist.awk: Remove.
13363 * scripts/merge-abilist.awk: Remove.
13364 * sysdeps/generic/libcidn.abilist: New file.
13365 * sysdeps/generic/libnss_compat.abilist: New file.
13366 * sysdeps/generic/libnss_db.abilist: New file.
13367 * sysdeps/generic/libnss_dns.abilist: New file.
13368 * sysdeps/generic/libnss_files.abilist: New file.
13369 * sysdeps/generic/libnss_hesiod.abilist: New file.
13370 * sysdeps/generic/libnss_nis.abilist: New file.
13371 * sysdeps/generic/libnss_nisplus.abilist: New file.
13372 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
13373 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
13374 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
13376 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
13377 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
13378 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
13379 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
13380 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
13381 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
13382 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
13383 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
13384 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
13386 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
13387 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
13388 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
13389 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
13391 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
13392 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
13393 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
13394 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
13395 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
13396 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
13398 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
13399 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
13400 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
13402 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
13403 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
13405 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
13407 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
13409 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
13411 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
13413 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
13415 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
13417 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
13419 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
13421 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
13423 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
13425 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
13427 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
13429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
13431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
13433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
13435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
13437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
13439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
13441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
13443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
13445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
13449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
13451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
13453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
13455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
13456 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
13458 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
13460 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
13462 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
13464 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
13466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
13468 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
13470 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13472 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
13474 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
13476 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
13478 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
13480 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
13481 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
13483 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
13485 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
13487 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
13489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
13491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
13493 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
13495 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
13499 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
13501 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
13503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
13505 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
13506 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
13507 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
13509 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
13510 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
13511 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
13512 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
13513 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
13514 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
13515 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
13516 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
13517 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
13518 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
13519 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
13520 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
13522 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
13524 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
13526 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
13528 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
13530 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
13532 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
13534 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13536 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
13538 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
13540 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
13542 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
13544 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
13545 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
13547 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
13549 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
13551 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
13553 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
13555 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
13557 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
13559 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13561 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
13563 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
13565 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
13567 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
13570 2012-04-28 Joseph Myers <joseph@codesourcery.com>
13572 * conform/conformtest.pl: Fix typo in handling typed-constant from
13575 2012-04-27 Joseph Myers <joseph@codesourcery.com>
13577 * README: Cut down references to pre-2.6 Linux kernels and
13578 Linuxthreads. Update lists of configurations in libc and ports
13579 and sort alphabetically. Say "or newer" with Linux kernel version
13582 * config.h.in [IS_IN_build]: Allow compiling without optimization.
13584 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13587 * math/libm-test.inc (logb_test_downward): New test to expose
13588 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
13591 2012-04-27 Joseph Myers <joseph@codesourcery.com>
13594 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
13596 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
13597 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
13599 2012-04-26 Joseph Myers <joseph@codesourcery.com>
13601 * sysdeps/unix/i386/brk.S: Remove file.
13602 * sysdeps/unix/i386/dl-brk.S: Likewise.
13603 * sysdeps/unix/i386/pipe.S: Likewise.
13604 * sysdeps/unix/i386/sigreturn.S: Likewise.
13605 * sysdeps/unix/i386/syscall.S: Likewise.
13606 * sysdeps/unix/i386/vfork.S: Likewise.
13607 * sysdeps/unix/i386/wait.S: Likewise.
13609 * sysdeps/unix/common/tcsendbrk.c: Move to ...
13610 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
13612 * configure.in (arm*-none*): Do not allow without
13613 --enable-hacker-mode.
13614 (netbsd*): Remove case setting base_os.
13615 (386bsd*): Likewise.
13616 (freebsd*): Likewise.
13619 (sunos*): Likewise.
13620 (ultrix*): Likewise.
13621 (newsos*): Likewise.
13622 (dynix*): Likewise.
13628 (minix*): Likewise.
13629 (irix4*): Likewise.
13630 (irix6*): Likewise.
13631 (solaris[2-9]*): Likewise.
13633 * configure: Regenerated.
13635 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13638 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
13639 overflow or cancellation in calculating denominator.
13640 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
13641 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
13642 down expression to avoid unexpected rounding in newer GCCs.
13643 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
13645 2012-04-26 David S. Miller <davem@davemloft.net>
13647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
13648 long-double compat symbols.
13649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
13653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
13655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
13656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
13657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
13658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
13659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
13660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
13661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13663 2012-04-25 David S. Miller <davem@davemloft.net>
13665 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
13666 HWCAP_* values only after the memory barriers have been defined.
13667 (atomic_full_barrier): Define.
13668 (atomic_read_barrier): Define.
13669 (atomic_write_barrier): Define.
13671 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13673 * shlib-versions: Add libgcc_s version information.
13674 * sysdeps/generic/libgcc_s.h: Remove.
13675 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
13677 * sysdeps/gnu/unwind-resume.c: Likewise.
13678 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
13680 2012-04-25 David S. Miller <davem@davemloft.net>
13682 * sysdeps/unix/sparc/brk.S: Delete.
13683 * sysdeps/unix/sparc/dl-brk.S: Delete.
13684 * sysdeps/unix/sparc/pipe.S: Delete.
13685 * sysdeps/unix/sparc/sysdep.S: Delete.
13686 * sysdeps/unix/sparc/sysdep.h: Delete.
13687 * sysdeps/unix/sparc/vfork.S: Delete.
13688 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
13689 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
13690 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
13691 ret_ERRVAL, r0, r1, MOVE): Define.
13692 (JUMPTARGET): Remove.
13693 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
13694 sysdeps/unix/sparc/sysdep.h
13695 (ENTRY, END): Remove.
13696 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13698 2012-04-25 Joseph Myers <joseph@codesourcery.com>
13700 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
13701 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
13704 * timezone/README: Update upstream location and email address for
13706 * timezone/zdump.c: Update from tzcode 2012b.
13707 * timezone/zic.c: Likewise.
13709 * configure.in (libc_cv_as_needed): Remove test.
13710 * configure: Regenerated.
13711 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
13712 conditional definition.
13713 [$(have-as-needed) != yes] (no-as-needed): Likewise.
13714 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
13715 * config.make.in (have-as-needed): Remove variable.
13717 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13718 Paul Pluzhnikov <ppluzhnikov@google.com>
13720 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
13723 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
13725 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
13726 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
13727 * sysdeps/sh/strlen.S: Likewise.
13729 2012-04-24 Joseph Myers <joseph@codesourcery.com>
13731 * sysdeps/unix/fork.S: Remove file.
13732 * sysdeps/unix/i386/fork.S: Likewise.
13733 * sysdeps/unix/sparc/fork.S: Likewise.
13735 * sysdeps/unix/system.c: Remove file.
13736 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
13738 * sysdeps/unix/getegid.S: Remove file.
13739 * sysdeps/unix/geteuid.S: Likewise.
13741 2012-04-24 Roland McGrath <roland@hack.frob.com>
13743 * scripts/check-localplt.awk: New file.
13744 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
13746 * scripts/data/localplt-generic.data: Add a comment.
13748 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
13749 NODE when __dir_mkfile failed.
13750 * sysdeps/mach/hurd/symlinkat.c: Likewise.
13751 Reported by Ludovic Courtès <ludo@gnu.org>.
13753 2012-04-24 Andreas Jaeger <aj@suse.de>
13755 * Makerules (common-clean): Also remove gen-as-const-headers
13758 2012-04-24 Joseph Myers <joseph@codesourcery.com>
13760 * Makerules (native-compile): Do not change working directory for
13761 build. Use $(OUTPUT_OPTION) in command.
13762 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
13764 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13767 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
13768 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
13769 * math/libm-test.inc (floor_test): Add more tests.
13770 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
13772 2012-04-24 Joseph Myers <joseph@codesourcery.com>
13774 * sysdeps/unix/getdents.c: Remove file.
13775 * sysdeps/unix/sysv/getdents.c: Likewise.
13776 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
13778 * sysdeps/unix/syscalls.list (madvise): Add syscall from
13779 sysdeps/unix/mman/syscalls.list.
13781 (mprotect): Likewise.
13783 (munmap): Likewise.
13784 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
13785 * sysdeps/unix/mman/syscalls.list: Remove.
13786 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
13788 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
13789 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
13790 * configure: Regenerated.
13791 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
13792 $(libgcc_s_suffix).
13793 * config.make.in (libgcc_s_suffix): Remove variable.
13795 2012-04-23 Joseph Myers <joseph@codesourcery.com>
13797 * sysdeps/unix/sysv/gethostname.c: Move to ...
13798 * sysdeps/posix/gethostname.c: ... here.
13800 * sysdeps/unix/execve.S: Remove file.
13802 * sysdeps/unix/_exit.S: Remove file.
13804 2012-04-23 Andreas Jaeger <aj@suse.de>
13807 * manual/Makefile: Remove make dist support, there's no
13808 need for a stand-alone documentation tar ball.
13809 (TEXI2DVI): Define always, it's not in Makeconfig.
13812 (edition): Removed.
13813 (glibc-doc-$(edition).tar): Removed
13817 (ETAGS): Remove, it's in Makeconfig.
13818 (move-if-change): Remove, it's in Makeconfig.
13820 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
13823 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
13824 (strtod, strtof, strtold, strtol, strtoul, strtoq)
13825 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
13826 (strtod_l, strtof_l, strtold_l): Remove __wur.
13827 It is not necessarily an error to ignore strtol's return value.
13828 One can reliably look at the stored endptr to decide whether
13829 the number had valid syntax.
13831 2012-04-21 Andreas Jaeger <aj@suse.de>
13834 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
13836 2012-04-21 Joseph Myers <joseph@codesourcery.com>
13838 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
13839 * sysdeps/unix/sysv/Versions: Remove file.
13841 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
13844 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13846 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
13849 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
13850 version from __vm86.
13852 2012-04-20 Joseph Myers <joseph@codesourcery.com>
13854 * sysdeps/unix/common/lxstat.c: Remove file.
13855 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
13857 * sysdeps/unix/sysv/Makefile: Remove file.
13859 * sysdeps/unix/sysv/direct.h: Remove file.
13861 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
13862 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
13863 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
13864 * sysdeps/unix/sysv/bits/signum.h: Likewise.
13865 * sysdeps/unix/sysv/bits/stat.h: Likewise.
13866 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
13867 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
13869 * sysdeps/unix/sysv/setrlimit.c: Remove file.
13871 * sysdeps/unix/xmknod.c: Remove file.
13872 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
13874 * sysdeps/unix/sysv/settimeofday.c: Remove file.
13876 * sysdeps/unix/sysv/i386/time.S: Remove file.
13878 * sysdeps/unix/fxstat.c: Remove file.
13879 * sysdeps/unix/xstat.c: Likewise.
13880 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
13882 * sysdeps/unix/sysv/sigaction.c: Remove file.
13884 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
13885 (sysdep_headers): Remove variable.
13886 [termio.h not in sysdep_headers] (generated): Likewise.
13887 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
13888 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
13889 * sysdeps/unix/sysv/tcdrain.c: Likewise.
13890 * sysdeps/unix/sysv/tcflow.c: Likewise.
13891 * sysdeps/unix/sysv/tcflush.c: Likewise.
13892 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
13893 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
13894 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
13895 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
13896 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
13898 * sysdeps/unix/siglist.c: Remove file.
13900 * sysdeps/unix/getppid.S: Remove file.
13902 * sysdeps/unix/mkdir.c: Remove file.
13903 * sysdeps/unix/rmdir.c: Likewise.
13905 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
13907 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
13909 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
13910 errlist-compat value.
13912 2012-04-18 David S. Miller <davem@davemloft.net>
13914 * sysdeps/generic/memcopy.h (reg_char): Delete.
13915 * debug/strcat_chk.c: Use char, not reg_char.
13916 * debug/strcpy_chk.c: Likewise.
13917 * debug/strncat_chk.c: Likewise.
13918 * debug/strncpy_chk.c: Likewise.
13919 * string/memchr.c: Likewise.
13920 * string/memrchr.c: Likewise.
13921 * string/rawmemchr.c: Likewise.
13922 * string/strcat.c: Likewise.
13923 * string/strchr.c: Likewise.
13924 * string/strchrnul.c: Likewise.
13925 * string/strcmp.c: Likewise.
13926 * string/strcpy.c: Likewise.
13927 * string/strncat.c: Likewise.
13928 * string/strncmp.c: Likewise.
13929 * string/strncpy.c: Likewise.
13931 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13933 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
13934 __builtin_memcopy is called when src and dest ranges are known to not
13937 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13939 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
13940 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
13941 fwd_align_merge macro call.
13942 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
13943 bwd_align_merge macro call.
13944 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13946 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13948 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
13949 bwd_align_merge macros.
13950 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
13951 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
13952 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13954 2012-04-18 David S. Miller <davem@davemloft.net>
13956 * sysdeps/sparc/sparc64/memcopy.h: Delete.
13958 2012-04-18 Andreas Jaeger <aj@suse.de>
13961 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
13962 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
13963 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13965 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
13966 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
13967 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13969 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
13970 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
13971 Adjust for changed ldbl-128 files.
13973 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
13974 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
13975 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13977 2012-04-17 David S. Miller <davem@davemloft.net>
13979 * sysdeps/sparc/sparc32/memcopy.h: Delete.
13981 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
13983 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
13984 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
13985 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
13986 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
13987 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13988 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
13990 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13993 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
13994 * math/libm-test.inc: Add ilogb errno and exception tests.
13995 * math/w_ilogb.c: New file: ilogb wrapper.
13996 * math/w_ilogbf.c: New file: ilogbf wrapper.
13997 * math/w_ilogbl.c: New file: ilogbl wrapper.
13998 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
13999 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
14000 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
14001 exception being thrown with 0.0 as argument.
14002 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
14003 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
14004 exception being thrown with 0.0 as argument.
14005 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
14006 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14007 exception being thrown with 0.0 as argument.
14008 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
14009 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14010 exception being thrown with 0.0 as argument.
14011 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
14012 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
14013 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
14014 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
14015 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
14016 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
14017 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
14018 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
14019 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
14021 2012-04-17 Petr Baudis <pasky@ucw.cz>
14023 * include/sys/uio.h: Change __vector to __iovec to avoid clash
14026 2012-04-16 Marek Polacek <polacek@redhat.com>
14028 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
14030 2012-04-16 Marek Polacek <polacek@redhat.com>
14032 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
14033 operands of fdivp instruction.
14035 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14037 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
14038 * elf/tst-auditmod3b.c: Likewise.
14039 * elf/tst-auditmod4b.c: Likewise.
14040 * elf/tst-auditmod5b.c: Likewise.
14041 * elf/tst-auditmod6b.c: Likewise.
14042 * elf/tst-auditmod6c.c: Likewise.
14043 * elf/tst-auditmod7b.c: Likewise.
14044 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
14045 * sysdeps/x86_64/preconfigure.in: Likewise.
14046 * sysdeps/x86_64/preconfigure: Regenerated.
14048 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14050 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
14053 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
14055 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14056 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
14058 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
14061 * locale/iso-639.def: Fix gl language name. Spotted by
14064 2012-04-12 Roland McGrath <roland@hack.frob.com>
14067 * libio/libio.h (__io_write_fn): Update comment.
14069 2012-04-12 Petr Baudis <pasky@ucw.cz>
14072 * stdio.texi (Hook Functions): The user provided writer function
14073 is not allowed to return -1.
14075 2012-04-11 David S. Miller <davem@davemloft.net>
14077 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14079 2012-04-11 Mike Frysinger <vapier@gentoo.org>
14081 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
14082 Add a leading slash to rtkaio.
14084 2012-04-11 Jim Meyering <meyering@redhat.com>
14087 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
14088 It is not necessarily an error to ignore fwrite's return
14089 value. One can reliably use ferror to test for errors after
14092 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14094 * bits/types.h (__snseconds_t): New type.
14095 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
14097 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
14098 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14099 (__SNSECONDS_T_TYPE): Likewise.
14100 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14101 (__SNSECONDS_T_TYPE): Likewise.
14102 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14103 (__SNSECONDS_T_TYPE): Likewise.
14105 2012-04-10 Andreas Jaeger <aj@suse.de>
14108 * manual/time.texi (Processor Time): Return type of times is
14109 elapsed real time since an arbitrary point in the past.
14110 (CPU Time): Move CLK_TCK from here...
14111 (Processor Time): ...to here. Correct description.
14112 * manual/conf.texi (Constants for Sysconf): Correct description of
14115 2012-04-10 David S. Miller <davem@davemloft.net>
14118 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
14119 where the is a gap between DT_REL(A) and DT_JMPREL.
14121 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14123 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
14124 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14125 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14127 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14129 * elf/dl-support.c (_dl_inhibit_cache): New variable.
14130 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
14131 (dl_main): Handle --inhibit-cache.
14132 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
14134 * elf/dl-load.c (_dl_map_object): Use it.
14135 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
14137 2012-04-09 Joseph Myers <joseph@codesourcery.com>
14140 * sysdeps/i386/fpu/e_powl.S (p78): New object.
14141 (__ieee754_powl): Saturate large exponents rather than testing for
14142 overflow of y*log2(x).
14143 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14144 * math/libm-test.inc (pow_test): Do not permit spurious overflow
14148 * math/s_ctan.c: Include <float.h>.
14149 (__ctan): Avoid internal overflow or cancellation in calculating
14151 * math/s_ctanf.c: Likewise.
14152 * math/s_ctanl.c: Likewise.
14153 * math/s_ctanh.c: Likewise.
14154 * math/s_ctanhf.c: Likewise.
14155 * math/s_ctanhl.c: Likewise.
14156 * math/libm-test.inc (ctan_test): Add more tests.
14157 (ctanh_test): Likewise.
14158 * sysdeps/i386/fpu/libm-test-ulps: Update.
14159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14161 2012-04-09 Andreas Jaeger <aj@suse.de>
14164 * manual/filesys.texi (Directory Entries): Mention that d_namlen
14165 is an optional BSD extension.
14168 * manual/stdio.texi (Opening Streams): Document additional fopen
14171 2012-04-09 Roland McGrath <roland@hack.frob.com>
14173 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
14174 %eax without telling the compiler.
14176 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
14179 * manual/install.texi: Use sourceware.org.
14181 2012-04-09 Joseph Myers <joseph@codesourcery.com>
14184 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
14185 (__ieee754_pow): Generate overflow and underflow using huge*huge
14186 and tiny*tiny rather than just returning constant infinity or zero
14187 for large exponents.
14188 * math/libm-test.inc (pow_test): Require overflow exceptions for
14189 applicable cases of large exponents.
14192 * sysdeps/i386/fpu/e_pow.S (p10): New object.
14193 (__ieee754_pow): Use iterative multiplication algorithm only for
14194 integer exponents with absolute value below 1024. Check for odd
14195 integer exponents when using algorithm for real exponents.
14196 * math/libm-test.inc (pow_test): Add more tests.
14197 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14199 2012-04-08 Joseph Myers <joseph@codesourcery.com>
14202 * math/libm-test.inc (exp_test): Do not allow overflow exception
14205 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
14208 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
14209 instead of __kernel_standard_f.
14211 2012-04-08 Mike Frysinger <vapier@gentoo.org>
14213 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
14214 * sysdeps/x86_64/memset_chk.S: Likewise.
14216 2012-04-08 Andreas Jaeger <aj@suse.de>
14219 * manual/startup.texi (Environment Access): Describe return value
14220 for putenv and setenv.
14223 * manual/filesys.texi (Directory Entries): Add description for
14227 * manual/filesys.texi (Directory Entries): Clarify that it's file
14228 system not operating system in the description of DT_UNKNOWN.
14231 * manual/syslog.texi (closelog): Fix reference, it's openlog.
14233 2012-04-08 Stephen Compall <s11@member.fsf.org>
14236 * manual/llio.texi (Opening and Closing Files): Add cross
14237 reference to explain mode argument.
14239 2012-04-07 Mike Frysinger <vapier@gentoo.org>
14241 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
14242 * sysdeps/x86_64/memset_chk.S: Likewise.
14244 2012-04-07 David S. Miller <davem@davemloft.net>
14246 * elf/elf.h (R_SPARC_WDISP10): Define.
14247 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
14249 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
14250 R_SPARC_SIZE64 and R_SPARC_H34.
14252 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
14254 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
14255 conditions and remove no longer applicable assertion.
14257 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14259 * bits/byteswap.h: Include <features.h>.
14260 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14261 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14263 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14265 * bits/byteswap.h (__bswap_16): Removed.
14266 Include <bits/byteswap-16.h> to get __bswap_16.
14267 * sysdeps/i386/bits/byteswap.h: Likewise.
14268 * sysdeps/s390/bits/byteswap.h: Likewise.
14269 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14270 * bits/byteswap-16.h: New file.
14271 * sysdeps/i386/bits/byteswap-16.h: Likewise.
14272 * sysdeps/s390/bits/byteswap-16.h: Likewise.
14273 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
14274 * string/Makefile (headers): Add bits/byteswap-16.h.
14276 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14279 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
14281 * nss/Makefile (tests-static, tests): Add tst-nss-static.
14282 * nss/tst-nss-static.c: New.
14284 2012-04-06 Robert Millan <rmh@gnu.org>
14287 * manual/llio.texi (File Position Primitive): lseek
14288 refers to WHENCE when it really means OFFSET.
14290 2012-04-06 Andreas Jaeger <aj@suse.de>
14292 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
14293 strncmp declarations.
14295 * abilist/libc.abilist: Add __poll and __ppoll.
14297 2012-04-05 David S. Miller <davem@davemloft.net>
14299 * scripts/check-local-headers.sh: Accept a host triplet in the
14300 path matched by the exclude regexp.
14302 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
14304 * sysdeps/powerpc/powerpc32/dl-machine.h
14305 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
14306 * sysdeps/s390/s390-32/dl-machine.h
14307 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14308 * sysdeps/sparc/sparc32/dl-machine.h
14309 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14310 * sysdeps/sparc/sparc64/dl-machine.h
14311 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14313 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
14315 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
14316 undefined symbol errors.
14318 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
14321 2012-04-05 Michael Matz <matz@suse.de>
14324 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
14326 2012-04-05 Andreas Jaeger <aj@suse.de>
14329 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
14332 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14334 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
14335 which ROUND is no valid rounding mode.
14337 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14339 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
14341 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
14343 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14345 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
14346 an exception using FPU order intentionally.
14348 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14350 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
14351 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
14352 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
14353 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
14355 2012-04-05 Simon Josefsson <simon@josefsson.org>
14358 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
14359 EINVAL when BUFLEN is too smal.
14361 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
14364 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
14365 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
14367 2012-04-03 Andreas Jaeger <aj@suse.de>
14370 * manual/setjmp.texi (System V contexts): Fix sentence.
14373 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
14374 New macro for this case.
14375 [!__GNUC__] (__bswap_64): New inline function for this case.
14376 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14377 * bits/byteswap.h: Likewise.
14378 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
14379 ull, guard with __GLIBC_HAVE_LONG_LONG.
14381 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
14382 __GLIBC_HAVE_LONG_LONG.
14384 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
14385 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
14387 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14390 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
14391 inptr and inend, rather than using last_ch.
14393 2012-04-02 David S. Miller <davem@davemloft.net>
14395 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
14396 * stdio-common/printf-parse.h (read_int): Change return type to
14397 'int', return -1 on INT_MAX overflow.
14398 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
14399 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
14400 overflows INT_MAX. Check for overflow of in-format-string precision
14401 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
14402 SIZE_MAX not INT_MAX for integer overflow test.
14403 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
14404 skip the construct in the format string but do not record anything.
14405 * stdio-common/bug22.c: Adjust to test both width/prevision
14406 INT_MAX overflow as well as total length INT_MAX overflow. Check
14407 explicitly for proper errno values.
14409 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
14411 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
14413 * string/test-strcmp.c [! WIDE]: Likewise.
14414 * time/tst-mktime2.c: Likewise for INT_MAX.
14415 * string/test-string.h: #include <sys/param.h> for MIN.
14417 * csu/init-first.c (__libc_init_first): Call __ctype_init.
14418 * sysdeps/i386/init-first.c (init): Likewise.
14419 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
14420 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
14421 * sysdeps/sh/init-first.c (init): Likewise.
14423 2012-04-01 Ulrich Drepper <drepper@gmail.com>
14425 * po/ru.po: Update from translation team.
14426 * po/vi.po: Likewise.
14428 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14430 * resolv/nss_dns/dns-host.c: Merge copyright years.
14432 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14434 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14435 Optimize memcpy with prefetch if
14436 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
14437 src, dst pointers have unequal 16 byte alignments.
14439 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14442 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
14443 from a CNAME entry and return the minimum ttl for the query.
14444 (gaih_getanswer_slice): Likewise.
14446 2012-03-30 Jeff Law <law@redhat.com>
14448 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
14450 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
14451 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14453 * resolv/nss_dns/dns-host.c: Update copyright year.
14455 2012-03-30 Ulrich Drepper <drepper@gmail.com>
14457 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
14458 requests to save a system call. Fix check that all bytes are sent.
14460 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
14461 comments for sendmmsg.
14463 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14466 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
14467 with only 1 character between 0x0041 and 0x01b0.
14468 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
14469 * wcsmbs/tst-mbsnrtowcs.c: New file.
14471 2012-03-29 David S. Miller <davem@davemloft.net>
14473 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
14474 small copies by hand.
14476 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14479 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
14480 _nss_compat_initgroups_dyn): Fall back to malloc/free
14481 for large group memberships.
14483 2012-03-28 David S. Miller <davem@davemloft.net>
14485 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
14486 that branches into memcpy.
14487 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14488 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
14489 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
14490 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
14491 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
14493 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
14494 implementation too.
14495 * sysdeps/sparc/mempcpy.S: New file.
14497 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
14498 the IFUNC routine in the libc case.
14499 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14501 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
14502 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
14503 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
14504 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
14505 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
14506 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
14507 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
14508 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
14510 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
14511 loop to 256 bytes instead of 64 bytes and fix test signedness.
14513 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
14514 * sysdeps/sparc/sparc32/Makefile: rather than here...
14515 * sysdeps/sparc/sparc64/Makefile: and here.
14517 2012-03-28 Ulrich Drepper <drepper@gmail.com>
14519 * malloc/mallocbug.c: Avoid warnings about unused variables.
14521 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14524 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
14525 in the right place. Discard and retry query if response is
14526 larger than input buffer size.
14528 2012-03-28 Joseph Myers <joseph@codesourcery.com>
14533 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
14534 x for large integer exponent.
14535 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14536 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
14537 sign of result as needed afterwards.
14538 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14539 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
14540 result for underflowing pow the same as for overflow.
14541 (__kernel_standard_l): Handle powl overflow and underflow here
14542 rather than calling __kernel_standard.
14543 * math/libm-test.inc (pow_test): Add more tests.
14558 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
14559 * sysdeps/ieee754/k_standard.c: Include <float.h>.
14560 (__kernel_standard_l): New function.
14561 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
14563 * math/w_acosl.c (__acosl): Likewise.
14564 * math/w_asinl.c (__asinl): Likewise.
14565 * math/w_atan2l.c (__atan2l): Likewise.
14566 * math/w_atanhl.c (__atanhl): Likewise.
14567 * math/w_coshl.c (__coshl): Likewise.
14568 * math/w_exp10l.c (__exp10l): Likewise.
14569 * math/w_exp2l.c (__exp2l): Likewise.
14570 * math/w_fmodl.c (__fmodl): Likewise.
14571 * math/w_hypotl.c (__hypotl): Likewise.
14572 * math/w_j0l.c (__j0l, __y0l): Likewise.
14573 * math/w_j1l.c (__j1l, __y1l): Likewise.
14574 * math/w_jnl.c (__jnl, __ynl): Likewise.
14575 * math/w_lgammal.c (__lgammal): Likewise.
14576 * math/w_log10l.c (__log10l): Likewise.
14577 * math/w_log2l.c (__log2l): Likewise.
14578 * math/w_logl.c (__logl): Likewise.
14579 * math/w_powl.c (__powl): Likewise.
14580 * math/w_remainderl.c (__remainderl): Likewise.
14581 * math/w_scalbl.c (sysv_scalbl): Likewise.
14582 * math/w_sinhl.c (__sinhl): Likewise.
14583 * math/w_sqrtl.c (__sqrtl): Likewise.
14584 * math/w_tgammal.c (__tgammal): Likewise.
14585 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
14586 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
14587 * math/libm-test.inc (acos_test): Add more tests.
14588 (acosh_test): Likewise.
14589 (asin_test): Likewise.
14590 (atanh_test): Likewise.
14591 (exp_test): Likewise.
14592 (exp10_test): Likewise.
14593 (exp2_test): Likewise.
14594 (expm1_test): Likewise.
14595 (lgamma_test): Likewise.
14596 (log_test): Likewise.
14597 (log10_test): Likewise.
14598 (log1p_test): Likewise.
14599 (log2_test): Likewise.
14600 (pow_test): Do not allow some spurious overflow exceptions.
14601 (sqrt_test): Add more tests.
14602 (tgamma_test): Likewise.
14603 (y0_test): Likewise.
14604 (y1_test): Likewise.
14605 (yn_test): Likewise.
14607 2012-03-27 Anton Blanchard <anton@samba.org>
14609 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
14611 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14612 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14613 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14615 2012-03-27 David S. Miller <davem@davemloft.net>
14617 * conform/Makefile: Run run-conformtest.sh using $(BASH).
14619 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
14620 have-as-vis3 check.
14622 2012-03-27 Andreas Jaeger <aj@suse.de>
14624 * sysdeps/x86_64/elf/configure.in: Moved to ...
14625 * sysdeps/x86_64/configure.in: ... here.
14626 * sysdeps/x86_64/elf/start.S: Moved to ...
14627 * sysdeps/x86_64/start.S: ... here.
14628 * sysdeps/x86_64/elf/configure: Delete.
14630 * sysdeps/x86_64/configure.in: Merge contents from
14631 sysdeps/i386/configure.in (without i686 check).
14633 * sysdeps/i386/elf/Versions: Merge into ...
14634 * sysdeps/i386/Versions: ... this.
14635 * sysdeps/i386/elf/Versions: Delete file.
14636 * sysdeps/i386/elf/start.S: Moved to ...
14637 * sysdeps/i386/start.S: ...here.
14638 * sysdeps/i386/elf/configure.in: Merge into...
14639 * sysdeps/i386/configure.in: ...here.
14640 * sysdeps/i386/elf/configure.in: Delete file.
14641 * sysdeps/i386/elf/configure: Delete file.
14643 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
14644 * debug/backtracesyms.c: ... here.
14645 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
14646 * debug/backtracesymsfd.c: ... here.
14647 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
14648 * sysdeps/generic/ifunc-sel.h: ... here.
14650 * sysdeps/unix/i386/start.c: Delete file.
14651 * sysdeps/unix/sparc/start.c: Delete file.
14652 * sysdeps/unix/start.c: Delete file.
14654 * sysdeps/sh/elf/configure.in: Moved to ...
14655 * sysdeps/sh/configure.in: ... here.
14656 * sysdeps/sh/elf/start.S: Moved to ...
14657 * sysdeps/sh/start.S: ... here.
14658 * sysdeps/sh/elf/configure: Delete file.
14660 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
14661 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
14662 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
14663 * sysdeps/powerpc/powerpc64/entry.h: ... here.
14664 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
14665 * sysdeps/powerpc/powerpc64/start.S: here.
14666 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
14667 * sysdeps/powerpc/powerpc64/Makefile: ... this.
14668 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
14669 * sysdeps/powerpc/powerpc64/configure.in: ... this.
14670 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
14672 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
14673 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
14674 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
14675 * sysdeps/powerpc/powerpc32/start.S: ... here.
14676 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
14677 * sysdeps/powerpc/powerpc32/configure.in: ... this.
14678 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
14680 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
14681 * sysdeps/powerpc/ifunc-sel.h: ... here.
14682 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
14683 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
14685 * sysdeps/sparc/elf/configure.in: Moved to ...
14686 * sysdeps/sparc/configure.in: ... here.
14687 * sysdeps/sparc/elf/configure: Delete file.
14688 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
14689 * sysdeps/sparc/sparc32/start.S: ... here.
14690 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
14691 * sysdeps/sparc/sparc64/start.S: ... here.
14692 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
14693 * sysdeps/sparc/sparc32/Makefile: ... this.
14694 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
14695 * sysdeps/sparc/sparc64/Makefile: ... this.
14697 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
14698 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
14699 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
14700 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
14701 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
14702 * sysdeps/s390/s390-32/setjmp.S: ... here.
14703 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
14704 * sysdeps/s390/s390-32/configure.in: ... here.
14705 * sysdeps/s390/s390-32/elf/configure: Delete file.
14706 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
14707 * sysdeps/s390/s390-32/start.S: ... here.
14709 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
14710 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
14711 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
14712 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
14713 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
14714 * sysdeps/s390/s390-64/setjmp.S: ... here.
14715 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
14716 * sysdeps/s390/s390-64/configure.in: ... here
14717 * sysdeps/s390/s390-64/elf/configure: Delete file.
14718 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
14719 * sysdeps/s390/s390-64/start.S: ... here.
14720 * sysdeps/s390/s390-64/elf/configure: Delete.
14722 * configure.in: Remove support for elf directories in sysdeps.
14724 * configure: Regenerated.
14725 * sysdeps/i386/configure: Regenerated.
14726 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14727 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14728 * sysdeps/s390/s390-32/configure: Regenerated.
14729 * sysdeps/s390/s390-64/configure: Regenerated.
14730 * sysdeps/sh/configure: Regenerated.
14731 * sysdeps/sparc/configure: Regenerated.
14732 * sysdeps/x86_64/configure: Regenerated.
14734 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
14736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14738 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
14739 denormal result into account.
14741 2012-03-25 Roland McGrath <roland@hack.frob.com>
14743 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
14744 Reported by Allan McRae <allan@archlinux.org>.
14746 2012-03-23 Jeff Law <law@redhat.com>
14748 * nss/getnssent.c (__nss_getent): Fix typo.
14750 2012-03-23 David S. Miller <davem@davemloft.net>
14752 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14754 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
14756 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
14757 to pad to uint64_t for each field.
14758 (dl_tls_index): Replace unsigned long with uint64_t.
14760 2012-03-23 Daniel Jacobowitz <dmj@google.com>
14761 Paul Pluzhnikov <ppluzhnikov@google.com>
14764 * grp/Makefile (otherlibs): Don't set it.
14765 * inet/Makefile (otherlibs): Likewise.
14766 * login/Makefile (otherlibs): Likewise.
14767 * nscd/Makefile (otherlibs): Likewise.
14768 * posix/Makefile (otherlibs): Likewise.
14769 * pwd/Makefile (otherlibs): Likewise.
14770 * rt/Makefile (otherlibs): Likewise.
14771 * sunrpc/Makefile (otherlibs): Likewise.
14772 * nss/Makefile (otherlibs): Likewise.
14773 Add libnss_files to routines and static-only-routines.
14774 ($(objpfx)getent): Remove rule.
14775 * resolv/Makefile: Add libnss_dns and libresolv to routines and
14776 static-only-routines.
14778 2012-03-22 Joseph Myers <joseph@codesourcery.com>
14781 * math/s_cexp.c: Include <float.h>.
14782 (__cexp): Handle exp result overflowing not necessarily
14783 overflowing both real and imaginary parts of result.
14784 * math/s_cexpf.c: Likewise.
14785 * math/s_cexpl.c: Likewise.
14786 * math/libm-test.inc (cexp_test): Add more tests.
14787 * sysdeps/i386/fpu/libm-test-ulps: Update.
14788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14790 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14792 * include/link.h (ELFW): New macro.
14793 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
14794 Replace ELF64_R_TYPE with ELFW(R_TYPE).
14796 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14798 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
14801 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14803 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
14805 (struct La_x32_retval): Likewise.
14807 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14809 * sysdeps/x86_64/preconfigure.in: New file.
14810 * sysdeps/x86_64/preconfigure: New generated file.
14812 2012-03-22 Joseph Myers <joseph@codesourcery.com>
14815 * math/e_exp2l.c: Include <float.h>.
14816 (__ieee754_exp2l): Handle overflow and underflow cases
14817 separately. Only pass fractional part of argument to
14819 * math/libm-test.inc (exp2_test): Add more tests.
14821 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
14822 negating x to take absolute value.
14823 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14825 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14826 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14828 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
14829 computing low part if x was negated.
14830 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14832 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14834 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
14835 la_x32_gnu_pltexit.
14836 (pltexit): Cast int_retval to ptrdiff_t.
14837 * elf/tst-auditmod3b.c: Likewise.
14838 * elf/tst-auditmod4b.c: Likewise.
14839 * elf/tst-auditmod5b.c: Likewise.
14840 * elf/tst-auditmod6b.c: Likewise.
14841 * elf/tst-auditmod6c.c: Likewise.
14842 * elf/tst-auditmod7b.c: Likewise.
14844 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
14845 and x32_gnu_pltexit.
14847 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
14848 __ELF_NATIVE_CLASS.
14849 (La_x32_regs): New macro.
14850 (La_x32_retval): Likewise.
14851 (la_x32_gnu_pltenter): New function prototype.
14852 (la_x32_gnu_pltexit): Likewise.
14854 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
14856 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
14859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14861 * configure.in (libc_cv_cc_nofma): Check for option to disable
14862 generation of FMA instructions.
14863 * configure: Regenerate.
14864 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
14865 * sysdeps/ieee754/dbl-64/Makefile: New file.
14866 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14867 Remove brandred-fma4.
14868 (CFLAGS-brandred-fma4.c): Remove.
14869 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
14870 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
14872 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
14875 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14877 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14878 LLONG_MAX != LONG_MAX.
14879 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14880 (_fitoa_word): Likewise.
14881 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
14882 LLONG_MAX != LONG_MAX.
14883 * stdio-common/_itowa.h: Include <_itoa.h>.
14884 (_itowa_word): Use _ITOA_WORD_TYPE on value.
14885 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
14886 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
14887 only if not defined.
14888 (_ITOA_WORD_TYPE): Likewise.
14889 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14890 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
14892 2012-03-21 David S. Miller <davem@davemloft.net>
14894 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14896 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14898 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
14899 of x86_64 when setting libc_cv_slibdir, libdir and
14901 * sysdeps/unix/sysv/linux/configure: Regenerated.
14903 2012-03-21 Joseph Myers <joseph@codesourcery.com>
14905 * manual/lang.texi (Old Varargs): Remove section.
14906 (How Variadic): Update menu.
14907 (va_start): Do not mention varargs.h.
14909 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14910 Joseph Myers <joseph@codesourcery.com>
14912 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
14914 * configure: Regenerated.
14916 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14918 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
14919 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
14922 2012-03-21 Joseph Myers <joseph@codesourcery.com>
14925 * Makefile (files-for-dist): Remove NOTES.
14926 (NOTES): Remove rule.
14927 * README: Don't refer to NOTES.
14928 * manual/creature.texi: Don't include macros.texi.
14929 * manual/intro.texi (creature.texi): Remove comment referring to
14932 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
14933 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
14934 * configure: Regenerated.
14935 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
14936 LIBC_TRY_CC_OPTION.
14937 (libc_cv_as_i686): Likewise.
14938 (libc_cv_cc_avx): Likewise.
14939 (libc_cv_cc_sse2avx): Likewise.
14940 (libc_cv_cc_fma4): Likewise.
14941 (libc_cv_cc_novzeroupper): Likewise.
14942 * sysdeps/i386/configure: Regenerated.
14945 * sysdeps/i386/fpu/s_cexp.S: Remove.
14946 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14947 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14948 * math/libm-test.inc (cexp_test): Add more tests.
14949 * sysdeps/i386/fpu/libm-test-ulps: Update.
14950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14952 2012-03-21 Allan McRae <allan@archlinux.org>
14954 * timezone/Makefile: Do not install iso3166.tab and zone.tab
14956 2012-03-21 Joseph Myers <joseph@codesourcery.com>
14959 * math/w_exp2.c: Do not include <float.h>.
14960 (o_threshold, u_threshold): Remove.
14961 (__exp2): Calculate result before checking finiteness and calling
14963 * math/w_exp2f.c: Likewise.
14964 * math/w_exp2l.c: Likewise.
14965 * math/libm-test.inc (exp2_test): Require overflow exception for
14969 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
14970 range of signed 64-bit integers before using fistpll. Remove
14971 checks for whether integers fit in mantissa bits.
14972 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
14973 the range of signed 32-bit integers before using fistpl. Remove
14974 checks for whether integers fit in mantissa bits.
14975 * sysdeps/i386/fpu/e_powl.S (p64): New object.
14976 (__ieee754_powl): Test for y outside the range of signed 64-bit
14977 integers before using fistpll. Reduce 64-bit values to 63-bit
14979 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
14980 divide-by-zero is raised for zero to large negative powers.
14981 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
14982 (__ieee754_powl): Test for y outside the range of signed 64-bit
14983 integers before using fistpll. Reduce 64-bit values to 63-bit
14985 * math/libm-test.inc (pow_test): Add more tests.
14987 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14989 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
14990 <stdio-common/_itoa.h>.
14991 * debug/segfault.c: Likewise.
14992 * elf/dl-cache.c: Likewise.
14993 * elf/dl-minimal.c: Likewise.
14994 * elf/dl-misc.c: Likewise.
14995 * elf/dl-sysdep.c: Likewise.
14996 * elf/dl-version.c: Likewise.
14997 * elf/rtld.c: Likewise.
14998 * hurd/hurdsock.c: Likewise.
14999 * hurd/lookup-retry.c: Likewise.
15000 * malloc/malloc.c: Likewise.
15001 * malloc/mtrace.c: Likewise.
15002 * nscd/nscd_getgr_r.c: Likewise.
15003 * nscd/nscd_getpw_r.c: Likewise.
15004 * nscd/nscd_getserv_r.c: Likewise.
15005 * posix/getopt_init.c: Likewise.
15006 * posix/wordexp.c: Likewise.
15007 * stdio-common/_itoa.c: Likewise.
15008 * stdio-common/printf_fphex.c: Likewise.
15009 * stdio-common/vfprintf.c: Likewise.
15010 * string/_strerror.c: Likewise.
15011 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
15012 * sysdeps/i386/i686/hp-timing.h: Likewise.
15013 * sysdeps/mach/_strerror.c: Likewise.
15014 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
15015 * sysdeps/mach/hurd/sethostid.c: Likewise.
15016 * sysdeps/mach/hurd/xmknodat.c: Likewise.
15017 * sysdeps/mach/xpg-strerror.c: Likewise.
15018 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15019 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15020 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
15021 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
15022 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15023 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
15024 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15025 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15026 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
15027 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
15028 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
15029 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15030 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
15031 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15032 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15033 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
15034 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
15035 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
15036 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15037 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15038 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
15040 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
15042 * stdio-common/_itoa.h: Moved to ...
15043 * sysdeps/generic/_itoa.h: Here.
15045 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
15047 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
15048 instead of "_itoa.h" and "_itowa.h".
15049 * stdio-common/vfprintf.: Likewise.
15051 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15053 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
15055 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
15056 (__signbit): Likwise.
15057 (llrintf): Likwise.
15060 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15062 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
15065 2012-03-20 Joseph Myers <joseph@codesourcery.com>
15067 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
15068 OVERFLOW_EXCEPTION_OK.
15069 * math/libm-test.inc ("Philosophy"): Update comment about
15071 (OVERFLOW_EXCEPTION): Define.
15072 (OVERFLOW_EXCEPTION_OK): Likewise.
15073 (INVALID_EXCEPTION_OK): Renumber.
15074 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15075 (IGNORE_ZERO_INF_SIGN): Likewise.
15076 (test_exceptions): Handle FE_OVERFLOW.
15077 (exp10_test): Expect overflow exceptions.
15078 (exp2_test): Likewise.
15079 (expm1_test): Likewise.
15080 (nextafter_test): Likewise.
15081 (pow_test): Likewise.
15082 (scalbn_test): Likewise.
15083 (scalbln_test): Likewise.
15085 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15087 * sysdeps/x86_64/bits/atomic.h
15088 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
15090 (atomic_exchange_acq): Likewise.
15091 (__arch_exchange_and_add_body): Likewise.
15092 (__arch_add_body): Likewise.
15093 (atomic_add_negative): Likewise.
15094 (atomic_add_zero): Likewise.
15096 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15098 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
15099 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
15101 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15103 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
15104 Check __x86_64__ instead of __WORDSIZE.
15106 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15108 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
15110 2012-03-19 David S. Miller <davem@davemloft.net>
15112 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15114 * sysdeps/sparc/fpu/fenv_private.h: New file.
15115 * sysdeps/sparc/fpu/math_private.h: Use it.
15116 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
15118 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
15119 (libc_feholdexcept_setroundl): Remove.
15120 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
15122 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
15123 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
15125 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15127 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
15128 int64_t instead of long int.
15129 (INSERT_WORDS64): Likwise.
15131 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15133 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
15134 _Unwind_GetCFA return to _Unwind_Ptr first.
15136 2012-03-19 Joseph Myers <joseph@codesourcery.com>
15139 * math/s_clog.c: Include <float.h>.
15140 (__clog): Scale large or subnormal inputs.
15141 * math/s_clogf.c: Likewise.
15142 * math/s_clogl.c: Likewise.
15143 * math/s_clog10.c: Include <float.h>.
15144 (M_LOG10_2): Define.
15145 (__clog10): Scale large or subnormal inputs.
15146 * math/s_clog10f.c: Likewise.
15147 * math/s_clog10l.c: Likewise.
15148 * math/libm-test.inc (clog_test): Add more tests.
15149 (clog10_test): Likewise.
15150 * sysdeps/i386/fpu/libm-test-ulps: Update.
15151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15154 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
15156 * math/libm-test.inc (atan2_test): Add another test.
15158 * Makerules (common-objdir-compile): Remove.
15159 * sysdeps/unix/Makefile (config-generated): Do not add
15160 $(unix-generated) to variable.
15161 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
15162 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
15164 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
15166 [generic bits/local_lim.h] (before-compile): Do not append to
15168 [generic bits/local_lim.h] (common-generated): Likewise.
15169 [generic sys/param.h] (before-compile): Do not append to variable.
15170 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
15171 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
15172 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
15173 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
15175 [generic sys/param.h] (sys/param.h-includes): Remove variable.
15176 [generic sys/param.h] (sys/param.h-includes): Remove rule.
15177 [generic sys/param.h] ($(addprefix
15178 $(common-objpfx),$(sys/param.h-includes))): Likewise.
15179 [generic sys/param.h] (common-generated): Do not append to
15181 [generic sys/param.h] (sysdep_headers): Likewise.
15182 [generic bits/errno.h] (before-compile): Do not append to
15184 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
15186 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
15187 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
15188 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
15189 [generic bits/errno.h] (common-generated): Do not append to
15191 [generic bits/ioctls.h] (before-compile): Do not append to
15193 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
15195 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
15196 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
15197 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
15199 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
15200 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
15201 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
15202 [generic bits/ioctls.h] (common-generated): Do not append to
15204 [generic sys/syscall.h] (syscall.h): Remove variable.
15205 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
15207 [generic sys/syscall.h] (before-compile): Do not append to
15209 [generic sys/syscall.h] (common-generated): Likewise.
15210 * sysdeps/unix/errnos-tmpl.c: Remove file.
15211 * sysdeps/unix/errnos.awk: Likewise.
15212 * sysdeps/unix/ioctls-tmpl.c: Likewise.
15213 * sysdeps/unix/ioctls.awk: Likewise.
15214 * sysdeps/unix/mk-local_lim.c: Likewise.
15215 * sysdeps/unix/snarf-ioctls: Likewise.
15217 2012-03-19 Richard Henderson <rth@twiddle.net>
15219 * sysdeps/i386/fpu/fenv_private.h: New file.
15220 * sysdeps/i386/fpu/math_private.h: Use it.
15221 (math_opt_barrier, math_force_eval): Remove.
15222 (libc_feholdexcept_setround_53bit): Remove.
15223 (libc_feupdateenv_53bit): Remove.
15224 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15225 (math_opt_barrier, math_force_eval): Remove.
15226 (libc_feholdexcept): Remove.
15227 (libc_feholdexcept_setround): Remove.
15228 (libc_fetestexcept, libc_fesetenv): Remove.
15229 (libc_feupdateenv_test): Remove.
15230 (libc_feupdateenv, libc_feholdsetround): Remove.
15231 (libc_feresetround): Remove.
15233 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
15234 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15236 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
15237 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
15238 (libc_feupdateenv_testl): New.
15239 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
15240 (libc_feupdateenv_testf): New.
15241 (libc_feupdateenv): Use libc_feupdateenv_test.
15242 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
15243 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
15245 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
15246 (libc_feholdsetroundf, libc_feholdsetroundl): New.
15247 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
15248 (libc_feresetround_noex): New.
15249 (libc_feresetround_noexf): New.
15250 (libc_feresetround_noexl): New.
15251 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
15252 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
15253 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
15254 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
15256 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15257 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
15259 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
15260 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15261 SET_RESTORE_ROUND_NOEX.
15262 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
15263 SET_RESTORE_ROUND_NOEXF.
15264 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
15265 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
15266 (libc_feholdsetroundf): New.
15267 (libc_feresetround, libc_feresetroundf): New.
15269 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
15270 (libc_feholdexcept_setround_53bit): Convert from macro to function.
15271 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
15273 * sysdeps/generic/math_private.h: Include <fenv.h>.
15274 (default_libc_feholdexcept): New.
15275 (default_libc_feholdexcept_setround): New.
15276 (default_libc_fesetenv, default_libc_feupdateenv): New.
15277 (libc_feholdexcept): Only define if undefined.
15278 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
15279 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
15280 (libc_feholdexcept_setroundl): Likewise.
15281 (libc_feholdexcept_setround_53bit): Likewise.
15282 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
15283 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
15284 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
15285 (libc_feupdateenv_53bit): Likewise.
15286 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
15287 (libc_feholdexcept): Convert from macro to inline function.
15288 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
15289 (libc_fesetenv, libc_feupdateenv): Likewise.
15291 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
15292 not previously defined.
15293 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
15294 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
15295 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
15296 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
15297 * sysdeps/ieee754/flt-32/math_private.h: New file.
15298 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
15299 math_private.h below SET_FLOAT_WORD.
15300 (__isnan, __isinf_ns, __finite): Remove.
15301 (__isnanf, __isinf_nsf, __finitef): Remove.
15303 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
15305 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15307 2012-03-17 David S. Miller <davem@davemloft.net>
15310 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
15313 2012-03-16 David S. Miller <davem@davemloft.net>
15315 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
15319 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
15321 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
15322 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
15323 sysdep_routines when subdir is sysvipc.
15324 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
15325 __getshmlba helper.
15327 * sysdeps/sparc/fpu/libm-test/ulps: Update.
15329 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15331 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
15334 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15336 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
15337 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
15338 (__lround): Renamed to ...
15339 (__llround): This. Replace long int with long long int.
15340 Define lround functions as aliases of llround functions.
15341 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
15343 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15345 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
15346 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
15347 adresses to uintptr_t. Replace "long int" and "unsigned long
15348 int" with "greg_t" on va_arg.
15350 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15352 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
15353 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
15355 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
15356 Move e_machine check before EI_CLASS check. Handle x32
15357 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
15358 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
15359 SKIP_EM_IA_64 and include
15360 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
15362 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
15363 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
15364 (add_system_dir): New macro.
15366 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
15367 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
15369 2012-03-16 Joseph Myers <joseph@codesourcery.com>
15380 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
15382 * math/w_j0f.c (j0f): Likewise.
15384 * math/w_j0l.c (__j0l): Likewise.
15386 * math/w_j1.c (j1): Likewise.
15388 * math/w_j1f.c (j1f): Likewise.
15390 * math/w_j1l.c (__j1l): Likewise.
15392 * math/w_jn.c (jn): Likewise.
15394 * math/w_jnf.c (jnf): Likewise.
15396 * math/w_jnl.c (__jnl): Likewise.
15398 * math/libm-test.inc (j0_test): Add more tests.
15399 (j1_test): Likewise.
15400 (jn_test): Likewise. Add trailing semicolon to existing test.
15401 (y0_test): Likewise.
15402 (y1_test): Likewise.
15403 * sysdeps/i386/fpu/libm-test-ulps: Update.
15404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15408 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
15409 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
15410 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
15411 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
15412 (__tanl): Set errno for infinite argument.
15413 * sysdeps/i386/fpu/mptan.c: Remove.
15414 * sysdeps/i386/fpu/s_tan.S: Likewise.
15415 * sysdeps/i386/fpu/s_tanl.S: Likewise.
15416 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
15417 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
15418 * math/libm-test.inc (tan_test): Add more tests and enable more
15419 tests for double and long double.
15420 * sysdeps/i386/fpu/libm-test-ulps: Update.
15421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15423 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15425 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
15426 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
15428 2012-03-16 Roland McGrath <roland@hack.frob.com>
15430 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
15431 * configure.in: Use it for both main tree and add-ons.
15432 * configure: Regenerated.
15434 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15436 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
15438 2012-03-16 Joseph Myers <joseph@codesourcery.com>
15440 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
15444 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
15445 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
15446 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
15447 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
15448 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
15450 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
15451 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
15452 != 0 for prec == 2.
15453 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
15454 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
15455 * sysdeps/i386/fpu/s_cosl.S: Likewise.
15456 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
15457 * sysdeps/i386/fpu/s_sinl.S: Likewise.
15458 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
15459 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
15460 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
15461 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
15462 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
15463 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
15464 * math/libm-test.inc (cos_test): Add more tests and enable more
15465 tests for long double.
15466 (sin_test): Likewise.
15467 (sincos_test): Likewise.
15468 * sysdeps/i386/fpu/libm-test-ulps: Update.
15469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15471 2012-03-16 David S. Miller <davem@davemloft.net>
15473 * sysdeps/sparc/fpu/math_private.h: New file.
15475 2012-03-15 David S. Miller <davem@davemloft.net>
15477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
15479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
15480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
15482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
15483 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
15484 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
15485 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
15486 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
15487 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
15489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15491 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
15492 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
15494 * sysdeps/sparc/sparc-ifunc.h: New file.
15495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
15497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
15500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
15502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
15503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
15504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
15509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
15511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
15513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
15515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
15517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
15518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
15519 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15520 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15521 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
15522 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
15523 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15524 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15525 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
15526 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
15527 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
15528 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
15529 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
15530 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
15531 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
15532 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
15533 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
15534 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
15535 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
15536 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
15537 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
15538 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
15540 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15542 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
15544 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15546 2012-03-15 Andreas Jaeger <aj@suse.de>
15549 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
15550 ieee754/flt-32 implementation for sin, cos and sincos.
15551 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
15552 * sysdeps/i386/fpu/s_cosf.S: Likewise.
15553 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
15554 * sysdeps/i386/fpu/s_sinf.S: Likewise.
15555 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
15556 ieee754/flt-32 implementation for tan.
15558 * math/libm-test.inc (cos_test): Enable some large input tests for
15560 (sin_test): Likewise.
15561 (sincos_test): Likewise.
15562 (tan_test): Add tests for large input.
15564 * sysdeps/i386/fpu/libm-test-ulps: Update.
15566 2012-03-15 Andreas Jaeger <aj@suse.de>
15569 * math/libm-test.inc (cos_test): Add more test cases.
15570 (sin_test): Likewise.
15571 (sincos_test): Likewise.
15573 2012-03-15 Andreas Jaeger <aj@suse.de>
15576 * math/libm-test.inc (cos_test): Add a test case for large input
15578 (sin_test): Likewise.
15579 (sincos_test): Likewise.
15581 2012-03-15 Andreas Jaeger <aj@suse.de>,
15582 Joseph Myers <joseph@codesourcery.com>
15585 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
15586 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
15587 * sysdeps/i386/fpu/branred.c: Likewise.
15588 * sysdeps/i386/fpu/dosincos.c: Likewise.
15589 * sysdeps/i386/fpu/mpa.c: Likewise.
15590 * sysdeps/i386/fpu/s_cos.S: Likewise.
15591 * sysdeps/i386/fpu/s_sin.S: Likewise.
15592 * sysdeps/i386/fpu/s_sincos.S: Likewise.
15593 * sysdeps/i386/fpu/sincos32.c: Likewise.
15595 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
15597 (libc_feupdateenv_53bit): Define.
15598 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
15600 (libc_feupdateenv_53bit): Define.
15602 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
15603 53 bit (without extend i386 double precision).
15605 * math/libm-test.inc (sincos_test): Add tests for large input.
15609 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15611 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15615 2012-03-15 David S. Miller <davem@davemloft.net>
15617 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
15618 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
15619 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
15620 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
15621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
15622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
15623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
15624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
15625 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
15626 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
15627 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
15628 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
15629 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
15630 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
15631 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
15632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
15634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
15635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
15637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
15638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
15640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
15641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
15643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
15644 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
15645 fmin/fmax sysdep routines.
15646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15648 2012-03-14 David S. Miller <davem@davemloft.net>
15650 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
15651 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
15652 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
15653 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
15654 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
15655 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
15656 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
15657 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
15658 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
15659 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
15660 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
15661 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
15662 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
15663 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
15664 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
15665 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
15666 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
15667 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
15668 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
15669 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
15670 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
15671 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
15672 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
15673 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
15674 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
15675 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
15676 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
15677 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
15678 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
15680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
15682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
15683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
15685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
15686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
15688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
15689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
15691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
15692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
15694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
15695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
15697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
15699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
15701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
15703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
15705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
15707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
15709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
15710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
15712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
15713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
15715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
15716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
15718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
15719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
15722 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15727 * sysdeps/sparc/configure.in: New file.
15728 * sysdeps/sparc/configure: Generate.
15729 * configure.in (libc_cv_sparc_as_vis3): Substitute.
15730 * configure: Regenerate.
15731 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
15732 * config.make.in (have-as-vis3): New.
15733 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
15734 available use -Av9d instead of -Av9a.
15735 * sysdeps/sparc/sparc64/Makefile: Likewise.
15736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
15737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
15739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
15741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
15743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
15745 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
15746 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
15747 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
15748 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
15749 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
15751 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
15752 fzeros/fnegs to load 0x80000000 into a float register instead of
15754 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
15756 2012-03-14 Joseph Myers <joseph@codesourcery.com>
15758 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15760 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
15761 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
15762 ($(inst_includedir)/bits/syscall.h): Remove rule.
15763 ($(objpfx)bits/syscall.d): Include instead of
15764 $(objpfx)syscall-list.d.
15765 (generated): Change syscall-list.h and syscall-list.d to
15766 bits/syscall.h and bits/syscall.d.
15768 2012-03-14 Roland McGrath <roland@hack.frob.com>
15771 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
15773 2012-03-14 Joseph Myers <joseph@codesourcery.com>
15776 * math/s_csqrt.c: Include <float.h>.
15777 (__csqrt): Scale large or subnormal inputs.
15778 * math/s_csqrtf.c: Likewise.
15779 * math/s_csqrtl.c: Likewise.
15780 * math/libm-test.inc (csqrt_test): Add more tests.
15781 * sysdeps/i386/fpu/libm-test-ulps: Update.
15782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15785 * math/libm-test.inc (hypot_test): Add more tests.
15787 2012-03-13 David S. Miller <davem@davemloft.net>
15790 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
15791 double-precision for the calculation instead of scaling.
15793 2012-03-13 Joseph Myers <joseph@codesourcery.com>
15795 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
15796 manipulate bits before adding and subtracting TWO52[sx].
15797 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
15798 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
15800 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
15802 2012-03-13 David S. Miller <davem@davemloft.net>
15804 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
15805 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
15806 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
15807 rtld-global-offsets.h
15808 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15810 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
15813 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
15815 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
15816 'err' in the ifdef scope in which it is actually used.
15818 * nss/nss_db/db-init.c: Include string.h
15820 2012-03-12 David S. Miller <davem@davemloft.net>
15822 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15823 masking out of the most significant byte of random value used.
15824 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15825 Fix coding style in previous change.
15827 * sysdeps/unix/sysv/linux/kernel-features.h
15828 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
15829 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
15831 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
15834 2012-03-11 David S. Miller <davem@davemloft.net>
15836 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15837 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
15838 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
15839 for 'resultvar' otherwise things get truncated on 64-bit.
15841 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15842 Fix masking out of the most significant byte of random value used.
15844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15846 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
15848 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15850 2012-03-09 David S. Miller <davem@davemloft.net>
15852 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
15853 variables with appropriate CPP guards.
15854 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
15855 frame pointer, not the stack pointer. Correct layout comments. Fix test
15856 on resulting framesize and the management of the outregs buffer for pltexit.
15857 Preserve floating point return values across _dl_call_pltexit call.
15858 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
15859 framesize and the management of the outregs buffer for pltexit.
15860 Preserve floating point return values across _dl_call_pltexit
15862 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
15863 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
15864 (print_exit): Fix format string for return register value.
15866 2012-03-10 Joseph Myers <joseph@codesourcery.com>
15868 * sunrpc/Makefile (others): Add rpcgen.
15869 ($(objpfx)rpcgen): Remove special build rule and dependency on
15871 * sunrpc/rpcgen.c: New file.
15873 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
15876 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
15877 * stdio-common/bug-vfprintf-nargs.c: Likewise.
15878 * sysdeps/i386/crti.S: Likewise.
15879 * sysdeps/i386/crtn.S: Likewise.
15880 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
15881 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
15882 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
15883 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
15884 * sysdeps/sh/crti.S: Likewise.
15885 * sysdeps/sh/crtn.S: Likewise.
15886 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15889 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
15891 * locale/programs/locfile-kw.gperf: Likewise.
15892 * locale/programs/charmap-kw.h: Regenerated.
15893 * locale/programs/locfile-kw.h: Likewise.
15896 * intl/plural.y: Replace FSF snail mail address with URL.
15897 * intl/plural.c: Regenerated.
15899 2012-03-09 Richard Henderson <rth@twiddle.net>
15901 * include/math_private.h: Remove file.
15902 * math/math_private.h: Move file ...
15903 * sysdeps/generic/math_private.h: ... here.
15905 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
15906 * sysdeps/powerpc/fpu/math_private.h: Likewise.
15907 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15909 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
15910 and <math_private.h>.
15911 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15912 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15913 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15914 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15915 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15916 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
15917 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15918 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15919 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15920 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15921 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15922 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15923 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15924 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15925 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15926 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15927 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15928 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15929 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15930 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15931 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15932 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15933 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15934 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15935 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15936 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15937 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15938 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15939 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15940 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15941 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15942 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15943 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15944 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15945 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15946 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15947 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15948 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15949 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15950 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15951 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
15952 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15953 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15954 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15955 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15956 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15957 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
15958 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15959 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15960 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15961 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15962 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
15963 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15964 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15965 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15966 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15967 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15968 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15969 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15970 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
15971 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15972 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15973 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15974 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15975 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
15976 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15977 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15978 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15979 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
15980 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
15981 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15982 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15983 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15984 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15985 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
15986 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
15987 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
15988 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15989 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
15990 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
15991 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15992 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
15993 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15994 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15995 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15996 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15997 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
15998 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
15999 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
16000 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16001 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16002 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
16003 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16004 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16005 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16006 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16007 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16008 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16009 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16010 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16011 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16012 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16013 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16014 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16015 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16016 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16017 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16018 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16019 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16020 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16021 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16022 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16023 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16024 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16025 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
16026 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16027 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16028 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16029 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16030 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16031 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16032 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16033 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16034 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
16035 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16036 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16037 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16038 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
16039 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16040 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
16041 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
16042 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16043 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16044 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
16045 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
16046 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16047 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16048 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16049 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
16050 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16051 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16052 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16053 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16054 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
16055 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
16056 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16057 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16058 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16059 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
16060 * sysdeps/ieee754/k_standard.c: Likewise.
16061 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
16062 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16063 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16064 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16065 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16066 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16067 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16068 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16069 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16070 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16071 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16072 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16073 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16074 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16075 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16076 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16077 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16078 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16079 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16080 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16081 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16082 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16083 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16084 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16085 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16086 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16087 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16088 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16089 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16090 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16091 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16092 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16093 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16094 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16095 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16096 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16097 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16098 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
16099 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
16100 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16101 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16102 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16103 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16104 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16105 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16106 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16107 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16108 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16109 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16110 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16111 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16112 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16113 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16114 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
16115 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16116 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16117 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
16118 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16119 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16120 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16121 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16122 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16123 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16124 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16125 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16126 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16127 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16128 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16129 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16130 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16131 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16132 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16133 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16134 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16135 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16136 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16137 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
16138 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16139 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16140 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16141 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16142 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16143 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16144 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16145 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
16146 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16147 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16148 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16149 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16150 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16151 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
16152 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16153 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
16154 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16155 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16156 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16157 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
16158 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
16159 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
16160 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
16161 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16162 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16163 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16164 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16165 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
16166 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16167 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16168 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
16169 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
16170 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16171 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16172 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16173 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16174 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16175 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16176 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16177 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16178 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16179 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16180 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16181 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16182 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16183 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16184 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16185 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16186 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
16187 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16188 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16189 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16190 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16191 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16192 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16193 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16194 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16195 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16196 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16197 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
16198 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16199 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16200 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
16201 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
16202 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16203 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
16204 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
16205 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16206 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16207 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16208 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16209 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16210 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
16211 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16212 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16213 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16214 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16215 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
16216 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
16217 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16218 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16219 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16220 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16221 * sysdeps/ieee754/s_lib_version.c: Likewise.
16222 * sysdeps/ieee754/s_matherr.c: Likewise.
16223 * sysdeps/ieee754/s_signgam.c: Likewise.
16224 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16225 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16226 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
16227 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
16228 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
16229 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16230 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
16231 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
16232 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
16233 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
16234 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16235 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
16236 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16237 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16238 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
16239 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16240 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16241 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16242 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16243 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16244 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16246 2012-03-09 Joseph Myers <joseph@codesourcery.com>
16248 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
16249 * sunrpc/rpc_main.c: Likewise.
16250 * sunrpc/rpc_svcout.c: Likewise.
16252 2012-03-09 David S. Miller <davem@davemloft.net>
16254 * include/math_private.h: New file.
16256 2012-03-09 Joseph Myers <joseph@codesourcery.com>
16258 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
16259 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
16260 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
16261 from <bits/socket_type.h>.
16262 (enum __socket_type): Don't define here.
16263 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
16264 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16265 bits/socket_type.h.
16268 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
16269 checking __USE_GNU.
16271 * Makerules ($(inst_includedir)/%.h): New rule.
16272 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
16273 (install-others): Remove variable setting.
16274 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
16276 2012-03-08 Richard Henderson <rth@twiddle.net>
16278 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
16279 from macro to inline function; merge with the
16280 !__LIBC_INTERNAL_MATH_INLINES version.
16281 (__ieee754_sqrtf): Likewise.
16283 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
16284 to inline function.
16285 (__rintf, __floor, __floorf): Likewise.
16287 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
16288 macro to inline function.
16289 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
16291 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
16292 not <math/math_private.h>.
16294 2012-03-08 David S. Miller <davem@davemloft.net>
16296 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
16298 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16300 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
16302 * resolv/gai_misc.c (handle_requests): Fix struct timespec
16304 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
16305 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16307 2012-03-08 Ulrich Drepper <drepper@gmail.com>
16309 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
16310 be defined individually, they must be defined as a block. Define
16311 S for printing a string instead of hidint the different by using a
16312 macro for adding the 'l'.
16313 * stdio-common/tst-fphex-wide.c: Adjust.
16315 2012-03-07 Marek Polacek <polacek@redhat.com>
16317 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
16319 2012-03-08 Marek Polacek <polacek@redhat.com>
16322 * stdio-common/Makefile (tests): Add tst-fphex-wide.
16323 * stdio-common/tst-fphex.c: Define a few macros to make the
16324 test reusable. Use them.
16325 * stdio-common/tst-fphex-wide.c: New file.
16327 2012-03-08 Joseph Myers <joseph@codesourcery.com>
16330 * manual/macros.texi (gnusystems): New macro.
16331 (nongnusystems): Likewise.
16332 (gnulinuxhurdsystems): Likewise.
16333 (gnuhurdsystems): Likewise..
16334 (gnulinuxsystems): Likewise.
16335 * manual/charset.texi: Use new macros or @theglibc{} to refer to
16336 variants of the GNU system, not "GNU system".
16337 * manual/conf.texi: Likewise.
16338 * manual/errno.texi: Likewise. Update example of errno macro
16340 * manual/filesys.texi: Likewise.
16341 (getumask): Document as specific to GNU/Hurd.
16342 * manual/install.texi: Likewise. Reword some references to
16344 * manual/intro.texi: Likewise.
16345 * manual/io.texi: Likewise.
16346 (File Name Portability): Detail which constraints are inapplicable
16347 to all GNU systems and which are only inapplicable to GNU/Hurd.
16348 * manual/job.texi: Likewise.
16349 * manual/llio.texi: Likewise.
16350 (O_NOCTTY): Document as present on GNU/Linux.
16351 * manual/maint.texi: Likewise.
16352 * manual/memory.texi: Likewise.
16353 * manual/pattern.texi: Likewise.
16354 * manual/pipe.texi: Likewise.
16355 * manual/process.texi: Likewise.
16356 * manual/resource.texi: Likewise.
16357 (RUSAGE_CHILDREN): Remove statement about specifying a particular
16359 * manual/setjmp.texi: Likewise.
16360 * manual/signal.texi: Likewise.
16361 * manual/startup.texi: Likewise.
16362 * manual/stdio.texi: Likewise.
16363 * manual/terminal.texi: Likewise.
16364 (ONLCR): Document as POSIX.
16365 (OXTABS): Document availability on GNU/Linux as XTABS.
16366 (ONOEOT): Document availability separately from other bits.
16367 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
16368 * manual/time.texi: Likewise.
16369 * manual/users.texi: Likewise.
16370 * INSTALL: Regenerated.
16371 * sysdeps/gnu/errlist.c: Regenerated.
16373 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
16374 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
16375 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
16377 * configure: Regenerated.
16379 2012-03-07 Joseph Myers <joseph@codesourcery.com>
16381 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
16382 default includes instead of AC_HEADER_CHECK.
16383 * sysdeps/i386/configure: Regenerated.
16386 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
16387 * math/s_cacoshf.c (__cacoshf): Likewise.
16388 * math/s_cacoshl.c (__cacoshl): Likewise.
16389 * math/s_casinh.c (__casinh): Set signs of result from argument.
16390 * math/s_casinhf.c (__casinhf): Likewise.
16391 * math/s_casinhl.c (__casinhl): Likewise.
16392 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
16393 (casinh_test): Add more tests.
16394 * sysdeps/i386/fpu/libm-test-ulps: Update.
16395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16397 2012-03-07 Ulrich Drepper <drepper@gmail.com>
16399 * po/zh_TW.po: Update from translation team.
16401 * login/Makefile (distribute): Remove variable.
16402 * catgets/Makefile: Likewise.
16403 * mach/Makefile: Likewise.
16404 * malloc/Makefile: Likewise.
16405 * misc/Makefile: Likewise.
16406 * iconv/Makefile: Likewise.
16407 * nscd/Makefile: Likewise.
16408 * hurd/Makefile: Likewise.
16409 * manual/Makefile: Likewise.
16410 * locale/Makefile: Likewise.
16411 * intl/Makefile: Likewise.
16412 * conform/Makefile: Likewise.
16413 * nss/Makefile: Likewise.
16414 * time/Makefile: Likewise.
16415 * soft-fp/Makefile: Likewise.
16416 * dirent/Makefile: Likewise.
16417 * gmon/Makefile: Likewise.
16418 * po/Makefile: Likewise.
16419 * rt/Makefile: Likewise.
16420 * socket/Makefile: Likewise.
16421 * math/Makefile: Likewise.
16422 * signal/Makefile: Likewise.
16423 * debug/Makefile: Likewise.
16424 * elf/Makefile: Likewise.
16425 * timezone/Makefile: Likewise.
16426 * stdlib/Makefile: Likewise.
16427 * iconvdata/Makefile: Likewise.
16428 * sunrpc/Makefile: Likewise.
16429 * io/Makefile: Likewise.
16430 * argp/Makefile: Likewise.
16431 * inet/Makefile: Likewise.
16432 * hesiod/Makefile: Likewise.
16433 * grp/Makefile: Likewise.
16434 * csu/Makefile: Likewise.
16435 * wctype/Makefile: Likewise.
16436 * crypt/Makefile: Likewise.
16437 * libio/Makefile: Likewise.
16438 * string/Makefile: Likewise.
16439 * nis/Makefile: Likewise.
16440 * resolv/Makefile: Likewise.
16441 * stdio-common/Makefile: Likewise.
16442 * wcsmbs/Makefile: Likewise.
16443 * dlfcn/Makefile: Likewise.
16444 * posix/Makefile: Likewise.
16447 * timezone/Makefile: Don't install timezone files, just the programs
16450 2012-03-06 Ulrich Drepper <drepper@gmail.com>
16452 * nss/databases.def: Add missing gshadow entry.
16454 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
16456 2012-03-06 Marek Polacek <polacek@redhat.com>
16459 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
16460 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16461 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
16462 * stdio-common/tst-long-dbl-fphex.c: New file.
16464 2012-03-06 David S. Miller <davem@davemloft.net>
16466 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16467 (set_obp_int): New function.
16468 (get_obp_int): New function.
16469 (__get_clockfreq_via_dev_openprom): Likewise.
16470 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
16471 Avoid unused variable warnings on 'val' and use builtin_expect.
16472 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
16474 (INLINE_CLONE_SYSCALL): Likewise.
16476 2012-03-05 David S. Miller <davem@davemloft.net>
16478 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16480 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
16482 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16484 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
16485 only for |x| >= 40.
16486 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16488 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
16490 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
16491 Replace gettimeofday with __vdso_gettimeofday.
16493 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16494 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
16495 __vdso_clock_gettime and __vdso_getcpu.
16497 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
16498 time with __vdso_time.
16500 2012-03-05 Joseph Myers <joseph@codesourcery.com>
16502 * manual/lang.texi (size_t): Note types to which size_t may be
16503 equivalent with the GNU C Library, but do not describe when
16504 differences between them are significant.
16506 2012-03-05 Andreas Jaeger <aj@suse.de>
16508 * sysdeps/i386/fpu/libm-test-ulps: Update.
16510 2012-03-05 Joseph Myers <joseph@codesourcery.com>
16513 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
16514 (__ieee754_pow): Save and restore rounding mode and use
16515 round-to-nearest for main computations.
16516 * math/libm-test.inc (pow_test_tonearest): New function.
16517 (pow_test_towardzero): Likewise.
16518 (pow_test_downward): Likewise.
16519 (pow_test_upward): Likewise.
16520 (main): Call the new functions.
16521 * sysdeps/i386/fpu/libm-test-ulps: Update.
16522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16525 * math/libm-test.inc (cosh_test_tonearest): New function.
16526 (cosh_test_towardzero): Likewise.
16527 (cosh_test_downward): Likewise.
16528 (cosh_test_upward): Likewise.
16529 (sinh_test_tonearest): Likewise.
16530 (sinh_test_towardzero): Likewise.
16531 (sinh_test_downward): Likewise.
16532 (sinh_test_upward): Likewise.
16533 (main): Call the new functions.
16534 * sysdeps/i386/fpu/libm-test-ulps: Update.
16535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16537 2012-03-05 Tom de Vries <tom@codesourcery.com>
16539 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
16540 default stack guard is set in last bytes.
16541 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
16543 2012-03-05 Kees Cook <keescook@chromium.org>
16545 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
16548 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
16549 possibly allocate from heap instead of stack.
16550 * stdio-common/bug-vfprintf-nargs.c: New file.
16551 * stdio-common/Makefile (tests): Add nargs overflow test.
16553 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
16555 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16557 2012-03-03 Marek Polacek <polacek@redhat.com>
16559 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
16560 * math/math_private.h: Likewise.
16561 * stdlib/tst-strtod.c: Likewise.
16562 * sysdeps/i386/i486/bits/atomic.h: Likewise.
16563 * sysdeps/x86_64/bits/atomic.h: Likewise.
16565 2012-03-02 David S. Miller <davem@davemloft.net>
16567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
16568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
16569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
16570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
16571 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
16572 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
16573 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
16574 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
16576 2012-03-02 Roland McGrath <roland@hack.frob.com>
16579 * manual/examples/README: New file, says the example source files
16580 can be used under GPL>=2.
16581 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
16582 line containing just "*/".
16583 * manual/examples/add.c: Add copyright header (GPL>=2).
16584 * manual/examples/argp-ex1.c: Likewise.
16585 * manual/examples/argp-ex2.c: Likewise.
16586 * manual/examples/argp-ex3.c: Likewise.
16587 * manual/examples/argp-ex4.c: Likewise.
16588 * manual/examples/atexit.c: Likewise.
16589 * manual/examples/db.c: Likewise.
16590 * manual/examples/dir.c: Likewise.
16591 * manual/examples/dir2.c: Likewise.
16592 * manual/examples/execinfo.c: Likewise.
16593 * manual/examples/filecli.c: Likewise.
16594 * manual/examples/filesrv.c: Likewise.
16595 * manual/examples/fmtmsgexpl.c: Likewise.
16596 * manual/examples/genpass.c: Likewise.
16597 * manual/examples/inetcli.c: Likewise.
16598 * manual/examples/inetsrv.c: Likewise.
16599 * manual/examples/isockad.c: Likewise.
16600 * manual/examples/longopt.c: Likewise.
16601 * manual/examples/memopen.c: Likewise.
16602 * manual/examples/memstrm.c: Likewise.
16603 * manual/examples/mkfsock.c: Likewise.
16604 * manual/examples/mkisock.c: Likewise.
16605 * manual/examples/mygetpass.c: Likewise.
16606 * manual/examples/pipe.c: Likewise.
16607 * manual/examples/popen.c: Likewise.
16608 * manual/examples/rprintf.c: Likewise.
16609 * manual/examples/search.c: Likewise.
16610 * manual/examples/select.c: Likewise.
16611 * manual/examples/setjmp.c: Likewise.
16612 * manual/examples/sigh1.c: Likewise.
16613 * manual/examples/sigusr.c: Likewise.
16614 * manual/examples/stpcpy.c: Likewise.
16615 * manual/examples/strdupa.c: Likewise.
16616 * manual/examples/strftim.c: Likewise.
16617 * manual/examples/strncat.c: Likewise.
16618 * manual/examples/subopt.c: Likewise.
16619 * manual/examples/swapcontext.c: Likewise.
16620 * manual/examples/termios.c: Likewise.
16621 * manual/examples/testopt.c: Likewise.
16622 * manual/examples/testpass.c: Likewise.
16623 * manual/examples/timeval_subtract.c: Likewise.
16626 * manual/time.texi (Elapsed Time): Move timeval_subtract example
16628 * manual/timeval_subtract.c.texi: ... here, new file.
16630 2012-03-02 David S. Miller <davem@davemloft.net>
16632 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
16634 2012-03-02 Joseph Myers <joseph@codesourcery.com>
16637 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
16638 (__sin): Save and restore rounding mode and use round-to-nearest
16639 for all computations.
16640 (__cos): Save and restore rounding mode and use round-to-nearest
16641 for all computations.
16642 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
16644 (tan): Save and restore rounding mode and use round-to-nearest for
16646 * math/libm-test.inc (cos_test_tonearest): New function.
16647 (cos_test_towardzero): Likewise.
16648 (cos_test_downward): Likewise.
16649 (cos_test_upward): Likewise.
16650 (sin_test_tonearest): Likewise.
16651 (sin_test_towardzero): Likewise.
16652 (sin_test_downward): Likewise.
16653 (sin_test_upward): Likewise.
16654 (tan_test_tonearest): Likewise.
16655 (tan_test_towardzero): Likewise.
16656 (tan_test_downward): Likewise.
16657 (tan_test_upward): Likewise.
16658 (main): Call the new functions.
16659 * sysdeps/i386/fpu/libm-test-ulps: Update.
16660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16663 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
16664 small n, then large n, before computing and testing k+n.
16665 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16666 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
16668 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
16670 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
16671 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
16672 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
16673 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
16674 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16675 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16676 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
16677 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
16678 * math/libm-test.inc (scalbn_test): Add more tests.
16679 (scalbln_test): Likewise.
16681 * manual/filesys.texi (mode_t): Describe constraints on size and
16682 signedness, not exact equivalence to a particular type.
16684 (ino64_t): Likewise.
16686 (nlink_t): Likewise.
16687 (blkcnt_t): Likewise.
16688 (blkcnt64_t): Likewise.
16689 * manual/llio.texi (off_t): Likewise.
16692 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
16693 (__ieee754_exp): Save and restore rounding mode and use
16694 round-to-nearest for all computations.
16695 * math/libm-test.inc (exp_test_tonearest): New function.
16696 (exp_test_towardzero): Likewise.
16697 (exp_test_downward): Likewise.
16698 (exp_test_upward): Likewise.
16699 (main): Call the new functions.
16700 * sysdeps/i386/fpu/libm-test-ulps: Update.
16701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16703 2012-03-01 Chris Demetriou <cgd@google.com>
16705 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
16706 have predictable order.
16708 2012-03-01 David S. Miller <davem@davemloft.net>
16710 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
16712 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
16713 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
16714 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
16715 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
16717 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
16718 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
16719 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
16720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
16721 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
16722 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
16723 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
16724 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
16725 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
16727 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16729 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
16730 * sysdeps/sparc/fpu/libm-test-ulps: to here.
16731 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
16733 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
16734 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16735 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16736 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
16737 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
16738 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
16739 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
16740 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16741 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16742 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
16743 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
16744 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16745 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16746 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16747 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16748 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16749 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
16750 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
16751 * sysdeps/sparc/elf/configure: Regenerated.
16753 2012-03-01 Joseph Myers <joseph@codesourcery.com>
16755 * configure.in (AS, LD): Require binutils 2.20 or later.
16756 * configure: Regenerated.
16757 * manual/install.texi (Tools for Compilation): Give binutils 2.20
16758 as required minimum version.
16759 * INSTALL: Regenerated.
16763 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
16764 before squaring exponent.
16765 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
16766 bottom long double and 27 bits of top long double before squaring
16768 * math/libm-test.inc (erfc_test): Add more tests.
16769 * sysdeps/i386/fpu/libm-test-ulps: Update.
16770 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16773 2012-03-01 Kai Tietz <ktietz@redhat.com>
16775 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
16776 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
16777 containing bit-fields.
16778 * soft-fp/extended.h (_FP_UNION_E): Likewise.
16779 * soft-fp/single.h (_FP_UNION_S): Likewise.
16780 * soft-fp/double.h (_FP_UNION_D): Likewise.
16782 2012-02-29 Joseph Myers <joseph@codesourcery.com>
16785 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
16786 not include ../strcmp.S.
16787 [USE_AS_STRNCASECMP_L]: Likewise.
16788 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
16789 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
16790 * sysdeps/i386/i686/multiarch/strncase_l-c.c
16791 (__strncasecmp_l_ia32): Define as alias to
16792 __strncasecmp_l_nonascii.
16795 * math/libm-test.inc (expm1_test): Add test for bug 5794.
16796 * sysdeps/i386/fpu/libm-test-ulps: Update.
16797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16799 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
16800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16802 2012-02-29 Jeff Law <law@redhat.com>
16804 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
16805 out of bounds read.
16807 2012-02-29 Marek Polacek <polacek@redhat.com>
16810 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
16811 * elf/Makefile: Add rules to run tst-unused-dep.out.
16813 2012-02-28 David S. Miller <davem@davemloft.net>
16815 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
16816 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
16817 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
16818 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
16819 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
16820 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
16822 2012-02-29 Joseph Myers <joseph@codesourcery.com>
16824 * math/libm-test.inc (llround_test): Move one test from
16825 lround_test. Use TEST_f_L in moved test.
16826 (lround_test): Move misplaced test to llround_test. Add testcase
16829 2012-02-28 Ulrich Drepper <drepper@gmail.com>
16831 * sysdeps/x86_64/fpu/e_expf.S: New file.
16832 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
16834 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
16837 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
16838 of remain_len that may cause incomplete multi-byte character and
16840 * posix/bug-regex33.c: New file.
16841 * posix/Makefile (tests): Add bug-regex33.
16843 2012-02-28 Joseph Myers <joseph@codesourcery.com>
16845 * manual/macros.texi: New file.
16846 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
16847 * manual/libc.texinfo: Include macros.texi.
16848 * manual/creatute.texi: Likewise.
16849 * manual/install.texi: Likewise.
16850 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
16851 @glibcadj{} in references to the GNU C Library.
16852 * manual/charset.texi: Likewise.
16853 * manual/conf.texi: Likewise.
16854 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
16855 when not using those macros.
16856 * manual/creature.texi: Likewise.
16857 * manual/crypt.texi: Likewise.
16858 * manual/errno.texi: Likewise.
16859 * manual/filesys.texi: Likewise.
16860 * manual/header.texi: Likewise.
16861 * manual/install.texi: Likewise.
16862 * manual/intro.texi: Likewise.
16863 * manual/io.texi: Likewise.
16864 * manual/job.texi: Likewise.
16865 * manual/lang.texi: Likewise.
16866 * manual/libc.texiinfo: Likewise.
16867 * manual/llio.texi: Likewise.
16868 * manual/locale.texi: Likewise.
16869 * manual/maint.texi: Likewise.
16870 * manual/math.texi: Likewise.
16871 * manual/memory.texi: Likewise.
16872 * manual/message.texi: Likewise.
16873 * manual/nss.texi: Likewise.
16874 * manual/pattern.texi: Likewise.
16875 * manual/process.texi: Likewise.
16876 * manual/resource.texi: Likewise.
16877 * manual/search.texi: Likewise.
16878 * manual/setjmp.texi: Likewise.
16879 * manual/signal.texi: Likewise.
16880 * manual/socket.texi: Likewise.
16881 * manual/startup.texi: Likewise.
16882 * manual/stdio.texi: Likewise.
16883 * manual/string.texi: Likewise.
16884 * manual/sysinfo.texi: Likewise.
16885 * manual/syslog.texi: Likewise.
16886 * manual/terminal.texi: Likewise.
16887 * manual/time.texi: Likewise.
16888 * manual/users.texi: Likewise.
16889 * INSTALL: Regenerated.
16890 * NOTES: Regenerated.
16891 * sysdeps/gnu/errlist.c: Regenerated.
16893 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
16895 * include/dirent.h: Include <dirstream.h> before
16898 2012-02-28 David S. Miller <davem@davemloft.net>
16900 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
16901 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
16902 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
16903 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
16905 2012-02-27 David S. Miller <davem@davemloft.net>
16907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
16908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
16909 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
16910 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
16912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
16913 frame pointer instead of stack pointer relative arg slot.
16914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16915 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16916 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16918 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
16921 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
16923 2012-02-27 David S. Miller <davem@davemloft.net>
16925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
16926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
16929 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16930 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16931 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
16932 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
16934 2012-02-27 Joseph Myers <joseph@codesourcery.com>
16936 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
16937 later. Allow versions 5-9.
16938 * configure: Regenerated.
16939 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
16940 required minimum version and 4.6 as recommended version. Do not
16941 mention bugs in GCC 2.7 and 2.8.
16942 * INSTALL: Regenerated.
16944 2012-02-27 David S. Miller <davem@davemloft.net>
16946 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
16947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
16948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
16949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
16950 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
16951 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
16952 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
16953 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
16955 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
16956 manipulate bits before adding and subtracting TWO112[sx].
16957 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16959 2012-02-27 Roland McGrath <roland@hack.frob.com>
16962 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
16963 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
16964 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
16965 being in POSIX, because they are in 1003.1-2008.
16967 * rt/tst-aio.c: Include <fcntl.h>.
16968 * rt/tst-aio7.c: Likewise.
16969 * rt/tst-aio64.c: Likewise.
16971 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
16973 2012-02-27 Joseph Myers <joseph@codesourcery.com>
16975 * manual/install.texi (--with-headers): Describe headers as
16976 interface headers, not private headers.
16977 (Specific advice for GNU/Linux systems): Describe use of headers
16978 from "make headers_install", not private headers from older
16980 * INSTALL: Regenerated.
16981 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
16983 * sysdeps/unix/sysv/linux/configure: Regenerated.
16985 * manual/llio.texi (fclean): Remove documentation.
16987 * manual/Makefile (libc-texi-generated): New variable. Include
16989 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
16990 $(libc-texi-generated), not duplicated list of files.
16991 (version.texi, stamp-version): New rules.
16992 (realclean): Remove $(libc-texi-generated), not individual files
16993 from that list. Do not remove dir-add.texinfo.
16994 * manual/libc.texinfo: Comment out uses of edition numbers and
16995 references to printed manual. Remove last-updated dates.
16996 (EDITION): Comment out.
16998 (VERSION, UPDATED): Remove.
16999 (version.texi): Include.
17001 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
17003 * sysdeps/posix/spawni.c: Include <signal.h>.
17004 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
17005 * sysdeps/pthread/aio_fsync.c: Likewise.
17007 2012-02-26 Ulrich Drepper <drepper@gmail.com>
17009 * conform/Makefile (tests): Run only when not cross-compiling and
17010 when fast-check is not defined.
17012 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
17013 * conform/data/limits.h-data: Fixes for POSIX2008.
17014 * conform/run-conformtest.sh: Run all tests.
17015 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
17017 * include/bits/dlfcn.h: Likewise.
17018 * include/langinfo.h: Likewise.
17019 * include/monetary.h: Likewise.
17020 * include/sys/poll.h: Likewise.
17022 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
17024 * posix/spawn.h: Define __need_sigset_t.
17025 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
17026 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
17027 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
17028 to get sigevent_t only.
17029 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
17030 only for __USE_GNU.
17031 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17032 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17033 process_vm_writev only for __USE_GNU.
17034 * termios/termios.h: Declare tcgetsid also for POSIX2008.
17036 * conform/Makefile: For now ignore errors from run-conformtest.
17037 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
17038 POSIX to avoid namespace pollution. Don't prepend headers.
17039 * conform/data/aio.h-data: Fixes for POSIX testing.
17040 * conform/data/fcntl.h-data: Likewise.
17041 * conform/data/glob.h-data: Likewise.
17042 * conform/data/grp.h-data: Likewise.
17043 * conform/data/pthread.h-data: Likewise.
17044 * conform/data/pwd.h-data: Likewise.
17045 * conform/data/signal.h-data: Likewise.
17046 * conform/data/spawn.h-data: Likewise.
17047 * conform/data/stdio.h-data: Likewise.
17048 * conform/data/stdlib.h-data: Likewise.
17049 * conform/data/stropts.h-data: Likewise.
17050 * conform/data/sys/mman.h-data: Likewise.
17051 * conform/data/sys/stat.h-data: Likewise.
17052 * conform/data/sys/types.h-data: Likewise.
17053 * conform/data/sys/wait.h-data: Likewise.
17054 * conform/data/time.h-data: Likewise.
17055 * conform/data/unistd.h-data: Likewise.
17056 * conform/data/utime.h-data: Likewise.
17058 * io/sys/stat.h: fchmod was always in POSIX.
17059 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
17060 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
17061 * rt/aio.h: Define __need_timespec before including <time.h>.
17062 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
17063 struct. Add forward declaration of pthread_attr_t and use it in
17065 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17066 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17067 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
17068 always remove CLK_TCK definition.
17070 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
17072 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
17074 2012-02-25 Ulrich Drepper <drepper@gmail.com>
17076 * conform/run-conformtest.sh: New file.
17077 * conform/Makefile: Run run-conformtest for tests.
17078 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
17081 * conform/data/uchar.h-data: New file.
17082 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
17083 * conform/data/arpa/inet.h-data: Likewise.
17084 * conform/data/assert.h-data: Likewise.
17085 * conform/data/complex.h-data: Likewise.
17086 * conform/data/cpio.h-data: Likewise.
17087 * conform/data/ctype.h-data: Likewise.
17088 * conform/data/dirent.h-data: Likewise.
17089 * conform/data/dlfcn.h-data: Likewise.
17090 * conform/data/errno.h-data: Likewise.
17091 * conform/data/fcntl.h-data: Likewise.
17092 * conform/data/float.h-data: Likewise.
17093 * conform/data/fmtmsg.h-data: Likewise.
17094 * conform/data/fnmatch.h-data: Likewise.
17095 * conform/data/ftw.h-data: Likewise.
17096 * conform/data/glob.h-data: Likewise.
17097 * conform/data/grp.h-data: Likewise.
17098 * conform/data/iconv.h-data: Likewise.
17099 * conform/data/inttypes.h-data: Likewise.
17100 * conform/data/langinfo.h-data: Likewise.
17101 * conform/data/libgen.h-data: Likewise.
17102 * conform/data/limits.h-data: Likewise.
17103 * conform/data/locale.h-data: Likewise.
17104 * conform/data/math.h-data: Likewise.
17105 * conform/data/monetary.h-data: Likewise.
17106 * conform/data/mqueue.h-data: Likewise.
17107 * conform/data/ndbm.h-data: Likewise.
17108 * conform/data/net/if.h-data: Likewise.
17109 * conform/data/netdb.h-data: Likewise.
17110 * conform/data/netinet/in.h-data: Likewise.
17111 * conform/data/nl_types.h-data: Likewise.
17112 * conform/data/poll.h-data: Likewise.
17113 * conform/data/pthread.h-data: Likewise.
17114 * conform/data/pwd.h-data: Likewise.
17115 * conform/data/regex.h-data: Likewise.
17116 * conform/data/sched.h-data: Likewise.
17117 * conform/data/search.h-data: Likewise.
17118 * conform/data/semaphore.h-data: Likewise.
17119 * conform/data/setjmp.h-data: Likewise.
17120 * conform/data/signal.h-data: Likewise.
17121 * conform/data/spawn.h-data: Likewise.
17122 * conform/data/stdarg.h-data: Likewise.
17123 * conform/data/stdio.h-data: Likewise.
17124 * conform/data/stdlib.h-data: Likewise.
17125 * conform/data/string.h-data: Likewise.
17126 * conform/data/strings.h-data: Likewise.
17127 * conform/data/stropts.h-data: Likewise.
17128 * conform/data/sys/ipc.h-data: Likewise.
17129 * conform/data/sys/mman.h-data: Likewise.
17130 * conform/data/sys/msg.h-data: Likewise.
17131 * conform/data/sys/resource.h-data: Likewise.
17132 * conform/data/sys/select.h-data: Likewise.
17133 * conform/data/sys/sem.h-data: Likewise.
17134 * conform/data/sys/shm.h-data: Likewise.
17135 * conform/data/sys/socket.h-data: Likewise.
17136 * conform/data/sys/stat.h-data: Likewise.
17137 * conform/data/sys/statvfs.h-data: Likewise.
17138 * conform/data/sys/time.h-data: Likewise.
17139 * conform/data/sys/timeb.h-data: Likewise.
17140 * conform/data/sys/times.h-data: Likewise.
17141 * conform/data/sys/types.h-data: Likewise.
17142 * conform/data/sys/uio.h-data: Likewise.
17143 * conform/data/sys/un.h-data: Likewise.
17144 * conform/data/sys/utsname.h-data: Likewise.
17145 * conform/data/sys/wait.h-data: Likewise.
17146 * conform/data/syslog.h-data: Likewise.
17147 * conform/data/tar.h-data: Likewise.
17148 * conform/data/termios.h-data: Likewise.
17149 * conform/data/utime.h-data: Likewise.
17150 * conform/data/utmpx.h-data: Likewise.
17151 * conform/data/varargs.h-data: Likewise.
17152 * conform/data/wchar.h-data: Likewise.
17153 * conform/data/wctype.h-data: Likewise.
17154 * conform/data/wordexp.h-data: Likewise.
17156 * include/stropts.h: New file.
17157 * include/uchar.h: New file.
17158 * include/aio.h: Changes to allow conformtest.pl to use the headers.
17159 * include/assert.h: Likewise.
17160 * include/ctype.h: Likewise.
17161 * include/dirent.h: Likewise.
17162 * include/dlfcn.h: Likewise.
17163 * include/fcntl.h: Likewise.
17164 * include/fnmatch.h: Likewise.
17165 * include/glob.h: Likewise.
17166 * include/grp.h: Likewise.
17167 * include/libio.h: Likewise.
17168 * include/locale.h: Likewise.
17169 * include/math.h: Likewise.
17170 * include/net/if.h: Likewise.
17171 * include/netdb.h: Likewise.
17172 * include/netinet/in.h: Likewise.
17173 * include/pthread.h: Likewise.
17174 * include/pwd.h: Likewise.
17175 * include/regex.h: Likewise.
17176 * include/sched.h: Likewise.
17177 * include/search.h: Likewise.
17178 * include/setjmp.h: Likewise.
17179 * include/signal.h: Likewise.
17180 * include/stdio.h: Likewise.
17181 * include/stdlib.h: Likewise.
17182 * include/string.h: Likewise.
17183 * include/sys/cdefs.h: Likewise.
17184 * include/sys/mman.h: Likewise.
17185 * include/sys/msg.h: Likewise.
17186 * include/sys/resource.h: Likewise.
17187 * include/sys/select.h: Likewise.
17188 * include/sys/socket.h: Likewise.
17189 * include/sys/stat.h: Likewise.
17190 * include/sys/statvfs.h: Likewise.
17191 * include/sys/time.h: Likewise.
17192 * include/sys/times.h: Likewise.
17193 * include/sys/uio.h: Likewise.
17194 * include/sys/utsname.h: Likewise.
17195 * include/sys/wait.h: Likewise.
17196 * include/termios.h: Likewise.
17197 * include/time.h: Likewise.
17198 * include/ulimit.h: Likewise.
17199 * include/unistd.h: Likewise.
17200 * include/utime.h: Likewise.
17201 * include/wchar.h: Likewise.
17202 * include/wctype.h: Likewise.
17203 * include/wordexp.h: Likewise.
17205 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
17207 * time/time.h: TIME_UTC must be a macro.
17208 Make timespec_get available for ISO C11 only as well.
17210 2012-02-24 Ulrich Drepper <drepper@gmail.com>
17212 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
17213 Reported by Peng Haitao <penght@cn.fujitsu.com>.
17215 2012-02-24 Joseph Myers <joseph@codesourcery.com>
17217 * configure.in: Use -o not -a in test for unsupported multi-arch.
17219 2012-02-24 Joseph Myers <joseph@codesourcery.com>
17221 * manual/texinfo.tex: Update to version 2012-01-19.16.
17223 2012-02-24 Joseph Myers <joseph@codesourcery.com>
17225 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
17227 2012-02-24 Roland McGrath <roland@hack.frob.com>
17230 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
17231 * manual/fdl-1.3.texi: New file.
17232 * manual/fdl-1.1.texi: File removed.
17235 * manual/libc.texinfo (FDL_VERSION): New @set.
17236 Use it for mention of FDL in cover text.
17237 (Documentation License): Use it in @include file name.
17239 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17240 Roland McGrath <roland@hack.frob.com>
17243 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
17244 not LONG_LONG_MAX and LONG_LONG_MIN.
17245 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
17246 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
17248 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
17250 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17254 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
17255 manipulate bits before adding and subtracting TWO23[sx].
17256 * math/libm-test.inc (nearbyint_test): Add more tests.
17258 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17261 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
17262 bits before adding and subtracting TWO23[sx].
17263 * math/libm-test.inc (rint_test): Add more tests.
17264 (rint_test_tonearest): Likewise.
17265 (rint_test_towardzero): Likewise.
17266 (rint_test_downward): Likewise.
17267 (rint_test_upward: Likewise.
17269 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17272 * include/stdc-predef.h: New file. Extracted from features.h.
17273 * include/features.h: Include stdc-predef.h.
17274 * Makefile (headers): Add stdc-predef.h.
17275 * CONFORMANCE (Compiler limitations): Update.
17277 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17279 * manual/libc.texinfo (VERSION, UPDATED): Revert.
17281 2012-02-21 David S. Miller <davem@davemloft.net>
17283 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
17284 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17286 2012-02-20 David S. Miller <davem@davemloft.net>
17288 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
17289 using a normal save/restore sequence, rather than allocating a
17290 dummy stack frame just to store a frame pointer and restore.
17291 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17293 2012-02-21 Joseph Myers <joseph@codesourcery.com>
17295 * manual/install.texi: Fix stray word in line-wrapped comment.
17297 2012-02-20 David S. Miller <davem@davemloft.net>
17299 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
17300 both binutils and gcc support GOTDATA.
17302 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
17303 "rd %pc" in the PIC register setup sequences.
17305 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
17306 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
17307 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17308 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
17309 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17310 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17311 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17312 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17313 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
17314 (SYSCALL_ERROR_HANDLER): Likewise.
17315 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17316 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17317 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
17318 (SYSCALL_ERROR_HANDLER): Likewise.
17320 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
17321 (HAVE_GCC_GOTDATA): New.
17322 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
17323 relocation support in both binutils and gcc.
17324 * sysdeps/sparc/elf/configure: Regenerate.
17326 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
17327 * sysdeps/sparc/sparc32/elf/configure: Delete.
17328 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
17329 * sysdeps/sparc/sparc64/elf/configure: Delete.
17330 * sysdeps/sparc/elf/configure.in: New file.
17331 * sysdeps/sparc/elf/configure: Generate.
17333 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
17334 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
17335 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17336 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
17337 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
17339 2012-02-21 Joseph Myers <joseph@codesourcery.com>
17341 * manual/install.texi: Do not mention specific glibc version
17343 * manual/libc.texinfo (VERSION, UPDATED): Update.
17344 (@copying): Use @copyright{} and range of years.
17346 2012-02-21 Joseph Myers <joseph@codesourcery.com>
17349 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
17350 [crti.S not in sysdirs] (generated): Do not append.
17351 [crti.S not in sysdirs] (omit-deps): Likewise.
17352 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
17353 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
17354 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
17355 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
17356 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
17358 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
17359 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
17360 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
17361 * csu/defs.awk: Remove file.
17362 * sysdeps/generic/initfini.c: Likewise.
17363 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
17365 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
17368 2012-02-20 Joseph Myers <joseph@codesourcery.com>
17370 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
17371 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
17372 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
17373 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
17374 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17375 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
17377 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
17378 (__EPOLL_PACKED): Define to empty if not defined by
17380 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
17381 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17384 2012-02-20 Joseph Myers <joseph@codesourcery.com>
17386 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
17387 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
17388 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
17389 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
17391 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
17392 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17395 2012-02-20 Joseph Myers <joseph@codesourcery.com>
17397 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
17399 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17400 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17401 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
17402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17404 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
17406 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17407 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17409 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
17411 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
17412 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
17414 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
17416 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
17419 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
17421 * math/w_acos.c: Use non-signaling floating-point comparisons.
17422 * math/w_acosf.c: Likewise.
17423 * math/w_acosh.c: Likewise.
17424 * math/w_acoshf.c: Likewise.
17425 * math/w_acoshl.c: Likewise.
17426 * math/w_acosl.c: Likewise.
17427 * math/w_asin.c: Likewise.
17428 * math/w_asinf.c: Likewise.
17429 * math/w_asinl.c: Likewise.
17430 * math/w_atanh.c: Likewise.
17431 * math/w_atanhf.c: Likewise.
17432 * math/w_atanhl.c: Likewise.
17433 * math/w_exp2.c: Likewise.
17434 * math/w_exp2f.c: Likewise.
17435 * math/w_exp2l.c: Likewise.
17436 * math/w_j0.c: Likewise.
17437 * math/w_j0f.c: Likewise.
17438 * math/w_j0l.c: Likewise.
17439 * math/w_j1.c: Likewise.
17440 * math/w_j1f.c: Likewise.
17441 * math/w_j1l.c: Likewise.
17442 * math/w_jn.c: Likewise.
17443 * math/w_jnf.c: Likewise.
17444 * math/w_log.c: Likewise.
17445 * math/w_log10.c: Likewise.
17446 * math/w_log10f.c: Likewise.
17447 * math/w_log10l.c: Likewise.
17448 * math/w_log2.c: Likewise.
17449 * math/w_log2f.c: Likewise.
17450 * math/w_log2l.c: Likewise.
17451 * math/w_logf.c: Likewise.
17452 * math/w_logl.c: Likewise.
17453 * math/w_sqrt.c: Likewise.
17454 * math/w_sqrtf.c: Likewise.
17455 * math/w_sqrtl.c: Likewise.
17456 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17457 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
17458 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17459 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17460 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17462 2012-02-19 Joseph Myers <joseph@codesourcery.com>
17465 * manual/string.texi (strnlen): Use correct parameter name in
17466 equivalent expression.
17468 2012-02-19 Joseph Myers <joseph@codesourcery.com>
17471 * manual/users.texi (seteuid): Consistently use neweuid for
17474 2012-02-19 Joseph Myers <joseph@codesourcery.com>
17477 * manual/nss.texi (Services in the NSS configuration): Correct
17478 list of services in example configuration file.
17480 2012-02-19 Nick Bowler <nbowler@draconx.ca>
17483 * manual/arith.texi: Remove statements about negative zero
17484 behaving identically to zero.
17486 2012-02-18 Joseph Myers <joseph@codesourcery.com>
17489 * manual/install.texi: Do not document upgrading from libc5.
17491 2012-02-18 Joseph Myers <joseph@codesourcery.com>
17494 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
17496 2012-02-18 David S. Miller <davem@davemloft.net>
17498 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
17499 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
17500 %o7 across the call.
17501 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
17503 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
17504 SETUP_PIC_REG_LEAF.
17505 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17506 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
17507 * sysdeps/sparc/crtn.S: Likewise.
17509 2012-02-17 Ulrich Drepper <drepper@gmail.com>
17511 * aout/Makefile: Remove.
17513 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
17516 * manual/examples/argp-ex1.c (main): Format definition in GNU
17518 * manual/examples/argp-ex2.c (main): Likewise.
17519 * manual/examples/argp-ex3.c (main): Likewise.
17520 * manual/examples/argp-ex4.c (main): Likewise.
17521 * manual/examples/longopt.c (main): Use new-style prototype
17523 * manual/examples/strncat.c (main): Specify return type and use
17524 (void) for arguments.
17525 * manual/examples/subopt.c (main): Use char **argv argument.
17527 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17530 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
17533 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
17536 * manual/string.texi (strchr): Change when strchrnul is
17539 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
17542 * manual/locale.texi (setlocale): Document LOCPATH.
17544 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17547 * manual/process.texi (execle): Move @dots{} before last argument.
17549 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
17552 * manual/charset.texi (Generic Charset Conversion): Fix typo
17553 (LC_TYPE -> LC_CTYPE).
17555 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
17558 * manual/arith.texi (scalbn): Use @var{} on parameter names.
17559 (scalbnf): Likewise.
17560 (scalbnl): Likewise.
17561 (scalbln): Likewise.
17562 (scalblnf): Likewise.
17563 (scalblnl): Likewise.
17564 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
17565 (vwarnx): Likewise.
17568 * manual/filesys.texi (telldir): Use braces around return type.
17569 * manual/llio.texi (mmap): Add space after comma.
17570 (mmap64): Likewise.
17571 * manual/math.texi (jn): Use @var{} on parameter names.
17577 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
17579 * manual/resource.texi (ulimit): Use @dots{} instead of literal
17581 (sched_get_priority_min): Remove semicolon on @deftypefun line.
17582 (sched_get_priority_max): Likewise.
17583 * manual/signal.texi (sigvec): Add space after comma.
17584 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
17586 (if_indextoname): Likewise.
17587 (if_freenameindex): Likewise.
17588 (sendto): Use ',' instead of '.' in prototype.
17589 * manual/startup.texi (syscall): Use @dots{} instead of literal
17591 * manual/stdio.texi (__fpending): Separate initial words of
17592 paragraph from @deftypefun line.
17593 * manual/syslog.texi (syslog): Use @dots{} instead of literal
17595 (vsyslog): Use @var{} on parameter names.
17596 * manual/terminal.texi (stty): Use @var{} on parameter names.
17597 * manual/users.texi (getutmp): Use @var{} on parameter names.
17598 (getutmpx): Likewise.
17600 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17603 * manual/stdio.texi (fopen): Fix typos in description of
17606 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
17609 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
17610 get clock_id definition.
17612 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
17615 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
17616 (madvise): Cast every argument to void on its own.
17618 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17621 * manual/startup.texi (Exit Status): Fix typo.
17623 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17626 * manual/examples/argp-ex1.c: Include <stdlib.h>.
17627 * manual/examples/argp-ex2.c: Likewise.
17628 * manual/examples/argp-ex3.c: Likewise.
17630 2012-02-16 Richard Henderson <rth@redhat.com>
17632 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
17633 * sysdeps/s390/s390-32/initfini.c: Remove.
17634 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
17635 * sysdeps/s390/s390-64/initfini.c: Remove.
17637 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17639 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
17640 compiler output for sysdeps/generic/initfini.c.
17641 * sysdeps/sh/elf/initfini.c: Remove file.
17643 2012-02-16 David S. Miller <davem@davemloft.net>
17646 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
17648 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
17649 * sysdeps/sparc/crti.S: New file.
17650 * sysdeps/sparc/crtn.S: New file.
17651 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
17652 * sysdeps/sparc/sparc64/Makefile: Likewise.
17654 2012-02-15 Mike Frysinger <vapier@gentoo.org>
17657 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
17659 2012-02-15 Roland McGrath <roland@hack.frob.com>
17662 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
17664 * mach/devstream.c (cookie_io_functions_t): Macro removed.
17665 (write, read, close): Likewise.
17666 Patch by Aurelien Jarno <aurelien@aurel32.net>.
17668 2012-02-15 Joseph Myers <joseph@codesourcery.com>
17670 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
17671 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
17672 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
17673 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
17675 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
17676 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17679 2012-02-14 Marek Polacek <polacek@redhat.com>
17681 * sysdeps/x86_64/crti.S: New file.
17682 * sysdeps/x86_64/crtn.S: New file.
17683 * sysdeps/x86_64/elf/initfini.c: Remove file.
17685 2012-02-13 Joseph Myers <joseph@codesourcery.com>
17687 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
17688 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
17689 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
17690 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
17692 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
17693 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17696 2012-02-13 Joseph Myers <joseph@codesourcery.com>
17698 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
17699 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
17700 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
17701 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
17703 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
17704 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17707 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
17709 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
17710 __feraiseexcept instead of feraiseexcept.
17712 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
17713 nanosleep invocations.
17714 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
17715 strings, and add error checking for a nanosleep invocations.
17717 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
17719 Replace FSF snail mail address with URLs, as per GNU coding standards.
17720 Most of the snail mail addresses were wrong anyway, and omitting
17721 them makes the source code easier to maintain. Almost all of the
17722 changes are to license notices and to locale LC_IDENTIFICATION
17723 addresses, except for this one:
17724 * manual/libc.texinfo: In "Published by", give the FSF's URL,
17725 not its snail mail address.
17727 2012-02-09 Richard Henderson <rth@twiddle.net>
17729 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
17730 of kernel-features.h.
17732 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
17734 2012-02-08 Marek Polacek <polacek@redhat.com>
17736 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
17737 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
17738 * sysdeps/gnu/_G_config.h: Likewise.
17739 * sysdeps/generic/_G_config.h: Likewise.
17741 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
17743 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
17745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17747 * sysdeps/powerpc/powerpc32/crti.S: New file.
17748 * sysdeps/powerpc/powerpc32/crtn.S: New file.
17749 * sysdeps/powerpc/powerpc64/crti.S: New file.
17750 * sysdeps/powerpc/powerpc64/crtn.S: New file.
17752 * Makeconfig (have-initfini): Don't set.
17753 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
17754 * configure.in (nopic_initfini): Don't substitute.
17755 * config.h.in (HAVE_INITFINI): Don't #undef.
17756 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
17757 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
17759 2012-02-08 Joseph Myers <joseph@codesourcery.com>
17761 Support crti.S and crtn.S provided directly by architectures.
17762 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
17763 [crti.S in sysdirs] (omit-deps): Likewise.
17764 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
17765 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
17766 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
17767 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
17768 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
17769 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
17770 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
17771 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
17772 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
17773 compiler output for sysdeps/generic/initfini.c.
17774 * sysdeps/i386/elf/Makefile: Remove file.
17775 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
17777 2012-02-07 Marek Polacek <polacek@redhat.com>
17779 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
17780 * sysdeps/gnu/_G_config.h: Likewise.
17781 * sysdeps/mach/hurd/_G_config.h: Likewise.
17783 2012-02-07 Marek Polacek <polacek@redhat.com>
17785 * math/Makefile (tests): Add tst-CMPLX2.
17786 * math/tst-CMPLX2.c: New file.
17788 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
17790 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17792 * math/libm-test.inc (jn_test): Add missing L suffix.
17794 2012-02-06 Marek Polacek <polacek@redhat.com>
17796 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
17797 * sysdeps/i386/fpu/e_powf.S: Likewise.
17798 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17799 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17800 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17801 * sysdeps/i386/fpu/e_pow.S: Likewise.
17802 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17803 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17804 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17805 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17806 * sysdeps/i386/fpu/e_log2.S: Likewise.
17807 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17808 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17809 * sysdeps/i386/fpu/e_powl.S: Likewise.
17810 * sysdeps/i386/fpu/s_log1p.S: Likewise.
17811 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17812 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17813 * sysdeps/i386/fpu/e_logl.S: Likewise.
17814 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17815 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
17816 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17817 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17818 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17819 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17820 * sysdeps/i386/fpu/e_log.S: Likewise.
17821 * sysdeps/i386/fpu/s_cexp.S: Likewise.
17822 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17823 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
17824 * sysdeps/i386/fpu/e_logf.S: Likewise.
17825 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17826 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17827 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
17828 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17829 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17830 * sysdeps/i386/fpu/e_log10.S: Likewise.
17831 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17832 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17833 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17834 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17835 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17836 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17837 * sysdeps/i386/asm-syntax.h: Likewise.
17838 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17839 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17840 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17841 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
17842 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
17843 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17844 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17845 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17846 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17847 * sysdeps/powerpc/sysdep.h: Likewise.
17848 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
17849 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17851 2012-02-06 Joseph Myers <joseph@codesourcery.com>
17854 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
17856 2012-02-06 Joseph Myers <joseph@codesourcery.com>
17858 * sysdeps/i386/sysdep.h: Include <features.h>.
17859 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
17862 2012-02-05 Joseph Myers <joseph@codesourcery.com>
17864 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
17866 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
17869 2012-02-03 Joseph Myers <joseph@codesourcery.com>
17871 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
17872 (SETUP_PIC_REG): Use GET_PC_THUNK.
17873 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
17876 2012-02-03 Joseph Myers <joseph@codesourcery.com>
17878 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
17879 for non-PIC compilation.
17880 (SETUP_PIC_REG): Add .p2align directive.
17881 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
17882 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
17883 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17884 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17885 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17886 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17887 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
17888 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17889 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17890 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17891 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17892 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17893 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17894 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17895 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17896 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17897 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17898 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17899 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17900 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17901 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17902 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17903 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17904 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17905 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17906 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17907 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17908 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17909 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17910 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17911 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17912 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17913 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17914 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17915 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17916 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17917 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17918 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17919 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17920 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17921 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17923 2012-02-03 Joseph Myers <joseph@codesourcery.com>
17925 * math/tst-CMPLX.c: Include <stdio.h>.
17927 2012-01-31 Joseph Myers <joseph@codesourcery.com>
17929 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
17931 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17932 * sysdeps/sparc/bits/mathdef.h: Likewise.
17934 2012-01-31 Marek Polacek <polacek@redhat.com>
17936 * libio/libio.h: Don't define _PARAMS.
17937 * locale/programs/config.h: Don't define PARAMS.
17938 * stdlib/strtol_l.c: Likewise.
17939 (__strtol_l): Remove PARAMS from the prototype.
17941 2012-01-31 Ulrich Drepper <drepper@gmail.com>
17943 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
17944 names. Just use the correct names. Remove unnecessary wrapper
17946 * malloc/arena.c: Likewise.
17947 * malloc/hooks.c: Likewise.
17949 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
17950 ARENA_TEST says not to. Simplify test for creation of a new arena.
17951 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
17953 2012-01-30 Ulrich Drepper <drepper@gmail.com>
17955 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
17957 (update_get_addr): New function.
17958 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
17959 GET_ADDR_MODULE parameter.
17961 2012-01-30 Joseph Myers <joseph@codesourcery.com>
17963 * crypt/cert.c: Remove __STDC__ conditionals.
17964 * crypt/crypt-entry.c: Likewise.
17965 * crypt/crypt_util.c: Likewise.
17966 * libio/filedoalloc.c: Likewise.
17967 * libio/fileops.c: Likewise.
17968 * libio/genops.c: Likewise.
17969 * libio/iofclose.c: Likewise.
17970 * libio/iofdopen.c: Likewise.
17971 * libio/iofopen.c: Likewise.
17972 * libio/iofopen64.c: Likewise.
17973 * libio/iogetdelim.c: Likewise.
17974 * libio/iopopen.c: Likewise.
17975 * libio/obprintf.c: Likewise.
17976 * libio/oldfileops.c: Likewise.
17977 * libio/oldiofclose.c: Likewise.
17978 * libio/oldiofdopen.c: Likewise.
17979 * libio/oldiofopen.c: Likewise.
17980 * libio/oldiopopen.c: Likewise.
17981 * libio/wfiledoalloc.c: Likewise.
17982 * libio/wgenops.c: Likewise.
17983 * locale/programs/xmalloc.c: Likewise.
17984 * misc/syslog.c: Likewise.
17985 * stdio-common/xbug.c: Likewise.
17986 * string/memchr.c: Likewise.
17987 * string/memcmp.c: Likewise.
17988 * string/memrchr.c: Likewise.
17989 * string/rawmemchr.c: Likewise.
17990 * sysdeps/posix/getcwd.c: Likewise.
17991 * time/strftime_l.c: Likewise.
17993 2012-01-30 Joseph Myers <joseph@codesourcery.com>
17995 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
17996 * config.make.in (config-cflags-sse2avx): Define.
17997 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
18000 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
18002 * scripts/config.guess: Update from upstream config git repository.
18003 * scripts/config.sub: Likewise.
18005 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
18007 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
18009 (R_TILEPRO_*, R_TILEGX_*): New macros.
18011 * scripts/firstversions.awk: Fix bug in version range handling.
18013 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
18015 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
18017 * include/sys/epoll.h: New file.
18018 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
18021 2012-01-28 Ulrich Drepper <drepper@gmail.com>
18023 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
18024 Avoid unnecessary __WORDSIZE == 64 test.
18025 (fmaxf): Use VEX format if possible.
18030 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
18031 * math/math_private.h: Remove libc_fegetround* and
18033 * sysdeps/i386/configure.in: Check for -msse2avx.
18034 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
18035 also if SSE2AVX is defined.
18036 Remove libc_fegetround* and libc_fesetround*.
18037 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
18038 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
18039 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
18041 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18042 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18043 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18044 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18045 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18047 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
18049 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18051 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
18053 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18055 2012-01-27 Ulrich Drepper <drepper@gmail.com>
18058 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
18060 * Makeconfig (libm): Define.
18061 * elf/Makefile: Add rules to build and run tst-relsort1.
18062 * elf/tst-relsort1.c: New file.
18063 * elf/tst-relsort1mod1.c: New file.
18064 * elf/tst-relsort1mod2.c: New file.
18066 2012-01-27 Joseph Myers <joseph@codesourcery.com>
18068 * math/s_ldexp.c: Remove __STDC__ conditionals.
18069 * math/s_ldexpf.c: Likewise.
18070 * math/s_ldexpl.c: Likewise.
18071 * math/s_nextafter.c: Likewise.
18072 * math/s_nexttowardf.c: Likewise.
18073 * math/s_significand.c: Likewise.
18074 * math/s_significandf.c: Likewise.
18075 * math/s_significandl.c: Likewise.
18076 * math/w_jnl.c: Likewise.
18077 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18078 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18079 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18080 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18081 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18082 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18083 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
18084 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18085 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18086 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18087 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18088 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18089 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18090 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18091 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18092 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18093 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18094 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18095 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18096 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18097 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18098 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18099 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18100 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18101 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18102 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18103 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18104 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18105 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18106 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18107 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18108 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18109 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18110 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18111 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18112 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18113 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18114 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18115 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18116 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18117 * sysdeps/ieee754/k_standard.c: Likewise.
18118 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18119 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18120 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18121 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18122 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18123 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18124 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18125 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18126 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18127 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18128 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18129 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18130 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18131 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18132 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18133 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18134 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18135 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18136 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18137 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18138 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18139 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18140 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18141 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18142 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18143 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18144 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18145 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18146 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18147 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18148 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18149 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
18150 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18151 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18152 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18153 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18154 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
18155 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18156 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18157 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
18158 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
18159 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18160 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18161 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
18162 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18163 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18164 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18165 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18166 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18167 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18168 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
18169 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18170 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18171 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18172 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18173 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18174 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
18175 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18176 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18177 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18178 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18179 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18180 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18181 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18182 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18183 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18184 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18185 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18186 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18187 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18188 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18189 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18190 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18191 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18192 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18193 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18194 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18195 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18196 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18197 * sysdeps/ieee754/s_matherr.c: Likewise.
18198 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18199 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18200 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18201 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18203 2012-01-26 Joseph Myers <joseph@codesourcery.com>
18205 * crypt/md5.h: Remove __STDC__ conditionals.
18206 * libio/libioP.h: Likewise.
18207 * locale/programs/config.h: Likewise.
18208 * sysdeps/generic/sysdep.h: Likewise.
18209 * sysdeps/i386/asm-syntax.h: Likewise.
18210 * sysdeps/s390/asm-syntax.h: Likewise.
18211 * sysdeps/unix/sysdep.h: Likewise.
18212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18215 2012-01-26 Joseph Myers <joseph@codesourcery.com>
18217 * libio/libio.h: Remove __STDC__ conditionals.
18218 * malloc/obstack.h: Likewise.
18219 * math/complex.h: Likewise.
18220 * math/math.h: Likewise.
18221 * sysdeps/generic/_G_config.h: Likewise.
18222 * sysdeps/gnu/_G_config.h: Likewise.
18223 * sysdeps/mach/hurd/_G_config.h: Likewise.
18224 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18225 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18226 * sysdeps/sparc/bits/mathdef.h: Likewise.
18228 2012-01-26 Ulrich Drepper <drepper@gmail.com>
18231 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
18232 Clean up HAS_* macros.
18233 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
18234 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
18236 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
18238 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18239 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18240 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18241 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18242 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18244 2012-01-25 Joseph Myers <joseph@codesourcery.com>
18246 * elf/tst-unique3.cc (gets): Remove declaration.
18247 * elf/tst-unique3lib.cc (gets): Likewise.
18248 * elf/tst-unique3lib2.cc (gets): Likewise.
18249 * elf/tst-unique4.cc (gets): Likewise.
18251 2012-01-24 Ulrich Drepper <drepper@gmail.com>
18253 * include/stdio.h: Add C++ protection. Add gets declarations and
18255 * debug/tst-chk1.c: Don't declare gets here.
18256 * stdio-common/tst-gets.c: Likewise.
18258 2012-01-24 Joseph Myers <joseph@codesourcery.com>
18260 * posix/glob: Remove directory.
18262 2012-01-24 Joseph Myers <joseph@codesourcery.com>
18264 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
18266 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
18268 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
18269 of the non-standard EPFNOSUPPORT.
18271 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
18273 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
18274 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
18275 ANYWHERE set to 1 only on KERN_NO_SPACE error.
18277 2012-01-21 Ulrich Drepper <drepper@gmail.com>
18279 * wcsmbs/uchar.h: Test __STDC_VERSION__.
18281 2012-01-20 Ulrich Drepper <drepper@gmail.com>
18283 * nscd/aicache.c (addhstaiX): Do not cache negative results of
18285 * nscd/grpcache.c (cache_addgr): Likewise.
18286 * nscd/hstcache.c (cache_addhst): Likewise.
18287 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18288 * nscd/pwdcache.c (cache_addpw): Likewise.
18289 * nscd/servicescache.c (cache_addserv): Likewise.
18291 2012-01-16 Ulrich Drepper <drepper@gmail.com>
18293 * malloc/malloc.c: Various cleanups.
18294 * malloc/hooks.c: Likewise.
18296 * stdlib/Makefile (tests): Add bug-fmtmsg1.
18297 * stdlib/bug-fmtmsg1.c: New file.
18299 * stdlib/fmtmsg.c (init): Add missing unlock.
18300 Patch by Peng Haitao <penght@cn.fujitsu.com>.
18302 2012-01-12 Marek Polacek <polacek@redhat.com>
18304 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
18307 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18309 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
18310 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
18311 macro to ensure uniqueness of label name.
18312 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18313 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18315 2012-01-11 Ulrich Drepper <drepper@gmail.com>
18317 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
18319 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
18320 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18321 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18322 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
18324 2012-01-10 Ulrich Drepper <drepper@gmail.com>
18326 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
18328 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
18329 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18330 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18332 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
18334 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
18335 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18336 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18337 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
18339 * math/bits/math-finite.h: Add ldexp support.
18341 2012-01-10 Marek Polacek <polacek@redhat.com>
18343 * locale/programs/localedef.h (show_archive_content): Add noreturn
18346 2012-01-09 Ulrich Drepper <drepper@gmail.com>
18348 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
18350 2012-01-08 Ulrich Drepper <drepper@gmail.com>
18352 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
18354 * io/Makefile (headers): Add bits/poll2.h.
18356 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
18358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
18359 typo #include statement.
18361 2012-01-08 Ulrich Drepper <drepper@gmail.com>
18363 * include/sys/cdefs.h: Define __attribute_alloc_size.
18364 * catgets/gencat.c: Add alloc_size attribute and apply consistently
18365 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
18366 * elf/pldd.c: Likewise.
18367 * iconv/iconv_charmap.c: Likewise.
18368 * iconv/iconvconfig.c: Likewise.
18369 * iconv/strtab.c: Likewise.
18370 * locale/programs/locale.c: Likewise.
18371 * locale/programs/localedef.h: Likewise.
18372 * locale/programs/simple-hash.c: Likewise.
18373 * nscd/nscd.h: Likewise.
18374 * nss/makedb.c: Likewise.
18375 * sysdeps/generic/ldconfig.h: Likewise.
18376 * locale/programs/localedef.c: Remove xmalloc prototype.
18377 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
18379 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18381 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
18384 2012-01-08 Ulrich Drepper <drepper@gmail.com>
18386 * math/Makefile (tests): Add tst-CMPLX.
18387 * math/tst-CMPLX.c: New file.
18389 * math/complex.h (CMPLXL): Fix typo.
18391 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
18392 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
18394 * debug/tst-chk1.c: Add poll and ppoll tests.
18395 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
18396 * include/sys/poll.h: Add hidden proto for ppoll.
18397 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
18398 * sysdeps/mach/hurd/ppoll.c: Likewise.
18399 * io/ppoll.c: Likewise.
18400 * debug/poll_chk.c: New file.
18401 * debug/ppoll_chk.c: New file.
18402 * include/bits/poll2.h: New file.
18403 * io/bits/poll2.h: New file.
18406 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
18408 * configure.in: static is always set to yes. Remove.
18409 * config.make.in: Don't set build-static.
18410 * Makeconfig: Remove use of build-static.
18411 * dlfcn/Makefile: Likewise.
18412 * elf/Makefile: Likewise.
18413 * math/Makefile: Likewise.
18414 * misc/Makefile: Likewise.
18415 * nptl/Makefile: Likewise.
18416 * sysdeps/mach/hurd/Makefile: Likewise.
18418 * configure.in: PWD_P is not used anymore.
18419 * config.make.in: Remove PWD_P entry.
18421 * configure.in: Remove last remnants of RANLIB.
18422 No need to check for signed size_t anymore.
18423 Don't set libc_commonpagesize and libc_relro_required here for Alpha
18425 Remove __builtin_expect test because we require at least gcc 3.4.
18426 * aclocal.m4: Likewise.
18428 * wcsmbs/mbrtoc16.c: Implement using towc function.
18429 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
18430 * wcsmbs/wcsmbsload.c: Likewise.
18431 * iconv/gconv_simple.c: Likewise.
18432 * iconv/gconv_int.h: Likewise.
18433 * iconv/gconv_builtin.h: Likewise.
18434 * iconv/iconv_prog.c: Remove CHAR16 handling.
18436 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
18438 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
18440 * configure.in: Remove --with-elf and --enable-bounded options.
18441 Dont set base_machine for ia64. More non-ELF conditions removed.
18442 Remove testing and setting of leading underscore information.
18443 * config.make.in (build-bounded): Set to no.
18444 * config.h.in: Remove NO_UNDERSCORES entry.
18445 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
18447 * csu/start.c: Remove !NO_UNDERSCORE code.
18448 * locale/localeinfo.h: Likewise.
18449 * sysdeps/generic/machine-gmon.h: Likewise.
18450 * sysdeps/generic/sysdep.h: Likewise.
18451 * sysdeps/i386/sysdep.h: Likewise.
18452 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18453 * sysdeps/mach/sysdep.h: Likewise.
18454 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18455 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18456 * sysdeps/sh/sysdep.h: Likewise.
18457 * sysdeps/sparc/sparc32/alloca.S: Likewise.
18458 * sysdeps/unix/i386/sysdep.S: Likewise.
18459 * sysdeps/unix/sparc/start.c: Likewise.
18460 * sysdeps/unix/sparc/sysdep.S: Likewise.
18461 * sysdeps/unix/sparc/sysdep.h: Likewise.
18462 * sysdeps/unix/start.c: Likewise.
18463 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18464 * sysdeps/x86_64/sysdep.h: Likewise.
18466 2012-01-07 Ulrich Drepper <drepper@gmail.com>
18469 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
18471 * argp/argp-fmtstream.h: Use const instead __const.
18472 * argp/argp.h: Likewise.
18473 * assert/assert.h: Likewise.
18474 * bits/fenv.h: Likewise.
18475 * bits/sched.h: Likewise.
18476 * bits/sigset.h: Likewise.
18477 * bits/sigthread.h: Likewise.
18478 * catgets/nl_types.h: Likewise.
18479 * conform/data/pthread.h-data: Likewise.
18480 * crypt/crypt-private.h: Likewise.
18481 * crypt/crypt.h: Likewise.
18482 * crypt/crypt_util.c: Likewise.
18483 * ctype/ctype.h: Likewise.
18484 * debug/execinfo.h: Likewise.
18485 * debug/mbsnrtowcs_chk.c: Likewise.
18486 * debug/mbsrtowcs_chk.c: Likewise.
18487 * debug/wcsnrtombs_chk.c: Likewise.
18488 * debug/wcsrtombs_chk.c: Likewise.
18489 * debug/wcstombs_chk.c: Likewise.
18490 * dirent/dirent.h: Likewise.
18491 * dlfcn/dlfcn.h: Likewise.
18492 * elf/neededtest4.c: Likewise.
18493 * grp/grp.h: Likewise.
18494 * gshadow/gshadow.h: Likewise.
18495 * iconv/gconv.h: Likewise.
18496 * iconv/gconv_int.h: Likewise.
18497 * iconv/gconv_simple.c: Likewise.
18498 * iconv/iconv.h: Likewise.
18499 * iconv/loop.c: Likewise.
18500 * iconv/skeleton.c: Likewise.
18501 * include/aio.h: Likewise.
18502 * include/aliases.h: Likewise.
18503 * include/argz.h: Likewise.
18504 * include/arpa/inet.h: Likewise.
18505 * include/assert.h: Likewise.
18506 * include/dirent.h: Likewise.
18507 * include/dlfcn.h: Likewise.
18508 * include/execinfo.h: Likewise.
18509 * include/fcntl.h: Likewise.
18510 * include/fenv.h: Likewise.
18511 * include/glob.h: Likewise.
18512 * include/grp.h: Likewise.
18513 * include/libintl.h: Likewise.
18514 * include/mntent.h: Likewise.
18515 * include/netdb.h: Likewise.
18516 * include/pwd.h: Likewise.
18517 * include/rpc/netdb.h: Likewise.
18518 * include/sched.h: Likewise.
18519 * include/search.h: Likewise.
18520 * include/shadow.h: Likewise.
18521 * include/signal.h: Likewise.
18522 * include/stdio.h: Likewise.
18523 * include/stdlib.h: Likewise.
18524 * include/string.h: Likewise.
18525 * include/sys/socket.h: Likewise.
18526 * include/sys/stat.h: Likewise.
18527 * include/sys/statfs.h: Likewise.
18528 * include/sys/statvfs.h: Likewise.
18529 * include/sys/syslog.h: Likewise.
18530 * include/sys/time.h: Likewise.
18531 * include/sys/uio.h: Likewise.
18532 * include/time.h: Likewise.
18533 * include/unistd.h: Likewise.
18534 * include/utmp.h: Likewise.
18535 * include/wchar.h: Likewise.
18536 * include/wctype.h: Likewise.
18537 * inet/aliases.h: Likewise.
18538 * inet/arpa/inet.h: Likewise.
18539 * inet/netinet/ether.h: Likewise.
18540 * inet/netinet/in.h: Likewise.
18541 * intl/libintl.h: Likewise.
18542 * io/bits/fcntl2.h: Likewise.
18543 * io/fcntl.h: Likewise.
18544 * io/ftw.h: Likewise.
18545 * io/sys/poll.h: Likewise.
18546 * io/sys/stat.h: Likewise.
18547 * io/sys/statfs.h: Likewise.
18548 * io/sys/statvfs.h: Likewise.
18549 * io/utime.h: Likewise.
18550 * libio/bits/stdio.h: Likewise.
18551 * libio/bits/stdio2.h: Likewise.
18552 * libio/libio.h: Likewise.
18553 * libio/libioP.h: Likewise.
18554 * libio/stdio.h: Likewise.
18555 * locale/lc-ctype.c: Likewise.
18556 * locale/locale.h: Likewise.
18557 * login/utmp.h: Likewise.
18558 * malloc/arena.c: Likewise.
18559 * malloc/malloc.c: Likewise.
18560 * malloc/malloc.h: Likewise.
18561 * malloc/mcheck.c: Likewise.
18562 * malloc/mtrace.c: Likewise.
18563 * math/bits/mathcalls.h: Likewise.
18564 * math/fenv.h: Likewise.
18565 * math/math_private.h: Likewise.
18566 * misc/bits/error.h: Likewise.
18567 * misc/bits/syslog.h: Likewise.
18568 * misc/err.h: Likewise.
18569 * misc/error.h: Likewise.
18570 * misc/fstab.h: Likewise.
18571 * misc/mntent.h: Likewise.
18572 * misc/regexp.h: Likewise.
18573 * misc/search.h: Likewise.
18574 * misc/sgtty.h: Likewise.
18575 * misc/sys/mman.h: Likewise.
18576 * misc/sys/syslog.h: Likewise.
18577 * misc/sys/uio.h: Likewise.
18578 * misc/sys/xattr.h: Likewise.
18579 * misc/ttyent.h: Likewise.
18580 * nis/rpcsvc/ypclnt.h: Likewise.
18581 * nss/nss.h: Likewise.
18582 * posix/bits/unistd.h: Likewise.
18583 * posix/fnmatch.h: Likewise.
18584 * posix/glob.h: Likewise.
18585 * posix/sched.h: Likewise.
18586 * posix/spawn.h: Likewise.
18587 * posix/sys/wait.h: Likewise.
18588 * posix/unistd.h: Likewise.
18589 * posix/wordexp.h: Likewise.
18590 * pwd/pwd.h: Likewise.
18591 * resolv/netdb.h: Likewise.
18592 * resource/sys/resource.h: Likewise.
18593 * rt/aio.h: Likewise.
18594 * rt/bits/mqueue2.h: Likewise.
18595 * rt/mqueue.h: Likewise.
18596 * shadow/shadow.h: Likewise.
18597 * signal/signal.h: Likewise.
18598 * socket/send.c: Likewise.
18599 * socket/sendto.c: Likewise.
18600 * socket/sys/socket.h: Likewise.
18601 * stdio-common/printf.h: Likewise.
18602 * stdlib/bits/stdlib.h: Likewise.
18603 * stdlib/fmtmsg.h: Likewise.
18604 * stdlib/monetary.h: Likewise.
18605 * stdlib/stdlib.h: Likewise.
18606 * stdlib/ucontext.h: Likewise.
18607 * streams/stropts.h: Likewise.
18608 * string/argz.h: Likewise.
18609 * string/bits/string2.h: Likewise.
18610 * string/string.h: Likewise.
18611 * string/strings.h: Likewise.
18612 * sunrpc/rpc/auth.h: Likewise.
18613 * sunrpc/rpc/auth_des.h: Likewise.
18614 * sunrpc/rpc/clnt.h: Likewise.
18615 * sunrpc/rpc/netdb.h: Likewise.
18616 * sunrpc/rpc/pmap_clnt.h: Likewise.
18617 * sunrpc/rpc/xdr.h: Likewise.
18618 * sysdeps/generic/inttypes.h: Likewise.
18619 * sysdeps/generic/net/if.h: Likewise.
18620 * sysdeps/generic/sys/swap.h: Likewise.
18621 * sysdeps/gnu/net/if.h: Likewise.
18622 * sysdeps/gnu/utmpx.h: Likewise.
18623 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
18624 * sysdeps/i386/i486/bits/string.h: Likewise.
18625 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
18626 * sysdeps/s390/bits/string.h: Likewise.
18627 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
18628 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
18629 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
18630 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
18631 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18632 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
18633 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
18634 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
18635 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
18636 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
18637 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
18638 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18639 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
18640 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18641 * sysdeps/unix/sysv/linux/readv.c: Likewise.
18642 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
18643 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18644 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18645 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18646 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18647 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18648 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
18649 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
18650 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
18651 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
18652 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
18653 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
18654 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18655 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
18656 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
18657 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
18658 * sysvipc/sys/ipc.h: Likewise.
18659 * sysvipc/sys/msg.h: Likewise.
18660 * sysvipc/sys/sem.h: Likewise.
18661 * sysvipc/sys/shm.h: Likewise.
18662 * termios/termios.h: Likewise.
18663 * time/sys/time.h: Likewise.
18664 * time/time.h: Likewise.
18665 * wcsmbs/bits/wchar2.h: Likewise.
18666 * wcsmbs/uchar.h: Likewise.
18667 * wcsmbs/wchar.h: Likewise.
18668 * wctype/wctype.h: Likewise.
18671 * Makeconfig: Remove all but ELF support including AIX support.
18672 * Makerules: Likewise.
18673 * config.h.in: Likewise.
18674 * config.make.in: Likewise.
18675 * configure: Likewise.
18676 * configure.in: Likewise.
18677 * csu/Makefile: Likewise.
18678 * csu/version.c: Likewise.
18679 * debug/Makefile: Likewise.
18680 * dlfcn/Makefile: Likewise.
18681 * elf/Makefile: Likewise.
18682 * extra-lib.mk: Likewise.
18683 * iconv/Makefile: Likewise.
18684 * include/libc-symbols.h: Likewise.
18685 * include/shlib-compat.h: Likewise.
18686 * resolv/Makefile: Likewise.
18687 * resolv/res_libc.c: Likewise.
18688 * rt/Makefile: Likewise.
18689 * sysdeps/i386/asm-syntax.h: Likewise.
18690 * sysdeps/i386/sysdep.h: Likewise.
18691 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18692 * sysdeps/mach/sysdep.h: Likewise.
18693 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
18694 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
18695 * sysdeps/s390/asm-syntax.h: Likewise.
18696 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18697 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18698 * sysdeps/sh/sysdep.h: Likewise.
18699 * sysdeps/unix/sparc/sysdep.h: Likewise.
18700 * sysdeps/wordsize-32/divdi3.c: Likewise.
18701 * sysdeps/x86_64/sysdep.h: Likewise.
18703 * argp/Versions: Remove _argp_unlock_xxx.
18706 * abilist/ld.abilist: Update. Adjust for removal of tls option.
18707 * abilist/libBrokenLocale.abilist: Likewise.
18708 * abilist/libanl.abilist: Likewise.
18709 * abilist/libc.abilist: Likewise.
18710 * abilist/libcrypt.abilist: Likewise.
18711 * abilist/libdl.abilist: Likewise.
18712 * abilist/libm.abilist: Likewise.
18713 * abilist/libnsl.abilist: Likewise.
18714 * abilist/libpthread.abilist: Likewise.
18715 * abilist/libresolv.abilist: Likewise.
18716 * abilist/librt.abilist: Likewise.
18717 * abilist/libthread_db.abilist: Likewise.
18718 * abilist/libutil.abilist: Likewise.
18719 * abilist/libnss_db.abilist: New file.
18721 * scripts/abilist.awk: Add support for indirect functions.
18723 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
18725 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
18727 * shlib-versions: Remove entries for ports architectures.
18729 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
18731 * elf/stackguard-macros.h: Remove support for IA-64.
18732 * elf/tst-auditmod1.c: Likewise.
18733 * sysdeps/generic/ldsodefs.h: Likewise.
18735 * sysdeps/unix/sysv/linux/configure.in: Ports should define
18736 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
18740 * configure.in: Remove --enable-omitfp support.
18742 * config.make.in: Likewise.
18743 * Makeconfig: Likewise.
18744 * manual/install.texi: Likewise.
18746 In case anyone cares, the IA-64 architecture could move to ports.
18747 * sysdeps/ia64/*: Removed.
18748 * sysdeps/unix/sysv/linux/ia64/*: Removed.
18749 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
18752 * configure.in: Remove entries for unsupported architectures.
18755 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
18756 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
18758 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
18759 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
18760 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
18761 fall back to using wcrtomb.
18762 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
18763 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
18765 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
18766 * wcsmbs/tst-c16c32-1.c: New file.
18768 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
18771 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
18773 * elf/tst-unique3.cc: Add explicit declaration of gets.
18774 * elf/tst-unique3lib.cc: Likewise.
18775 * elf/tst-unique3lib2.cc: Likewise.
18776 * elf/tst-unique4.cc: Likewise.
18778 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
18780 2012-01-06 Joseph Myers <joseph@codesourcery.com>
18783 * assert/assert.h (static_assert): Don't define for C++.
18784 * libio/stdio.h (gets): Do declare for C++ <= C++11.
18785 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
18787 2012-01-03 Ulrich Drepper <drepper@gmail.com>
18789 * iconv/loop.c (single loop): Fix assertion in storing of
18792 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
18794 2012-01-01 Ulrich Drepper <drepper@gmail.com>
18796 * posix/getconf.c: Update copyright year.
18797 * nss/getent.c: Likewise.
18798 * nss/makedb.c: Likewise.
18799 * iconv/iconvconfig.c: Likewise.
18800 * iconv/iconv_prog.c: Likewise.
18801 * elf/ldconfig.c: Likewise.
18802 * elf/pldd.c: Likewise.
18803 * elf/sotruss.ksh: Likewise.
18804 * catgets/gencat.c: Likewise.
18805 * csu/version.c: Likewise.
18806 * elf/ldd.bash.in: Likewise.
18807 * elf/sprof.c (print_version): Likewise.
18808 * locale/programs/locale.c: Likewise.
18809 * locale/programs/localedef.c: Likewise.
18810 * login/programs/pt_chown.c: Likewise.
18811 * nscd/nscd.c (print_version): Likewise.
18812 * debug/xtrace.sh: Likewise.
18813 * malloc/memusage.sh: Likewise.
18814 * malloc/mtrace.pl: Likewise.
18815 * debug/catchsegv.sh: Likewise.
18817 2011-12-30 Jakub Jelinek <jakub@redhat.com>
18819 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
18822 2011-12-24 Ulrich Drepper <drepper@gmail.com>
18825 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
18826 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
18828 * iconv/gconv_int.h: Likewise.
18829 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
18830 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
18831 from libc for GLIBC_2.16.
18832 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
18833 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
18834 * wcsmbs/uchar.h: Really define mbstate_t.
18835 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
18836 * wcsmbs/c16rtomb.c: New file.
18837 * wcsmbs/mbrtoc16.c: New file.
18838 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
18839 for C/POSIX locale.
18840 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
18841 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
18843 * wcsmbs/wchar.h: Add missing __restrict.
18845 2011-12-23 Ulrich Drepper <drepper@gmail.com>
18848 * time/Makefile (routines): Add timespec_get.
18849 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
18850 * time/time.h: Define TIME_UTC and declare timespec_get. Define
18851 timespec for ISO C11.
18852 * time/timespec_get.c: New file.
18853 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
18854 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
18857 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
18858 * stdlib/stdlib.h: Declare aligned_alloc.
18859 * Versions.def: Add GLIBC_2.16 for libc.
18860 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
18863 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
18866 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
18870 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
18873 * assert/assert.h (static_assert): Define.
18875 * version.h: Update for 2.16 development version.
18878 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
18881 * version.h (RELEASE): Bump for 2.15 release.
18882 * include/features.h (__GLIBC_MINOR__): Bump to 15.
18884 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
18885 Patch by Marek Polacek <mpolacek@redhat.com>.
18887 * bits/byteswap.h: Protect long long constants with __extension__.
18888 * sysdeps/i386/bits/byteswap.h: Likewise.
18889 * sysdeps/ia64/bits/byteswap.h: Likewise.
18890 * sysdeps/s390/bits/byteswap.h: Likewise.
18891 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18893 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18896 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
18897 destination buffer.
18898 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
18900 2011-12-23 Marek Polacek <polacek@redhat.com>
18902 * elf/dl-addr.c (determine_info): Add inline keyword.
18903 * elf/tst-auditmod4b.c (check_avx): Likewise.
18904 * elf/tst-auditmod6b.c (check_avx): Likewise.
18905 * elf/tst-auditmod6c.c (check_avx): Likewise.
18906 * elf/tst-auditmod7b.c (check_avx): Likewise.
18908 2011-12-23 Ulrich Drepper <drepper@gmail.com>
18910 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
18913 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18916 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
18917 processing for last bytes.
18919 2011-08-06 Bruno Haible <bruno@clisp.org>
18922 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
18923 U+0385, not to U+1FEE.
18926 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
18927 entry for U+00A5 U+0301.
18929 2011-12-22 Ulrich Drepper <drepper@gmail.com>
18932 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
18933 buffer for the output is too small.
18935 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
18939 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
18940 SSE flags if possible.
18942 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18945 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
18946 processing for last bytes.
18948 2011-12-22 Joseph Myers <joseph@codesourcery.com>
18950 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
18951 (syscall-list-default-options, syscall-list-default-condition)
18952 (syscall-list-includes): Define.
18953 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
18954 list of ABIs and options and #if conditions for each ABI. Do not
18955 handle common syscalls between ABIs specially.
18956 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
18958 (syscall-list-variants, syscall-list-32bit-options)
18959 (syscall-list-32bit-condition, syscall-list-64bit-options)
18960 (syscall-list-64bit-condition): Define.
18961 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
18962 (syscall-list-variants, syscall-list-32bit-options)
18963 (syscall-list-32bit-condition, syscall-list-64bit-options)
18964 (syscall-list-64bit-condition): Define.
18965 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
18967 (syscall-list-variants, syscall-list-32bit-options)
18968 (syscall-list-32bit-condition, syscall-list-64bit-options)
18969 (syscall-list-64bit-condition): Define.
18970 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
18972 (syscall-list-variants, syscall-list-32bit-options)
18973 (syscall-list-32bit-condition, syscall-list-64bit-options)
18974 (syscall-list-64bit-condition): Define.
18976 2011-12-22 Ulrich Drepper <drepper@gmail.com>
18978 * locale/iso-639.def: Add brx entry.
18981 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
18982 Proposed by Mariusz_Cukr <marcukr@op.pl>.
18984 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
18985 __feraiseexcept_renamed.
18987 2011-12-21 Ulrich Drepper <drepper@gmail.com>
18990 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
18991 EPOLLET with unsigned values.
18992 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18993 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18995 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
18996 to large cancellation.
18997 * math/s_cacoshf.c: Likewise.
18998 * math/s_cacoshl.c: Likewise.
19000 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
19004 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
19005 * math/s_cacoshf.c: Likewise.
19006 * math/s_cacoshl.c: Likewise.
19008 2011-12-21 Ulrich Drepper <drepper@gmail.com>
19011 * iconv/gconv.h: Define __GCONV_SWAP.
19012 * iconvdata/unicode.c: The swap bit must be stored in __flags.
19013 * iconvdata/utf-16.c: Likewise.
19014 * iconvdata/utf-32.c: Likewise.
19016 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
19019 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
19020 numerator after shifting it by one limb.
19022 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
19024 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
19025 under [__USE_EXTERN_INLINES].
19027 2011-12-17 Ulrich Drepper <drepper@gmail.com>
19030 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
19032 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19034 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
19035 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
19037 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
19038 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
19039 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
19040 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
19041 for strncasecmp/strncasecmp_l compilation.
19042 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
19043 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
19045 2011-12-08 Marek Polacek <mpolacek@redhat.com>
19048 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
19051 2011-12-17 Ulrich Drepper <drepper@gmail.com>
19054 * time/tzfile.c (__tzfile_read): Check values from file header.
19056 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19058 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
19059 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
19060 * powerpc/powerpc32/dl-start.S: Likewise.
19061 * powerpc/powerpc32/elf/start.S: Likewise.
19062 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19063 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
19064 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
19065 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
19066 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19067 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
19068 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
19069 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19070 * powerpc/powerpc32/fpu/s_round.S: Likewise.
19071 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19072 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19073 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19074 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19075 * powerpc/powerpc32/memset.S: Likewise.
19076 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19077 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19078 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19079 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19080 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19081 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19082 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19083 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19084 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
19085 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
19086 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
19087 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19088 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19090 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19092 * math/libm-test.inc: Added more nearbyint tests.
19093 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
19094 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
19095 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
19096 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
19098 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
19100 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
19103 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19105 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
19106 Add wcscpy-ssse3 wcscpy-c.
19107 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
19108 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
19109 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
19110 * sysdeps/x86_64/wcschr.S: New file.
19111 * sysdeps/x86_64/wcsrchr.S: New file.
19112 * string/test-strcmp.c: Remove checking of wcscmp function for
19114 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
19115 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
19116 wcsrchr-sse2 wcsrchr-c.
19117 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
19118 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
19119 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
19120 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
19121 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
19122 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
19123 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
19124 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
19125 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
19126 * wcsmbc/wcschr.c (WCSCHR): New macro.
19128 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19130 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
19131 * wcsmbs/test-wcsrchr.c: New file.
19132 * string/test-strrchr.c: Add wcsrchr support.
19134 * wcsmbs/test-wcscpy.c: New file.
19135 * string/test-strcpy.c: Add wcscpy support.
19138 2011-12-10 Ulrich Drepper <drepper@gmail.com>
19140 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
19143 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
19146 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
19148 2011-12-04 Ulrich Drepper <drepper@gmail.com>
19150 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
19151 Minor optimizations.
19153 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
19154 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
19155 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
19157 2011-12-03 Ulrich Drepper <drepper@gmail.com>
19159 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
19160 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
19161 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
19162 for gcc to avoid warnings.
19163 * inet/Makefile (tests): Add tst-checks.
19164 * inet/tst-checks.c: New file.
19166 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
19169 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
19172 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
19173 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
19175 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
19177 2011-12-02 Ulrich Drepper <drepper@gmail.com>
19179 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
19182 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
19184 2011-11-29 Joseph Myers <joseph@codesourcery.com>
19186 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
19187 conditional on GCC version.
19188 (__arch_compare_and_exchange_val_8_acq)
19189 (__arch_compare_and_exchange_val_16_acq)
19190 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
19191 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
19192 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
19194 2011-12-02 Joseph Myers <joseph@codesourcery.com>
19196 * sysdeps/sh/backtrace.c: New file.
19198 2011-12-02 Andreas Schwab <schwab@redhat.com>
19200 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
19203 2011-12-01 Andreas Schwab <schwab@redhat.com>
19205 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
19206 falling back to utime.
19208 2011-11-30 Andreas Schwab <schwab@redhat.com>
19210 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
19211 expectations for float.
19213 2011-11-29 Andreas Schwab <schwab@redhat.com>
19215 * locale/weight.h (findidx): Add parameter len.
19216 * locale/weightwc.h (findidx): Likewise.
19217 * posix/fnmatch_loop.c (FCT): Adjust caller.
19218 * posix/regcomp.c (build_equiv_class): Likewise.
19219 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
19220 * posix/regexec.c (check_node_accept_bytes): Likewise.
19221 * string/strcoll_l.c (STRCOLL): Likewise.
19222 * string/strxfrm_l.c (STRXFRM): Likewise.
19224 2011-11-17 Ulrich Drepper <drepper@gmail.com>
19226 * Makefile.in: Remove CVSOPT handling.
19227 * configure.in: Remove use of AC_REVISION.
19228 * iconvdata/Makefile (distribute): No need to filter out CVS.
19229 * scripts/list-sources.sh: Remove CVS, subversion and monotone
19232 2011-11-16 Andreas Schwab <schwab@redhat.com>
19234 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
19235 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
19236 [USE_AS_STRNCASECMP_L]: Likewise.
19237 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
19238 NO_TLS_DIRECT_SEG_REFS.
19239 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
19240 Fix argument offsets for non-PIC.
19241 [USE_AS_STRNCASECMP_L]: Likewise.
19242 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
19243 NO_TLS_DIRECT_SEG_REFS.
19245 2011-11-15 Ulrich Drepper <drepper@gmail.com>
19247 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
19249 * locale/loadlocale.c (_nl_load_locale): Likewise.
19251 2011-11-15 Andreas Schwab <schwab@redhat.com>
19253 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
19254 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
19255 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
19256 (SYSCALL_GETTIME): Set errno on error.
19258 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
19259 count references to noai6ai_cached.
19261 2011-11-15 Ulrich Drepper <drepper@gmail.com>
19263 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
19265 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
19266 FD_CLOEXEC for /proc/self/maps.
19268 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
19269 FD_CLOEXEC for /proc/meminfo.
19271 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
19274 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
19275 FD_CLOEXEC for given file.
19277 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
19279 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
19280 FD_CLOEXEC for /etc/hosts.
19281 (_gethtent): Likewise.
19283 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
19285 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
19286 cancellation and set FD_CLOEXEC for /etc/netgroup.
19288 * nss/nss_files/files-key.c (search): Don't allow cancellation when
19289 reading /etc/publickey.
19291 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
19292 allow cancellation when reading /etc/group.
19294 * nss/nss_files/files-alias.c (internal_setent): Don't allow
19296 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
19298 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
19299 when using data file.
19301 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
19303 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
19304 (write_nis_obj): Use "c" and "e" in fopen.
19306 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
19308 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
19310 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
19312 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
19314 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
19317 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
19319 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
19321 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
19323 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
19324 file parsing and set FD_CLOEXEC.
19326 2011-11-14 Ulrich Drepper <drepper@gmail.com>
19328 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
19330 2011-11-14 Andreas Schwab <schwab@redhat.com>
19332 * malloc/arena.c (arena_get2): Don't call reused_arena when
19333 _int_new_arena failed.
19335 2011-11-14 Ulrich Drepper <drepper@gmail.com>
19337 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
19338 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
19339 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
19340 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19341 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19342 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
19343 to compile strcasecmp and strncasecmp.
19344 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
19345 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
19347 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
19349 2011-11-13 Ulrich Drepper <drepper@gmail.com>
19351 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
19352 locale-defines.sym to gen-as-const-headers.
19353 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
19354 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
19355 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
19356 to compile strcasecmp and strncasecmp.
19357 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
19358 strcasecmp_l and strncasecmp_l.
19359 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
19360 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
19361 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
19362 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
19363 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
19364 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
19365 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
19366 * sysdeps/i386/i686/multiarch/strncase.S: New file.
19367 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
19368 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
19369 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
19371 2011-11-12 Ulrich Drepper <drepper@gmail.com>
19373 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
19374 result of SYSDEP_GETTIME_CPU to retval.
19375 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
19376 parameter list to macro. Remove trailing semicolon. Adjust users.
19378 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
19381 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
19383 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19385 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
19386 from unused variable.
19388 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
19390 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
19393 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
19396 * sunrpc/rpc_prot.c (rejected): Fix case value.
19398 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
19399 unsigned long long int to avoid warnings in shift.
19401 * posix/regex_internal.c (re_string_reconstruct): Actually use result
19403 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
19406 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
19407 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
19408 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
19410 * nis/nis_table.c (nis_list): Use variable of correct type for
19411 result of __follow_path call.
19413 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19415 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
19416 of math functions ceil, trunc, floor, round, and sqrt, when
19417 avaliable on the platform.
19418 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
19420 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19421 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19422 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19424 2011-10-30 Marek Polacek <mpolacek@redhat.com>
19426 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
19427 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19429 2011-11-11 Roland McGrath <roland@hack.frob.com>
19431 * include/unistd.h: Fix __readlink return type.
19432 Reported by Chris Metcalf <cmetcalf@tilera.com>.
19434 2011-11-11 Ulrich Drepper <drepper@gmail.com>
19436 * stdlib/ucontext.h: Undo last change for makecontext.
19438 2011-11-11 Andreas Schwab <schwab@redhat.com>
19440 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
19442 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
19443 * setjmp/setjmp.h: Mark functions as non-leaf.
19444 * setjmp/bits/setjmp2.h: Likewise.
19445 * stdlib/ucontext.h: Likewise.
19447 2011-11-10 Andreas Schwab <schwab@redhat.com>
19449 * malloc/arena.c (_int_new_arena): Don't increment narenas.
19450 (reused_arena): Don't check arena limit.
19451 (arena_get2): Atomically check arena limit.
19453 2011-11-08 Ulrich Drepper <drepper@gmail.com>
19455 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
19456 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
19458 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
19461 2011-11-07 Andreas Schwab <schwab@redhat.com>
19463 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
19464 handler when locking.
19466 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19467 Fix size of allocated buffer.
19469 2011-11-04 Andreas Schwab <schwab@redhat.com>
19472 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
19473 declarations for long double functions.
19474 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
19476 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
19478 2011-11-03 Andreas Schwab <schwab@redhat.com>
19480 * nscd/nscd.c (main): Don't start AVC thread until credentials are
19483 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
19486 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19488 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
19490 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
19492 * include/alloca.h (stackinfo_alloca_round): Define.
19493 (extend_alloca): Use it.
19494 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
19495 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
19498 * scripts/check-local-headers.sh: Ignore libaudit.h.
19500 * nscd/Makefile (extra-objs): Make recursively expanded.
19502 2011-11-01 Ulrich Drepper <drepper@gmail.com>
19504 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
19505 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19507 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
19508 * posix/tst-rfc3484-2.c: Likewise.
19509 * posix/tst-rfc3484-3.c: Likewise.
19511 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19513 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
19515 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
19516 process_vm_writev from libc using GLIBC_2.15 version.
19518 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
19520 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
19522 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
19525 2011-10-31 Ulrich Drepper <drepper@gmail.com>
19528 * nss/getent.c (initgroups_keys): Show error message in case no group
19531 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
19532 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
19533 __bump_nl_timestamp.
19534 * nscd/connections (nscd_init): When host database is served open
19535 netlink socket and request notification about configuration changes.
19536 (main_loop_poll): Track netlink file descriptor and bump timestamp
19537 in case data becomes available.
19538 (main_loop_epoll): Likewise.
19539 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
19540 (database_pers_head): Add extra_data fileds.
19541 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
19542 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
19543 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
19545 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
19546 in6ai data, call __free_in6ai.
19547 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
19548 Add -DHAVE_NETLINK.
19549 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
19550 interface information. Reuse previous data if netlink timestamp
19552 (__bump_nl_timestamp): New function.
19553 (__free_in6ai): New function.
19555 2011-10-30 Ulrich Drepper <drepper@gmail.com>
19557 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
19558 close_not_cancel_no_status here.
19559 (__check_pf): Reorganize code a bit to not call close twice if OOM.
19561 2011-10-29 Ulrich Drepper <drepper@gmail.com>
19564 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
19567 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
19568 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
19569 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
19571 2011-07-03 Andreas Jaeger <aj@suse.de>
19574 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
19575 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
19576 * math/libm-test.inc (sin_test): Add test case.
19578 2011-10-29 Ulrich Drepper <drepper@gmail.com>
19581 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
19582 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19584 * elf/chroot_canon.c (chroot_canon): Cleanups.
19586 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
19589 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
19590 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19592 * string/test-strchr.c: Make usable for strchrnul testing.
19593 * string/test-strchrnul.c: New file.
19594 * string/Makefile (strop-tests): Add strchrnul.
19596 * po/it.po: Update from translation team.
19597 * po/es.po: Likewise.
19599 2011-10-28 Ulrich Drepper <drepper@gmail.com>
19601 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
19602 the three constants needed as parameters. Drop the others.
19603 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
19604 __m128i_strloadu_tolower.
19605 Create and initialize variable zero and use it in all the places
19606 where _mm_setzero_si128 was used.
19608 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
19609 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
19610 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
19611 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
19613 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
19614 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
19615 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
19616 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
19617 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
19618 __mpranred, __mptan.
19619 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
19620 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
19621 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
19622 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
19623 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
19624 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
19625 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
19626 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
19627 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
19629 2011-10-28 Andreas Schwab <schwab@redhat.com>
19631 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
19632 redefine if SHARED.
19633 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
19635 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
19636 wide char related routines to wcsmbs subdir.
19638 2011-10-27 Andreas Schwab <schwab@redhat.com>
19641 * misc/sys/cdefs.h (__THROWNL): Define.
19642 * posix/unistd.h: Use __THREADNL instead of __THREAD
19643 for memory synchronization functions.
19645 2011-10-26 Roland McGrath <roland@hack.frob.com>
19648 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
19650 * manual/stdio.texi (Obstack Streams): Node removed.
19652 2011-10-26 Andreas Schwab <schwab@redhat.com>
19654 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
19655 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19656 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19658 * math/math_private.h (math_force_eval): Allow non-addressable
19660 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
19662 2011-10-25 Ulrich Drepper <drepper@gmail.com>
19664 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
19665 file is not needed.
19667 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
19668 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
19669 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19670 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19671 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19672 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19673 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19674 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
19676 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
19677 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
19678 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
19679 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
19680 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
19681 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
19682 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
19683 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
19684 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
19685 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
19686 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
19687 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
19688 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
19689 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
19690 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
19691 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
19692 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
19693 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
19694 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
19696 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
19697 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
19699 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
19700 place. Use VEX encoding when compiling for AVX.
19702 2011-10-25 Andreas Schwab <schwab@redhat.com>
19704 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
19705 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19707 * string/test-strchr.c (do_test): Don't generate NUL bytes.
19709 2011-10-25 Ulrich Drepper <drepper@gmail.com>
19711 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
19712 useless if() expression.
19713 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19714 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19715 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19716 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19717 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19718 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19719 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19720 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19721 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19722 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19723 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19724 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19725 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19726 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19727 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19728 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19729 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19730 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19731 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19733 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
19735 2011-10-25 Andreas Schwab <schwab@redhat.com>
19737 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
19739 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19741 2011-10-25 Ulrich Drepper <drepper@gmail.com>
19743 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
19744 .text section. Avoid duplicate constants.
19745 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19746 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19747 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19748 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19749 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19750 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19751 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19752 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19753 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19754 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
19755 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19756 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19757 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19758 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19759 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19760 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19761 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19762 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19763 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19764 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19765 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19766 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19767 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19768 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
19769 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
19770 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
19771 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
19772 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
19773 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
19774 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
19775 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
19776 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
19777 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19778 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
19779 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
19780 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
19781 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
19782 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
19783 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
19784 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
19785 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
19786 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
19787 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
19788 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19789 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
19791 2011-10-24 Ulrich Drepper <drepper@gmail.com>
19793 * sysdeps/x86_64/dla.h: Move to ...
19794 * sysdeps/x86_64/fpu/dla.h: ...here.
19795 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
19796 situations. Use __builtin_fma only for gcc 4.6 and up.
19798 * config.make.in: Add have-mfma4 entry.
19799 * configure.in: Substitute libc_cv_cc_fma4.
19800 * math/Makefile (dbl-only-routines): Add sincostab.
19801 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
19802 Use __sincostab not sincos.
19803 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
19805 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19806 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19807 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19808 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
19810 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
19811 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
19812 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
19813 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
19815 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
19816 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
19818 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
19819 define aliases when function name is a macro.
19820 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
19821 sysdeps/ieee754/dbl-64/sincos.tbl.
19822 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
19823 fma4-enabled routines.
19824 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
19825 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
19826 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
19827 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
19828 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
19829 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
19830 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
19831 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
19832 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
19833 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
19834 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
19835 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
19836 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
19837 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
19838 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
19839 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
19840 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
19841 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
19842 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
19843 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
19844 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
19845 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
19846 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
19847 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
19848 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
19849 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
19850 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
19851 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
19852 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
19853 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
19855 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
19857 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19858 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19859 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19860 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19861 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19862 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19863 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19864 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19866 2011-10-24 Andreas Schwab <schwab@redhat.com>
19868 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
19870 2011-10-23 Ulrich Drepper <drepper@gmail.com>
19872 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
19874 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
19876 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
19878 * string/strnlen.c: Don't define STRNLEN, reverse logic.
19879 Remove unused variable magic_bits.
19880 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
19882 * string/strnlen.c: Define and use STRNLEN macro.
19883 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
19884 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
19885 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
19886 * wcsmbs/wcslen.c: Define and use WCSLEN.
19887 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
19888 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
19889 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
19890 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
19891 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
19892 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
19893 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19895 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19897 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19898 strnlen-sse2-no-bsf.
19899 Rename strlen-no-bsf to strlen-sse2-no-bsf.
19900 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
19901 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
19902 Add strnlen support.
19903 (USE_AS_STRNLEN): New macro.
19904 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
19905 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
19906 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
19907 * sysdeps/x86_64/wcslen.S: New file.
19909 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
19911 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
19912 XMM-moves are used for copying on small sizes.
19914 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19916 * wcsmbs/Makefile (strop-tests): Add wcschr.
19917 * wcsmbs/test-wcschr.c: New file.
19918 * string/test-strchr.c: Update.
19919 Add wcschr support.
19922 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19924 * wcsmbs/Makefile (strop-tests): Add wcslen.
19925 * wcsmbs/test-wcslen.c: New file.
19926 * string/test-strlen.c: Update.
19927 Add wcslen support.
19930 2011-10-23 Ulrich Drepper <drepper@gmail.com>
19932 * po/it.po: Update from translation team.
19934 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19936 * sysdeps/x86_64/wcscmp.S: Update.
19937 Fix wrong comparison semantics.
19938 wcscmp shall use signed comparison not unsigned.
19939 Don't use substraction to avoid overflow bug.
19940 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
19941 * wcsmbc/wcscmp.c: Likewise.
19942 * string/test-strcmp.c: Likewise.
19943 Add new tests to check cases with negative values.
19945 2011-10-23 Ulrich Drepper <drepper@gmail.com>
19947 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
19948 * sysdeps/x86_64/dla.h: ...here. New file.
19949 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
19950 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19951 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19952 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19953 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19954 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19955 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19956 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19957 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19959 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
19961 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
19962 __ynl_finite aliases.
19964 2011-10-22 Ulrich Drepper <drepper@gmail.com>
19966 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19968 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
19970 [DLA_FMA] (EMULV): Use DLA_FMA.
19971 [DLA_FMA] (MUL12): Use EMULV.
19972 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
19973 that are not needed.
19974 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19975 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19976 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19977 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19978 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19979 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19980 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19982 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
19984 * math/s_nan.c: Undef __nan.
19985 * math/s_nanf.c: Undef __nanf.
19986 * math/s_nanl.c: Undef __nanl.
19987 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
19990 2011-10-22 Ulrich Drepper <drepper@gmail.com>
19992 * math/s_catan.c: Add branch predictions.
19993 * math/s_catanf.c: Likewise.
19994 * math/s_catanh.c: Likewise.
19995 * math/s_catanhf.c: Likewise.
19996 * math/s_catanhl.c: Likewise.
19997 * math/s_catanl.c: Likewise.
19998 * math/s_cexp.c: Likewise.
19999 * math/s_cexpf.c: Likewise.
20000 * math/s_cexpl.c: Likewise.
20001 * math/s_clog.c: Likewise.
20002 * math/s_clog10.c: Likewise.
20003 * math/s_clog10f.c: Likewise.
20004 * math/s_clog10l.c: Likewise.
20005 * math/s_clogf.c: Likewise.
20006 * math/s_clogl.c: Likewise.
20007 * math/s_csqrt.c: Likewise.
20008 * math/s_csqrtf.c: Likewise.
20009 * math/s_csqrtl.c: Likewise.
20010 * math/s_ctanf.c: Likewise.
20011 * math/s_ctanh.c: Likewise.
20012 * math/s_ctanhf.c: Likewise.
20013 * math/s_ctanhl.c: Likewise.
20014 * math/s_ctanl.c: Likewise.
20016 * math/math_private.h: Define __nan, __nanf, __nanl.
20017 * math/s_cacosh.c: Include <math_private.h>.
20018 * math/s_cacoshl.c: Likewise.
20019 * math/s_casinh.c: Likewise.
20020 * math/s_casinhf.c: Likewise.
20021 * math/s_casinhl.c: Likewise.
20022 * math/s_ccos.c: Rely entire on ccosh.
20023 * math/s_ccosf.c: Rely entire on ccoshf.
20024 * math/s_ccosl.c: Rely entirely on ccoshl.
20025 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
20026 Remove tests for FE_INVALID.
20027 * math/s_ccoshf.c: Likewise.
20028 * math/s_ccoshl.c: Likewise.
20029 * math/s_csin.c: Likewise.
20030 * math/s_csinf.c: Likewise.
20031 * math/s_csinh.c Likewise.
20032 * math/s_csinhf.c: Likewise.
20033 * math/s_csinhl.c: Likewise.
20034 * math/s_csinl.c: Likewise.
20035 * math/s_ctan.c: Likewise.
20036 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
20037 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
20038 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
20040 2011-10-21 Ulrich Drepper <drepper@gmail.com>
20042 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
20043 compilation problems.
20045 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
20048 2011-10-20 Ulrich Drepper <drepper@gmail.com>
20050 * sysdeps/i386/configure.in: Test for -mfma4 option.
20051 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
20052 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
20053 COMMON_CPUID_INDEX_80000001.
20054 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
20055 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
20056 use it if FMA3 is not supported.
20057 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
20059 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
20060 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20062 2011-10-20 Andreas Schwab <schwab@redhat.com>
20065 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
20066 it would create a cycle with a link time dependency.
20068 2011-10-19 Ulrich Drepper <drepper@gmail.com>
20070 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
20072 * string/Makefile (strop-tests): Add rawmemchr.
20073 * string/test-rawmemchr.c: New file.
20075 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
20076 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
20077 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
20078 when compiling str{,n}casecmp and when AVX is available. Hook up
20079 new optimized code in initializers.
20081 2011-10-19 Andreas Schwab <schwab@redhat.com>
20083 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
20084 __feraiseexcept instead of feraiseexcept.
20086 2011-10-18 Ulrich Drepper <drepper@gmail.com>
20088 * math/math_private.h: Define defaults for libc_fetestexcept and
20090 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
20091 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
20092 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20093 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20094 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20095 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20096 libc_fetestexcept and libc_feupdateenv.
20098 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
20099 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
20100 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
20101 * sysdeps/x86_64/fpu/math_private.h: Define special version of
20102 libc_feholdexcept_setround.
20104 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
20105 Add s_nearbyint-c and s_nearbyintf-c.
20106 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
20107 nearbyintf inlines.
20108 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
20109 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
20110 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
20111 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
20113 * math/math_private.h: Define defaults for libc_fegetround,
20114 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
20115 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
20116 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
20117 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
20118 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
20119 standard functions.
20120 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20121 Remove comments and hacks for old compiler versions.
20122 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20123 libc_fegetround, libc_fesetround, libc_feholdexcept, and
20124 libc_feholdexceptl.
20126 2011-10-18 Andreas Schwab <schwab@redhat.com>
20128 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
20129 (__feraiseexcept_renamed): Add __NTH.
20130 (feraiseexcept): Add __NTH. Rename local variables to fix
20131 namespace violations.
20133 2011-10-17 Ulrich Drepper <drepper@gmail.com>
20135 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
20137 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
20139 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
20140 recently added interfaces.
20141 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
20143 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
20144 about macro parameter expansion.
20146 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
20147 __NO_MATH_INLINES is defined. Cleanups.
20149 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
20150 and __floorf is target has SSE4.1.
20151 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
20152 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
20153 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
20154 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
20156 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
20158 (floorf): Likewise.
20160 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
20162 2011-10-17 Andreas Schwab <schwab@redhat.com>
20164 * misc/sys/cdefs.h: Fix last change.
20166 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
20169 2011-10-16 Ulrich Drepper <drepper@gmail.com>
20171 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
20173 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
20174 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20175 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20176 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20177 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20178 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20179 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20180 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20181 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20182 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
20183 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
20184 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
20185 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
20186 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
20187 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
20188 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
20189 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
20190 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
20191 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
20192 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
20193 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
20194 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
20196 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
20197 ceil, ceilf, floor, floorf.
20199 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
20200 Perform IRELATIVE relocations last.
20202 * elf/do-rel.h: Add another parameter nrelative, replacing the
20203 local variable with the same name. Change name of the function
20204 to end in Rel or Rela (uppercase).
20205 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
20206 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
20207 elf_dynamic_do_##reloc function.
20209 2011-10-15 Ulrich Drepper <drepper@gmail.com>
20211 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
20212 is sufficient, at least on modern CPUs.
20214 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
20216 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
20217 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
20219 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
20221 * math/bits/math-finite.h: Add entries for exp.
20222 * math/e_expl.c: Add __*_finite alias.
20223 * sysdeps/i386/fpu/e_exp.S: Likewise.
20224 * sysdeps/i386/fpu/e_expf.S: Likewise.
20225 * sysdeps/i386/fpu/e_expl.c: Likewise.
20226 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20227 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20228 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20229 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20230 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
20231 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20232 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20234 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
20235 is sufficient, at least on modern CPUs.
20237 * ctype/ctype-info.c (__ctype_init): Define.
20238 * include/ctype.h (__ctype_init): Declare.
20239 (__ctype_b_loc): The variable is always initialized.
20240 (__ctype_toupper_loc): Likewise.
20241 (__ctype_tolower_loc): Likewise.
20242 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
20243 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
20245 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
20247 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
20249 * configure.in: Also look in $cxxmachine/include for C++ system
20252 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20254 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
20255 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
20256 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
20257 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
20258 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
20259 (USE_AS_WMEMCMP): New macro.
20261 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
20262 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
20263 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
20264 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
20265 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20266 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
20267 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
20268 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
20269 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
20270 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
20271 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
20272 (USE_AS_WMEMCMP): New macro.
20273 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
20274 * sysdeps/string/test-memcmp.c: Update.
20275 Fix simple_wmemcmp.
20277 * wcsmbs/wmemcmp.c: Update.
20278 (WMEMCMP): New macro.
20281 2011-10-12 Andreas Jaeger <aj@suse.de>
20284 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
20286 2011-10-15 Ulrich Drepper <drepper@gmail.com>
20288 * libio/iofwide.c (do_length): Avoid warning.
20290 * ctype/ctype.h (__isctype_f): Add missing __THROW.
20292 2011-10-14 Ulrich Drepper <drepper@gmail.com>
20294 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
20296 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
20297 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
20298 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
20299 * sysdeps/i386/i686/fpu/e_log.S: New file.
20300 * sysdeps/i386/i686/fpu/e_logf.S: New file.
20301 * sysdeps/i386/i686/fpu/e_logl.S: New file.
20303 * ctype/ctype.h: Add support for inlined isXXX functions when
20304 compiling C++ code.
20306 2011-10-14 Andreas Schwab <schwab@redhat.com>
20308 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20310 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
20312 2011-10-13 Roland McGrath <roland@hack.frob.com>
20315 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
20317 2011-10-13 Andreas Schwab <schwab@redhat.com>
20319 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
20320 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
20323 * sysdeps/x86_64/memrchr.S: Check for zero size.
20325 * string/stratcliff.c: Add memrchr tests.
20327 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20329 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20330 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
20331 rawmemchr-sse2 rawmemchr-sse2-bsf.
20332 * sysdeps/i386/i686/multiarch/memchr.S: New file.
20333 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
20334 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
20335 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
20336 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
20337 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
20338 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
20339 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
20340 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
20341 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
20342 * string/memrchr.c (MEMRCHR): New macro.
20344 2011-10-12 Ulrich Drepper <drepper@gmail.com>
20346 Add integration with gcc's -ffinite-math-only and optimize wrapper
20348 * Versions.def: Define GLIBC_2.15 version for libm.
20349 * math/Makefile (headers): Add bits/math-finite.h.
20350 * math/bits/math-finite.h: New file.
20351 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
20352 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
20353 * math/e_acoshl.c: Add __*_finite alias.
20354 * math/e_acosl.c: Likewise.
20355 * math/e_asinl.c: Likewise.
20356 * math/e_atan2l.c: Likewise.
20357 * math/e_atanhl.c: Likewise.
20358 * math/e_coshl.c: Likewise.
20359 * math/e_exp10.c: Likewise.
20360 * math/e_exp10f.c: Likewise.
20361 * math/e_exp10l.c: Likewise.
20362 * math/e_exp2l.c: Likewise.
20363 * math/e_fmodl.c: Likewise.
20364 * math/e_gammal_r.c: Likewise.
20365 * math/e_hypotl.c: Likewise.
20366 * math/e_j0l.c: Likewise.
20367 * math/e_j1l.c: Likewise.
20368 * math/e_jnl.c: Likewise.
20369 * math/e_lgammal_r.c: Likewise.
20370 * math/e_log10l.c: Likewise.
20371 * math/e_log2l.c: Likewise.
20372 * math/e_logl.c: Likewise.
20373 * math/e_powl.c: Likewise.
20374 * math/e_sinhl.c: Likewise.
20375 * math/e_sqrtl.c: Likewise.
20376 * math/e_scalb.c: Completely rewritten and optimized.
20377 * math/e_scalbf.c: Likewise.
20378 * math/e_scalbl.c: Likewise.
20379 * math/w_acos.c: Likewise.
20380 * math/w_acosf.c: Likewise.
20381 * math/w_acosl.c: Likewise.
20382 * math/w_acosh.c: Likewise.
20383 * math/w_acoshf.c: Likewise.
20384 * math/w_acoshl.c: Likewise.
20385 * math/w_asin.c: Likewise.
20386 * math/w_asinf.c: Likewise.
20387 * math/w_asinl.c: Likewise.
20388 * math/w_atan2.c: Likewise.
20389 * math/w_atan2f.c: Likewise.
20390 * math/w_atan2l.c: Likewise.
20391 * math/w_atanh.c: Likewise.
20392 * math/w_atanhf.c: Likewise.
20393 * math/w_atanhl.c: Likewise.
20394 * math/w_exp10.c: Likewise.
20395 * math/w_exp10f.c: Likewise.
20396 * math/w_exp10l.c: Likewise.
20397 * math/w_fmod.c: Likewise.
20398 * math/w_fmodf.c: Likewise.
20399 * math/w_fmodl.c: Likewise.
20400 * math/w_j0.c: Likewise.
20401 * math/w_j0f.c: Likewise.
20402 * math/w_j0l.c: Likewise.
20403 * math/w_j1.c: Likewise.
20404 * math/w_j1f.c: Likewise.
20405 * math/w_j1l.c: Likewise.
20406 * math/w_jn.c: Likewise.
20407 * math/w_jnf.c: Likewise.
20408 * math/w_log.c: Likewise.
20409 * math/w_logf.c: Likewise.
20410 * math/w_logl.c: Likewise.
20411 * math/w_log10.c: Likewise.
20412 * math/w_log10f.c: Likewise.
20413 * math/w_log10l.c: Likewise.
20414 * math/w_log2.c: Likewise.
20415 * math/w_log2f.c: Likewise.
20416 * math/w_log2l.c: Likewise.
20417 * math/w_pow.c: Likewise.
20418 * math/w_powf.c: Likewise.
20419 * math/w_powl.c: Likewise.
20420 * math/w_remainder.c: Likewise.
20421 * math/w_remainderf.c: Likewise.
20422 * math/w_remainderl.c: Likewise.
20423 * math/w_scalb.c: Likewise.
20424 * math/w_scalbf.c: Likewise.
20425 * math/w_scalbl.c: Likewise.
20426 * math/w_sqrt.c: Likewise.
20427 * math/w_sqrtf.c: Likewise.
20428 * math/w_sqrtl.c: Likewise.
20429 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
20430 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
20432 * math/math_private.h: Declare __kernel_standard_f.
20433 * math/w_cosh.c: Remove cruft and optimize a bit.
20434 * math/w_coshf.c: Likewise.
20435 * math/w_coshl.c: Likewise.
20436 * math/w_exp2.c: Likewise.
20437 * math/w_exp2f.c: Likewise.
20438 * math/w_exp2l.c: Likewise.
20439 * math/w_hypot.c: Likewise.
20440 * math/w_hypotf.c: Likewise.
20441 * math/w_hypotl.c: Likewise.
20442 * math/w_lgamma.c: Likewise.
20443 * math/w_lgamma_r.c: Likewise.
20444 * math/w_lgammaf.c: Likewise.
20445 * math/w_lgammaf_r.c: Likewise.
20446 * math/w_lgammal.c: Likewise.
20447 * math/w_lgammal_r.c: Likewise.
20448 * math/w_sinh.c: Likewise.
20449 * math/w_sinhf.c: Likewise.
20450 * math/w_sinhl.c: Likewise.
20451 * math/w_tgamma.c: Likewise.
20452 * math/w_tgammaf.c: Likewise.
20453 * math/w_tgammal.c: Likewise.
20454 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20455 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20456 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
20457 Minor optimizations. Pretty printing. Remove cruft.
20458 * sysdeps/i386/fpu/e_acosf.S: Likewise.
20459 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20460 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20461 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20462 * sysdeps/i386/fpu/e_acosl.c: Likewise.
20463 * sysdeps/i386/fpu/e_asin.S: Likewise.
20464 * sysdeps/i386/fpu/e_asinf.S: Likewise.
20465 * sysdeps/i386/fpu/e_atan2.S: Likewise.
20466 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
20467 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
20468 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20469 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20470 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20471 * sysdeps/i386/fpu/e_exp10.S: Likewise.
20472 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
20473 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
20474 * sysdeps/i386/fpu/e_exp2.S: Likewise.
20475 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
20476 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
20477 * sysdeps/i386/fpu/e_fmod.S: Likewise.
20478 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
20479 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
20480 * sysdeps/i386/fpu/e_hypot.S: Likewise.
20481 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
20482 * sysdeps/i386/fpu/e_log.S: Likewise.
20483 * sysdeps/i386/fpu/e_log10.S: Likewise.
20484 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20485 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20486 * sysdeps/i386/fpu/e_log2.S: Likewise.
20487 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20488 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20489 * sysdeps/i386/fpu/e_logf.S: Likewise.
20490 * sysdeps/i386/fpu/e_logl.S: Likewise.
20491 * sysdeps/i386/fpu/e_pow.S: Likewise.
20492 * sysdeps/i386/fpu/e_powf.S: Likewise.
20493 * sysdeps/i386/fpu/e_powl.S: Likewise.
20494 * sysdeps/i386/fpu/e_remainder.S: Likewise.
20495 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
20496 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
20497 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20498 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20499 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20500 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
20501 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
20502 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
20503 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20504 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20505 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20506 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20507 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20508 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20509 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20510 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20511 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20512 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20513 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20514 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
20515 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20516 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20517 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20518 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20519 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20520 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20521 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20522 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20523 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20524 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
20525 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20526 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20527 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
20528 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
20529 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20530 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
20531 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
20532 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
20533 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20534 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20535 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20536 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
20537 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
20538 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
20539 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
20540 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
20541 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
20542 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
20543 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
20544 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
20545 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
20546 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
20547 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20548 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
20549 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
20550 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
20551 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
20552 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
20553 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
20554 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20555 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20556 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20557 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20558 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
20559 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
20560 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
20561 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
20562 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
20563 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
20564 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
20565 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20566 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20567 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
20568 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
20569 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
20570 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
20571 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
20572 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
20573 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
20574 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
20575 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
20576 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
20577 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
20578 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20579 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20580 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
20581 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20582 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
20583 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20584 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
20585 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
20586 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20587 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20588 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20589 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20590 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
20591 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20592 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
20593 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20594 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20595 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20596 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20597 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20598 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20599 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20600 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
20601 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
20602 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
20603 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
20604 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
20605 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
20606 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
20607 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20608 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20609 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20610 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20611 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
20612 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20613 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
20614 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
20615 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
20616 (__isnanf): Likewise.
20617 (__isinf_ns): Likewise.
20618 (__isinf_nsf): Likewise.
20619 (__finite): Likewise.
20620 (__finitef): Likewise.
20621 (__ieee754_sqrt): Define as macro.
20622 (__ieee754_sqrtf): Define as macro.
20623 (__ieee754_sqrtl): Define as macro.
20624 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
20626 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
20627 __FINITE_MATH_ONLY__ consistent.
20628 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
20630 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
20632 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
20635 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
20637 2011-10-09 Ulrich Drepper <drepper@gmail.com>
20639 * po/ja.po: Update from translation team.
20641 2011-10-08 Roland McGrath <roland@hack.frob.com>
20643 * locale/programs/locarchive.c (prepare_address_space): New function.
20644 (create_archive, enlarge_archive, open_archive): Use it.
20646 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
20647 inside [SHARED], where it is used.
20649 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
20651 * nss/getent.c (netgroup_keys): Remove unused variable.
20652 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20654 2011-10-08 Ulrich Drepper <drepper@gmail.com>
20656 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
20657 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
20658 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
20659 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
20660 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
20661 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
20662 * math/Makefile (libm-calls): Add s_isinf_ns.
20663 * math/divtc3.c: Use __isinf_nsl instead of isinf.
20664 * math/multc3.c: Likewise.
20665 * math/s_casin.c: Likewise.
20666 * math/s_casinf.c: Likewise.
20667 * math/s_casinl.c: Likewise.
20668 * math/s_ccos.c: Likewise.
20669 * math/s_ccosf.c: Likewise.
20670 * math/s_ccosl.c: Likewise.
20671 * math/s_ctan.c: Likewise.
20672 * math/s_ctanf.c: Likewise.
20673 * math/s_ctanh.c: Likewise.
20674 * math/s_ctanhf.c: Likewise.
20675 * math/s_ctanhl.c: Likewise.
20676 * math/s_ctanl.c: Likewise.
20677 * math/w_fmod.c: Likewise.
20678 * math/w_fmodf.c: Likewise.
20679 * math/w_fmodl.c: Likewise.
20680 * math/w_remainder.c: Likewise.
20681 * math/w_remainderf.c: Likewise.
20682 * math/w_remainderl.c: Likewise.
20683 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
20684 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
20685 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
20686 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
20687 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
20688 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
20689 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
20690 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
20692 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
20694 * stdio-common/printf_fphex.c: Likewise.
20695 * stdio-common/printf_size.c: Likewise.
20697 * math/e_exp10.c: Include math_private.h using <...> not "...".
20698 * math/e_exp10f.c: Likewise.
20699 * math/e_exp10l.c: Likewise.
20700 * math/e_exp2l.c: Likewise.
20701 * math/e_j0l.c: Likewise.
20702 * math/e_j1l.c: Likewise.
20703 * math/e_jnl.c: Likewise.
20704 * math/e_lgammal_r.c: Likewise.
20705 * math/e_rem_pio2l.c: Likewise.
20706 * math/e_scalb.c: Likewise.
20707 * math/e_scalbf.c: Likewise.
20708 * math/e_scalbl.c: Likewise.
20709 * math/k_cosl.c: Likewise.
20710 * math/k_sinl.c: Likewise.
20711 * math/k_tanl.c: Likewise.
20712 * math/s_cacoshf.c: Likewise.
20713 * math/s_catan.c: Likewise.
20714 * math/s_catanf.c: Likewise.
20715 * math/s_catanh.c: Likewise.
20716 * math/s_catanhf.c: Likewise.
20717 * math/s_catanhl.c: Likewise.
20718 * math/s_catanl.c: Likewise.
20719 * math/s_ccosh.c: Likewise.
20720 * math/s_ccoshf.c: Likewise.
20721 * math/s_ccoshl.c: Likewise.
20722 * math/s_cexp.c: Likewise.
20723 * math/s_cexpf.c: Likewise.
20724 * math/s_cexpl.c: Likewise.
20725 * math/s_clog.c: Likewise.
20726 * math/s_clog10.c: Likewise.
20727 * math/s_clog10f.c: Likewise.
20728 * math/s_clog10l.c: Likewise.
20729 * math/s_clogf.c: Likewise.
20730 * math/s_clogl.c: Likewise.
20731 * math/s_csin.c: Likewise.
20732 * math/s_csinf.c: Likewise.
20733 * math/s_csinh.c: Likewise.
20734 * math/s_csinhf.c: Likewise.
20735 * math/s_csinhl.c: Likewise.
20736 * math/s_csinl.c: Likewise.
20737 * math/s_csqrt.c: Likewise.
20738 * math/s_csqrtf.c: Likewise.
20739 * math/s_csqrtl.c: Likewise.
20740 * math/s_ctan.c: Likewise.
20741 * math/s_ctanf.c: Likewise.
20742 * math/s_ctanh.c: Likewise.
20743 * math/s_ctanhf.c: Likewise.
20744 * math/s_ctanhl.c: Likewise.
20745 * math/s_ctanl.c: Likewise.
20746 * math/s_ldexp.c: Likewise.
20747 * math/s_ldexpf.c: Likewise.
20748 * math/s_ldexpl.c: Likewise.
20749 * math/s_significand.c: Likewise.
20750 * math/s_significandf.c: Likewise.
20751 * math/s_significandl.c: Likewise.
20752 * math/w_acos.c: Likewise.
20753 * math/w_acosf.c: Likewise.
20754 * math/w_acosh.c: Likewise.
20755 * math/w_acoshf.c: Likewise.
20756 * math/w_acoshl.c: Likewise.
20757 * math/w_acosl.c: Likewise.
20758 * math/w_asin.c: Likewise.
20759 * math/w_asinf.c: Likewise.
20760 * math/w_asinl.c: Likewise.
20761 * math/w_atan2.c: Likewise.
20762 * math/w_atan2f.c: Likewise.
20763 * math/w_atan2l.c: Likewise.
20764 * math/w_atanh.c: Likewise.
20765 * math/w_atanhf.c: Likewise.
20766 * math/w_atanhl.c: Likewise.
20767 * math/w_cosh.c: Likewise.
20768 * math/w_coshf.c: Likewise.
20769 * math/w_coshl.c: Likewise.
20770 * math/w_dremf.c: Likewise.
20771 * math/w_exp10.c: Likewise.
20772 * math/w_exp10f.c: Likewise.
20773 * math/w_exp10l.c: Likewise.
20774 * math/w_exp2.c: Likewise.
20775 * math/w_exp2f.c: Likewise.
20776 * math/w_fmod.c: Likewise.
20777 * math/w_fmodf.c: Likewise.
20778 * math/w_fmodl.c: Likewise.
20779 * math/w_hypot.c: Likewise.
20780 * math/w_hypotf.c: Likewise.
20781 * math/w_hypotl.c: Likewise.
20782 * math/w_j0.c: Likewise.
20783 * math/w_j0f.c: Likewise.
20784 * math/w_j0l.c: Likewise.
20785 * math/w_j1.c: Likewise.
20786 * math/w_j1f.c: Likewise.
20787 * math/w_j1l.c: Likewise.
20788 * math/w_jn.c: Likewise.
20789 * math/w_jnf.c: Likewise.
20790 * math/w_jnl.c: Likewise.
20791 * math/w_lgamma.c: Likewise.
20792 * math/w_lgamma_r.c: Likewise.
20793 * math/w_lgammaf.c: Likewise.
20794 * math/w_lgammaf_r.c: Likewise.
20795 * math/w_lgammal.c: Likewise.
20796 * math/w_lgammal_r.c: Likewise.
20797 * math/w_log.c: Likewise.
20798 * math/w_log10.c: Likewise.
20799 * math/w_log10f.c: Likewise.
20800 * math/w_log10l.c: Likewise.
20801 * math/w_log2.c: Likewise.
20802 * math/w_log2f.c: Likewise.
20803 * math/w_log2l.c: Likewise.
20804 * math/w_logf.c: Likewise.
20805 * math/w_logl.c: Likewise.
20806 * math/w_pow.c: Likewise.
20807 * math/w_powf.c: Likewise.
20808 * math/w_powl.c: Likewise.
20809 * math/w_remainder.c: Likewise.
20810 * math/w_remainderf.c: Likewise.
20811 * math/w_remainderl.c: Likewise.
20812 * math/w_scalb.c: Likewise.
20813 * math/w_scalbf.c: Likewise.
20814 * math/w_scalbl.c: Likewise.
20815 * math/w_sinh.c: Likewise.
20816 * math/w_sinhf.c: Likewise.
20817 * math/w_sinhl.c: Likewise.
20818 * math/w_sqrt.c: Likewise.
20819 * math/w_sqrtf.c: Likewise.
20820 * math/w_sqrtl.c: Likewise.
20821 * math/w_tgamma.c: Likewise.
20822 * math/w_tgammaf.c: Likewise.
20823 * math/w_tgammal.c: Likewise.
20825 * po/ja.po: Update from translation team.
20827 2011-09-29 Andreas Jaeger <aj@suse.de>
20830 * sunrpc/netname.c (netname2host): Fix logic.
20834 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
20836 * math/w_remainder.c (__remainder): Likewise.
20837 * math/w_remainderf.c (__remainderf): Likewise.
20838 * math/libm-test.inc (remainder_test): Add test cases.
20840 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20842 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
20845 2011-10-07 Ulrich Drepper <drepper@gmail.com>
20847 * string/test-memcmp.c: Avoid unncessary #defines.
20848 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20850 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20852 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
20853 Use new sse2 version for core i3 - i7 as it's faster
20854 than sse42 version.
20855 (bit_Prefer_PMINUB_for_stringop): New.
20856 * sysdeps/x86_64/rawmemchr.S: Update.
20857 Replace with faster SSE2 version.
20858 * sysdeps/x86_64/memrchr.S: New file.
20859 * sysdeps/x86_64/memchr.S: Update.
20860 Replace with faster SSE2 version.
20862 2011-09-12 Marek Polacek <mpolacek@redhat.com>
20864 * elf/dl-load.c (lose): Add cast to avoid warning.
20866 2011-10-07 Ulrich Drepper <drepper@gmail.com>
20868 * po/ca.po: Update from translation team.
20870 * inet/getnetgrent_r.c: Hook up nscd.
20871 * nscd/Makefile (routines): Add nscd_netgroup.
20872 (nscd-modules): Add netgroupcache.
20873 (CFLAGS-netgroupcache.c): Define.
20874 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
20875 (cache_search): Add const to second parameter.
20876 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
20878 (dbs): Add netgrdb entry.
20879 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
20880 (verify_persistent_db): Handle netgrdb.
20881 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
20882 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
20884 (netgroup_response_header): Define.
20885 (innetgroup_response_header): Define.
20886 (datahead): Add netgroup_response_header and innetgroup_response_header
20888 * nscd/nscd.conf: Add entries for netgroup cache.
20889 * nscd/nscd.h (dbtype): Add netgrdb.
20890 (_PATH_NSCD_NETGROUP_DB): Define.
20891 (netgroup_iov_disabled): Declare.
20892 (xmalloc, xcalloc, xrealloc): Move declarations here.
20893 (cache_search): Adjust prototype.
20894 Add netgroup-related prototypes.
20895 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
20896 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
20897 (__nscd_innetgr): Declare.
20898 * nscd/selinux.c (perms): Use access_vector_t as element type and
20899 add netgroup-related initializers.
20900 * nscd/netgroupcache.c: New file.
20901 * nscd/nscd_netgroup.c: New file.
20902 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
20903 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
20904 For four parameters use innetgr.
20905 * nss/nss_files/files-init.c: Add definition and callback for netgr.
20906 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
20907 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
20908 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
20910 * nscd/connections.c (register_traced_file): Don't register file
20911 for disabled databases.
20913 2011-10-06 Ulrich Drepper <drepper@gmail.com>
20915 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
20917 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
20918 from tree and freeing node.
20920 2011-09-25 Jiri Olsa <jolsa@redhat.com>
20922 * nss/nsswitch.c (__nss_database_lookup): Handle
20923 nss_parse_service_list out of memory case.
20925 2011-09-15 Jiri Olsa <jolsa@redhat.com>
20927 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
20928 out of memory case.
20930 2011-10-04 Andreas Schwab <schwab@redhat.com>
20932 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
20933 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
20935 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
20936 elf_machine_rela, elf_machine_lazy_rel.
20937 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
20938 (ELF_DYNAMIC_DO_REL): Likewise.
20939 (ELF_DYNAMIC_DO_RELA): Likewise.
20940 (ELF_DYNAMIC_RELOCATE): Likewise.
20941 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
20942 to ELF_DYNAMIC_DO_REL.
20943 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
20944 (dl_main): In trace mode always set __RTLD_NOIFUNC.
20945 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
20947 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
20948 skip_ifunc, don't call ifunc function if non-zero.
20949 (elf_machine_rela): Likewise.
20950 (elf_machine_lazy_rel): Likewise.
20951 (elf_machine_lazy_rela): Likewise.
20952 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
20953 (elf_machine_lazy_rel): Likewise.
20954 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
20956 (elf_machine_lazy_rel): Likewise.
20957 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20959 (elf_machine_lazy_rel): Likewise.
20960 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
20961 (elf_machine_lazy_rel): Likewise.
20962 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
20963 (elf_machine_lazy_rel): Likewise.
20964 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20965 (elf_machine_lazy_rel): Likewise.
20966 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
20967 (elf_machine_lazy_rel): Likewise.
20968 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
20969 (elf_machine_lazy_rel): Likewise.
20970 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20971 (elf_machine_lazy_rel): Likewise.
20973 2011-09-28 Ulrich Drepper <drepper@gmail.com>
20975 * nss/nss_files/files-init.c (_nss_files_init): Use static
20976 initialization for all the *_traced_file variables.
20978 2011-09-28 Andreas Schwab <schwab@redhat.com>
20980 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20982 2011-09-27 Roland McGrath <roland@hack.frob.com>
20985 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
20987 2011-09-27 Andreas Schwab <schwab@redhat.com>
20989 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20990 Reread the line before reparsing it.
20992 2011-09-26 Andreas Schwab <schwab@redhat.com>
20994 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
20996 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
20997 Maxim Kuvyrkov <maxim@codesourcery.com>
20998 Joseph Myers <joseph@codesourcery.com>
21000 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
21001 if needed for __stack_chk_guard.
21003 2011-09-19 Roland McGrath <roland@hack.frob.com>
21005 * sysdeps/posix/spawni.c (script_execute): Always define it.
21006 It will be optimized away if unused.
21007 (maybe_script_execute): New function.
21008 (__spawni): Call it.
21010 * Makerules: Don't include tls.make.
21011 (config-tls): Always set to thread.
21012 * tls.make.c: File removed.
21014 2011-09-19 Mike Frysinger <vapier@gentoo.org>
21016 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
21017 * config.make.in (CPPFLAGS-config): New substituted variable.
21019 2011-09-15 Ulrich Drepper <drepper@gmail.com>
21021 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
21024 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
21025 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
21027 2011-09-15 Roland McGrath <roland@hack.frob.com>
21029 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
21030 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
21031 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21032 (CALL_FAIL): Likewise.
21033 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
21034 (CALL_FAIL): Macro removed.
21035 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
21037 2011-09-15 Ulrich Drepper <drepper@gmail.com>
21039 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
21040 for __FINITE_MATH_ONLY__ == 1.
21042 2011-09-15 Andreas Schwab <schwab@redhat.com>
21044 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
21045 __ieee754_sqrt instead of sqrt.
21046 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
21047 __ieee754_sqrtf instead of sqrtf.
21048 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
21049 __floorf instead of floorf.
21050 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
21051 __floorf, __truncf instead of floorf, truncf.
21053 2011-09-14 Ulrich Drepper <drepper@gmail.com>
21055 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
21057 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
21058 __extern_always_inline.
21059 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
21062 2011-09-14 Andreas Schwab <schwab@redhat.com>
21064 * elf/rtld.c (dl_main): Also relocate in dependency order when
21065 doing symbol dependency testing.
21067 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
21069 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21070 Always define `refsym'.
21072 2011-09-13 Andreas Schwab <schwab@redhat.com>
21074 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
21075 (__FD_ELT): Renamed from __FDELT.
21076 * misc/bits/select2.h (__FD_ELT): Likewise.
21077 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
21078 __FD_MASK instead of __FDELT, __FDMASK.
21079 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21081 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21084 * elf/Makefile (gen-ldd): Fix pattern.
21086 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
21087 (init_tls): Likewise.
21089 2011-09-12 Ulrich Drepper <drepper@gmail.com>
21091 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
21093 2011-09-12 Andreas Schwab <schwab@redhat.com>
21095 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
21096 `struct cmsghdr *' instead of `void *'.
21097 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
21100 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
21102 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
21104 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
21105 ldd_rewrite_script.
21107 2011-09-11 Ulrich Drepper <drepper@gmail.com>
21109 * configure.in: Remove --with-tls option.
21110 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
21111 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
21112 out in case it is missing.
21113 * sysdeps/ia64/elf/configure.in: Likewise.
21114 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
21115 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
21116 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
21117 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
21118 * sysdeps/sh/elf/configure.in: Likewise.
21119 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
21120 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
21121 * sysdeps/x86_64/elf/configure.in: Likewise.
21122 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
21123 * sysdeps/mach/hurd/tls.h: Likewise.
21126 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
21129 * configure.in: Fix use of AC_INIT.
21131 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
21133 2011-09-10 Ulrich Drepper <drepper@gmail.com>
21135 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
21137 * malloc/hooks.c: Likewise.
21140 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
21141 variables statically.
21142 (narenas): Initialize.
21143 (list_lock): Initialize.
21144 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
21145 initializtion of main_arena and list_lock. Small cleanups.
21146 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
21147 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
21148 Add initializers to main_arena and mp_.
21149 (malloc_state): Remove pagesize member. Change all users to use
21152 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
21153 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
21154 is always initialized.
21156 * malloc/malloc.c: Removed unused configurations and dead code.
21157 * malloc/arena.c: Likewise.
21158 * malloc/hooks.c: Likewise.
21159 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
21161 * include/tls.h: Removed. USE___THREAD must always be defined.
21162 * bits/libc-tsd.h: Don't handle !USE___THREAD.
21163 * elf/dl-libc.c: Likewise.
21164 * elf/dl-tsd.c: Likewise.
21165 * include/errno.h: Likewise.
21166 * include/netdb.h: Likewise.
21167 * include/resolv.h: Likewise.
21168 * inet/herrno-loc.c: Likewise.
21169 * inet/herrno.c: Likewise.
21170 * malloc/arena.c: Likewise.
21171 * malloc/hooks.c: Likewise.
21172 * malloc/malloc.c: Likewise.
21173 * resolv/res-state.c: Likewise.
21174 * resolv/res_libc.c: Likewise.
21175 * sysdeps/i386/dl-machine.h: Likewise.
21176 * sysdeps/ia64/dl-machine.h: Likewise.
21177 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
21178 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21179 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
21180 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
21181 * sysdeps/sh/dl-machine.h: Likewise.
21182 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21183 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21184 * sysdeps/unix/i386/sysdep.S: Likewise.
21185 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21186 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
21187 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
21188 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21189 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
21190 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21191 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21192 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21193 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21194 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21195 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21196 * sysdeps/x86_64/dl-machine.h: Likewise.
21197 * tls.make.c: Likewise.
21199 * configure.in: Remove --with-__thread option. Make tests for
21200 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
21201 tls_model attribute fail if no support is available. Remove
21203 * Makeconfig: Adjust for dropped configure option. All features are
21205 * Makerules: Likewise.
21206 * Versions.def: Likewise.
21207 * argp/argp-fmtstream.c: Likewise.
21208 * argp/argp-fmtstream.h: Likewise.
21209 * argp/argp-help.c: Likewise.
21210 * assert/assert.c: Likewise.
21211 * config.h.in: Likewise.
21212 * config.make.in: Likewise.
21213 * configure: Likewise.
21214 * configure.in: Likewise.
21215 * csu/Versions: Likewise.
21216 * csu/init.c: Likewise.
21217 * elf/tst-audit2.c: Likewise.
21218 * elf/tst-tls10.c: Likewise.
21219 * elf/tst-tls10.h: Likewise.
21220 * elf/tst-tls11.c: Likewise.
21221 * elf/tst-tls12.c: Likewise.
21222 * elf/tst-tls14.c: Likewise.
21223 * elf/tst-tlsmod11.c: Likewise.
21224 * elf/tst-tlsmod12.c: Likewise.
21225 * elf/tst-tlsmod13.c: Likewise.
21226 * elf/tst-tlsmod13a.c: Likewise.
21227 * elf/tst-tlsmod14a.c: Likewise.
21228 * elf/tst-tlsmod15b.c: Likewise.
21229 * elf/tst-tlsmod16a.c: Likewise.
21230 * elf/tst-tlsmod16b.c: Likewise.
21231 * elf/tst-tlsmod7.c: Likewise.
21232 * elf/tst-tlsmod8.c: Likewise.
21233 * elf/tst-tlsmod9.c: Likewise.
21234 * gmon/gmon.c: Likewise.
21235 * grp/fgetgrent_r.c: Likewise.
21236 * grp/putgrent.c: Likewise.
21237 * hurd/fopenport.c: Likewise.
21238 * include/libc-symbols.h: Likewise.
21239 * include/tls.h: Likewise.
21240 * intl/gettextP.h: Likewise.
21241 * intl/loadinfo.h: Likewise.
21242 * locale/global-locale.c: Likewise.
21243 * locale/localeinfo.h: Likewise.
21244 * mach/devstream.c: Likewise.
21245 * malloc/arena.c: Likewise.
21246 * malloc/set-freeres.c: Likewise.
21247 * misc/err.c: Likewise.
21248 * misc/getttyent.c: Likewise.
21249 * misc/mntent_r.c: Likewise.
21250 * posix/getopt.c: Likewise.
21251 * posix/wordexp.c: Likewise.
21252 * pwd/fgetpwent_r.c: Likewise.
21253 * resolv/Versions: Likewise.
21254 * resolv/res_hconf.c: Likewise.
21255 * shadow/fgetspent_r.c: Likewise.
21256 * shadow/putspent.c: Likewise.
21257 * stdio-common/printf_fphex.c: Likewise.
21258 * stdio-common/tmpfile.c: Likewise.
21259 * stdlib/abort.c: Likewise.
21260 * stdlib/fmtmsg.c: Likewise.
21261 * sunrpc/auth_unix.c: Likewise.
21262 * sunrpc/clnt_perr.c: Likewise.
21263 * sunrpc/clnt_tcp.c: Likewise.
21264 * sunrpc/clnt_udp.c: Likewise.
21265 * sunrpc/clnt_unix.c: Likewise.
21266 * sunrpc/openchild.c: Likewise.
21267 * sunrpc/svc_simple.c: Likewise.
21268 * sunrpc/svc_tcp.c: Likewise.
21269 * sunrpc/svc_udp.c: Likewise.
21270 * sunrpc/svc_unix.c: Likewise.
21271 * sunrpc/xdr.c: Likewise.
21272 * sunrpc/xdr_array.c: Likewise.
21273 * sunrpc/xdr_rec.c: Likewise.
21274 * sunrpc/xdr_ref.c: Likewise.
21275 * sunrpc/xdr_stdio.c: Likewise.
21277 2011-09-09 Ulrich Drepper <drepper@gmail.com>
21279 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21281 2011-07-03 Andreas Jaeger <aj@suse.de>
21283 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
21284 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
21285 regenerate with gen-libm-tests.pl.
21287 2010-05-12 Petr Baudis <pasky@suse.cz>
21290 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
21291 around j0() zero points by switching to j1().
21292 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21293 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21294 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21295 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21297 2011-09-09 Ulrich Drepper <drepper@gmail.com>
21299 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
21301 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
21303 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21304 Patch in part by Pavel Roskin <proski@gnu.org>.
21307 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
21309 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
21310 Free memory block if necessary.
21313 * libio/genops.c (INTDEF): For string streams the _lock pointer can
21314 be NULL. Don't lock in this case.
21316 2011-09-09 Roland McGrath <roland@hack.frob.com>
21318 * elf/elf.h (ELFOSABI_GNU): New macro.
21319 (ELFOSABI_LINUX): Define to that.
21321 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
21323 * string/strncat.c (strncat): Undef the symbol in case it has been
21324 defined in bits/string.h.
21326 2011-09-09 Ulrich Drepper <drepper@gmail.com>
21328 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
21330 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
21333 2011-08-17 Andreas Jaeger <aj@suse.de>
21335 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
21337 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21338 Ian Lance Taylor <iant@google.com>
21340 * math/libm-test.inc (lround_test): New testcase.
21341 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
21343 2011-09-08 Ulrich Drepper <drepper@gmail.com>
21345 * Makefile: Remove support for automatic cvs check-ins.
21346 * Makerules: Likewise.
21347 * config.make.in: Likewise.
21348 * configure.in: Likewise.
21349 * intl/Makefile: Likewise.
21350 * locale/Makefile: Likewise.
21351 * po/Makefile: Likewise.
21352 * posix/Makefile: Likewise.
21353 * sysdeps/gnu/Makefile: Likewise.
21354 * sysdeps/mach/hurd/Makefile: Likewise.
21355 * sysdeps/sparc/sparc32/Makefile: Likewise.
21358 * posix/Makefile (bug-regex32-ENV): Define.
21359 Patch by John Stanley <jpsinthemix@verizon.net>.
21361 * misc/Makefile (headers): Add bits/select2.h.
21362 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
21363 * misc/bits/select2.h: New file.
21364 * include/bits/select2.h: New file.
21365 * debug/Makefile (routines): Add fdelt_chk.
21366 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
21367 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
21369 * debug/fdelt_chk.c: New file.
21371 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
21372 * wcsmbs/test-wmemcmp.c: Likewise.
21373 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
21374 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
21376 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21378 * string/Makefile (strop-tests): Add memcmp.
21379 * string/test-wmemcmp.c: New file.
21380 * string/test-memcmp.c: Add wmemcmp support.
21382 2011-09-08 Roland McGrath <roland@hack.frob.com>
21385 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
21388 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
21389 garbage value in a __mach_port_mod_refs call in the cases of the
21390 task-self and thread-self ports.
21392 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21394 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
21396 2011-09-08 Andreas Schwab <schwab@redhat.com>
21398 * elf/dl-load.c (lose): Check for non-null L.
21400 2011-09-07 Ulrich Drepper <drepper@gmail.com>
21402 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
21404 * elf/dl-libc.c (dlerror_run): Pass back error code from
21408 * elf/dl-load.c (lose): Free l_origin if it is valid.
21410 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
21412 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
21413 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21414 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21415 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21416 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
21417 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
21419 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21421 * sysdeps/powerpc/fpu/e_hypot.c: New file.
21422 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
21423 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
21424 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
21425 * sysdeps/powerpc/fpu/k_cosf.c: New file.
21426 * sysdeps/powerpc/fpu/k_sinf.c: New file.
21427 * sysdeps/powerpc/fpu/s_cosf.c: New file.
21428 * sysdeps/powerpc/fpu/s_sinf.c: New file.
21429 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
21430 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
21432 2011-08-15 Alan Modra <amodra@gmail.com>
21435 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
21436 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
21437 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
21438 ppc_mcount to static-only-routines.
21439 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
21441 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
21442 __mcount_internal with usual JUMPTARGET. Remove useless nop.
21444 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
21446 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
21447 for finite and infinity parameters.
21449 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21451 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
21452 and add nop instructions for throughput optimization.
21453 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21455 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
21457 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
21458 aligned copy for power7 with vector-scalar instructions.
21459 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21461 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
21463 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
21466 2011-09-07 Andreas Schwab <schwab@redhat.com>
21469 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
21472 2011-09-07 Ulrich Drepper <drepper@gmail.com>
21474 * sysdeps/unix/sysv/linux/x86_64/init-first.c
21475 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
21476 syscall wrapper around clock_gettime in __vdso_clock_gettime.
21477 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
21480 2011-09-06 Ulrich Drepper <drepper@gmail.com>
21482 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
21483 Forgot to demangle the pointer.
21485 * sysdeps/i386/sysdep.h: Define atom_text_section.
21486 * sysdeps/x86_64/sysdep.h: Likewise.
21487 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
21488 section with atom_text_section.
21489 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21490 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21491 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
21492 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21493 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
21495 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
21496 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
21497 already be defined. Change to take two parameters and don't assign
21498 result to variable. Adjust all users.
21499 Define INTERNAL_GETTIME if not already defined.
21500 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
21502 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
21503 HAVE_CLOCK_GETTIME_VSYSCALL.
21504 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
21506 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
21507 gettimeofday vsyscall, just use time.
21509 2011-09-06 Andreas Schwab <schwab@redhat.com>
21511 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
21514 2011-09-06 Ulrich Drepper <drepper@gmail.com>
21516 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
21518 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
21520 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
21521 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
21522 syscall if possible.
21524 2011-09-05 Ulrich Drepper <drepper@gmail.com>
21526 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
21527 e_ident. Don't pass to find_mapsXX.
21528 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
21530 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21532 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21533 strchr-sse2-no-bsf strrchr-sse2-no-bsf
21534 * sysdeps/x86_64/multiarch/strchr.S: Update.
21535 Check bit_slow_BSF bit.
21536 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21537 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
21538 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
21540 2011-09-05 Ulrich Drepper <drepper@gmail.com>
21543 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
21545 (tryshell): Define.
21546 (__spawni): Change last parameter to be flag. Test
21547 SPAWN_XFLAGS_USE_PATH flag to use path or not.
21548 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
21549 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
21550 * posix/spawni.c: Likewise.
21551 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
21552 * posix/spawnp.c: Likewise. Change normal version to use
21553 SPAWN_XFLAGS_USE_PATH.
21554 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
21555 SPAWN_XFLAGS_TRY_SHELL.
21558 * posix/glob.h: Remove gcc 1.x support.
21561 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
21563 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21565 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21566 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
21568 * sysdeps/i386/i686/multiarch/strchr.S: New file.
21569 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
21570 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
21571 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
21572 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
21573 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
21575 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21577 * sysdeps/x86_64/wcscmp.S: New file.
21579 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
21580 wcscmp-c wcscmp-sse2
21581 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
21582 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
21583 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
21584 * wcsmbs/wcscmp.c: Allow renaming.
21586 2011-09-05 David S. Miller <davem@davemloft.net>
21588 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
21589 stack slot, rather than the struct return pointer slot.
21590 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
21591 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
21592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
21593 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
21595 2011-09-05 Ulrich Drepper <drepper@gmail.com>
21597 * po/ja.po: Update from translation team.
21600 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
21601 kernel in 64-bit binaries.
21603 2011-09-01 David S. Miller <davem@davemloft.net>
21605 * elf/elf.h (HWCAP_SPARC_*): Move to..
21606 * sysdeps/sparc/sysdep.h: this new file and add new values.
21607 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
21608 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
21609 _DL_HWCAP_COUNT to 24.
21610 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21612 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
21613 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
21614 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
21615 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
21616 instead of magic constants.
21617 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21619 2011-08-31 David S. Miller <davem@davemloft.net>
21621 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
21622 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
21623 Reimplement to do errno handling inline.
21624 (SYSCALL_ERROR_HANDLER): New macro.
21625 (__SYSCALL_STRING): Do not do errno handling in asm.
21626 (__CLONE_SYSCALL_STRING): Delete.
21627 (__INTERNAL_SYSCALL_STRING): Delete.
21628 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
21629 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
21630 (PSEUDO): Reimplement to do errno handling inline.
21631 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
21632 (SYSCALL_ERROR_HANDLER): New macro.
21633 (__SYSCALL_STRING): Do not do errno handling in asm.
21634 (__CLONE_SYSCALL_STRING): Delete.
21635 (__INTERNAL_SYSCALL_STRING): Delete.
21636 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
21637 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
21639 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
21640 (inline_syscall*): Add 'err' argument.
21641 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
21642 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
21643 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
21644 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
21646 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
21647 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21649 2011-08-30 Andreas Schwab <schwab@redhat.com>
21651 * elf/rtld.c (dl_main): Relocate objects in dependency order.
21653 2011-08-29 Jiri Olsa <jolsa@redhat.com>
21655 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
21658 2011-08-24 David S. Miller <davem@davemloft.net>
21660 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
21662 2011-08-24 Andreas Schwab <schwab@redhat.com>
21664 * elf/Makefile: Add rules to build and run unload8 test.
21665 * elf/unload8.c: New file.
21666 * elf/unload8mod1.c: New file.
21667 * elf/unload8mod1x.c: New file.
21668 * elf/unload8mod2.c: New file.
21669 * elf/unload8mod3.c: New file.
21671 * elf/dl-close.c (_dl_close_worker): Reset private search list if
21674 2011-08-23 David S. Miller <davem@davemloft.net>
21676 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
21677 subtract stack bias.
21678 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
21679 %sp not %fp in calculations.
21680 (_JMPBUF_UNWINDS_ADJ): Likewise.
21682 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
21683 (aio_suspend): Call it to force an exception region around the
21684 AIO_MISC_WAIT() invocation.
21686 2011-08-23 Andreas Schwab <schwab@redhat.com>
21688 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
21691 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
21693 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
21695 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
21696 and <dl-machine.h>.
21697 (Elf64_FuncDesc): Remove.
21699 2011-08-22 David S. Miller <davem@davemloft.net>
21701 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
21702 sigaltstack check, add missing cfi directives.
21703 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
21704 missing cfi directives, and sigaltstack handling.
21706 2011-08-16 Andreas Schwab <schwab@redhat.com>
21709 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
21710 object is seen twice.
21711 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21713 * elf/Makefile (distribute): Add tst-initorder2.c.
21714 (tests): Add tst-initorder2.
21715 (modules-names): Add tst-initorder2a tst-initorder2b
21716 tst-initorder2c tst-initorder2d. Add rules to build them.
21717 ($(objpfx)tst-initorder2.out): New rule.
21718 * elf/tst-initorder2.c: New file.
21719 * elf/tst-initorder2.exp: New file.
21721 2011-08-22 Andreas Schwab <schwab@redhat.com>
21723 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
21725 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
21726 dependencies back to end of function.
21728 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
21729 $(elfobjdir)/ld.so.
21731 2011-08-21 Ulrich Drepper <drepper@gmail.com>
21733 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
21734 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
21735 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
21736 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
21737 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
21738 of __vdso_gettimeofday.
21739 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
21740 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
21742 (_libc_vdso_platform_setup): Remove initialization of
21743 __vdso_gettimeofday and __vdso_time.
21745 2011-08-20 Ulrich Drepper <drepper@gmail.com>
21747 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
21748 and fgetc_unlocked.
21749 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
21752 * elf/dl-open.c (add_to_global): Report additions to the global scope
21753 for LD_DEBUG=scopes.
21754 (dl_open_worker): Also print scope of newly loaded dependencies.
21755 (_dl_show_scope): Indicate if there is no scope.
21758 * stdio-common/Makefile (tests): Add bug24.
21759 * stdio-common/bug24.c: New file.
21761 2011-08-19 Andreas Jaeger <aj@suse.de>
21764 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
21765 non-existant file when using close-on-exec mode.
21767 2011-08-20 Ulrich Drepper <drepper@gmail.com>
21769 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
21770 the very first instruction.
21772 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
21773 the CFI state in the end.
21774 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
21775 inclusion of dl-trampoline.h.
21776 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
21778 2011-08-19 Andreas Schwab <schwab@redhat.com>
21780 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
21781 expectations for long double.
21783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
21784 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
21786 2011-08-14 David S. Miller <davem@davemloft.net>
21788 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
21789 artificual limit depends upon the system page size.
21791 2011-08-17 Ulrich Drepper <drepper@gmail.com>
21793 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
21794 * resolv/Makefile: Define CFLAGS-libresolv.
21796 2011-08-17 Andreas Schwab <schwab@redhat.com>
21798 * nss/makedb.c (compute_tables): Make variables used in nested
21801 2011-08-17 Ulrich Drepper <drepper@gmail.com>
21803 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
21804 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
21805 if buffer was too small.
21807 * elf/pldd.c (main): Attach to all threads in the process.
21808 Rewrite /proc handling to use *at functions.
21810 2011-08-16 Ulrich Drepper <drepper@gmail.com>
21812 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
21813 specifies first scope to show.
21814 (dl_open_worker): Update callers. Move printing scope of new
21815 object to before the relocation.
21816 * elf/rtld.c (dl_main): Update _dl_show_scope call.
21817 * sysdeps/generic/ldsodefs.h: Update declaration.
21819 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
21820 string for the scope number.
21822 2011-08-14 Ulrich Drepper <drepper@gmail.com>
21824 * nscd/servicescache.c (cache_addserv): Make sure written is always
21827 2011-08-14 Roland McGrath <roland@hack.frob.com>
21829 * sysdeps/i386/i486/bits/atomic.h
21830 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
21831 statement expression, so as to suppress "set but not used" warning.
21832 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
21834 * string/strncat.c (STRNCAT): Use prototype definition.
21836 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
21837 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
21839 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
21840 (localedef-modules): Add localedef.
21841 (locale-modules): Add locale.
21843 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
21844 * elf/rtld.c (dl_main): Invert order of assignment in last change,
21845 to avoid a warning.
21847 2011-08-14 David S. Miller <davem@davemloft.net>
21849 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
21850 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
21852 2011-08-13 Ulrich Drepper <drepper@gmail.com>
21854 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
21855 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
21856 * elf/rtld.c (dl_main): Set l_name of vDSO.
21857 Call _dl_show_scope when DL_DEBUG_SCOPES.
21858 (process_dl_debug): Recognize scopes flag and also set it for all.
21859 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
21860 Declare _dl_show_scope.
21862 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
21863 (do_dlopen): Pass caller_dlopen to dl_open.
21864 (__libc_dlopen_mode): Initialize caller_dlopen.
21866 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
21867 of libc. Make tolower call locale-independent. Optimize a bit by
21868 using isdigit instead of isalnum.
21869 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
21871 2011-08-12 Ulrich Drepper <drepper@gmail.com>
21873 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
21874 was a dependency or dynamically loaded.
21876 2011-08-11 Ulrich Drepper <drepper@gmail.com>
21878 * intl/l10nflist.c: Allow architecture-specific pop function.
21879 * sysdeps/x86_64/l10nflist.c: New file.
21881 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
21884 2011-08-10 Andreas Schwab <schwab@redhat.com>
21886 * include/dirent.h: Add libc_hidden_proto for scandirat and
21887 scandirat64. Don't declare __scandirat64.
21888 * dirent/scandirat.c: Add libc_hidden_def.
21889 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
21890 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
21892 2011-08-10 David S. Miller <davem@davemloft.net>
21894 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
21896 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21897 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21898 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21900 2011-08-09 Ulrich Drepper <drepper@gmail.com>
21902 * Versions.def [libc]: Add GLIBC_2.15.
21903 * dirent/Makefile (routines): Add scandirat and scandirat64.
21904 * dirent/Versions [libc]: Export scandirat and scandirat64 for
21906 * dirent/dirent.h: Declare scandirat and scandirat64.
21907 * dirent/scandirat.c: New file.
21908 * dirent/scandirat64.c: New file.
21909 * sysdeps/wordsize-64/scandirat.c: New file.
21910 * sysdeps/wordsize-64/scandirat64.c: New file.
21911 * dirent/opendir.c: Define opendirat.
21912 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
21914 * dirent/scandir64.c: Adjust for scandir.c change.
21915 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
21916 __scandirat64, and __scandir_cancel_handler.
21917 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
21918 additional parameter and use openat instead of open (outside of ld.so).
21919 Add new __opendir as wrapper around __opendirat.
21920 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
21921 here without requiring old scandirat implementation.
21923 2011-08-08 Ulrich Drepper <drepper@gmail.com>
21925 * dirent/scandir.c (cancel_handler): Renamed to
21926 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
21927 defined. Adjust users.
21928 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
21929 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
21931 2011-08-04 Ulrich Drepper <drepper@gmail.com>
21933 * string/test-string.h (IMPL): Use __STRING to expand name and then
21936 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
21939 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21941 * string/Makefile: Update.
21942 (strop-tests): Append strncat.
21943 * string/test-wcscmp.c: New file.
21944 New comprehensive test for wcscmp.
21945 * string/test-strcmp.c: Update.
21946 (WIDE): New define.
21948 2011-07-22 Andreas Schwab <schwab@redhat.com>
21950 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
21953 2011-07-26 Andreas Schwab <schwab@redhat.com>
21955 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21956 encoding to ACE if AI_IDN.
21958 2011-08-01 Jakub Jelinek <jakub@redhat.com>
21960 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
21961 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
21963 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21965 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
21966 Fix overflow bug in strncat.
21967 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
21969 * string/test-strncat.c: Update.
21970 Add new tests for checking overflow bugs.
21972 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21974 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21975 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
21976 * sysdeps/i386/i686/multiarch/strcat.S: New file.
21977 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
21978 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
21979 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
21980 * sysdeps/i386/i686/multiarch/strncat.S: New file.
21981 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
21982 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
21984 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
21985 (USE_AS_STRCAT): Define.
21986 Add strcat and strncat support.
21987 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21989 2011-07-25 Andreas Schwab <schwab@redhat.com>
21991 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
21992 __n bigger than INT_MAX+1.
21993 (__strncmp_g): Likewise.
21995 2011-07-23 Ulrich Drepper <drepper@gmail.com>
21997 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
21998 * libio/stido.h: Likewise.
22000 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
22002 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
22005 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
22006 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22007 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22008 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22009 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22012 * scripts/test-installation.pl: Don't expect libnss_test1 to be
22015 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
22017 (_dl_x86_64_save_sse): Likewise.
22019 2011-07-22 Ulrich Drepper <drepper@gmail.com>
22021 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
22023 (_dl_x86_64_save_sse): Likewise.
22025 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
22027 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
22029 2011-07-21 Andreas Schwab <schwab@redhat.com>
22031 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
22033 (_dl_x86_64_save_sse): Use correct AVX check.
22035 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22037 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
22038 bug in strncpy/strncat.
22039 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22041 2011-07-21 Ulrich Drepper <drepper@gmail.com>
22043 * string/tester.c (test_strcat): Add tests for different alignments
22044 of source and destination.
22045 (test_strncat): Likewise.
22047 2011-07-20 Ulrich Drepper <drepper@gmail.com>
22050 * posix/glob.c (glob): Check passed in values before using them in
22051 expressions to avoid some overflows.
22052 (glob_in_dir): Likewise.
22055 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
22056 check for AVX enablement so that we don't crash with old kernels and
22058 * elf/tst-audit4.c: Add same checks here.
22059 * elf/tst-audit6.c: Likewise.
22061 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
22063 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
22065 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
22067 2011-07-20 Ulrich Drepper <drepper@gmail.com>
22069 * po/cs.po: Update from translation team.
22070 * po/bg.po: Likewise.
22072 2011-07-12 Marek Polacek <mpolacek@redhat.com>
22074 * misc/sys/cdefs.h: Add support for const attribute.
22075 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
22076 to gnu_dev_{major,minor,makedev} functions.
22078 2011-07-20 Marek Polacek <mpolacek@redhat.com>
22080 * intl/dcigettext.c (get_output_charset): Add missing bracket.
22082 2011-07-20 Andreas Schwab <schwab@redhat.com>
22084 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
22087 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22089 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
22090 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
22091 register in order to avoid conflicts with the soft frame pointer
22092 being held in r11 when necessary.
22093 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22094 (INTERNAL_VSYSCALL_NCS): Likewise.
22096 2011-07-14 Marek Polacek <mpolacek@redhat.com>
22098 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
22099 * elf/dl-fini.c (_dl_fini): Adjust caller.
22100 * elf/dl-close.c (_dl_close_worker): Likewise.
22101 * sysdeps/generic/ldsodefs.h: Adjust declaration.
22103 2011-07-15 Marek Polacek <mpolacek@redhat.com>
22105 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
22106 "aux_cache->nlibs < 0".
22108 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
22109 in the reload-count case.
22111 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22113 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22114 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
22115 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
22116 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
22117 * sysdeps/x86_64/multiarch/strcat.S: New file.
22118 * sysdeps/x86_64/multiarch/strncat.S: New file.
22119 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
22120 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
22121 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
22122 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
22123 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
22124 (USE_AS_STRCAT): Define.
22125 Add strcat and strncat support.
22126 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22127 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22128 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
22129 * string/strncat.c: Update.
22130 (USE_AS_STRNCAT): Define.
22131 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22132 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
22134 * sysdeps/x86_64/multiarch/init-arch.h
22135 (bit_Prefer_PMINUB_for_stringop): New.
22136 (index_Prefer_PMINUB_for_stringop): Likewise.
22137 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
22138 bit_Prefer_PMINUB_for_stringop.
22140 2011-07-19 Ulrich Drepper <drepper@gmail.com>
22142 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
22144 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
22145 of casting of buffer.
22146 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
22147 buffer32 and buffer64.
22148 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
22149 writes instead of casting of buffer.
22150 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
22152 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
22155 2011-07-19 Andreas Schwab <schwab@redhat.com>
22157 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
22159 2011-07-19 Ulrich Drepper <drepper@gmail.com>
22161 * nscd/nscd.c (termination_handler): Don't do anything for a database
22162 if it has not yet been initialized.
22164 2011-07-18 Ulrich Drepper <drepper@gmail.com>
22166 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22168 2011-07-15 Marek Polacek <mpolacek@redhat.com>
22170 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22172 2011-07-18 Ulrich Drepper <drepper@gmail.com>
22174 * po/nl.po: Update from translation team.
22175 * po/sv.po: Likewise.
22177 2011-07-16 Roland McGrath <roland@hack.frob.com>
22179 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
22180 now disallowed by GCC.
22182 * configure.in (use-default-link): Default to yes if a test -shared
22183 link meets our qualifications.
22184 * configure: Regenerated.
22186 * config.make.in (output-format): New variable.
22187 * configure.in: Check for ld --print-output-format support.
22188 * configure: Regenerated.
22189 * Makerules ($(common-objpfx)format.lds)
22190 [$(output-format) != unknown]: Just use $(output-format),
22191 instead of the linker-script munging.
22193 2011-07-14 Roland McGrath <roland@hack.frob.com>
22195 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
22196 of $(common-objpfx)shlib.lds.
22197 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
22199 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
22200 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
22202 * configure.in (-z relro check): Adjust test code to add a large
22203 writable data section after it.
22204 * configure: Regenerated.
22206 2011-07-11 Roland McGrath <roland@hack.frob.com>
22208 * configure.in (-z relro check): Fix test code to make the variable
22210 * configure: Regenerated.
22212 2011-07-11 Ulrich Drepper <drepper@gmail.com>
22214 * nscd/nscd.h (struct traced_file): Define.
22215 (struct database_dyn): Remove inotify_descr, reset_res, and filename
22216 elements. Add traced_files.
22217 (inotify_fd): Declare.
22218 (register_traced_file): Declare.
22219 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
22220 (inotify_fd): Export.
22221 (resolv_conf_descr): Remove.
22222 (nscd_init): Move inotify descriptor creation to main.
22223 Don't register files for notification here.
22224 (register_traced_file): New function.
22225 (invalidate_cache): Don't use reset_res to determine whether to call
22226 res_init, go through the list of registered files.
22227 (main_loop_poll): The inotify descriptors are now stored in the
22228 structures for the traced files.
22229 (main_loop_epoll): Likewise
22230 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
22231 to __nss_disable_nscd.
22232 * nscd/cache.c (prune_cache): There is no single inotify descriptor
22233 for a database anymore. Check the records for all the registered
22235 * nss/Makefile (libnss_files-routines): Add files-init.
22236 (libnss_db-routines): Add db-init.
22237 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
22238 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
22239 * nss/nss_db/db-init.c: New file.
22240 * nss/nss_files/files-init.c: New file.
22241 * nss/nsswitch.c (nss_load_library): New function. Broken out of
22242 __nss_lookup_function.
22243 (__nss_lookup_function): Call nss_load_library.
22244 (nss_load_all_libraries): New function.
22245 (__nss_disable_nscd): Take parameter with callback function for files
22246 to register. Set is_nscd. Load all the DSOs for the NSS modules
22247 used for the cached services.
22248 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
22249 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
22250 options for features to all the files in nscd.
22252 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
22254 2011-07-10 Roland McGrath <roland@hack.frob.com>
22256 * csu/elf-init.c (__libc_csu_init): Comment typo.
22258 2011-07-09 Ulrich Drepper <drepper@gmail.com>
22260 * po/pl.po: Update from translation team.
22261 * po/ja.po: Likewise.
22262 * po/ru.po: Likewise.
22263 * po/ko.po: Likewise.
22264 * po/fr.po: Likewise.
22266 2011-07-09 Roland McGrath <roland@hack.frob.com>
22268 * configure.in (.ctors/.dtors header and trailer check):
22269 Use an empirical test on a built program.
22270 * configure: Regenerated.
22272 * configure.in (-z relro check): Use an empirical test on a built DSO.
22273 Detect, but do not require, on ia64.
22274 * configure: Regenerated.
22276 * configure.in (READELF): Find it with AC_CHECK_TOOL.
22277 Update tests that use readelf to use $READELF instead.
22278 * configure: Regenerated.
22280 2011-07-08 Ulrich Drepper <drepper@gmail.com>
22282 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
22283 if the result is not used.
22285 2011-07-05 Andreas Jaeger <aj@suse.de>
22288 * stdlib/tst-strtod.c: Add testcase.
22290 2011-07-07 Ulrich Drepper <drepper@gmail.com>
22292 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
22293 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
22294 The latter has a higher limit. Take additional parameter to pass to
22296 (__pathconf): Pass file to __statfs_link_max.
22297 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
22299 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
22303 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
22304 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22306 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
22307 (__statfs_filesize_max): Likewise.
22308 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
22310 2011-07-05 Andreas Jaeger <aj@suse.de>
22312 * resolv/res_comp.c (dn_skipname): Remove unused variable.
22314 2011-07-06 Marek Polacek <mpolacek@redhat.com>
22316 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
22318 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
22321 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
22323 * Makefile (strop-tests): Add strncat.
22324 * string/test-strncat.c: New file.
22326 2011-06-30 Marek Polacek <mpolacek@redhat.com>
22328 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
22330 2011-06-21 Andreas Jaeger <aj@suse.de>
22332 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
22333 Copy rule from iconvdata/Makefile.
22335 2011-07-06 Ulrich Drepper <drepper@gmail.com>
22338 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
22339 but no long options are defined, just return 'W'.
22341 2011-06-22 Marek Polacek <mpolacek@redhat.com>
22344 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
22346 2011-07-06 Ulrich Drepper <drepper@gmail.com>
22348 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
22350 (innetgr): Likewise.
22352 2011-07-05 Roland McGrath <roland@hack.frob.com>
22354 * config.make.in (install_root): Default to $(DESTDIR).
22356 2011-07-05 Ulrich Drepper <drepper@gmail.com>
22358 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
22360 2011-07-02 Roland McGrath <roland@hack.frob.com>
22362 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
22364 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
22365 containing directory rather than embedding absolute directory names.
22367 * scripts/check-local-headers.sh: Rewritten using awk.
22368 Match by word, not by line. Print error messages for matches.
22369 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
22371 * Makerules [shlib-lds-flags empty]:
22372 ($(common-objpfx)libc_pic.opts): New target.
22373 ($(common-objpfx)libc_pic.os.clean): New target.
22374 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
22376 * config.make.in (OBJCOPY): New variable.
22377 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
22378 * configure: Regenerated.
22380 * config.make.in (use-default-link): New variable.
22381 * configure.in (use_default_link): Grok --with-default-link to set it.
22382 * configure: Regenerated.
22383 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
22384 (shlib-lds, shlib-lds-flags): Define to empty.
22386 * Makerules (shlib-lds): New variable.
22387 (shlib-lds-flags): New variable.
22388 (build-shlib, build-moduile, build-module-asneeded): Use it.
22389 ($(common-objpfx)libc.so): Use $(shlib-lds).
22390 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
22391 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
22393 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
22394 DT_FLAGS/DT_FLAGS_1 with zero flags.
22396 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
22397 linker script munging.
22399 2011-07-02 Ulrich Drepper <drepper@gmail.com>
22401 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
22403 * crypt/sha512.c (sha512_process_block): Perform total addition using
22404 128-bit if possible.
22405 (__sha512_finish_ctx): Likewise.
22406 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
22408 * crypt/sha256.c (SWAP64): Define.
22409 (sha256_process_block): Perform total addition using 64-bit if
22411 (__sha256_finish_ctx): Likewise.
22413 2011-07-01 Ulrich Drepper <drepper@gmail.com>
22415 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
22416 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22417 * nscd/hstcache.c (cache_addhst): Likewise.
22418 * nscd/grpcache.c (cache_addgr): Likewise.
22419 * nscd/aicache.c (addhstaiX): Likewise
22420 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
22422 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
22424 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
22425 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22426 * nscd/hstcache.c (cache_addhst): Likewise.
22427 * nscd/grpcache.c (cache_addgr): Likewise.
22428 * nscd/aicache.c (addhstaiX): Likewise
22430 2011-07-01 Andreas Schwab <schwab@redhat.com>
22432 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
22433 domain only when needed.
22435 2011-06-30 Andreas Schwab <schwab@redhat.com>
22437 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
22438 is always restored.
22440 2011-06-29 Ulrich Drepper <drepper@gmail.com>
22442 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
22443 are re-adding the entry.
22444 * nscd/servicescache.c (cache_addserv): Likewise.
22446 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
22448 * sysdeps/generic/dl-irel.h: fix protection against multiple
22450 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
22452 2011-06-28 Ulrich Drepper <drepper@gmail.com>
22455 * malloc/memusage.sh: Fix quoting in message.
22456 * debug/xtrace.sh: Likewise.
22458 * configure.in: Remove support for --experimental-malloc option, make
22460 * config.make.in: Likewise.
22461 * malloc/Makefile: Likewise.
22463 2011-06-27 Andreas Schwab <schwab@redhat.com>
22465 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
22466 two-byte characters.
22468 2011-06-27 Roland McGrath <roland@hack.frob.com>
22470 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
22471 AC_CACHE_CHECK invocation.
22472 * configure: Regenerated.
22474 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
22476 2011-06-27 Ulrich Drepper <drepper@gmail.com>
22479 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
22480 bit from old_res_options.
22482 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
22484 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
22485 value type for setfct.
22487 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
22489 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22490 __gettimeofday instead of gettimeofday.
22492 2011-06-26 Ulrich Drepper <drepper@gmail.com>
22494 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
22496 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
22498 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
22500 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
22503 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
22505 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22506 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
22507 strcpy-sse2-unaligned strncpy-sse2-unaligned
22508 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
22509 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
22510 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
22511 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
22512 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
22513 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
22514 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
22515 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
22516 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
22517 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
22518 (STRCPY): Support SSE2 and SSSE3 versions.
22520 2011-06-24 Ulrich Drepper <drepper@gmail.com>
22523 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
22524 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
22525 kernels which artificially limit size of requests.
22527 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
22529 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22530 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
22531 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
22532 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
22533 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
22534 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
22535 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
22536 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
22537 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
22538 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
22539 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
22540 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
22541 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
22542 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
22543 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
22544 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22545 Enable unaligned load optimization for Intel Core i3, i5 and i7
22547 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
22549 (index_Fast_Unaligned_Load): Define.
22550 (HAS_FAST_UNALIGNED_LOAD): Define.
22552 2011-06-23 Marek Polacek <mpolacek@redhat.com>
22554 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
22556 2011-06-22 Ulrich Drepper <drepper@gmail.com>
22559 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
22560 until it is clear that the information is realy needed.
22561 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
22563 2011-06-22 Andreas Schwab <schwab@redhat.com>
22565 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
22567 2011-06-22 Ulrich Drepper <drepper@gmail.com>
22569 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22570 /sys/devices/system/cpu/online if it is usable.
22572 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
22573 reading the information from the /proc filesystem to once a second.
22575 2011-06-21 Andreas Jaeger <aj@suse.de>
22577 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
22578 NULL after inclusion of kernel headers.
22580 2011-06-21 Ulrich Drepper <drepper@gmail.com>
22582 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
22583 calls to internal_setent.
22586 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
22587 addresses using gethostbyname4_r ignore IPv4 addresses.
22589 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
22590 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
22592 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
22594 2011-06-20 David S. Miller <davem@davemloft.net>
22596 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
22598 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
22600 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
22601 (elf_irel): Use it.
22602 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
22603 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
22604 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
22605 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
22606 * sysdeps/x86_64/dl-irel.h: Likewise.
22608 * elf/dl-runtime.c: Use elf_ifunc_invoke.
22609 * elf/dl-sym.c: Likewise.
22611 2011-06-15 Ulrich Drepper <drepper@gmail.com>
22613 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
22614 need to dereference resplen2.
22616 2011-06-14 Andreas Schwab <schwab@redhat.com>
22618 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
22620 2011-06-15 Ulrich Drepper <drepper@gmail.com>
22622 * Makeconfig: Define vardbdir and inst_vardbdir.
22623 * nss/Makefile: Add rules to install db-Makefile.
22625 * nss/nss_db/db-XXX.c: Cleanup.
22627 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
22628 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
22630 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
22631 * nss/makedb.c: Implement -g option to specify that value strings
22632 are generated and should not be added to table iterated over for
22634 * nss/nss_db/db-initgroups.c: New file.
22636 * nss/getent.c: Add support for initgroups lookups through getgrouplist
22639 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
22640 (internal_getgrouplist): Adjust to name change.
22641 Update use_initgroups_entry if this is not the first call.
22642 * nss/databases.def: Add initgroups entry.
22644 * nss/makedb.c (compute_tables): Check result of multiple hash table
22645 sizes to minimize maximum chain length.
22647 2011-06-14 Ulrich Drepper <drepper@gmail.com>
22649 * Versions.def: Add entry for libnss_db.
22650 * shlib-versions: Likewise.
22651 * nss/Makefile: Add rules to build libnss_db.
22652 * nss/Versions: Add libnss_db information. Organize libnss_files
22654 * nss/db-Makefile: Add gshadow support. Change rules for the new
22655 makedb progra. Some minor improvements to generate smaller files.
22656 * nss/nss_db/nss_db.h: Move NSS database header data structures to
22658 * nss/makedb.c: ...here.
22659 Improve database format to be smaller and require less memory at
22661 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
22663 * nss/nss_db/db-netgrp.c: Likewise.
22664 * nss/nss_db/db-open.c: Likewise.
22665 * nss/nss_files/flies-XXX.x: Adjust comments.
22666 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
22667 * nss/nss_files/files-grp.c: Likewise.
22668 * nss/nss_files/files-hosts.c: Likewise.
22669 * nss/nss_files/files-network.c: Likewise.
22670 * nss/nss_files/files-proto.c: Likewise.
22671 * nss/nss_files/files-pwd.c: Likewise.
22672 * nss/nss_files/files-rpc.c: Likewise.
22673 * nss/nss_files/files-service.c: Likewise.
22674 * nss/nss_files/files-sgrp.c: Likewise.
22675 * nss/nss_files/files-spwd.c: Likewise.
22676 * nss/nss_db/db-alias.c: Removed.
22677 * nss/nss_db/dummy-db.h: Removed.
22679 2011-06-02 Ulrich Drepper <drepper@gmail.com>
22681 * nss/makedb.c: Rewritten to not use database library.
22682 * nss/Makefile: Update to build new makedb program.
22684 2011-06-14 Andreas Jaeger <aj@suse.de>
22686 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
22687 memset declaration.
22689 2011-06-10 Andreas Schwab <schwab@redhat.com>
22691 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
22694 2011-06-10 Roland McGrath <roland@hack.frob.com>
22696 * Makerules (shlib.lds): Fail if the linker script comes out empty.
22697 * elf/Makefile ($(objpfx)ld.so): Likewise.
22699 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
22700 Don't list ld.so twice in dependencies.
22702 * posix/bug-regex31.c: Include <stdlib.h>.
22704 * nscd/hstcache.c (cache_addhst): Remove unused variable.
22706 * nis/nss_compat/compat-spwd.c
22707 (getspent_next_nss_netgr): Remove unused variable.
22708 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
22710 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
22711 nonmembers" output to use the right array.
22713 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
22715 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
22717 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
22718 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
22719 * catgets/gencat.c (read_input_file): Likewise.
22720 * locale/programs/locarchive.c (enlarge_archive): Likewise.
22722 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
22723 variable definition inside #if's controlling its use.
22725 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
22727 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
22729 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
22731 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
22734 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
22736 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
22737 * configure: Regenerated.
22739 * Makerules: Revert last change.
22740 * elf/Makefile: Likewise.
22742 2011-06-09 Roland McGrath <roland@hack.frob.com>
22744 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
22745 * elf/Makefile ($(objpfx)librtld.os): Likewise.
22746 (reloc-link): Likewise.
22748 2011-06-09 Ulrich Drepper <drepper@gmail.com>
22750 * elf/Makefile: Add rules to build pldd.
22751 * elf/pldd.c: New file.
22752 * elf/pldd-xx.c: New file.
22754 2011-06-07 Ulrich Drepper <drepper@gmail.com>
22756 * version.h: Update for 2.15 development version.
22758 2011-06-07 David S. Miller <davem@davemloft.net>
22760 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
22762 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
22763 elf_machine_lazy_rel): Likewise.
22764 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22765 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
22766 elf_machine_lazy_rel): Likewise.
22767 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
22768 dl_hwcap via passed in argument.
22769 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
22772 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22774 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
22776 2011-06-06 Roland McGrath <roland@hack.frob.com>
22779 * manual/fdl-1.1.texi: New file, verbatim from:
22780 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
22781 * manual/lgpl-2.1.texi: New file, verbatim from:
22782 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
22783 * manual/Makefile (licenses): New variable, list those new file names.
22785 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
22787 * manual/fdl.texi: File removed.
22788 * manual/lesser.texi: File removed.
22789 * manual/libc.texinfo (Copying, Documentation License):
22790 Use new @include file names, put @appendix directive before @include.
22792 2011-06-04 Jakub Jelinek <jakub@redhat.com>
22795 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
22796 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
22797 (mq_open): Add __NTH.
22799 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
22801 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22802 Assume Intel Core i3/i5/i7 processor if AVX is available.
22804 2011-05-31 Ulrich Drepper <drepper@gmail.com>
22806 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22809 2011-05-31 Andreas Schwab <schwab@redhat.com>
22811 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
22812 memory. Use alloca_account. Fix memory leak when retrying.
22814 2011-05-31 Ulrich Drepper <drepper@gmail.com>
22816 * version.h (RELEASE): Bump for 2.14 release.
22817 * include/features.h (__GLIBC_MINOR__): Bump to 14.
22819 * config.make.in (RANLIB): Remove entry.
22821 2011-05-30 Ulrich Drepper <drepper@gmail.com>
22823 * po/Makefile (po-sed-cmd): Add ksh to extensions.
22824 (libc.pot): Work around missing support for .ksh extension in xgettext.
22827 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
22828 if both request failed.
22829 (send_dg): In case of server errors clear resplen or *resplen2.
22832 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
22833 when there are multiple maps.
22834 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
22835 (_dl_fini): Remove test here.
22837 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
22839 2011-05-29 Ulrich Drepper <drepper@gmail.com>
22842 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
22843 bit from old_res_options.
22844 (gaih_inet): Likewise.
22847 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
22850 * resolv/res_init.c (res_setoptions): Make the code more compact.
22853 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
22857 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
22859 * malloc/malloc.h: Mark malloc hook variables as deprecated.
22862 * malloc/malloc.h: Declare malloc hook variables as volatile.
22864 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
22868 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
22869 raise in the comment.
22870 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22871 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22872 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
22874 2011-05-28 Ulrich Drepper <drepper@gmail.com>
22877 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
22878 grow the buffers more if it already has to be sufficient.
22879 (build_wcs_upper_buffer): Likewise.
22880 * posix/regexec.c (check_matching): Likewise.
22881 (clean_state_log_if_needed): Likewise.
22882 (extend_buffers): Don't enlarge buffers beyond size of the input
22884 Patches mostly by Emil Wojak <emil@wojak.eu>.
22885 * posix/bug-regex32.c: New file.
22886 * posix/Makefile (tests): Add bug-regex32.
22888 * locale/findlocale.c (_nl_find_locale): Return right away if
22889 _nl_explode_name failed.
22890 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
22892 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
22894 * debug/xtrace.sh: Unify messages.
22895 * malloc/memusage.sh: Likewise.
22898 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
22899 time symbol from vDSO. Substitute with vsyscall if not available.
22900 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
22903 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
22904 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
22905 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
22906 Add sendmmsg and internal_sendmmsg.
22907 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
22908 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
22909 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
22911 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
22912 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
22913 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
22915 2011-05-27 Ulrich Drepper <drepper@gmail.com>
22918 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
22919 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
22921 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
22925 * iconvdata/Makefile (tests): Add bug-iconv9.
22926 * iconvdata/bug-iconv9.c: New file.
22928 2011-05-27 Andreas Schwab <schwab@redhat.com>
22931 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
22933 2011-05-25 Jakub Jelinek <jakub@redhat.com>
22935 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22936 (struct user_regs_struct): Change intcs field back to cs.
22938 2011-05-25 Ulrich Drepper <drepper@gmail.com>
22940 * po/ja.po: Update from translation team.
22942 2011-05-23 Ulrich Drepper <drepper@gmail.com>
22945 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
22946 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
22948 2011-05-20 Andreas Schwab <schwab@redhat.com>
22950 * stdlib/longlong.h: Update from GCC.
22952 2011-05-23 Andreas Schwab <schwab@redhat.com>
22954 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
22956 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
22957 Add parameter name.
22958 (__sysconf): Pass it down.
22960 2011-05-22 Ulrich Drepper <drepper@gmail.com>
22963 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
22965 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22966 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
22967 add in in __libc_use_alloca calls. Adjust callers.
22968 (glob): Use malloc in some situations.
22970 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
22971 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
22974 2011-05-21 Ulrich Drepper <drepper@gmail.com>
22976 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
22977 and CLOCK_BOOTTIME_ALARM.
22980 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
22983 * string/_strerror.c (__strerror_r): Print negative errors as signed
22987 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
22988 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
22989 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
22991 * configure.in: Fix typo in redirection and correct removal of test
22992 files in two cases.
22995 * locale/setlocale.c (new_composite_name): Fix test to check for
22996 identical name of all categories.
22999 * libio/filedoalloc.c (local_isatty): New function.
23000 (_IO_file_doallocate): Use local_isatty.
23001 * stdio-common/perror.c (perror): In case a new stream is used
23002 forward the stream error.
23003 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
23006 2011-05-20 Ulrich Drepper <drepper@gmail.com>
23009 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
23011 * include/alloca.h (extend_alloca_account): Define.
23014 * posix/regex.h: Fix comments with documentation of user-accessible
23015 fields after compilation and describe correct free'ing of pattern
23016 after re_compile_pattern.
23017 Patch by Reuben Thomas <rrt@sc3d.org>.
23019 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
23021 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
23022 and -mno-altivec to prevent the compiler from using Altivec and/or
23023 VSX instructions when the corresponding registers are not available.
23025 2011-05-19 Andreas Schwab <schwab@redhat.com>
23027 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
23029 2011-05-19 Ulrich Drepper <drepper@gmail.com>
23031 * libio/freopen.c (freopen): Use __dup2, not dup2.
23032 * libio/freopen64.c (freopen64): Likewise.
23034 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
23037 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
23038 * math/Makefile (tests): Add test-powl.
23039 (CFLAGS-test-powl.c): Define.
23040 * math/test-powl.c: New file.
23042 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
23044 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
23046 2011-05-17 Ulrich Drepper <drepper@gmail.com>
23049 * iconvdata/gb18030.c: Update to GB18020-2005.
23051 2011-05-16 Ulrich Drepper <drepper@gmail.com>
23053 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
23054 RE_SYNTAX_POSIX_AWK): Update to match recent development.
23055 Patch by Aharon Robbins <arnold@skeeve.com>.
23058 * stdlib/putenv.c (putenv): Don't always create copy of the variable
23062 * misc/pselect.c (__pselect): Handle timeout value errors hidden
23063 through underflows.
23066 * misc/error.c (error_at_line): Ensure file_name and old_file_name
23067 point to strings before performing equality test for error_one_per_line
23071 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
23074 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23075 (struct user_fpregs_struct): Avoid __uint*_t types.
23078 * malloc/mtrace.c (tr_where): Add additional parameter to point to
23079 symbol info. Use it instead of calling _dl_addr locally.
23080 (lock_and_info): New function.
23081 (tr_freehook): Call lock_and_info and pass symbol info as additional
23082 parameter to tr_where.
23083 (tr_mallochook): Likewise.
23084 (tr_reallochook): Likewise.
23085 (tr_memalignhook): Likewise.
23087 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
23088 used and couldn't be at all thread-safe.
23090 2011-05-15 Ulrich Drepper <drepper@gmail.com>
23092 * libio/freopen.c (freopen): Don't close old file descriptor
23093 before the new one is opened. Instead dup the new file descriptor
23094 to the old one after the new stream is created.
23095 * libio/freopen64.c (freopen64): Likewise.
23096 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
23097 * libio/fileops.c (_IO_new_file_close_it): Handle new
23098 _IO_FLAGS2_NOCLOSE flag.
23099 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
23100 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
23101 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
23102 _IO_FLAGS2_NOCLOSE flag.
23103 * include/unistd.h: Add hidden_proto for dup3.
23104 Define __have_dup3.
23105 * io/dup3.c: Define hidden symbol.
23106 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
23109 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
23110 when an incomplete long option is used.
23111 * posix/tst-getopt_long1.c: New file.
23112 * posix/Makefile (tests): Add tst-getopt_long1.
23115 * scripts/config.guess: Update from autoconf-2.68.
23116 * scripts/config.sub: Likewise.
23119 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
23121 (has_cpuclock): ...this. New function.
23122 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
23123 macro here based on has_cpuclock code.
23126 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23127 First byte (not low byte) is now always NUL.
23128 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
23130 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23131 Use non-cancelable interfaces.
23134 * locale/iso-639.def: Add entry for Sorani.
23137 * include/stdlib.h: Move include protection to the right place.
23138 Define abort_msg_s. Declare __abort_msg with it.
23139 * stdlib/abort.c (__abort_msg): Adjust type.
23140 * assert/assert.c (__assert_fail_base): New function. Majority
23141 of code from __assert_fail. Allocate memory for __abort_msg with
23143 (__assert_fail): Now call __assert_fail_base.
23144 * assert/assert-perr.c: Remove bulk of implementation. Use
23145 __assert_fail_base.
23146 * include/assert.hL Declare __assert_fail_base.
23147 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
23149 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
23151 2011-05-14 Ulrich Drepper <drepper@gmail.com>
23155 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
23156 until all modules are registered in the DTV.
23157 * elf/Makefile: Add rules to build and run tst-tls19.
23158 * elf/tst-tls19.c: New file.
23159 * elf/tst-tls19mod1.c: New file.
23160 * elf/tst-tls19mod2.c: New file.
23161 * elf/tst-tls19mod3.c: New file.
23162 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
23165 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
23169 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
23170 two-byte sequence errors.
23171 * iconvdata/Makefile (tests): Add bug-iconv8.
23172 * iconvdata/bug-iconv8.c: New file.
23175 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
23178 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
23181 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
23182 (dummy_getcfa): New function.
23183 (init): Get _Unwind_GetCFA address, use dummy if not found.
23184 (backtrace_helper): In recursion check, also check whether CFA changes.
23185 (__backtrace): Completely initialize arg.
23187 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
23188 storing incomplete byte sequence in state object. Avoid testing for
23189 guaranteed too small input if we know there is enough data available.
23191 2011-05-11 Andreas Schwab <schwab@redhat.com>
23193 * Makeconfig (+link-pie): Indent.
23194 * Rules (binaries-pie): Define if $(have-fpie) and
23196 (binaries-shared): Also filter out $(binaries-pie).
23197 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
23198 * nscd/Makefile (others-pie): Add nscd.
23199 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
23200 ($(objpfx)nscd): Remove command override.
23201 * login/Makefile (others-pie): Add pt_chown.
23202 ($(objpfx)pt_chown): Remove command override.
23203 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
23204 remove command overrides.
23206 2011-05-13 Ulrich Drepper <drepper@gmail.com>
23208 * libio/tst_putwc.c: Fix error messages.
23211 * libio/fileops.c (_IO_new_file_close_it): Always flush when
23212 currently writing and seek to current position when not.
23213 * libio/Makefile (tests): Add bug-fclose1.
23214 * libio/bug-fclose1.c: New file.
23216 2011-05-12 Ulrich Drepper <drepper@gmail.com>
23219 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
23220 don't set DF_1_NODELETE here.
23221 (do_lookup_x): When entering new entry test for copy relocation
23222 and if necessary set DF_1_NODELETE flag.
23223 * elf/tst-unique4.cc: New file.
23224 * elf/tst-unique4.h: New file.
23225 * elf/tst-unique4lib.cc: New file.
23226 * elf/Makefile: Add rules to build and run tst-unique4.
23227 Patch by Piotr Bury <pbury@goahead.com>.
23229 2011-05-11 Ulrich Drepper <drepper@gmail.com>
23232 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
23235 * misc/mntent_r.c (addmntent): Flush the stream after the output
23238 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
23239 (is_trusted_path_normalize): Skip initial colon. Append slash
23240 to empty buffer. Duplicate is_trusted_path code but allow
23241 constructed patch to be prefix.
23242 (is_dst): Allow $ORIGIN followed by /.
23243 (_dl_dst_substitute): Correct clearing of check_for_trusted.
23244 Correct testing of result of is_trusted_path_normalize
23245 (decompose_rpath): Fix warning.
23247 2011-05-10 Ulrich Drepper <drepper@gmail.com>
23250 * grp/initgroups.c (internal_getgrouplist): When we found the service
23251 list through the initgroups entry in nsswitch.conf do not always
23252 continue on a successful lookup. Don't always use the
23253 __nss_group_database value if it is set.
23254 * nss/nsswitch.conf (initgroups): Change action for successful db
23255 lookup to continue for compatibility.
23257 2011-05-09 Ulrich Drepper <drepper@gmail.com>
23260 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
23262 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
23264 * iconvdata/tst-tables.sh: Likewise.
23265 * iconvdata/cp770.c: New file.
23266 * iconvdata/cp771.c: New file.
23267 * iconvdata/cp772.c: New file.
23268 * iconvdata/cp773.c: New file.
23269 * iconvdata/cp774.c: New file.
23270 * iconvdata/testdata/CP770: New file.
23271 * iconvdata/testdata/CP770..UTF8: New file.
23272 * iconvdata/testdata/CP771: New file.
23273 * iconvdata/testdata/CP771..UTF8: New file.
23274 * iconvdata/testdata/CP772: New file.
23275 * iconvdata/testdata/CP772..UTF8: New file.
23276 * iconvdata/testdata/CP773: New file.
23277 * iconvdata/testdata/CP773..UTF8: New file.
23278 * iconvdata/testdata/CP774: New file.
23279 * iconvdata/testdata/CP774..UTF8: New file.
23281 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
23283 * iconvdata/gen-8bit-gap.sh: Likewise.
23284 * iconvdata/gen-8bit.sh: Likewise.
23286 * locale/iso-639.def: Add ary entry.
23289 * locale/C-translit.h.in: Add U20A1 transliteration.
23292 * locale/iso-639.def: Add wae entry.
23293 Patch by Kevin Bortis <bortis@translate-wae.ch>.
23296 * locale/programs/localedef.c (construct_output_path): Use ssize_t
23300 * locale/C-translit.h.in: Add entry for U20B9.
23301 Patch by pravin.d.s@gmail.com.
23303 2011-05-08 Ulrich Drepper <drepper@gmail.com>
23306 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
23307 ENAMETOOLONG use generic getcwd.
23308 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
23309 in rtld. Use *stat64.
23310 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
23311 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
23312 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
23313 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
23314 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
23315 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
23316 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
23317 __fstatat64 macros.
23318 * include/dirent.h: Add libc_hidden_proto for rewinddir.
23319 * dirent/rewinddir.c: Add libc_hidden_def.
23320 * sysdeps/mach/hurd/rewinddir.c: Likewise.
23321 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
23323 * include/dirent.h (__alloc_dir): Add flags parameter.
23324 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
23325 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
23327 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
23328 from fdopendir if O_CLOEXEC is already set.
23330 2011-03-15 Alan Modra <amodra@gmail.com>
23332 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
23333 l_tls_firstbyte_offset non-zero. Save padding offset in
23334 l_tls_firstbyte_offset for later use.
23335 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
23336 freeing static tls block.
23338 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
23340 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
23341 where #ifdef was intended. The intent is to prevent ARG_MAX from
23342 being defined by the kernel headers.
23344 2011-05-07 Ulrich Drepper <drepper@gmail.com>
23347 * resolv/resolv.h: Define RES_NOTLDQUERY.
23348 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
23349 no-tld-query and set RES_NOTLDQUERY.
23350 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
23351 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
23352 modern BIND to search name as TLD unless forbidden.
23354 2011-05-07 Petr Baudis <pasky@suse.cz>
23355 Ulrich Drepper <drepper@gmail.com>
23358 * elf/dl-load.c (fillin_rpath): Move trusted path check...
23359 (is_trusted_path): ...to here.
23360 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
23361 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
23362 using is_trusted_path_normalize() in setuid scripts.
23364 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23366 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
23367 __BEGIN/__END_DECLS.
23369 2011-05-06 Ulrich Drepper <drepper@gmail.com>
23371 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
23372 NSS_STATUS_NOTFOUND if no record was found.
23374 2011-05-05 Andreas Schwab <schwab@redhat.com>
23376 * sunrpc/Makefile (headers): Add rpc/netdb.h.
23377 (headers-not-in-tirpc): Remove rpc/netdb.h
23378 * resolv/netdb.h: Revert last change.
23380 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23382 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
23383 circular dependency between libgcc.a and libc.a.
23385 2011-05-05 Andreas Schwab <schwab@redhat.com>
23387 * resolv/netdb.h: Don't include <rpc/netdb.h>.
23388 * nis/Makefile: Don't install rpcsvc/*.
23389 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
23390 instead of <rpc/types.h>.
23391 (MAXHOSTNAMELEN): Define.
23393 2011-05-03 Andreas Schwab <schwab@redhat.com>
23395 * elf/ldconfig.c (add_dir): Don't crash on empty path.
23397 2011-04-28 Maciej Babinski <mbabinski@google.com>
23400 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
23401 gethostbyname4_r when IPv6 results are possible.
23403 2011-05-02 Ulrich Drepper <drepper@gmail.com>
23406 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
23407 _PC_PIPE_BUF handling.
23409 2011-04-30 Bruno Haible <bruno@clisp.org>
23412 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
23413 * resolv/netdb.h (getnameinfo): Change type of flags parameter
23415 * inet/getnameinfo.c (getnameinfo): Likewise.
23417 2011-04-29 Ulrich Drepper <drepper@gmail.com>
23419 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
23420 to groups setting in database lookup.
23421 * nss/nsswitch.conf: Add initgroups entry.
23423 2011-04-22 Ulrich Drepper <drepper@gmail.com>
23426 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
23428 Patch by Eric Blake <eblake@redhat.com>.
23430 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
23432 * sunrpc/Makefile (need-export-routines): Add svc_run.
23433 (routines): Remove svc_run.
23434 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
23435 * sunrpc/clnt_perr.c (clnt_perrno): Export.
23436 * sunrpc/svc_run.c (svc_run): Likewise.
23437 * sunrpc/svc_udp.c (svcudp_create): Likewise.
23439 2011-04-21 Ulrich Drepper <drepper@gmail.com>
23441 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
23442 problem in reallocation in last patch.
23444 2011-04-20 Ulrich Drepper <drepper@gmail.com>
23446 * sunrpc/Makefile: Move inclusion of Rules.
23448 2011-04-19 Ulrich Drepper <drepper@gmail.com>
23450 * nss/nss_files/files-initgroups.c: New file.
23451 * nss/Makefile (libnss_files-routines): Add files-initgroups.
23452 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
23453 _nss_files_initgroups_dyn.
23455 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
23457 * elf/elf.h (R_ARM_IRELATIVE): Define.
23459 2011-04-19 Ulrich Drepper <drepper@gmail.com>
23461 * po/ru.po: Update from translation team.
23463 2011-04-17 Ulrich Drepper <drepper@gmail.com>
23465 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
23468 2011-02-06 Mike Frysinger <vapier@gentoo.org>
23471 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
23472 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
23473 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23474 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23475 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23477 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
23479 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
23481 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23482 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23483 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23485 2011-04-17 Ulrich Drepper <drepper@gmail.com>
23488 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
23490 * stdlib/bug-getcontext.c: New file.
23491 * stdlib/Makefile: Add rules to build and run bug-getcontext.
23493 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23495 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
23496 instructions into .machine "z9-109".
23497 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
23498 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
23500 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23502 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
23503 between environment variables and auxiliary vector.
23505 2011-04-16 Ulrich Drepper <drepper@gmail.com>
23507 * Makefile: Add rules to build linkobj/libc.so.
23508 * include/libc-symbols.h: Define libc_hidden_nolink.
23509 * include/rpc/auth.h: Mark functions which are to be hidden.
23510 * include/rpc/auth_des.h: Likewise.
23511 * include/rpc/auth_unix.h: Likewise.
23512 * include/rpc/clnt.h: Likewise.
23513 * include/rpc/des_crypt.h: Likewise.
23514 * include/rpc/key_prot.h: Likewise.
23515 * include/rpc/pmap_clnt.h: Likewise.
23516 * include/rpc/pmap_prot.h: Likewise.
23517 * include/rpc/pmap_rmt.h: Likewise.
23518 * include/rpc/rpc_msg.h: Likewise.
23519 * include/rpc/svc.h: Likewise.
23520 * include/rpc/svc_auth.h: Likewise.
23521 * include/rpc/xdr.h: Likewise.
23522 * nis/Makefile: Link all DSOs against linkobj/libc.so.
23523 * nss/Makefile: Likewise.
23524 * sunrpc/Makefile: Don't install headers. Build library with normal
23525 entry points. Don't build rpcinfo. Link RPC tests appropriately.
23526 * sunrpc/auth_des.c: Hide exported symbols by default, export some
23527 for the compat linking library. Remove use of INTDEF/INTUSE.
23528 * sunrpc/auth_none.c: Likewise.
23529 * sunrpc/auth_unix.c: Likewise.
23530 * sunrpc/authdes_prot.c: Likewise.
23531 * sunrpc/authuxprot.c: Likewise.
23532 * sunrpc/clnt_gen.c: Likewise.
23533 * sunrpc/clnt_perr.c: Likewise.
23534 * sunrpc/clnt_raw.c: Likewise.
23535 * sunrpc/clnt_simp.c: Likewise.
23536 * sunrpc/clnt_tcp.c: Likewise.
23537 * sunrpc/clnt_udp.c: Likewise.
23538 * sunrpc/clnt_unix.c: Likewise.
23539 * sunrpc/des_crypt.c: Likewise.
23540 * sunrpc/des_soft.c: Likewise.
23541 * sunrpc/get_myaddr.c: Likewise.
23542 * sunrpc/key_call.c: Likewise.
23543 * sunrpc/key_prot.c: Likewise.
23544 * sunrpc/netname.c: Likewise.
23545 * sunrpc/pm_getmaps.c: Likewise.
23546 * sunrpc/pm_getport.c: Likewise.
23547 * sunrpc/pmap_clnt.c: Likewise.
23548 * sunrpc/pmap_prot.c: Likewise.
23549 * sunrpc/pmap_prot2.c: Likewise.
23550 * sunrpc/pmap_rmt.c: Likewise.
23551 * sunrpc/publickey.c: Likewise.
23552 * sunrpc/rpc_cmsg.c: Likewise.
23553 * sunrpc/rpc_common.c: Likewise.
23554 * sunrpc/rpc_dtable.c: Likewise.
23555 * sunrpc/rpc_prot.c: Likewise.
23556 * sunrpc/rpc_thread.c: Likewise.
23557 * sunrpc/rtime.c: Likewise.
23558 * sunrpc/svc.c: Likewise.
23559 * sunrpc/svc_auth.c: Likewise.
23560 * sunrpc/svc_authux.c: Likewise.
23561 * sunrpc/svc_raw.c: Likewise.
23562 * sunrpc/svc_run.c: Likewise.
23563 * sunrpc/svc_simple.c: Likewise.
23564 * sunrpc/svc_tcp.c: Likewise.
23565 * sunrpc/svc_udp.c: Likewise.
23566 * sunrpc/svc_unix.c: Likewise.
23567 * sunrpc/svcauth_des.c: Likewise.
23568 * sunrpc/xcrypt.c: Likewise.
23569 * sunrpc/xdr.c: Likewise.
23570 * sunrpc/xdr_array.c: Likewise.
23571 * sunrpc/xdr_float.c: Likewise.
23572 * sunrpc/xdr_intXX_t.c: Likewise.
23573 * sunrpc/xdr_mem.c: Likewise.
23574 * sunrpc/xdr_rec.c: Likewise.
23575 * sunrpc/xdr_ref.c: Likewise.
23576 * sunrpc/xdr_sizeof.c: Likewise.
23577 * sunrpc/xdr_stdio.c: Likewise.
23579 2011-04-10 Ulrich Drepper <drepper@gmail.com>
23582 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
23583 * sysdeps/ia64/dl-tls.h: Likewise.
23584 * sysdeps/powerpc/dl-tls.h: Likewise.
23585 * sysdeps/s390/dl-tls.h: Likewise.
23586 * sysdeps/sh/dl-tls.h: Likewise.
23587 * sysdeps/sparc/dl-tls.h: Likewise.
23588 * sysdeps/x86_64/dl-tls.h: Likewise.
23589 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
23591 2011-03-14 Andreas Schwab <schwab@redhat.com>
23593 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
23594 rpath element also skip the following colon.
23595 (expand_dynamic_string_token): Add is_path parameter and pass
23596 down to DL_DST_REQUIRED and _dl_dst_substitute.
23597 (decompose_rpath): Call expand_dynamic_string_token with
23598 non-zero is_path. Ignore empty rpaths.
23599 (_dl_map_object_from_fd): Call expand_dynamic_string_token
23602 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
23604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23607 2011-04-09 Ulrich Drepper <drepper@gmail.com>
23610 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
23611 Patch by Filipe David Manana <fdmanana@apache.org>.
23613 2011-04-07 Andreas Schwab <schwab@redhat.com>
23615 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
23616 Maintain aligned stack.
23617 (CHECK_RSP): Remove unused macro.
23619 2011-04-03 Ulrich Drepper <drepper@gmail.com>
23621 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
23622 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
23624 2011-04-02 Ulrich Drepper <drepper@gmail.com>
23626 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
23628 * include/features.h: Mention __USE_XOPEN2K8 in comment.
23630 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
23633 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
23634 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
23635 * sysdeps/x86_64/memmove.c: New file.
23636 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
23637 (memcpy): Renamed to ...
23638 (__new_memcpy): This.
23639 (memcpy): Provide GLIBC_2_14 memcpy.
23640 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
23641 (memcpy): Provide GLIBC_2_2_5 memcpy.
23643 2011-04-01 Ulrich Drepper <drepper@gmail.com>
23646 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
23648 2011-03-30 Andreas Schwab <schwab@redhat.com>
23650 * misc/syncfs.c: New file.
23651 * misc/Makefile (routines): Add syncfs.
23652 * posix/unistd.h: Declare syncfs.
23653 * sysdeps/unix/syscalls.list: Add syncfs.
23655 2011-04-01 Andreas Schwab <schwab@redhat.com>
23657 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
23659 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23660 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23661 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23662 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23663 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23664 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
23665 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23667 2011-04-01 Ulrich Drepper <drepper@gmail.com>
23669 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
23670 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23671 * sysdeps/unix/sysv/linux/powerpc/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/x86_64/bits/fcntl.h: Likewise.
23677 * io/Makefile: Compile fallocate.c, fallocate64.c, and
23678 sync_file_range.c with -fexceptions.
23679 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
23680 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
23681 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
23682 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
23683 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
23684 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23685 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
23686 sync_file_range as cancellation point
23687 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
23688 now a wrapper around __call_sync_file_range with cancellation handling.
23689 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
23690 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
23691 function name to __call_sync_file_range.
23692 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
23693 Add call_sync_file_range.
23695 2011-04-01 Andreas Schwab <schwab@redhat.com>
23697 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23700 2011-04-01 Ulrich Drepper <drepper@gmail.com>
23702 * iconv/iconv.h: Fix typo in comment.
23703 * io/fcntl.h: Likewise.
23704 * libio/stdio.h: Likewise.
23705 * posix/spawn.h: Likewise.
23706 * posix/unistd.h: Likewise.
23707 * stdlib/stdlib.h: Likewise.
23708 * time/time.h: Likewise.
23709 * wcsmbs/wchar.h: Likewise.
23711 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
23712 open_by_handle): Add.
23713 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
23714 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
23715 Augment a few comments.
23716 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23717 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23718 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23719 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23720 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23721 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
23724 * io/fcntl.h (AT_EMPTY_PATH): Define.
23726 2011-03-30 Ulrich Drepper <drepper@gmail.com>
23728 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
23729 * sysdeps/unix/sysv/linux/bits/time.h: New file.
23730 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
23732 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
23733 * Versions.def: Add GLIBC_2.14.
23734 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
23737 2011-03-22 Ulrich Drepper <drepper@gmail.com>
23739 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
23741 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23743 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
23746 * string/test-strncmp.c (do_page_test): New function.
23747 (check2): Likewise.
23748 (test_main): Call check2.
23749 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
23751 2011-03-20 Ulrich Drepper <drepper@gmail.com>
23754 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
23755 Handle cache information in CPU leaf 4.
23756 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23758 2011-03-18 Ulrich Drepper <drepper@gmail.com>
23761 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
23762 character representation.
23763 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
23765 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
23767 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
23768 END(__isnan) to END(__isnanf) to match function entry point/label
23769 EALIGN(__isnanf,...).
23771 2011-03-10 Jakub Jelinek <jakub@redhat.com>
23773 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
23775 2011-03-10 Ulrich Drepper <drepper@gmail.com>
23778 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
23779 copy from the symbol referenced in the relocation to initialize the
23781 Patch by Piotr Bury <pbury@goahead.com>.
23782 * elf/Makefile: Add rules to build and tst-unique3.
23783 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
23784 * elf/tst-unique3.cc: New file.
23785 * elf/tst-unique3.h: New file.
23786 * elf/tst-unique3lib.cc: New file.
23787 * elf/tst-unique3lib2.cc: New file.
23789 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
23791 2011-03-10 Mike Frysinger <vapier@gentoo.org>
23793 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
23794 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
23797 2011-03-06 Ulrich Drepper <drepper@gmail.com>
23799 * elf/dl-load.c (_dl_map_object): If we are looking for the first
23800 to-be-loaded object along a path to loader is ld.so.
23802 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23803 Ulrich Drepper <drepper@gmail.com>
23805 * sysdeps/x86_64/memset.S: After aligning destination, code
23806 branches to different locations depending on the value of
23807 misalignment, when multiarch is enabled. Fix this.
23809 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23811 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
23812 Set _x86_64_preferred_memory_instruction for AMD processsors.
23813 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23814 Set bit_Prefer_SSE_for_memop for AMD processors.
23816 2011-03-04 Ulrich Drepper <drepper@gmail.com>
23818 * libio/fmemopen.c (fmemopen): Optimize a bit.
23820 2011-03-03 Andreas Schwab <schwab@redhat.com>
23822 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
23824 2011-03-03 Roland McGrath <roland@redhat.com>
23826 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
23828 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
23830 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
23831 __bzero_ultra1 instead of __memset_ultra1.
23833 2011-02-23 Andreas Schwab <schwab@redhat.com>
23834 Ulrich Drepper <drepper@gmail.com>
23837 * include/link.h (struct link_map): Add l_orig_initfini.
23838 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
23839 returning unsuccessfully.
23840 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
23841 close of a file loaded at startup, restore the original l_initfini
23843 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
23844 list, store the pointer.
23845 * elf/Makefile ($(objpfx)noload-mem): New rule.
23846 (noload-ENV): Define.
23847 (tests): Add $(objpfx)noload-mem.
23848 * elf/noload.c: Include <memcheck.h>.
23849 (main): Call mtrace. Close all opened handles.
23851 2011-02-17 Andreas Schwab <schwab@redhat.com>
23854 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
23855 dependencies are missing.
23857 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
23859 Fix __if_freereq crash: Unlike the generic version which uses free,
23861 * sysdeps/mach/hurd/ifreq.h: New file.
23863 2011-01-27 Petr Baudis <pasky@suse.cz>
23864 Ulrich Drepper <drepper@gmail.com>
23867 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
23868 to extend_alloca().
23869 * stdio-common/bug23.c: New file.
23870 * stdio-common/Makefile (tests): Add bug23.
23872 2010-09-28 Andreas Schwab <schwab@redhat.com>
23873 Ulrich Drepper <drepper@gmail.com>
23876 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
23877 before performing relro protection. At old place add assertion
23878 to make sure nothing changed.
23880 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
23881 Glauber de Oliveira Costa <glommer@gmail.com>
23883 * elf/elf.h: Add new ARM TLS relocs.
23885 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
23887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
23888 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
23890 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
23892 * sysdeps/wordsize-64/tst-writev.c: New file.
23894 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
23896 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
23897 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
23898 insns in _dl_start to prevent a TOC reference before relocs are
23901 2011-02-15 Ulrich Drepper <drepper@gmail.com>
23904 * Makeconfig: Remove RANLIB definition.
23905 * Makerules: Don't use RANLIB.
23906 * aclocal.m4: Remove ranlib test.
23907 * configure.in: No need to check for ranlib.
23908 * elf/rtld-Rules: Don't use RANLIB.
23910 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23912 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
23914 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
23915 inclusion protection macro.
23917 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
23918 SIGRTMIN and SIGRTMAX and print information in that case only when
23919 SIGRTMIN is defined.
23921 2011-02-11 Jakub Jelinek <jakub@redhat.com>
23923 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
23924 arginfo fn returning -1.
23926 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
23927 and thousands string is zero terminated.
23929 2011-02-03 Andreas Schwab <schwab@redhat.com>
23931 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
23932 sysdeps/unix/sysv/linux/bits/socket.h.
23934 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
23936 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
23937 (__CPU_COUNT): Remove old macros.
23938 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
23939 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
23940 (__CPU_ALLOC, __CPU_FREE): Add macros.
23941 (__sched_cpualloc, __sched_cpufree): Add declarations.
23943 2011-02-05 Ulrich Drepper <drepper@gmail.com>
23945 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
23946 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
23947 * nscd/aicache.c (addhstaiX): Return timeout of added value.
23948 (readdhstai): Return value of addhstaiX call.
23949 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
23950 (addgrbyX): Return value returned by cache_addgr.
23951 (readdgrbyname): Return value returned by addgrbyX.
23952 (readdgrbygid): Likewise.
23953 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
23954 (addpwbyX): Return value returned by cache_addpw.
23955 (readdpwbyname): Return value returned by addhstbyX.
23956 (readdpwbyuid): Likewise.
23957 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
23958 (addservbyX): Return value returned by cache_addserv.
23959 (readdservbyname): Return value returned by addservbyX:
23960 (readdservbyport): Likewise.
23961 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
23962 (addhstbyX): Return value returned by cache_addhst.
23963 (readdhstbyname): Return value returned by addhstbyX.
23964 (readdhstbyaddr): Likewise.
23965 (readdhstbynamev6): Likewise.
23966 (readdhstbyaddrv6): Likewise.
23967 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
23968 (readdinitgroups): Return value returned by addinitgroupsX.
23969 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
23970 (prune_cache): Keep track of timeout value of re-added entries.
23971 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
23972 * nscd/nscd.h: Adjust prototypes of readd* functions.
23974 2011-02-04 Roland McGrath <roland@redhat.com>
23976 * nis/nis_server.c (nis_servstate): Use the right name for 0.
23977 (nis_stats): Likewise.
23978 * nis/nis_modify.c (nis_modify): Likewise.
23979 * nis/nis_remove.c (nis_remove): Likewise.
23980 * nis/nis_add.c (nis_add): Likewise.
23982 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
23984 * posix/fnmatch_loop.c: Add some consts.
23986 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
23988 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
23991 * config.make.in (config-cflags-novzeroupper): Define.
23992 * configure.in: Substitute libc_cv_cc_novzeroupper.
23993 * elf/Makefile (AVX-CFLAGS): Define.
23994 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
23995 (CFLAGS-tst-auditmod4a.c): Likewise.
23996 (CFLAGS-tst-auditmod4b.c): Likewise.
23997 (CFLAGS-tst-auditmod6b.c): Likewise.
23998 (CFLAGS-tst-auditmod6c.c): Likewise.
23999 (CFLAGS-tst-auditmod7b.c): Likewise.
24000 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
24002 2011-02-02 Ulrich Drepper <drepper@gmail.com>
24004 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
24005 function to the callback.
24006 Patch partly by Jiri Olsa <jolsa@redhat.com>.
24008 2011-02-02 Andreas Schwab <schwab@redhat.com>
24010 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
24013 2011-01-19 Ulrich Drepper <drepper@gmail.com>
24016 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
24018 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
24020 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
24023 * elf/Makefile: Add rules to build and run new test.
24024 * elf/tst-initorder.c: New file.
24025 * elf/tst-initorder.exp: New file.
24026 * elf/tst-initordera1.c: New file.
24027 * elf/tst-initordera2.c: New file.
24028 * elf/tst-initordera3.c: New file.
24029 * elf/tst-initordera4.c: New file.
24030 * elf/tst-initorderb1.c: New file.
24031 * elf/tst-initorderb2.c: New file.
24032 * elf/tst-order-a1.c: New file.
24033 * elf/tst-order-a2.c: New file.
24034 * elf/tst-order-a3.c: New file.
24035 * elf/tst-order-a4.c: New file.
24036 * elf/tst-order-b1.c: New file.
24037 * elf/tst-order-b2.c: New file.
24038 * elf/tst-order-main.c: New file.
24039 New test case by George Gensure <werkt0@gmail.com>.
24041 2010-10-01 Andreas Schwab <schwab@redhat.com>
24043 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24044 decoding ACE if AI_CANONIDN.
24046 2011-01-18 Ulrich Drepper <drepper@gmail.com>
24048 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
24050 2011-01-17 Ulrich Drepper <drepper@gmail.com>
24052 * version.h (RELEASE): Bump for 2.13 release.
24053 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
24055 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
24057 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
24059 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
24060 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24061 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24062 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24063 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24064 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24066 * posix/getconf.c: Update copyright year.
24067 * catgets/gencat.c: Likewise.
24068 * csu/version.c: Likewise.
24069 * debug/catchsegv.sh: Likewise.
24070 * debug/xtrace.sh: Likewise.
24071 * elf/ldconfig.c: Likewise.
24072 * elf/ldd.bash.in: Likewise.
24073 * elf/sprof.c (print_version): Likewise.
24074 * iconv/iconv_prog.c: Likewise.
24075 * iconv/iconvconfig.c: Likewise.
24076 * locale/programs/locale.c: Likewise.
24077 * locale/programs/localedef.c: Likewise.
24078 * malloc/memusage.sh: Likewise.
24079 * malloc/mtrace.pl: Likewise.
24080 * nscd/nscd.c (print_version): Likewise.
24081 * nss/getent.c: Likewise.
24083 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
24084 PF_CAIF, and PF_ALG.
24085 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24087 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
24089 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
24090 (modules-names): Use them.
24091 (ifunc-test-modules, ifunc-pie-tests): Define.
24092 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
24093 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
24094 (test-extras): Likewise.
24095 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
24096 $(compile-command.c).
24097 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
24098 (all-built-dso): Define.
24099 (check-textrel.out, check-execstack.out): Depend on it.
24101 * configure.in: Don't override --enable-multi-arch.
24103 2011-01-15 Ulrich Drepper <drepper@gmail.com>
24106 * nscd/hstcache.c (tryagain): Define.
24107 (cache_addhst): Return tryagain not notfound for temporary errors.
24108 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
24111 2011-01-14 Ulrich Drepper <drepper@gmail.com>
24114 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
24115 to make the syscall.
24116 * sysdeps/unix/sysv/linux/setgroups.c: New file.
24119 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
24120 and fall back to matching as normal character if the string ends before
24121 the matching ']' is found. This is what POSIX requires.
24122 * posix/testfnm.c: Adjust test result.
24123 * posix/globtest.sh: Adjust test result. Add new test.
24124 * posix/tst-fnmatch.input: Likewise.
24125 * posix/tst-fnmatch2.c: Add new test.
24127 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
24129 * elf/Makefile (check-execstack): Revert last change. Depend on
24131 (check-execstack.h): New target.
24132 (generated): Add check-execstack.h.
24133 * elf/check-execstack.c: Include "check-execstack.h".
24134 (main): Revert last change.
24135 (handle_file): Return zero if GNU_STACK is absent and
24136 DEFAULT_STACK_PERMS doesn't include PF_X.
24138 2011-01-13 Ulrich Drepper <drepper@gmail.com>
24140 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
24141 in child fails because the descriptor is already closed.
24142 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
24143 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
24144 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
24147 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
24151 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
24152 temporary buffer used to handle multi lookups locally.
24153 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
24155 2011-01-12 Ulrich Drepper <drepper@gmail.com>
24157 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
24160 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
24162 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
24163 alignment for SSE2.
24165 2011-01-12 Ulrich Drepper <drepper@gmail.com>
24168 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
24169 characters. When rounding increased number of integer digits recompute
24171 * stdio-common/tst-grouping.c: New file.
24172 * stdio-common/Makefile: Add rules to build and run tst-grouping.
24174 2011-01-09 Ulrich Drepper <drepper@gmail.com>
24176 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
24177 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
24179 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
24181 * bits/select.h: Likewise.
24183 2011-01-08 Ulrich Drepper <drepper@gmail.com>
24185 * po/ja.po: Update from translation team.
24187 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
24190 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
24191 implementation just like for lxstat, fxstatat, et al.
24193 2010-12-27 Jim Meyering <meyering@redhat.com>
24196 * posix/regexec.c (build_trtable): Return failure indication upon
24197 calloc failure. Otherwise, re_search_internal could infloop on OOM.
24199 2010-12-25 Ulrich Drepper <drepper@gmail.com>
24202 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
24203 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
24204 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
24205 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
24208 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
24211 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
24212 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
24214 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
24216 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
24217 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
24218 script has SORT_BY_INIT_PRIORITY.
24219 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
24220 NO_CTORS_DTORS_SECTIONS is defined.
24221 * elf/soinit.c: Likewise.
24222 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
24223 NO_CTORS_DTORS_SECTIONS is defined.
24224 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
24225 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
24226 * sysdeps/sh/init-first.c: Likewise.
24227 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
24229 2010-12-24 Ulrich Drepper <drepper@gmail.com>
24231 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
24232 always use the slow path.
24234 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
24236 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
24237 similar rule which adds the sysdep directories to the header search in
24238 order to pick up the correct platform stackinfo.h.
24239 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
24240 perform test if it is, otherwise return successfully without testing.
24241 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
24242 DEFAULT_STACK_PERMS define in stackinfo.h.
24243 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
24244 defined in stackinfo.h.
24245 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
24246 DEFAULT_STACK_PERMS defined in stackinfo.h.
24247 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
24248 * sysdeps/ia64/stackinfo.h: Likewise.
24249 * sysdeps/s390/stackinfo.h: Likewise.
24250 * sysdeps/sh/stackinfo.h: Likewise.
24251 * sysdeps/sparc/stackinfo.h: Likewise.
24252 * sysdeps/x86_64/stackinfo.h: Likewise.
24253 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
24254 PF_X for powerpc64. Retain PF_X for powerpc32.
24256 2010-12-19 Ulrich Drepper <drepper@gmail.com>
24258 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
24260 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
24261 GETDENTS_64BIT_ALIGNED.
24263 2010-12-14 Ulrich Drepper <dreper@gmail.com>
24265 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
24267 2010-12-10 Andreas Schwab <schwab@redhat.com>
24269 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
24272 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
24273 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
24275 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
24276 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
24278 2010-12-09 Ulrich Drepper <drepper@gmail.com>
24281 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
24284 2010-12-09 Jakub Jelinek <jakub@redhat.com>
24286 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
24288 2010-12-03 Ulrich Drepper <drepper@gmail.com>
24290 * po/it.po: Update from translation team.
24292 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
24294 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
24297 2010-11-30 Ulrich Drepper <drepper@gmail.com>
24299 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
24301 2010-11-24 Andreas Schwab <schwab@redhat.com>
24303 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
24305 (gaih_getanswer_slice): Likewise.
24307 2010-10-20 Jakub Jelinek <jakub@redhat.com>
24309 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
24311 2010-05-31 Petr Baudis <pasky@suse.cz>
24314 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
24315 silently even in the chroot mode.
24317 2010-11-22 Ulrich Drepper <drepper@gmail.com>
24319 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
24320 last patch a bit. Pretty printing
24322 2010-05-31 Petr Baudis <pasky@suse.cz>
24325 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
24326 initialization of skip_initgroups_dyn.
24328 2010-11-19 Ulrich Drepper <drepper@gmail.com>
24330 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
24331 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24333 2010-11-16 Ulrich Drepper <drepper@gmail.com>
24335 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
24337 2010-11-11 Andreas Schwab <schwab@redhat.com>
24339 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
24340 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
24341 (tst-fnmatch-ENV): Set MALLOC_TRACE.
24342 ($(objpfx)tst-fnmatch-mem): New rule.
24343 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
24344 * posix/tst-fnmatch.c (main): Call mtrace.
24346 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
24348 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24349 Support Intel processor model 6 and model 0x2c.
24351 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
24353 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
24356 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
24359 * string/test-strncasecmp.c (check_result): New function.
24360 (do_one_test): Use it.
24361 (check1): New function.
24362 (test_main): Use it.
24363 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
24364 Support strcasecmp and strncasecmp.
24366 2010-11-08 Ulrich Drepper <drepper@gmail.com>
24369 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
24370 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24372 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
24374 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
24376 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24378 * sysdeps/x86_64/multiarch/bzero.S: New file.
24379 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
24380 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
24381 * sysdeps/x86_64/multiarch/memset.S: New file.
24382 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
24383 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24384 Set bit_Prefer_SSE_for_memop for Intel processors.
24385 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
24387 (index_Prefer_SSE_for_memop): Define.
24388 (HAS_PREFER_SSE_FOR_MEMOP): Define.
24390 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
24392 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
24393 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
24395 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
24398 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
24399 (__x86_64_raw_data_cache_size_half): Likewise.
24400 (__x86_64_raw_shared_cache_size): Likewise.
24401 (__x86_64_raw_shared_cache_size_half): Likewise.
24403 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
24404 (__x86_64_raw_data_cache_size_half): Likewise.
24405 (__x86_64_raw_shared_cache_size): Likewise.
24406 (__x86_64_raw_shared_cache_size_half): Likewise.
24407 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
24408 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
24409 and __x86_64_raw_shared_cache_size_half. Round
24410 __x86_64_data_cache_size_half, __x86_64_data_cache_size
24411 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
24412 to multiple of 256 bytes.
24414 2010-11-03 Ulrich Drepper <drepper@gmail.com>
24417 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
24418 of inacessible symlinks. Verify result of symlink before returning it.
24419 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24420 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
24422 2010-10-28 Erich Ritz <erichritz@gmail.com>
24424 * math/math.h (isinf): Fix typo in comment.
24426 2010-11-01 Ulrich Drepper <drepper@gmail.com>
24428 * po/da.po: Update from translation team.
24430 2010-10-26 Ulrich Drepper <drepper@gmail.com>
24432 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
24433 is added to the list.
24435 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24436 Ulrich Drepper <drepper@gmail.com>
24438 * elf/dl-object.c (_dl_new_object): Don't append the new object to
24439 the global list here. Move code to...
24440 (_dl_add_to_namespace_list): ...here. New function.
24441 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
24442 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
24443 * elf/dl-load.c (lose): Don't remove the element from the list.
24444 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
24445 (_dl_map_object): Likewise.
24447 2010-10-25 Ulrich Drepper <drepper@gmail.com>
24450 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
24451 into all bytes of SSE register.
24452 Patch by Richard Li <richardpku@gmail.com>.
24454 2010-10-24 Ulrich Drepper <drepper@gmail.com>
24457 * malloc/malloc.c (_int_free): Fill correct number of bytes when
24460 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
24462 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
24463 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
24464 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
24465 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
24468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
24470 2010-10-22 Andreas Schwab <schwab@redhat.com>
24472 * include/dlfcn.h (__RTLD_SECURE): Define.
24473 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
24474 mode & __RTLD_SECURE instead.
24475 (open_path): Rename preloaded parameter to secure.
24476 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
24477 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
24478 * elf/dl-deps.c (openaux): Likewise.
24479 * elf/rtld.c (struct map_args): Remove is_preloaded.
24480 (map_doit): Don't use it.
24481 (dl_main): Likewise.
24482 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
24483 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
24485 2010-09-09 Andreas Schwab <schwab@redhat.com>
24487 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
24488 (sysd-rules-targets): Remove duplicates.
24489 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
24490 rtld-%.$o dependency.
24492 2010-10-18 Andreas Schwab <schwab@redhat.com>
24494 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
24495 _dl_map_object do it.
24497 2010-10-19 Ulrich Drepper <drepper@gmail.com>
24499 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
24500 fast fma builtins, define the macros in the C99 standard.
24501 (FP_FAST_FMAF): Likewise.
24502 (FP_FAST_FMAL): Likewise.
24503 * sysdeps/x86_64/bits/mathdef.h: Likewise.
24505 * bits/mathdef.h: Update copyright year.
24506 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24508 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
24510 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
24511 builtins, define the macros in the C99 standard.
24512 (FP_FAST_FMAF): Likewise.
24513 (FP_FAST_FMAL): Likewise.
24514 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
24516 (FP_FAST_FMAF): Likewise.
24518 2010-10-15 Jakub Jelinek <jakub@redhat.com>
24521 * math/libm-test.inc (fma_test): Some new testcases.
24522 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
24523 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
24524 y and infinite z. Do multiplication by C already in long double.
24525 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
24526 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
24527 y and infinite z. Do bitwise or of inexact bit into u.d.
24528 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
24529 * sysdeps/i386/fpu/s_fmaf.S: Removed.
24530 * sysdeps/i386/fpu/s_fma.S: Removed.
24531 * sysdeps/i386/fpu/s_fmal.S: Removed.
24533 2010-10-16 Jakub Jelinek <jakub@redhat.com>
24536 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
24537 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
24538 computation is not scheduled after fetestexcept. Fix value
24539 of minimum denormal long double.
24541 2010-10-14 Jakub Jelinek <jakub@redhat.com>
24544 * math/libm-test.inc (fma_test): Add some more tests.
24545 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
24548 2010-10-15 Andreas Schwab <schwab@redhat.com>
24550 * scripts/data/localplt-s390-linux-gnu.data: New file.
24551 * scripts/data/localplt-s390x-linux-gnu.data: New file.
24553 2010-10-13 Jakub Jelinek <jakub@redhat.com>
24556 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
24557 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
24559 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
24561 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
24562 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
24563 if one of x and y is very large and the other is subnormal.
24564 * sysdeps/s390/fpu/s_fmaf.c: New file.
24565 * sysdeps/s390/fpu/s_fma.c: New file.
24566 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
24567 * sysdeps/powerpc/fpu/s_fma.S: New file.
24568 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
24569 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
24570 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
24572 2010-10-12 Jakub Jelinek <jakub@redhat.com>
24575 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
24577 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
24578 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
24579 * sysdeps/i386/i686/multiarch/s_fma.c: Include
24580 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
24581 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
24582 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
24583 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
24585 2010-10-12 Ulrich Drepper <drepper@redhat.com>
24588 * posix/regcomp.c (parse_branch): One more memory leak plugged.
24589 * posix/bug-regex31.input: Add test case.
24591 2010-10-11 Ulrich Drepper <drepper@gmail.com>
24593 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
24594 * posix/bug-regex31.input: New file.
24597 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
24598 (parse_sub_exp): Fix last change, use postorder.
24600 * posix/bug-regex31.c: New file.
24601 * posix/Makefile: Add rules to build and run bug-regex31.
24603 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
24606 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
24609 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
24610 to have entries in sys_siglist.
24613 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
24616 2010-10-07 Jakub Jelinek <jakub@redhat.com>
24619 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
24620 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
24621 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
24622 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
24623 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
24624 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
24625 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
24626 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
24627 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
24628 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
24629 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
24630 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
24631 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24632 * math/ftestexcept.c (fetestexcept): Likewise.
24633 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
24634 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
24635 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
24636 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
24637 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
24638 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
24639 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24641 2010-10-11 Ulrich Drepper <drepper@gmail.com>
24644 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
24647 2010-10-06 Ulrich Drepper <drepper@gmail.com>
24649 * string/bug-strstr1.c: New file.
24650 * string/Makefile: Add rules to build and run bug-strstr1.
24652 2010-10-05 Eric Blake <eblake@redhat.com>
24655 * string/str-two-way.h (two_way_long_needle): Always clear memory
24656 when skipping input due to the shift table.
24658 2010-10-03 Ulrich Drepper <drepper@gmail.com>
24661 * malloc/mcheck.c: Handle large requests.
24664 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
24665 for strncmp and strncasecmp.
24666 * string/stratcliff.c: Add tests for strcmp and strncmp.
24667 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
24669 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24671 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
24674 2010-09-30 Andreas Jaeger <aj@suse.de>
24676 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
24677 (CGROUP_SUPER_MAGIC): Define.
24678 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24679 Handle btrfs and cgroup file systems.
24680 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24683 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
24685 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
24686 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
24688 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24691 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
24692 trying to locate the ELF header.
24694 2010-09-27 Andreas Schwab <schwab@redhat.com>
24697 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
24698 Mask out sign-bit copies when constructing f_fsid.
24700 2010-09-24 Petr Baudis <pasky@suse.cz>
24702 * debug/stack_chk_fail_local.c: Add missing licence exception.
24703 * debug/warning-nop.c: Likewise.
24705 2010-09-15 Joseph Myers <joseph@codesourcery.com>
24707 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
24708 implementing getdents64 using getdents syscall, set d_type if
24709 __ASSUME_GETDENTS32_D_TYPE.
24711 2010-09-16 Andreas Schwab <schwab@redhat.com>
24713 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
24714 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
24716 2010-09-21 Ulrich Drepper <drepper@redhat.com>
24719 * posix/unistd.h: Undo change of feature selection for ftruncate from
24722 2010-09-20 Ulrich Drepper <drepper@redhat.com>
24724 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
24727 2010-09-20 Andreas Schwab <schwab@redhat.com>
24729 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
24731 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24733 2010-09-14 Andreas Schwab <schwab@redhat.com>
24735 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
24736 variables after CHECK_SP call.
24737 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
24739 2010-09-13 Andreas Schwab <schwab@redhat.com>
24740 Ulrich Drepper <drepper@redhat.com>
24742 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
24743 re-relocationg ld.so.
24744 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
24745 _dl_init_paths call.
24746 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
24749 2010-09-14 Ulrich Drepper <drepper@redhat.com>
24751 * resolv/res_init.c (__res_vinit): Count the default server we added.
24753 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
24754 Ulrich Drepper <drepper@redhat.com>
24757 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24758 (____longjmp_chk): Use %ebx for saving value across system call.
24761 2010-09-06 Andreas Schwab <schwab@redhat.com>
24763 * manual/Makefile: Don't mix pattern rules with normal rules.
24765 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
24767 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
24769 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
24770 * libio/iofopncook.c (_IO_cookie_init): Likewise.
24771 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
24772 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24773 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24776 2010-09-04 Ulrich Drepper <drepper@redhat.com>
24779 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
24780 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
24782 2010-09-02 Ulrich Drepper <drepper@redhat.com>
24784 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
24785 * sysdeps/x86_64/addmul_1.S: Likewise.
24786 * sysdeps/x86_64/lshift.S: Likewise.
24787 * sysdeps/x86_64/mul_1.S: Likewise.
24788 * sysdeps/x86_64/rshift.S: Likewise.
24789 * sysdeps/x86_64/sub_n.S: Likewise.
24790 * sysdeps/x86_64/submul_1.S: Likewise.
24792 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
24794 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
24795 Define __sched_param instead of SCHED_* and sched_param when
24796 <bits/sched.h> is included with __need_schedparam defined.
24797 * bits/sched.h [__need_schedparam]
24798 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
24799 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
24800 (__defined_schedparam): Define to 1.
24801 (__sched_param): New structure, identical to sched_param.
24802 (__need_schedparam): Undefine.
24804 2010-08-31 Mike Frysinger <vapier@gentoo.org>
24806 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
24807 (epoll_create1): Declare.
24809 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
24811 2010-08-31 Andreas Schwab <schwab@redhat.com>
24814 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
24815 shifting retval into place.
24817 2010-09-01 Ulrich Drepper <drepper@redhat.com>
24819 * nis/rpcsvc/nis.h: Update copyright notice.
24820 * nis/rpcsvc/nis.x: Likewise.
24821 * nis/rpcsvc/nis_callback.h: Likewise.
24822 * nis/rpcsvc/nis_callback.x: Likewise.
24823 * nis/rpcsvc/nis_object.x: Likewise.
24824 * nis/rpcsvc/nis_tags.h: Likewise.
24825 * nis/rpcsvc/yp.h: Likewise.
24826 * nis/rpcsvc/yp.x: Likewise.
24827 * nis/rpcsvc/ypupd.h: Likewise.
24828 * nis/yp_xdr.c: Likewise.
24829 * nis/ypupdate_xdr.c: Likewise.
24831 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
24832 mainly the body of pmap_getport. Add parameters to specify timeouts.
24833 (pmap_getport): Use __libc_rpc_getport.
24834 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
24835 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
24836 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
24838 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
24840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
24843 2010-08-27 Roland McGrath <roland@redhat.com>
24845 * sysdeps/i386/i686/multiarch/Makefile
24846 (CFLAGS-varshift.c): New variable.
24848 2010-08-27 Ulrich Drepper <drepper@redhat.com>
24850 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
24851 * sysdeps/i386/i686/multiarch/varshift.c: New file.
24853 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
24855 * sysdeps/x86_64/strlen.S: Minimal code improvement.
24857 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
24859 * sysdeps/x86_64/strlen.S: Unroll the loop.
24860 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24861 strlen-sse2 strlen-sse2-bsf.
24862 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
24863 __strlen_no_bsf if bit_Slow_BSF is set.
24864 (__strlen_sse42): Removed.
24865 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
24866 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
24868 2010-08-25 Roland McGrath <roland@redhat.com>
24870 * sysdeps/x86_64/multiarch/varshift.S: File removed.
24871 * sysdeps/x86_64/multiarch/varshift.c: New file.
24872 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
24873 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
24874 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
24875 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24877 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
24879 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24880 strlen-sse2 strlen-sse2-bsf.
24881 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
24882 __strlen_sse2_bsf if bit_Slow_BSF is unset.
24883 (__strlen_sse2): Removed.
24884 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
24885 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
24886 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24887 bit_Slow_BSF for Atom.
24888 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
24889 (index_Slow_BSF): Define.
24890 (HAS_SLOW_BSF): Define.
24892 2010-08-25 Ulrich Drepper <drepper@redhat.com>
24895 * resolv/res_init.c (__res_vinit): When no server address at all
24896 is given default to loopback.
24898 2010-08-24 Roland McGrath <roland@redhat.com>
24900 * configure.in: Remove config-name.h generation.
24901 * configure: Regenerated.
24902 * config-name.in: File removed.
24903 * scripts/config-uname.sh: New file.
24904 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
24905 ($(objdir)config-name.h): New target.
24907 * sunrpc/rpc_parse.h: Avoid nested comment.
24909 2010-08-24 Richard Henderson <rth@redhat.com>
24910 Ulrich Drepper <drepper@redhat.com>
24911 H.J. Lu <hongjiu.lu@intel.com>
24913 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
24914 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
24915 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
24916 Replace _mm_srli_si128 with __m128i_shift_right. Replace
24917 _mm_alignr_epi8 with _mm_loadu_si128.
24918 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
24919 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
24920 (__m128i_shift_right): Removed.
24921 * sysdeps/i386/i686/multiarch/varshift.h: New file.
24922 * sysdeps/i386/i686/multiarch/varshift.S: New file.
24923 * sysdeps/x86_64/multiarch/varshift.h: New file.
24924 * sysdeps/x86_64/multiarch/varshift.S: New file.
24926 2010-08-21 Mike Frysinger <vapier@gentoo.org>
24928 * configure.in: Move assembler checks to before sysdep dir checking.
24930 2010-08-20 Petr Baudis <pasky@suse.cz>
24932 * LICENSES: Sync the sunrpc license.
24934 2010-08-19 Ulrich Drepper <drepper@redhat.com>
24936 * sunrpc/auth_des.c: Update copyright notice once again.
24937 * sunrpc/auth_none.c: Likewise.
24938 * sunrpc/auth_unix.c: Likewise.
24939 * sunrpc/authdes_prot.c: Likewise.
24940 * sunrpc/authuxprot.c: Likewise.
24941 * sunrpc/bindrsvprt.c: Likewise.
24942 * sunrpc/clnt_gen.c: Likewise.
24943 * sunrpc/clnt_perr.c: Likewise.
24944 * sunrpc/clnt_raw.c: Likewise.
24945 * sunrpc/clnt_simp.c: Likewise.
24946 * sunrpc/clnt_tcp.c: Likewise.
24947 * sunrpc/clnt_udp.c: Likewise.
24948 * sunrpc/clnt_unix.c: Likewise.
24949 * sunrpc/des_crypt.c: Likewise.
24950 * sunrpc/des_soft.c: Likewise.
24951 * sunrpc/get_myaddr.c: Likewise.
24952 * sunrpc/getrpcport.c: Likewise.
24953 * sunrpc/key_call.c: Likewise.
24954 * sunrpc/key_prot.c: Likewise.
24955 * sunrpc/openchild.c: Likewise.
24956 * sunrpc/pm_getmaps.c: Likewise.
24957 * sunrpc/pm_getport.c: Likewise.
24958 * sunrpc/pmap_clnt.c: Likewise.
24959 * sunrpc/pmap_prot.c: Likewise.
24960 * sunrpc/pmap_prot2.c: Likewise.
24961 * sunrpc/pmap_rmt.c: Likewise.
24962 * sunrpc/rpc/auth.h: Likewise.
24963 * sunrpc/rpc/auth_unix.h: Likewise.
24964 * sunrpc/rpc/clnt.h: Likewise.
24965 * sunrpc/rpc/des_crypt.h: Likewise.
24966 * sunrpc/rpc/key_prot.h: Likewise.
24967 * sunrpc/rpc/netdb.h: Likewise.
24968 * sunrpc/rpc/pmap_clnt.h: Likewise.
24969 * sunrpc/rpc/pmap_prot.h: Likewise.
24970 * sunrpc/rpc/pmap_rmt.h: Likewise.
24971 * sunrpc/rpc/rpc.h: Likewise.
24972 * sunrpc/rpc/rpc_des.h: Likewise.
24973 * sunrpc/rpc/rpc_msg.h: Likewise.
24974 * sunrpc/rpc/svc.h: Likewise.
24975 * sunrpc/rpc/svc_auth.h: Likewise.
24976 * sunrpc/rpc/types.h: Likewise.
24977 * sunrpc/rpc/xdr.h: Likewise.
24978 * sunrpc/rpc_clntout.c: Likewise.
24979 * sunrpc/rpc_cmsg.c: Likewise.
24980 * sunrpc/rpc_common.c: Likewise.
24981 * sunrpc/rpc_cout.c: Likewise.
24982 * sunrpc/rpc_dtable.c: Likewise.
24983 * sunrpc/rpc_hout.c: Likewise.
24984 * sunrpc/rpc_main.c: Likewise.
24985 * sunrpc/rpc_parse.c: Likewise.
24986 * sunrpc/rpc_parse.h: Likewise.
24987 * sunrpc/rpc_prot.c: Likewise.
24988 * sunrpc/rpc_sample.c: Likewise.
24989 * sunrpc/rpc_scan.c: Likewise.
24990 * sunrpc/rpc_scan.h: Likewise.
24991 * sunrpc/rpc_svcout.c: Likewise.
24992 * sunrpc/rpc_tblout.c: Likewise.
24993 * sunrpc/rpc_util.c: Likewise.
24994 * sunrpc/rpc_util.h: Likewise.
24995 * sunrpc/rpcinfo.c: Likewise.
24996 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
24997 * sunrpc/rpcsvc/key_prot.x: Likewise.
24998 * sunrpc/rpcsvc/klm_prot.x: Likewise.
24999 * sunrpc/rpcsvc/mount.x: Likewise.
25000 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
25001 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
25002 * sunrpc/rpcsvc/rex.x: Likewise.
25003 * sunrpc/rpcsvc/rstat.x: Likewise.
25004 * sunrpc/rpcsvc/rusers.x: Likewise.
25005 * sunrpc/rpcsvc/sm_inter.x: Likewise.
25006 * sunrpc/rpcsvc/spray.x: Likewise.
25007 * sunrpc/rpcsvc/yppasswd.x: Likewise.
25008 * sunrpc/rtime.c: Likewise.
25009 * sunrpc/svc.c: Likewise.
25010 * sunrpc/svc_auth.c: Likewise.
25011 * sunrpc/svc_authux.c: Likewise.
25012 * sunrpc/svc_raw.c: Likewise.
25013 * sunrpc/svc_run.c: Likewise.
25014 * sunrpc/svc_simple.c: Likewise.
25015 * sunrpc/svc_tcp.c: Likewise.
25016 * sunrpc/svc_udp.c: Likewise.
25017 * sunrpc/svc_unix.c: Likewise.
25018 * sunrpc/svcauth_des.c: Likewise.
25019 * sunrpc/xcrypt.c: Likewise.
25020 * sunrpc/xdr.c: Likewise.
25021 * sunrpc/xdr_array.c: Likewise.
25022 * sunrpc/xdr_float.c: Likewise.
25023 * sunrpc/xdr_mem.c: Likewise.
25024 * sunrpc/xdr_rec.c: Likewise.
25025 * sunrpc/xdr_ref.c: Likewise.
25026 * sunrpc/xdr_sizeof.c: Likewise.
25027 * sunrpc/xdr_stdio.c: Likewise.
25029 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
25032 2010-08-19 Andreas Schwab <schwab@redhat.com>
25034 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
25036 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
25038 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
25039 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
25040 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
25041 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
25042 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
25043 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
25044 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
25045 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
25046 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
25047 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
25048 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
25049 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
25050 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
25051 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
25053 2010-07-26 Anton Blanchard <anton@samba.org>
25055 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
25056 * malloc/arena.c (heap_trim): Likewise.
25058 2010-08-16 Ulrich Drepper <drepper@redhat.com>
25060 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
25062 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
25063 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
25065 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
25067 * sysdeps/i386/elf/Makefile: New file.
25069 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25071 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
25072 from fanotify_init.
25073 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
25074 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25076 2010-08-15 Ulrich Drepper <drepper@redhat.com>
25078 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
25080 * sysdeps/multiarch/strcmp.S: Likewise.
25082 2010-08-14 Ulrich Drepper <drepper@redhat.com>
25084 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25085 strncase_l-nonascii.
25086 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25087 Add strncase_l-ssse3.
25088 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
25089 * sysdeps/x86_64/strcmp.S: Likewise.
25090 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
25091 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
25092 * sysdeps/x86_64/strncase.S: New file.
25093 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
25094 * sysdeps/x86_64/strncase_l.S: New file.
25095 * string/Makefile (strop-tests): Add strncasecmp.
25096 * string/test-strncasecmp.c: New file.
25098 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
25101 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
25102 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
25104 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25106 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
25108 2010-08-12 Ulrich Drepper <drepper@redhat.com>
25110 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
25111 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
25112 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
25114 2010-05-01 Alan Modra <amodra@gmail.com>
25116 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
25117 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
25118 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
25119 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
25120 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
25121 tidying. Don't tail-call __sigjmp_save for static lib.
25122 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
25124 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
25125 (CALL_MCOUNT): Add eh info, and nop after bl.
25126 (TAIL_CALL_SYSCALL_ERROR): New macro.
25127 (PSEUDO_RET): Use it.
25128 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25129 Correct save location of integer regs and cr.
25130 (_dl_profile_resolve): Correct cr save location. Delete nops
25131 after bl when SHARED. Reduce cfi size a little by better
25132 placement of cfi directives.
25133 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
25134 make a stack frame. Instead use parm save area as a temp.
25135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
25136 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
25137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25138 Don't make a stack frame for parent, use parm save area.
25139 Increase child stack frame to 112 bytes. Don't save unused reg,
25140 and adjust reg usage. Set up cfi on error recovery and
25141 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
25142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25143 (__makecontext): Add dummy nop after jump to exit.
25144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
25145 Use correct parm save area and cr save, reduce stack frame.
25146 Correct cfi for possible PSEUDO_RET frame setup.
25147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
25148 Branch to local label emitted by PSEUDO_RET rather than
25151 2010-08-12 Andreas Schwab <schwab@redhat.com>
25154 * locale/programs/locale.c (print_assignment): New function.
25155 (show_locale_vars): Use it.
25157 2010-08-11 Ulrich Drepper <drepper@redhat.com>
25159 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
25161 (struct statfs64): Likewise.
25162 (_STATFS_F_FLAGS): Define.
25163 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
25164 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25165 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
25166 (ST_VALID): Define locally.
25167 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
25168 __statvfs_getflags, use the provided value.
25169 * sysdeps/unix/sysv/linux/kernel-features.h: Define
25170 __ASSUME_STATFS_F_FLAGS.
25172 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
25174 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
25175 Add sys/fanotify.h.
25176 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
25177 fanotify_mask for GLIBC_2.13.
25178 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
25179 fanotify_init and fanotify_mark.
25180 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25181 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
25183 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
25185 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
25186 prlimit64 for GLIBC_2.13.
25187 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
25189 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
25191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
25192 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25193 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
25194 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
25195 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
25197 * sysdeps/unix/sysv/linux/prlimit.c: New file.
25200 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
25201 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
25203 * nss/Makefile: Add rules to build and run tst-nss-test1.
25204 * shlib-versions: Add entry for libnss_test1.
25205 * nss/nss_test1.c: New file.
25206 * nss/tst-nss-test1.c: New file.
25208 * nss/nsswitch.c (__nss_database_custom): Define new variable.
25209 (__nss_configure_lookup): Set appropriate entry in
25210 __nss_configure_lookup to true.
25211 * nss/nsswitch.h: Define enum with indeces of databases in
25212 databases and __nss_database_custom arrays. Declare
25213 __nss_database_custom.
25214 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
25215 to avoid using nscd when custom rules are installed.
25216 * nss/getXXbyYY_r.c: Likewise.
25217 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25219 * nss/nss_files/files-parse.c: Whitespace fixes.
25221 2010-08-09 Ulrich Drepper <drepper@redhat.com>
25224 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
25225 * posix/fnmatch_loop.c: Likewise.
25227 2010-07-17 Andi Kleen <ak@linux.intel.com>
25229 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
25230 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
25231 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
25232 * Versions.def [GLIBC_2.13]: Add.
25234 2010-08-06 Ulrich Drepper <drepper@redhat.com>
25236 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25237 Also fail if tpwd after pwuid call is NULL.
25239 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
25241 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
25242 when converting to ms.
25244 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
25246 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
25247 EOPNOTSUPP errors with ENOTTY.
25248 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
25249 EOPNOTSUPP errors with ENOTTY.
25251 2010-07-31 Ulrich Drepper <drepper@redhat.com>
25253 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25254 Add strcasecmp_l-ssse3.
25255 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
25257 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
25258 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
25259 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
25261 2010-07-30 Ulrich Drepper <drepper@redhat.com>
25263 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
25265 * string/Makefile (strop-tests): Add strcasecmp.
25266 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25267 strcasecmp_l-nonascii.
25268 (gen-as-const-headers): Add locale-defines.sym.
25269 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
25270 * sysdeps/x86_64/strcasecmp.S: New file.
25271 * sysdeps/x86_64/strcasecmp_l.S: New file.
25272 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
25273 * sysdeps/x86_64/locale-defines.sym: New file.
25274 * string/test-strcasecmp.c: New file.
25276 * string/test-strcasestr.c: Test both ends of the range of characters.
25277 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
25279 2010-07-29 Roland McGrath <roland@redhat.com>
25282 * manual/locale.texi (Yes-or-No Questions): Fix example code.
25284 2010-07-27 Ulrich Drepper <drepper@redhat.com>
25286 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
25289 2010-07-27 Andreas Schwab <schwab@redhat.com>
25291 * manual/memory.texi (Malloc Tunable Parameters): Document
25294 2010-07-26 Roland McGrath <roland@redhat.com>
25297 * configure.in (-fgnu89-inline check): Set and substitute
25298 gnu89_inline, not libc_cv_gnu89_inline.
25299 * configure: Regenerated.
25300 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
25302 2010-07-26 Ulrich Drepper <drepper@redhat.com>
25304 * string/test-strnlen.c: New file.
25305 * string/Makefile (strop-tests): Add strnlen.
25306 * string/tester.c (test_strnlen): Add a few more test cases.
25307 * string/tst-strlen.c: Better error reporting.
25309 * sysdeps/x86_64/strnlen.S: New file.
25311 2010-07-24 Ulrich Drepper <drepper@redhat.com>
25313 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
25314 lower-latency instructions.
25316 2010-07-23 Ulrich Drepper <drepper@redhat.com>
25318 * string/test-strcasestr.c: New file.
25319 * string/test-strstr.c: New file.
25320 * string/Makefile (strop-tests): Add strstr and strcasestr.
25321 * string/str-two-way.h: Don't undefine MAX.
25322 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
25324 2010-07-21 Andreas Schwab <schwab@redhat.com>
25326 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25327 strcasestr-nonascii.
25328 (CFLAGS-strcasestr-nonascii.c): Define.
25329 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
25330 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
25331 Remove unused attribute.
25333 2010-07-20 Roland McGrath <roland@redhat.com>
25335 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
25336 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
25337 ld.so.cache was broken. With it, there is no way to disable dsocaps
25338 like LD_HWCAP_MASK can disable hwcaps.
25340 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25342 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
25344 2010-07-16 Ulrich Drepper <drepper@redhat.com>
25346 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
25347 call in strcasestr.
25348 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
25349 __strcasestr_sse42_nonascii.
25350 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
25351 strcasestr-nonascii.c.
25352 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
25354 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
25356 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
25357 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
25358 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
25359 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
25361 2010-07-09 Ulrich Drepper <drepper@redhat.com>
25363 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
25366 2010-07-06 Andreas Schwab <schwab@redhat.com>
25369 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
25372 2010-07-06 Ulrich Drepper <drepper@redhat.com>
25374 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
25375 _PC_PIPE_BUF using F_GETPIPE_SZ.
25377 2010-07-05 Roland McGrath <roland@redhat.com>
25379 * manual/arith.texi (Rounding Functions): Fix rint description
25380 implicit in round description.
25382 2010-07-02 Ulrich Drepper <drepper@redhat.com>
25384 * elf/Makefile: Fix linking for a few tests to make recent linker
25387 2010-06-30 Andreas Schwab <schwab@redhat.com>
25389 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
25390 $(common-objpfx)libc_nonshared.a.
25392 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
25394 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
25395 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
25396 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
25397 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
25398 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
25399 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
25400 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
25401 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
25402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
25403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
25404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
25405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
25406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
25407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
25408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
25409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
25410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
25411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
25412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
25413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
25414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
25415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
25416 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
25417 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
25418 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
25419 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
25420 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
25421 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
25422 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
25423 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
25424 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
25425 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
25426 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
25427 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
25428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
25429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
25430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
25431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
25432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
25433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
25434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
25435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
25436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
25437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
25438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
25439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
25440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
25441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
25443 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
25445 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
25446 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
25447 * string/memmove.c (memmove): Renamed to ...
25448 (MEMMOVE): ...this. Default to memmove.
25449 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
25450 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
25452 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25453 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
25454 mempcpy-ssse3-back memmove-ssse3-back.
25455 * sysdeps/x86_64/multiarch/bcopy.S: New file .
25456 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
25457 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
25458 * sysdeps/x86_64/multiarch/memcpy.S: New file.
25459 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
25460 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
25461 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
25462 * sysdeps/x86_64/multiarch/memmove.c: New file.
25463 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
25464 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
25465 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
25466 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
25467 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
25468 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
25470 (index_Fast_Copy_Backward): Define.
25471 (HAS_ARCH_FEATURE): Define.
25472 (HAS_FAST_REP_STRING): Define.
25473 (HAS_FAST_COPY_BACKWARD): Define.
25475 2010-06-21 Andreas Schwab <schwab@redhat.com>
25477 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25478 Restore proper fallback handling.
25480 2010-06-19 Ulrich Drepper <drepper@redhat.com>
25483 * posix/group_member.c (__group_member): Correct checking loop.
25485 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
25486 OOM in getpwuid_r correctly. Return error number when the caller
25487 should return, otherwise -1.
25488 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
25489 call returning > 0 value.
25490 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
25492 2010-06-07 Andreas Schwab <schwab@redhat.com>
25494 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
25495 libc_nonshared.a from targets in modules-names.
25497 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
25499 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
25502 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
25504 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
25505 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
25506 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
25507 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
25509 2010-06-02 Andreas Schwab <schwab@redhat.com>
25511 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
25513 2010-06-14 Ulrich Drepper <drepper@redhat.com>
25515 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
25517 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25518 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25519 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25520 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25521 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25522 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
25524 2010-06-14 Roland McGrath <roland@redhat.com>
25526 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
25528 2010-06-07 Jakub Jelinek <jakub@redhat.com>
25530 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
25531 __REDIRECT followed by __THROW.
25532 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
25533 * posix/getopt.h (getopt): Likewise.
25535 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25537 * hurd/lookup-at.c (__file_name_lookup_at): Accept
25538 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
25539 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
25541 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
25542 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
25544 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
25546 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
25548 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
25551 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25552 Properly check family and model.
25554 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
25556 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
25558 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
25560 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
25562 2010-05-21 Ulrich Drepper <drepper@redhat.com>
25564 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
25567 2010-05-19 Andreas Schwab <schwab@redhat.com>
25569 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
25572 2010-05-21 Andreas Schwab <schwab@redhat.com>
25574 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
25575 and internal_recvmmsg.
25576 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
25577 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
25578 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
25579 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
25581 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
25582 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25583 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25585 2010-05-20 Andreas Schwab <schwab@redhat.com>
25587 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
25589 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
25591 POWER7 optimizations.
25592 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
25593 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
25595 2010-05-19 Ulrich Drepper <drepper@redhat.com>
25597 * version.h: Update for 2.13 development version.
25599 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
25601 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
25602 exceptions. Return 0.
25604 2010-05-07 Roland McGrath <roland@redhat.com>
25606 * elf/ldconfig.c (main): Add a const.
25608 2010-05-06 Ulrich Drepper <drepper@redhat.com>
25610 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
25611 (args_options): Add no-idn option.
25612 (ahosts_keys_int): Add idn_flags to ai_flags.
25613 (parse_option): Handle 'i' option to clear idn_flags.
25615 * malloc/malloc.c (_int_free): Possible race in the most recently
25616 added check. Only act on the data if no current modification
25619 See ChangeLog.17 for earlier changes.