1 2013-02-17 Andreas Jaeger <aj@suse.de>
3 * time/Versions: Sort entries.
4 * string/Versions: Likewise.
5 * resolv/Versions: Likewise.
6 * posix/Versions: Likewise.
7 * iconv/Versions: Likewise.
8 * elf/Versions: Likewise.
9 * wcsmbs/Versions: Likewise.
11 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
14 loop termination condition.
16 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17 variable to calculate EZ.
20 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
21 the lower precision input.
23 2013-02-15 Joseph Myers <joseph@codesourcery.com>
26 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
27 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
28 (run-via-rtld-prefix): Do not handle %-bp tests.
29 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
30 (all-object-suffixes): Remove .ob.
31 (bppfx): Remove variable.
32 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
33 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
34 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
35 [$(build-bounded) = yes] (libtype.ob): Likewise.
36 * Makerules (elide-routines.ob): Remove variable.
37 (do-tests-clean): Do not handle *-bp.out.
38 (common-mostlyclean): Do not handle *-bp and *-bp.out.
39 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
40 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
41 (tests): Do not include $(tests-bp.out).
42 (xtests): Do not include $(xtests-bp.out).
43 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
44 [$(build-bounded) = yes] ($(addprefix
45 $(objpfx),$(binaries-bounded))): Remove rule.
46 ($(objpfx)%-bp.out): Remove rule.
47 * config.make.in (build-bounded): Remove variable.
48 * crypt/Makefile [$(build-bounded) = yes]
49 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
50 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
52 [$(build-bounded) = yes] (install-lib): Likewise.
53 [$(build-bounded) = yes] (generated): Likewise.
54 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
56 * intl/Makefile [$(build-bounded) = yes]
57 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
58 * math/Makefile [$(build-bounded) = yes]
59 ($(tests:%=$(objpfx)%-bp): Likewise.
60 * misc/Makefile [$(build-bounded) = yes]
61 ($(objpfx)tst-tsearch-bp): Likewise.
62 * nptl/Makeconfig (bounded-thread-library): Remove variable.
63 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
65 * string/Makefile (o-objects.ob): Remove variable.
66 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
67 (CFLAGS-.ob): Remove variable.
68 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
69 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
70 both definitions of variable.
71 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
72 (ASFLAGS-.ob): Remove variable.
74 2013-02-14 Joseph Myers <joseph@codesourcery.com>
77 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
78 Remove __BOUNDED_POINTERS__ from condition.
79 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
80 * string/bits/string2.h [!__NO_STRING_INLINES &&
81 !__BOUNDED_POINTERS__]: Likewise.
82 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
84 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
85 Remove conditional code.
86 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
87 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
88 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
92 * csu/libc-start.c: Do not include <bp-sym.h>.
93 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
94 * elf/dl-open.c: Do not include <bp-sym.h>.
95 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
96 * math/fegetenv.c: Do not include <bp-sym.h>.
97 (fegetenv): Do not use BP_SYM in versioned symbols.
98 * nptl/sysdeps/pthread/bits/libc-lockP.h
99 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
101 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
102 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
103 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
104 (__pthread_mutex_destroy): Likewise.
105 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
106 (__pthread_mutex_lock): Likewise.
107 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
108 (__pthread_mutex_trylock): Likewise.
109 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
110 (__pthread_mutex_unlock): Likewise.
111 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
112 (__pthread_mutexattr_init): Likewise.
113 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
114 (__pthread_mutexattr_destroy): Likewise.
115 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
116 (__pthread_mutexattr_settype): Likewise.
117 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
118 (__pthread_rwlock_init): Likewise.
119 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
120 (__pthread_rwlock_destroy): Likewise.
121 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
122 (__pthread_rwlock_rdlock): Likewise.
123 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
124 (__pthread_rwlock_tryrdlock): Likewise.
125 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
126 (__pthread_rwlock_wrlock): Likewise.
127 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
128 (__pthread_rwlock_trywrlock): Likewise.
129 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
130 (__pthread_rwlock_unlock): Likewise.
131 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
132 (__pthread_key_create): Likewise.
133 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
134 (__pthread_setspecific): Likewise.
135 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
136 (__pthread_getspecific): Likewise.
137 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
139 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
140 (_pthread_cleanup_push_defer): Likewise.
141 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
142 (_pthread_cleanup_pop_restore): Likewise.
143 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
144 (pthread_setcancelstate): Likewise.
145 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
147 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
148 (memchr): Do not use BP_SYM in weak_alias.
149 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
150 (fegetenv): Do not use BP_SYM in versioned symbols.
151 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
152 (fesetenv): Do not use BP_SYM in versioned symbols.
153 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
154 (feupdateenv): Do not use BP_SYM in versioned symbols.
155 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
156 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
157 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
158 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
159 (open64): Do not use BP_SYM in weak_alias.
160 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
161 (fegetenv): Do not use BP_SYM in versioned symbols.
162 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
163 (fesetenv): Do not use BP_SYM in versioned symbols.
164 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
165 (feupdateenv): Do not use BP_SYM in versioned symbols.
166 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
167 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
168 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
169 (feraiseexcept): Do not use BP_SYM in versioned symbols.
170 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
171 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
172 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
174 (__libc_start_main): Do not use BP_SYM.
176 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
178 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
179 redundant return line.
183 (sub_magnitudes): Likewise.
189 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
193 (sub_magnitudes): Likewise.
200 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
202 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
203 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
206 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
207 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
208 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
209 of __mul for squares.
210 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
212 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
214 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
215 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
217 2013-02-13 Joseph Myers <joseph@codesourcery.com>
220 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
222 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
223 prototype or function definition. Rename ubp_* variables and
224 parameters. Remove argv definitions conditional on
225 [__BOUNDED_POINTERS__].
226 * debug/backtrace.c (__backtrace): Do not use __unbounded.
227 * elf/dl-runtime.c (_dl_fixup): Likewise.
228 * include/set-hooks.h (RUN_HOOK): Likewise.
229 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
231 * string/strcpy.c (strcpy): Do not use __unbounded.
232 * sysdeps/generic/frame.h (struct layout): Likewise.
233 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
234 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
235 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
236 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
237 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
238 (__backtrace): Likewise.
239 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
241 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
242 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
243 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
245 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
246 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
247 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
248 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
249 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
250 Do not use __unbounded.
251 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
252 Rename __unboundedrlimits parameter to rlimits in prototype.
253 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
254 Do not use __unbounded.
255 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
257 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
258 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
259 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
260 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
261 __ptrvalue or __unbounded.
262 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
263 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
265 (__new_msgctl): Do not use __ptrvalue.
266 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
268 (__libc_msgrcv): Do not use __ptrvalue.
269 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
270 startup_info): Do not use __unbounded.
271 (__libc_start_main): Likewise. Rename ubp_* variables and
272 parameters. Remove argv definitions conditional on
273 [__BOUNDED_POINTERS__].
274 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
276 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
278 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
280 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
282 (__new_shmctl): Do not use __ptrvalue.
283 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
284 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
286 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
287 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
288 (__libc_sigaction): Likewise.
289 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
290 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
292 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
294 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
296 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
298 * string/mempcpy.c: Implement by calling memcpy.
300 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
302 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
304 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
307 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
308 values in the mantissa.
310 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
311 minimize writes to Z.
312 (sub_magnitudes): Simplify code a bit.
314 2013-02-12 Roland McGrath <roland@hack.frob.com>
316 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
317 from the message. The linker prefixes all warnings with that already.
319 2013-02-12 Andreas Schwab <schwab@suse.de>
322 * posix/regexec.c (extend_buffers): Add parameter min_len.
323 (check_matching): Pass minimum needed length.
324 (clean_state_log_if_needed): Likewise.
325 (get_subexp): Likewise.
326 * posix/Makefile (tests): Add bug-regex34.
327 (bug-regex34-ENV): Define.
328 * posix/bug-regex34.c: New file.
331 * posix/regcomp.c (parse_bracket_exp): When looking up collating
332 elements compare against the byte sequence of it, not its name.
333 * posix/Makefile (tests): Add bug-regex35.
334 (bug-regex35-ENV): Define.
335 * posix/bug-regex35.c: New file.
337 2013-02-11 Tom de Vries <tom@codesourcery.com>
339 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
341 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
342 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
343 (CHECK_EOL): Add undef.
345 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
347 * bits/stdlib-bsearch.h: New file.
348 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
349 * stdlib/stdlib.h: Likewise.
351 2013-02-11 Roland McGrath <roland@hack.frob.com>
353 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
354 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
356 * manual/search.texi (Array Search Function): Add missing const in
358 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
359 declaration to use rlim_t.
360 (Basic Scheduling Functions): Remove erroneous const from
361 sched_getparam prototype. Remove erroneous * from
362 sched_get_priority_max and sched_get_priority_min prototypes.
363 (Resource Usage): Fix summary @comment on vtimes to refer to
364 sys/vtimes.h rather than vtimes.h.
365 Add missing *s in vtimes prototype.
366 (Limits on Resources): Fix ulimit prototype to return long int.
367 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
368 prototypes to use long int rather than double.
369 (BSD Random): Fix initstate and setstate to use char *, not void *.
370 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
371 prototype to make second argument 'struct aiocb64 *const[]'.
372 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
373 (Status of AIO Operations): Remove erroneous const in aio_return and
374 aio_return64 prototypes.
375 (Synchronizing I/O): Fix sync prototype to return void.
376 * manual/startup.texi (Suboptions): Remove an erroneous const in
378 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
379 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
380 use size_t rather than int.
381 (Scanning All Users): Likewise for getpwent_r.
382 (Setting Groups): Add missing const to setgroups prototype.
383 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
384 * manual/socket.texi (Host Names): Fix gethostbyaddr and
385 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
386 'const void *' rather than 'const char *'.
387 (Host Address Functions): Likewise for inet_ntop.
388 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
389 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
390 ssize_t for return value.
391 (Sending Data): Likewise for send, sendto, sendmsg.
392 (Socket Option Functions): Add a missing const in setsockopt prototype.
393 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
394 use wchar_t for the argument.
395 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
396 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
398 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
399 double/float/long double for second argument.
400 Fix return types of significand, significandf, significandl.
401 * manual/filesys.texi (Setting Permissions): Use mode_t for second
402 argument in fchmod prototype.
403 (File Owner): Use uid_t and gid_t in fchown prototype.
404 (File Times): Add const to utimes, futimes, and lutimes prototypes.
405 (Making Special Files): Use mode_t and dev_t in mknod prototype.
406 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
407 use 'const struct dirent **' as argument types to CMP function pointer
409 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
410 (File Times): Fix summary magic @comment for struct utimbuf and utime
411 to refer to utime.h, not time.h.
412 * manual/string.texi (Argz Functions): Add missing const in
413 argz_extract and argz_next prototypes.
414 (Finding Tokens in a String): Likewise for basename.
415 (String/Array Comparison): Fix typo in wcscasecmp prototype.
416 (Copying and Concatenation): Fix typo in wmemmove prototype.
417 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
418 (Signal Stack): Remove erroneous const in sigstack prototype.
419 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
421 (Simple Calendar Time): Likewise for stime.
422 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
424 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
425 say sys/sysctl.h instead.
426 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
427 and vsyslog prototypes.
429 2013-02-11 Tom de Vries <tom@codesourcery.com>
431 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
434 2013-02-11 Roland McGrath <roland@hack.frob.com>
436 * misc/sys/mman.h: Fix typo in mremap comment.
438 2013-02-08 Roland McGrath <roland@hack.frob.com>
440 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
443 2013-02-08 Joseph Myers <joseph@codesourcery.com>
446 * debug/segfault.c: Don't include <bp-checks.h>.
447 * sysdeps/generic/bp-checks.h: Remove file.
448 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
449 (__GETDENTS): Don't use CHECK_N.
450 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
451 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
452 (__getgroups): Don't use CHECK_N.
453 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
454 (setgroups): Don't use CHECK_N.
455 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
456 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
457 (__libc_msgrcv): Don't use CHECK_N.
458 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
459 (__libc_msgsnd): Don't use CHECK_N.
460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
462 (__libc_pread): Don't use CHECK_N.
463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
464 include <bp-checks.h>.
465 (__libc_pread64): Don't use CHECK_N.
466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
467 include <bp-checks.h>.
468 (__libc_pwrite): Don't use CHECK_N.
469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
470 include <bp-checks.h>.
471 (__libc_pwrite64): Don't use CHECK_N.
472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
474 (__libc_pread): Don't use CHECK_N.
475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
476 include <bp-checks.h>.
477 (__libc_pread64): Don't use CHECK_N.
478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
479 include <bp-checks.h>.
480 (__libc_pwrite): Don't use CHECK_N.
481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
482 include <bp-checks.h>.
483 (__libc_pwrite64): Don't use CHECK_N.
484 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
485 (do_pread): Don't use CHECK_N.
486 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
487 (do_pread64): Don't use CHECK_N.
488 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
489 (do_pwrite): Don't use CHECK_N.
490 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
491 (do_pwrite64): Don't use CHECK_N.
492 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
493 (__libc_readv): Don't use CHECK_N.
494 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
495 (semop): Don't use CHECK_N.
496 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
498 (semtimedop): Don't use CHECK_N.
499 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
500 (__libc_pread): Don't use CHECK_N.
501 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
503 (__libc_pread64): Don't use CHECK_N.
504 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
506 (__libc_pwrite): Don't use CHECK_N.
507 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
509 (__libc_pwrite64): Don't use CHECK_N.
510 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
512 (__libc_msgrcv): Don't use CHECK_N.
513 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
514 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
515 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
516 (__libc_writev): Don't use CHECK_N.
518 2013-02-08 Roland McGrath <roland@hack.frob.com>
520 * string/strcpy.c: Removed unused variable.
522 * Makeconfig (+sysdep-includes): Define with := rather than =.
523 Use an existing include/ subdir of each sysdeps dir before it.
525 2013-02-08 Carlos O'Donell <carlos@redhat.com>
527 * nscd/connection.c (register_traced_file): Comment function.
528 [HAVE_INOTIFY] (union __inev): Define.
529 [HAVE_INOTIFY] (inotify_check_files): New function.
530 [HAVE_INOTIFY] (clear_db_cache): Likewise.
531 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
533 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
535 2013-02-08 Carlos O'Donell <carlos@redhat.com>
537 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
538 loaded if not already and that a failure is permanent.
540 2013-02-08 Carlos O'Donell <carlos@redhat.com>
543 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
544 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
546 2013-02-08 Joseph Myers <joseph@codesourcery.com>
549 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
550 (CHECK_1_NULL_OK): Likewise.
551 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
552 (__fxstat): Do not use CHECK_1.
553 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
555 (___fxstat64): Do not use CHECK_1.
556 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
558 (__fxstatat): Do not use CHECK_1.
559 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
561 (__fxstatat64): Do not use CHECK_1.
562 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
564 (__fxstat): Do not use CHECK_1.
565 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
567 (__fxstatat): Do not use CHECK_1.
568 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
570 (__getresgid): Do not use CHECK_1.
571 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
573 (__getresuid): Do not use CHECK_1.
574 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
576 (__lxstat): Do not use CHECK_1.
577 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
579 (__old_msgctl): Do not use CHECK_1.
580 (__new_msgctl): Likewise.
581 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
583 (__new_setrlimit): Do not use CHECK_1.
584 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
586 (__old_shmctl): Do not use CHECK_1.
587 (__new_shmctl): Likewise.
588 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
590 (__xstat): Do not use CHECK_1.
591 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
592 (__lxstat): Do not use CHECK_1.
593 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
595 (___lxstat64): Do not use CHECK_1.
596 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
597 (__old_msgctl): Do not use CHECK_1.
598 (__new_msgctl): Likewise.
599 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
601 (__gettimeofday): Do not use CHECK_1.
602 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
603 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
604 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
606 (__gettimeofday): Do not use CHECK_1.
607 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
608 (__old_shmctl): Do not use CHECK_1_NULL_OK.
609 (__new_shmctl): Do not use CHECK_1.
610 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
612 (do_sigtimedwait): Do not use CHECK_1.
613 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
615 (do_sigwaitinfo): Do not use CHECK_1.
616 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
618 (msgctl): Do not use CHECK_1.
619 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
621 (shmctl): Do not use CHECK_1.
622 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
623 (ustat): Do not use CHECK_1.
624 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
626 (__fxstat): Do not use CHECK_1.
627 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
629 (__fxstatat): Do not use CHECK_1.
630 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
632 (__lxstat): Do not use CHECK_1.
633 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
635 (__xstat): Do not use CHECK_1.
636 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
637 (__xstat): Do not use CHECK_1.
638 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
639 (___xstat64): Do not use CHECK_1.
642 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
644 (CHECK_BOUNDS_HIGH): Likewise.
645 * string/strcpy.c: Do not include <bp-checks.h>.
646 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
648 2013-02-07 Roland McGrath <roland@hack.frob.com>
650 * nscd/nscd-client.h (__nscd_drop_map_ref):
651 Add __attribute__ ((unused)).
652 * nis/nss-nisplus.h (niserr2nss): Likewise.
654 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
655 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
657 * csu/libc-tls.c (init_static_tls, init_slotinfo):
658 Remove inline keyword.
659 * include/rounding-mode.h (round_away): Likewise.
660 * libio/wfileops.c (adjust_wide_data): Likewise.
661 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
662 (__m128i_strloadu_tolower): Likewise.
663 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
664 (__m128i_strloadu_tolower): Likewise.
665 * time/mktime.c (ydhms_diff): Likewise.
666 * locale/elem-hash.h (elem_hash): Likewise.
667 * locale/setlocale.c (setdata): Likewise.
668 * posix/regex_internal.h (re_string_char_size_at): Likewise.
669 (re_string_wchar_at): Likewise.
670 (bitset_not, bitset_merge, bitset_mask): Likewise.
671 [!(__GNUC__ > 3)] (inline): Remove macro.
672 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
673 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
674 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
675 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
676 * string/memcmp.c (memcmp_bytes): Likewise.
677 * locale/programs/locarchive.c (compute_hashval): Likewise.
678 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
679 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
680 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
681 * nss/getent.c (print_rpc, print_protocols): Likewise.
682 (print_passwd, print_group, print_aliases): Likewise.
683 * nis/nss-nisplus.h (niserr2nss): Likewise.
684 * nscd/connections.c (restart_p): Likewise.
685 Change return type to bool.
687 2013-02-05 Roland McGrath <roland@hack.frob.com>
689 * Makeconfig (all-Depend-files): Add existing
690 $(sorted-subdirs:=/Depend) files.
691 (all-subdirs): Remove nss.
692 * sysdeps/unix/inet/Subdirs: Add it here instead.
693 * hesiod/Depend: New file.
695 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
696 instead of calling alloca.
698 * io/lseek.c (__lseek): Rename to __libc_lseek.
699 Define __lseek as an alias.
701 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
703 2013-02-04 Carlos O'Donell <carlos@redhat.com>
705 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
706 else clause and remove check for non-standard endianness.
708 2013-02-04 David S. Miller <davem@davemloft.net>
710 * sysdeps/sparc/fpu/libm-test-ulps: Update.
712 2013-02-04 Joseph Myers <joseph@codesourcery.com>
715 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
716 (__ubp_memchr): Remove prototype.
717 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
718 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
719 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
720 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
721 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
723 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
724 (__ubp_memchr): Likewise.
725 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
726 (__ubp_memchr): Likewise.
727 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
728 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
729 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
730 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
732 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
733 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
734 (__getcwd): Do not use CHECK_STRING.
735 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
737 (__real_chown): Do not use CHECK_STRING.
738 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
740 (fchownat): Do not use CHECK_STRING.
741 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
743 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
745 (__lchown): Do not use CHECK_STRING.
746 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
747 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
748 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
749 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
751 include <bp-checks.h>.
752 (truncate64): Do not use CHECK_STRING.
753 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
755 (__real_chown): Do not use CHECK_STRING.
756 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
758 (__lchown): Do not use CHECK_STRING.
759 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
761 (__chown): Do not use CHECK_STRING.
762 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
764 (truncate64): Do not use CHECK_STRING.
765 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
767 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
768 (__xmknod): Do not use CHECK_STRING.
769 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
771 (__xmknodat): Do not use CHECK_STRING.
772 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
773 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
775 2013-02-04 Andreas Schwab <schwab@suse.de>
778 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
779 * include/netdb.h: Likewise for h_errno.
780 * elf/tst-stackguard1.c: Include <tls.h>.
782 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
784 * elf/link.h (struct link_map): Extend the l_addr comment.
785 * include/link.h (struct link_map): Likewise.
787 2013-02-01 Joseph Myers <joseph@codesourcery.com>
790 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
791 (BOUNDED_1): Remove macro.
792 * debug/backtrace.c: Don't include <bp-checks.h>.
793 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
794 (__backtrace): Likewise.
795 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
797 (__backtrace): Don't use BOUNDED_1.
798 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
800 (__backtrace): Don't use BOUNDED_1.
801 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
802 (__backtrace): Don't use BOUNDED_1.
803 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
804 (shmat): Don't use BOUNDED_N.
806 2013-01-31 Joseph Myers <joseph@codesourcery.com>
809 * sysdeps/generic/bp-start.h: Remove file.
810 * csu/libc-start.c: Don't include <bp-start.h>.
811 (LIBC_START_MAIN): Set up __environ directly instead of using
812 INIT_ARGV_and_ENVIRON.
813 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
817 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
819 (CHECK_FCNTL): Likewise.
820 (CHECK_N_PAGES): Likewise.
823 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
825 (CHECK_SIGSET_NULL_OK): Likewise.
826 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
828 (sigpending): Don't use CHECK_SIGSET.
829 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
831 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
832 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
834 (do_sigsuspend): Don't use CHECK_SIGSET.
835 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
837 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
838 (do_sigwait): Don't use CHECK_SIGSET.
839 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
841 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
842 include <bp-checks.h>.
843 (sigpending): Don't use CHECK_SIGSET.
844 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
845 include <bp-checks.h>.
846 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
847 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
849 (sigpending): Don't use CHECK_SIGSET.
850 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
852 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
855 * sysdeps/generic/bp-semctl.h: Remove file.
856 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
857 <bp-checks.h> and <bp-semctl.h>.
858 (__old_semctl): Don't use CHECK_SEMCTL.
859 (__new_semctl): Likewise.
860 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
862 (__old_semctl): Don't use CHECK_SEMCTL.
863 (__new_semctl): Likewise.
864 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
865 <bp-checks.h> and <bp-semctl.h>.
866 (__old_semctl): Don't use CHECK_SEMCTL.
867 (__new_semctl): Likewise.
868 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
869 <bp-checks.h> and <bp-semctl.h>.
870 (semctl): Don't use CHECK_SEMCTL.
873 * Makerules (elide-bp-thunks): Remove variable.
874 (elide-routines.oS): Don't use $(elide-bp-thunks).
875 (elide-routines.os): Likewise.
876 (elide-routines.o): Likewise.
877 (elide-routines.op): Likewise.
878 (elide-routines.og): Likewise.
879 (objects): Don't use $(bp-thunks).
880 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
882 (common-generated): Do not add s-proto-bp.d.
883 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
886 Do not generate makefile rules for bounded-pointer thunks.
887 * sysdeps/generic/bp-thunks.h: Remove file.
888 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
889 * sysdeps/unix/s-proto-bp.S: Likewise.
892 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
893 parts of result separately when argument is not close to line from
894 -i to i and one part of argument is small.
895 * math/k_casinhf.c (__kernel_casinhf): Likewise.
896 * math/k_casinhl.c (__kernel_casinhl): Likewise.
897 * math/libm-test.inc (cacos_test): Add more tests.
898 (casin_test): Likewise.
899 (casinh_test): Likewise.
900 * sysdeps/i386/fpu/libm-test-ulps: Update.
901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
903 2013-01-31 David S. Miller <davem@davemloft.net>
905 * po/de.po: Update from translation team.
907 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
909 * time/tzfile.c: Include stdint.h for SIZE_MAX.
911 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
913 * configure.in (_AC_PROG_CC_C89): New definition.
914 * configure: Regenerate.
916 * configure.in (AC_PROG_CPP): New definition.
917 * configure: Regenerate.
919 2013-01-23 Joseph Myers <joseph@codesourcery.com>
921 * debug/tst-backtrace.h: New file.
922 * debug/tst-backtrace2.c: Include tst-backtrace.h.
923 (ret): Remove variable.
925 (FAIL): Remove macro.
926 (NO_INLINE): Likewise.
927 (fn1): Use match function instead of strstr.
928 * debug/tst-backtrace3.c: Include tst-backtrace.h.
929 (ret): Remove variable.
931 (FAIL): Remove macro.
932 (NO_INLINE): Likewise.
933 (fn): Use match function instead of strstr.
934 * debug/tst-backtrace4.c: Include tst-backtrace.h.
935 (ret): Remove variable.
937 (FAIL): Remove macro.
938 (NO_INLINE): Likewise.
939 (handle_signal): Use match function instead of strstr.
940 * debug/tst-backtrace5.c: Include tst-backtrace.h.
941 (ret): Remove variable.
943 (FAIL): Remove macro.
944 (NO_INLINE): Likewise.
945 (handle_signal): Use match function instead of strstr.
947 2013-01-23 Roland McGrath <roland@hack.frob.com>
949 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
951 2013-01-23 David S. Miller <davem@davemloft.net>
953 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
954 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
955 argument of CAS if possible.
956 * sysdeps/sparc/sparc64/bits/atomic.h
957 (__arch_compare_and_exchange_val_32_acq): Likewise.
958 (__arch_compare_and_exchange_val_64_acq): Likewise.
960 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
962 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
963 * sysdeps/posix/ulimit.c: ... this.
965 * sysdeps/unix/bsd/ulimit.c: Remove file.
967 2013-01-23 Adam Conrad <adconrad@0c3.net>
969 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
970 (LDFLAGS-tst-array5): Likewise.
972 2013-01-23 Joseph Myers <joseph@codesourcery.com>
975 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
976 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
977 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
978 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
980 2013-01-21 David S. Miller <davem@davemloft.net>
982 * sysdeps/sparc/backtrace.c: New file.
983 * sysdeps/sparc/sparc32/backtrace.h: New file.
984 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
985 * sysdeps/sparc/sparc64/backtrace.h: New file.
986 * sysdeps/sparc/sparc64/backtrace.c: Delete.
987 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
990 2013-01-21 Andreas Schwab <schwab@suse.de>
993 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
996 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
998 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
1000 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1002 2013-01-18 Joseph Myers <joseph@codesourcery.com>
1003 Mark Mitchell <mark@codesourcery.com>
1004 Tom de Vries <tom@codesourcery.com>
1005 Paul Pluzhnikov <ppluzhnikov@google.com>
1007 * debug/tst-backtrace2.c: New file.
1008 * debug/tst-backtrace3.c: Likewise.
1009 * debug/tst-backtrace4.c: Likewise.
1010 * debug/tst-backtrace5.c: Likewise.
1011 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
1012 (CFLAGS-tst-backtrace3.c): Likewise.
1013 (CFLAGS-tst-backtrace4.c): Likewise.
1014 (CFLAGS-tst-backtrace5.c): Likewise.
1015 (LDFLAGS-tst-backtrace2): Likewise.
1016 (LDFLAGS-tst-backtrace3): Likewise.
1017 (LDFLAGS-tst-backtrace4): Likewise.
1018 (LDFLAGS-tst-backtrace5): Likewise.
1019 (tests): Add new tests tst-backtrace2, tst-backtrace3,
1020 tst-backtrace4 and tst-backtrace5.
1022 2013-01-18 Anton Blanchard <anton@samba.org>
1023 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1025 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
1026 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
1027 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
1028 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
1029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1030 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
1031 "+r" and remove output regs list as redundant. Add explicit inline
1032 asm to specify register of return val to work around compiler codegen
1033 bug. Remove (int) cast on return value. Add return type parameter to
1034 use in macro so that this macro does not truncate return value for
1036 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
1037 pass to INTERNAL_VSYSCALL_NCS.
1038 (INLINE_VSYSCALL): Add 'long int' as return type to
1039 INTERNAL_VSYSCALL_NCS macro invocation.
1040 (INTERNAL_VSYSCALL): Add 'long int' as return type to
1041 INTERNAL_VSYSCALL_NCS macro invocation.
1042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1044 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1047 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
1048 Fix application of SIMD FP exception mask.
1050 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
1051 mp_no from a power of two.
1052 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
1053 __mpexp_twomm1. Use __pow_mp.
1055 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
1058 2013-01-17 David S. Miller <davem@davemloft.net>
1060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1062 2013-01-17 Joseph Myers <joseph@codesourcery.com>
1065 * include/complex.h: Condition contents on [!_COMPLEX_H].
1066 (__kernel_casinhf): New prototype.
1067 (__kernel_casinh): Likewise.
1068 (__kernel_casinhl): Likewise.
1069 * math/Makefile (libm_calls): Add k_casinh.
1070 * math/k_casinh.c: New file.
1071 * math/k_casinhf.c: Likewise.
1072 * math/k_casinhl.c: Likewise.
1073 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
1074 finite nonzero arguments.
1075 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
1076 finite nonzero arguments.
1077 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
1078 finite nonzero arguments.
1079 * math/s_casinh.c: Do not include <float.h>.
1080 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
1081 * math/s_casinhf.c: Do not include <float.h>.
1082 (__casinhf): Move code for finite nonzero arguments to
1084 * math/s_casinhl.c: Do not include <float.h>.
1085 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
1087 (__casinhl): Move code for finite nonzero arguments to
1089 * math/libm-test.inc (cacos_test): Add more tests.
1090 * sysdeps/i386/fpu/libm-test-ulps: Update.
1091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1093 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
1095 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
1096 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
1097 [!HAVE_MREMAP]: Remove [defined linux] case.
1098 * malloc/arena.c: Do not include <malloc-sysdep.h>.
1100 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1102 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
1104 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
1106 * elf/elf.h (R_386_SIZE32): New relocation.
1107 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
1109 (elf_machine_rela): Likewise.
1110 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1111 R_X86_64_SIZE64 and R_X86_64_SIZE32.
1113 2013-01-17 Joseph Myers <joseph@codesourcery.com>
1115 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
1116 (FP_FAST_FMA): Do not define.
1117 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
1118 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
1119 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
1120 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
1121 !_SOFT_FLOAT]: Likewise.
1122 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
1123 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
1125 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
1126 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
1127 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
1128 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
1129 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
1130 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
1133 2013-01-16 Andreas Schwab <schwab@suse.de>
1136 * include/stdlib.h (__mktemp): Add declaration.
1137 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
1138 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
1140 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1142 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
1144 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1145 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
1146 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
1148 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
1149 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
1151 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
1153 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
1154 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
1155 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
1157 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
1158 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
1160 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1162 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
1164 2013-01-15 David S. Miller <davem@davemloft.net>
1166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1167 trunc{,f} to libm-sysdep_routes.
1168 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
1171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
1172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
1174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
1176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
1177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
1178 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
1179 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
1180 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
1181 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
1182 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
1183 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
1185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1186 nearbyint{,f} to libm-sysdep_routes.
1187 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
1190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
1192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
1194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
1196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
1197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
1198 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
1200 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
1201 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
1203 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
1204 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
1205 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
1207 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1208 libc_feholdexcept and libc_fesetenv.
1210 2013-01-15 Mike Frysinger <vapier@gentoo.org>
1212 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
1214 2013-01-14 David S. Miller <davem@davemloft.net>
1216 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
1217 (SPARC_ASM_VIS2_IFUNC): Likewise.
1218 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
1219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
1220 use of 'siam' instruction.
1221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
1223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
1225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
1227 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
1228 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1229 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
1230 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
1231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
1233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
1235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
1237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
1239 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
1240 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
1241 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
1242 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
1243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
1245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1249 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1250 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1251 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1252 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
1254 routines to libm-sysdep_routines.
1255 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1258 fdim/fdimf to libm-sysdep_routines.
1259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
1261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
1262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
1264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
1265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
1266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
1267 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
1268 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
1269 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
1270 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
1272 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1274 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
1277 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
1278 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1279 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1281 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
1282 local variable MPTWO.
1283 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1286 2013-01-13 Mike Frysinger <vapier@gentoo.org>
1288 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
1291 2013-01-13 Mike Frysinger <vapier@gentoo.org>
1293 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
1295 2013-01-13 Mike Frysinger <vapier@gentoo.org>
1297 * manual/pattern.texi (glob_t): Document gl_flags.
1298 (glob64_t): Likewise.
1300 2013-01-11 David S. Miller <davem@davemloft.net>
1302 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
1303 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
1304 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
1305 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
1306 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
1307 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
1308 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
1309 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
1310 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
1311 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
1312 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
1313 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
1314 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
1316 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
1317 sparc V9 rather than using V8 code.
1318 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1319 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1321 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1323 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
1326 2013-01-11 Roland McGrath <roland@hack.frob.com>
1328 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
1329 not in the main loop.
1330 * configure: Regenerated.
1332 2013-01-11 Joseph Myers <joseph@codesourcery.com>
1334 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
1335 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
1337 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
1338 [!__GLIBC_HAVE_LONG_LONG] case.
1339 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
1340 condition to just #else.
1341 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
1342 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
1343 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
1344 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
1346 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
1347 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
1348 #elif condition to just #else.
1349 * sysdeps/unix/sysv/linux/sys/sysmacros.h
1350 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
1351 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
1352 #elif condition to just #else.
1354 2013-01-11 Steve Ellcey <sellcey@mips.com>
1356 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
1357 (EF_MIPS_ARCH_64): Fix value.
1358 (EF_MIPS_ARCH_32R2): New.
1359 (EF_MIPS_ARCH_64R2): New.
1361 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
1363 * Makeconfig (+link-pie-before-libc): New.
1364 (+link-pie-after-libc): Likewise.
1365 (+link-pie-tests): Likewise.
1366 (+link-pie): Rewritten.
1367 (link-before-libc): Remove $(config-LDFLAGS).
1368 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
1369 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
1370 (config-LDFLAGS): Renamed to ...
1371 (rtld-LDFLAGS): This.
1372 (rtld-tests-LDFLAGS): New macro.
1373 (link-libc-rpath-link): Likewise.
1374 (link-libc-tests-rpath-link): Likewise.
1375 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
1376 (link-libc): Prepand $(link-libc-rpath-link).
1377 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
1378 (test-program-prefix): New macro.
1379 (test-via-rtld-prefix): Likewise.
1380 (test-program-cmd): Likewise.
1381 (host-test-program-cmd): Likewise.
1382 * Makefile ($(common-objpfx)testrun.sh): Replace
1383 $(run-program-prefix) with $(test-program-prefix).
1384 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
1386 ($(common-objpfx)shlib.lds): Likewise.
1387 (build-module-helper): Likewise.
1388 ($(common-objpfx)format.lds): Likewise.
1389 * Rules (binaries-pie-tests): New.
1390 (binaries-pie-notests): Likewise.
1391 (binaries-pie): Rewritten.
1392 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
1393 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
1394 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
1395 (make-test-out): Replace $(host-built-program-cmd) with
1396 $(host-test-program-cmd).
1397 * config.make.in (build-hardcoded-path-in-tests): New variable.
1398 * configure.in (--enable-hardcoded-path-in-tests): New configure
1400 (hardcoded_path_in_tests): New AC_SUBST.
1401 * configure: Regenerated.
1402 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
1403 $(built-program-cmd) with $(test-program-cmd).
1404 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
1405 (test_program_cmd): This.
1406 * elf/Makefile ($(objpfx)order.out): Run test with
1407 $(test-program-prefix).
1408 ($(objpfx)order2.out): Likewise.
1409 ($(objpfx)tst-initorder.out): Likewise.
1410 ($(objpfx)tst-initorder2.out): Likewise.
1411 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
1412 $(test-program-cmd).
1413 ($(objpfx)tst-array1-static.out): Likewise.
1414 ($(objpfx)tst-array2.out): Likewise.
1415 ($(objpfx)tst-array3.out): Likewise.
1416 ($(objpfx)tst-array4.out): Likewise.
1417 ($(objpfx)tst-array5.out): Likewise.
1418 ($(objpfx)tst-array5-static.out): Likewise.
1419 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
1420 $(test-program-cmd).
1421 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
1422 $(run-program-prefix) with $(test-program-prefix).
1423 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
1424 (test_program_prefix): This.
1425 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
1426 $(run-program-prefix) with $(test-program-prefix).
1427 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
1428 (test_program_prefix): This.
1429 * iconvdata/tst-tables.sh: Likewise.
1430 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
1431 $(run-program-prefix) with $(test-program-prefix).
1432 ($(objpfx)tst-translit.out): Likewise.
1433 ($(objpfx)tst-gettext2.out): Likewise.
1434 ($(objpfx)tst-gettext4.out): Likewise.
1435 ($(objpfx)tst-gettext6.out): Likewise.
1436 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
1437 (test_program_prefix): This.
1438 * intl/tst-gettext2.sh: Likewise.
1439 * intl/tst-gettext4.sh Likewise.
1440 * intl/tst-gettext6.sh: Likewise.
1441 * intl/tst-translit.sh: Likewise.
1442 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
1443 with $(test-program-cmd).
1444 * libio/Makefile ($(objpfx)test-freopen.out): Replace
1445 $(run-program-prefix) with $(test-program-prefix).
1446 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
1447 (test_program_prefix): This.
1448 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
1449 $(run-program-prefix) with $(test-program-prefix).
1450 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
1451 (test_program_prefix): This.
1452 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
1453 * posix/Makefile ($(objpfx)globtest.out): Replace
1454 $(run-via-rtld-prefix) and $(test-wrapper) with
1455 $(test-program-prefix) and $(test-via-rtld-prefix).
1456 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
1457 $(test-program-prefix).
1458 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
1459 $(host-test-program-cmd).
1460 (tst-spawn-ARGS): Likewise.
1461 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
1462 $(test-program-prefix).
1463 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
1464 (test_via_rtld_prefix): This.
1465 (test_wrapper): Renamed to ...
1466 (test_program_prefix): This.
1467 (run_program_prefix): Replaced by test_program_prefix.
1468 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
1469 (test_program_prefix): This.
1470 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
1471 with $(host-test-program-cmd).
1472 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
1473 $(run-program-prefix) with $(test-program-prefix).
1474 ($(objpfx)tst-printf.out): Likewise.
1475 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
1476 $(test-program-cmd).
1477 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
1478 (test_program_prefix): This.
1479 * stdio-common/tst-unbputc.sh: Likewise.
1480 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
1481 $(run-program-prefix) with $(test-program-prefix).
1482 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
1483 (test_program_prefix): This.
1484 * string/Makefile ($(objpfx)tst-svc.out): Replace
1485 $(built-program-cmd) with $(test-program-cmd).
1487 2013-01-11 Andreas Jaeger <aj@suse.de>
1490 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
1491 value. Sync with Linux 3.7.
1493 2013-01-10 David S. Miller <davem@davemloft.net>
1495 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
1496 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1497 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1499 2013-01-10 Roland McGrath <roland@hack.frob.com>
1501 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
1503 * configure: Regenerated.
1505 2013-01-10 David S. Miller <davem@davemloft.net>
1507 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
1508 sparc V9 rather than using V8 code.
1509 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1510 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1512 2013-01-10 Roland McGrath <roland@hack.frob.com>
1514 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
1515 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
1516 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
1517 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
1518 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
1519 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
1520 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
1521 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
1522 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
1523 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
1524 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
1525 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
1526 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
1527 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
1528 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
1529 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
1530 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
1531 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
1532 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
1533 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
1534 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
1535 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
1536 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
1537 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
1538 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
1539 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
1540 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
1542 2013-01-10 David S. Miller <davem@davemloft.net>
1544 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1546 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1548 * posix/Makefile (tests-static): New variable.
1549 (tests): Add $(tests-static).
1550 (tst-exec-static-ARGS): New variable.
1551 (tst-spawn-static-ARGS): Likewise.
1552 * posix/tst-exec-static.c: New file.
1553 * posix/tst-spawn-static.c: Likewise.
1554 * posix/tst-exec.c: Support run directly.
1555 * posix/tst-spawn.c: Likewise.
1557 2013-01-10 Joseph Myers <joseph@codesourcery.com>
1559 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
1561 * math/bits/mathcalls.h (llrint): Likewise.
1562 (llround): Likewise.
1563 * stdlib/stdlib.h (struct drand48_data): Likewise.
1564 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
1565 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
1566 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
1568 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
1570 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
1571 (elf_greg_t): Likewise.
1572 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
1573 (__jmp_buf): Likewise.
1574 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
1576 (llrint): Likewise, for all definitions.
1577 (llrintl): Likewise.
1579 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
1580 Remove [__GNUC__] condition.
1581 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
1582 condition to just [__USE_ISOC99].
1583 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
1585 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1588 * sysdeps/unix/sysv/linux/x86/bits/environments.h
1589 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
1591 (_POSIX_V6_ILP32_OFF32): Likewise.
1592 (_XBS5_ILP32_OFF32): Likewise.
1593 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
1594 (__ILP32_OFFBIG_LDFLAGS): Likewise.
1596 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1598 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
1600 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
1601 doubles __mpexp_twomm1. Adjust usage.
1602 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
1605 2013-01-10 Andreas Schwab <schwab@suse.de>
1608 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
1609 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
1611 2013-01-09 David S. Miller <davem@davemloft.net>
1614 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
1615 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
1616 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
1617 TCP_FASTOPEN): Define.
1618 (tcp_repair_opt): New structure.
1619 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
1621 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
1622 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
1623 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
1624 (tcp_cookie_transactions): New structure.
1626 2013-01-09 Anton Blanchard <anton@samba.org>
1628 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
1629 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
1630 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
1631 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
1633 2013-01-09 Joseph Myers <joseph@codesourcery.com>
1635 * include/features.h (__USE_ANSI): Remove.
1637 2013-01-09 Roland McGrath <roland@hack.frob.com>
1639 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
1641 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
1643 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1645 * sysdeps/s390/fpu/libm-test-ulps: Update.
1647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1649 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
1654 (__mp_dbl): Likewise.
1655 (__dbl_mp): Likewise.
1656 (add_magnitudes): Likewise.
1657 (sub_magnitudes): Likewise.
1663 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
1668 (__mp_dbl): Likewise.
1669 (__dbl_mp): Likewise.
1670 (add_magnitudes): Likewise.
1671 (sub_magnitudes): Likewise.
1677 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
1682 (__mp_dbl): Likewise.
1683 (__dbl_mp): Likewise.
1684 (add_magnitudes): Likewise.
1685 (sub_magnitudes): Likewise.
1692 2013-01-08 Joseph Myers <joseph@codesourcery.com>
1694 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
1695 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
1696 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
1697 2 && __USE_EXTERN_INLINES]: Likewise.
1699 2013-01-08 Andreas Jaeger <aj@suse.de>
1702 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
1704 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1705 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1707 2013-01-07 Anton Blanchard <anton@samba.org>
1709 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
1710 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1711 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
1712 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1713 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1714 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1715 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
1716 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1717 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1718 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1719 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1720 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1721 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1722 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1723 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1724 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1725 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1726 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1727 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1728 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1729 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1730 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
1731 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1732 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1733 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
1734 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1735 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1736 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1737 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
1738 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1739 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1740 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1741 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1742 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1743 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1744 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1745 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1746 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1747 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
1748 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1749 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
1750 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1751 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1753 2013-01-07 Joseph Myers <joseph@codesourcery.com>
1755 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
1756 (__MALLOC_PMT): Likewise.
1757 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
1758 [__GNUC__], only on [_LIBC].
1759 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1760 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
1761 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1762 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
1763 forward declaration.
1764 (realloc_hook_ini): Likewise.
1765 (memalign_hook_ini): Likewise.
1766 (__libc_memalign): Do not use __MALLOC_PMT in variable
1768 (__libc_valloc): Likewise.
1769 (__libc_pvalloc): Likewise.
1770 (__libc_calloc): Likewise.
1771 (__posix_memalign): Likewise.
1774 * math/s_casinh.c: Include <float.h>.
1775 (__casinh): Do not do computation with squaring and square root
1776 for large arguments.
1777 * math/s_casinhf.c: Include <float.h>.
1778 (__casinhf): Do not do computation with squaring and square root
1779 for large arguments.
1780 * math/s_casinhl.c: Include <float.h>.
1781 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
1782 (__casinhl): Do not do computation with squaring and square root
1783 for large arguments.
1784 * math/libm-test.inc (casin_test): Add more tests.
1785 (casinh_test): Likewise.
1786 * sysdeps/i386/fpu/libm-test-ulps: Update.
1787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1789 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
1791 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
1792 (__x86_64_raw_data_cache_size): Likewise.
1793 (__x86_64_data_cache_size_half): Likewise.
1794 (__x86_64_raw_data_cache_size_half): Likewise.
1795 (__x86_64_shared_cache_size): Likewise.
1796 (__x86_64_raw_shared_cache_size): Likewise.
1797 (__x86_64_shared_cache_size_half): Likewise.
1798 (__x86_64_raw_shared_cache_size_half): Likewise.
1799 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
1801 (__x86_data_cache_size): This.
1802 (__x86_64_raw_data_cache_size): Renamed to ...
1803 (__x86_raw_data_cache_size): This.
1804 (__x86_64_data_cache_size_half): Renamed to ...
1805 (__x86_data_cache_size_half): This.
1806 (__x86_64_raw_data_cache_size_half): Renamed to ...
1807 (__x86_raw_data_cache_size_half): This.
1808 (__x86_64_shared_cache_size): Renamed to ...
1809 (__x86_shared_cache_size): This.
1810 (__x86_64_raw_shared_cache_size): Renamed to ...
1811 (__x86_raw_shared_cache_size): This.
1812 (__x86_64_shared_cache_size_half): Renamed to ...
1813 (__x86_shared_cache_size_half): This.
1814 (__x86_64_raw_shared_cache_size_half): Renamed to ...
1815 (__x86_raw_shared_cache_size_half): This.
1816 * sysdeps/x86_64/memcpy.S: Updated.
1817 * sysdeps/x86_64/memset.S: Likewise.
1818 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1819 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1820 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1822 2013-01-04 David S. Miller <davem@davemloft.net>
1824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1826 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
1828 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
1829 1 to avoid redefinition warning.
1830 (__USE_GNU): Don't define.
1831 (init_signaling_nan): Protoize.
1833 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1835 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1837 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
1838 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
1839 (__cpymn): Likewise.
1840 (norm): Remove commented code.
1842 (__mp_dbl): Likewise.
1844 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
1845 (__cpymn): Likewise.
1846 (norm): Remove commented code.
1848 (__mp_dbl): Likewise.
1851 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
1852 mp_no value for 1.0 and 2.0.
1853 (norm): Use RADIXI instead of radixi.d.
1855 (__mul): Use 0.0 instead of zero.d.
1856 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
1857 mp_no value for 1.0 and 2.0.
1858 (norm): Use RADIXI instead of radixi.d.
1860 (__mul): Use 0.0 instead of zero.d.
1862 2013-01-04 Joseph Myers <joseph@codesourcery.com>
1865 * math/s_casinh.c (__casinh): Reduce finite argument to first
1866 quadrant then set signs of results at the end.
1867 * math/s_casinhf.c (__casinhf): Likewise.
1868 * math/s_casinhl.c (__casinhl): Likewise.
1869 * math/libm-test.inc (casin_test): Add more tests.
1870 (casinh_test): Likewise.
1871 * sysdeps/i386/fpu/libm-test-ulps: Update.
1872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1874 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1876 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
1878 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
1880 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
1883 (__mp_dbl): Likewise.
1886 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
1887 and adjust the header comment.
1889 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
1890 variable name from declaration.
1892 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
1894 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1895 Initialize COMMON_CPUID_INDEX_7 element.
1896 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
1897 (CPUID_RTM): Likewise.
1898 (HAS_RTM): Likewise.
1899 (COMMON_CPUID_INDEX_7): New enum.
1901 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
1904 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
1905 size is zero, record memory as freed.
1907 2013-01-03 Andreas Jaeger <aj@suse.de>
1909 * po/ia.po: Add new Interlingua translation.
1911 2012-01-03 Allan McRae <allan@archlinux.org>
1913 * locale/programs/localedef.c: Fix description of '--posix' flag.
1915 2013-01-02 Joseph Myers <joseph@codesourcery.com>
1917 * NEWS: Update dates in second copyright notice.
1918 * README: Update copyright dates in example.
1919 * manual/libc.texinfo: Update copyright dates.
1920 * scripts/test-installation.pl: Update copyright date in --version
1923 * hurd/ctty-input.c: Fix copyright notice formatting.
1924 * hurd/ctty-output.c: Likewise.
1925 * hurd/dtable.c: Likewise.
1926 * hurd/hurd-raise.c: Likewise.
1927 * hurd/hurdprio.c: Likewise.
1928 * hurd/msgportdemux.c: Likewise.
1929 * misc/sys/file.h: Likewise.
1930 * misc/sys/ioctl.h: Likewise.
1931 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1932 * sysdeps/mach/hurd/chdir.c: Likewise.
1933 * sysdeps/mach/hurd/fchdir.c: Likewise.
1934 * sysdeps/mach/hurd/rename.c: Likewise.
1935 * sysdeps/mach/hurd/rmdir.c: Likewise.
1936 * sysdeps/mach/hurd/seekdir.c: Likewise.
1937 * sysdeps/mach/hurd/setsid.c: Likewise.
1938 * sysdeps/posix/wait3.c: Likewise.
1940 * All files with FSF copyright notices: Update copyright dates
1941 using scripts/update-copyrights.
1942 * intl/plural.c: Regenerated.
1943 * locale/programs/charmap-kw.h: Likewise.
1944 * locale/programs/locfile-kw.h: Likewise.
1946 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1948 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
1951 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
1952 calculation loop and add branch prediction.
1954 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
1955 check access beyond bounds of m1np.
1957 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1959 (__inv): Remove local variable MPTWO to use the global
1961 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
1962 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1964 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
1965 MP3HALFS static const.
1967 2013-01-01 David S. Miller <davem@davemloft.net>
1969 * po/ca.po: Update from translation team.
1971 2013-01-01 Joseph Myers <joseph@codesourcery.com>
1973 * scripts/update-copyrights: New file.
1974 * Makeconfig: Reformat copyright notice.
1975 * ctype/ctype.h: Likewise.
1976 * debug/swprintf_chk.c: Likewise.
1977 * elf/dl-cache.c: Likewise.
1978 * elf/dl-debug.c: Likewise.
1979 * elf/dl-object.c: Likewise.
1980 * grp/initgroups.c: Likewise.
1981 * hurd/Makefile: Likewise.
1982 * hurd/hurd/signal.h: Likewise.
1983 * hurd/hurdfault.c: Likewise.
1984 * hurd/hurdioctl.c: Likewise.
1985 * hurd/hurdlookup.c: Likewise.
1986 * hurd/intr-msg.c: Likewise.
1987 * iconv/gconv_open.c: Likewise.
1988 * libio/swprintf.c: Likewise.
1989 * locale/lc-ctype.c: Likewise.
1990 * locale/nl_langinfo.c: Likewise.
1991 * mach/Machrules: Likewise.
1992 * mach/Makefile: Likewise.
1993 * malloc/obstack.h: Likewise.
1994 * manual/Makefile: Likewise.
1995 * manual/tsort.awk: Likewise.
1996 * misc/bits/stab.def: Likewise.
1997 * nis/nis_print_group_entry.c: Likewise.
1998 * nis/nis_table.c: Likewise.
1999 * nis/nss_compat/compat-pwd.c: Likewise.
2000 * nis/nss_compat/compat-spwd.c: Likewise.
2001 * po/Makefile: Likewise.
2002 * posix/fnmatch.c: Likewise.
2003 * posix/regex.h: Likewise.
2004 * resolv/Makefile: Likewise.
2005 * resolv/nss_dns/dns-network.c: Likewise.
2006 * resolv/res_hconf.c: Likewise.
2007 * scripts/gen-sorted.awk: Likewise.
2008 * soft-fp/soft-fp.h: Likewise.
2009 * stdio-common/printf.h: Likewise.
2010 * stdlib/monetary.h: Likewise.
2011 * stdlib/random.c: Likewise.
2012 * stdlib/random_r.c: Likewise.
2013 * sysdeps/generic/Makefile: Likewise.
2014 * sysdeps/gnu/Makefile: Likewise.
2015 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2016 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2017 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2018 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2019 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2020 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2021 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2022 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2023 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2024 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2025 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2026 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2027 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
2028 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
2029 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
2030 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
2031 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2032 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2033 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2034 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2035 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2036 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2037 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2038 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2039 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
2040 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
2041 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2042 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
2043 * sysdeps/mach/hurd/errnos.awk: Likewise.
2044 * sysdeps/mach/hurd/fork.c: Likewise.
2045 * sysdeps/mach/hurd/getcwd.c: Likewise.
2046 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
2047 * sysdeps/mach/hurd/mmap.c: Likewise.
2048 * sysdeps/mach/hurd/utimes.c: Likewise.
2049 * sysdeps/mach/hurd/xmknod.c: Likewise.
2050 * sysdeps/posix/profil.c: Likewise.
2051 * sysdeps/posix/readdir_r.c: Likewise.
2052 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2053 * sysdeps/powerpc/bits/setjmp.h: Likewise.
2054 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
2055 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2056 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2057 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2058 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2059 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2060 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2061 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2062 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2063 * sysdeps/pthread/lio_listio.c: Likewise.
2064 * sysdeps/sparc/dl-procinfo.h: Likewise.
2065 * sysdeps/unix/i386/sysdep.S: Likewise.
2066 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2067 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
2068 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2069 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
2070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2071 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2072 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2073 * sysdeps/unix/sysv/linux/speed.c: Likewise.
2074 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2075 * sysdeps/wordsize-32/divdi3.c: Likewise.
2076 * time/sys/time.h: Likewise.
2077 * wcsmbs/Makefile: Likewise.
2079 2013-01-01 David S. Miller <davem@davemloft.net>
2081 * po/fr.po: Update from translation team.
2083 * catgets/gencat.c: Update copyright year.
2084 * csu/version.c: Likewise.
2085 * debug/catchsegv.sh: Likewise.
2086 * debug/pcprofiledump.c: Likewise.
2087 * debug/xtrace.sh: Likewise.
2088 * elf/ldconfig.c: Likewise.
2089 * elf/ldd.bash.in: Likewise.
2090 * elf/pldd.c: Likewise.
2091 * elf/sotruss.ksh: Likewise.
2092 * elf/sprof.c: Likewise.
2093 * iconv/iconv_prog.c: Likewise.
2094 * iconv/iconvconfig.c: Likewise.
2095 * locale/programs/locale.c: Likewise.
2096 * locale/programs/localedef.c: Likewise.
2097 * login/programs/pt_chown.c: Likewise.
2098 * malloc/memusage.sh: Likewise.
2099 * malloc/memusagestat.c: Likewise.
2100 * malloc/mtrace.pl: Likewise.
2101 * nscd/nscd.c: Likewise.
2102 * nss/getent.c: Likewise.
2103 * nss/makedb.c: Likewise.
2104 * posix/getconf.c: Likewise.
2106 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2108 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
2111 2012-12-30 Mike Frysinger <vapier@gentoo.org>
2113 * math/bits/mathcalls.h (modf): Use __nonnull.
2115 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2117 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
2118 (split): Use macro CN instead of the bare value.
2119 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
2121 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
2122 instead of the bare value.
2125 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2127 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
2129 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2131 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
2133 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2134 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2135 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
2136 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2138 2012-12-28 Andreas Jaeger <aj@suse.de>
2140 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
2141 values are from Linux 3.7.
2143 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
2144 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
2146 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2148 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
2151 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
2153 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
2154 variables with preprocessor constants.
2155 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2156 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
2157 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
2159 2012-12-27 Bruno Haible <bruno@clisp.org>
2162 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
2165 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2167 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
2168 and use variable directly.
2169 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
2171 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2173 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
2174 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2176 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2177 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2178 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
2179 include directive. Remove local variable MPONE.
2180 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
2181 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
2182 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2184 2012-12-25 David S. Miller <davem@davemloft.net>
2186 * version.h (RELEASE): Set to "development".
2187 (VERSION): Set to "2.17.90".
2188 * NEWS: Add 2.18 section.
2190 2012-12-21 David S. Miller <davem@davemloft.net>
2192 * po/hr.po: Update from translation team.
2194 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2196 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
2198 2012-12-19 Steve Ellcey <sellcey@mips.com>
2200 * NEWS: Mention new memcpy for MIPS.
2202 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2204 * manual/contrib.texi (Contributors): Spelling correction.
2206 2012-12-15 David S. Miller <davem@davemloft.net>
2208 * po/ru.po: Update from translation team.
2210 2012-12-13 David S. Miller <davem@davemloft.net>
2212 * NEWS: Mention IFUNC testsuite enhancements.
2214 * po/pl.po: Update from translation team.
2215 * po/bg.po: Likewise.
2217 * manual/contrib.texi (Contributors): Update entries for Hongjiu
2218 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
2220 2012-12-11 David S. Miller <davem@davemloft.net>
2222 * po/sv.po: Update from translation team.
2224 * po/vi.po: Update from translation team.
2226 * po/cs.po: Update from translation team.
2228 * po/de.po: Update from translation team.
2229 * po/eo.po: Likewise.
2230 * po/nl.po: Likewise.
2232 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2235 * manual/argp.texi (Argp Helper Functions): Move node to follow
2239 * manual/conf.texi (Limits on File System Capacity): Mention if
2240 terminating null is included in the max size.
2242 2012-12-10 Andreas Jaeger <aj@suse.de>
2244 * po/cs.po: Update from translation team.
2246 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2248 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
2249 void pointer and cast to uintptr_t.
2250 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
2252 * sysdeps/s390/s390-64/memcpy.S: Likewise.
2253 * sysdeps/s390/s390-64/memset.S: Likewise.
2255 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
2258 * menual/message.texi (Message Translation): Fix typos.
2259 (Helper programs for gettext): Likewise.
2261 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
2264 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
2267 2012-12-07 David S. Miller <davem@davemloft.net>
2269 * po/libc.pot: Update.
2271 2012-12-07 Richard Henderson <rth@redhat.com>
2274 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
2275 normal/normal case to before the switch.
2276 (_FP_DIV): Likewise.
2278 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
2279 Mike Frysinger <vapier@gentoo.org>
2281 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
2282 check for __NR_fadvise64_64.
2284 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
2286 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
2287 0, not just to plain "0" as a statement.
2288 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
2291 2012-12-06 Joseph Myers <joseph@codesourcery.com>
2293 * NEWS: Use sourceware.org in Bugzilla URL.
2295 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2298 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2300 * stdio-common/tst-put-error.c (do_test): Add newline to the
2301 padded test to ensure flush.
2303 2012-12-05 Jeff Law <law@redhat.com>
2305 * sunrpc/etc.rpc (fedfs_admin): Add entry.
2307 2012-12-05 Joseph Myers <joseph@codesourcery.com>
2309 * README: Don't refer to ports add-on as distributed separately.
2310 Mention AArch64 in list of systems supported in the ports add-on.
2312 * LICENSES: Add more non-FSF copyright and license notices.
2314 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
2317 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
2319 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
2320 10000 as width of padded output.
2322 2012-12-04 Joseph Myers <joseph@codesourcery.com>
2324 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
2326 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
2327 variable LX with __attribute__ ((unused)).
2328 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2330 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2331 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2332 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
2333 with __attribute__ ((unused)).
2335 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
2337 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
2339 2012-12-04 Joseph Myers <joseph@codesourcery.com>
2341 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
2342 (CFLAGS-nldbl-acos.c): New variable.
2343 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
2344 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
2345 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
2346 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
2347 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
2348 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
2349 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
2350 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
2351 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
2352 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
2353 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
2354 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
2355 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
2356 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
2357 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
2358 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
2359 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
2360 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
2361 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
2362 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
2363 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
2364 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
2365 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
2366 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
2367 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
2368 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
2369 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
2370 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
2371 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
2372 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
2373 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
2374 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
2375 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
2376 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
2377 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
2378 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
2379 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
2380 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
2381 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
2382 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
2383 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
2384 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
2385 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
2386 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
2387 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
2388 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
2389 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
2390 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
2391 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
2392 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
2393 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
2394 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
2395 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
2396 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
2397 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
2398 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
2399 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
2400 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
2401 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
2402 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
2403 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
2404 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
2405 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
2406 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
2407 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
2408 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
2409 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
2410 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
2411 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
2412 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
2413 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
2414 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
2415 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
2416 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
2417 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
2418 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
2419 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
2420 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
2421 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
2422 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
2423 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
2424 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
2425 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
2426 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
2427 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
2428 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
2429 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
2430 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
2431 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
2432 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
2433 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
2434 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
2435 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
2436 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
2437 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
2438 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
2439 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
2441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2442 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2445 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
2446 whole low double instead of just low 47 bits when splitting values
2449 2012-12-03 Allan McRae <allan@archlinux.org>
2451 * manual/stdio.texi (Predefined Printf Handlers): Remove
2452 @hsep and @vsep usage.
2454 2012-12-03 Mike Frysinger <vapier@gentoo.org>
2456 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
2457 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
2459 2012-12-03 Jeff Law <law@redhat.com>
2461 * time/sys/time.h (settimeofday): Do not mark TV argument
2464 2012-12-01 Mike Frysinger <vapier@gentoo.org>
2466 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
2467 when currently writing and seek to current position when not.
2468 * libio/Makefile (tests): Remove bug-fclose1.
2469 * libio/bug-fclose1.c: Delete.
2471 2012-12-01 Joseph Myers <joseph@codesourcery.com>
2473 * manual/arith.texi (feenableexcept): Fix typo.
2474 (fedisableexcept): Likewise.
2476 2012-11-30 Roland McGrath <roland@hack.frob.com>
2478 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
2479 second, differently-typed declaration, rather than a cast.
2481 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2483 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
2484 * include/rpc/svc.h: ... here.
2486 2012-11-30 Aurelien Jarno <aurel32@debian.org>
2489 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
2490 depending n and resplen2 to catch cases where answer
2493 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
2495 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
2496 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
2498 2012-11-29 Mike Frysinger <vapier@gentoo.org>
2500 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
2502 2012-11-29 Roland McGrath <roland@hack.frob.com>
2504 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
2506 2012-11-28 Jeff Law <law@redhat.com>
2509 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
2510 dataset_temporary. Track alloca usage into alloca_used.
2511 If dataset is large allocate and release it via malloc/free.
2513 2012-06-04 Florian Weimer <fweimer@redhat.com>
2516 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
2518 2012-11-28 David S. Miller <davem@davemloft.net>
2520 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2522 2012-11-28 Joseph Myers <joseph@codesourcery.com>
2525 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
2526 of pi/2 rounded to nearest to 64 bits.
2527 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
2529 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
2532 2012-11-28 Jeff Law <law@redhat.com>
2533 Martin Osvald <mosvald@redhat.com>
2536 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
2537 * sunrpc/svc.c: Include time.h.
2538 (__svc_accept_failed): New function.
2539 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
2540 any reason other than EINTR, call __svc_accept_failed.
2541 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
2542 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
2544 2012-11-28 Andreas Schwab <schwab@suse.de>
2546 * scripts/abilist.awk: Also handle indirect functions in .opd
2549 2012-11-28 Joseph Myers <joseph@codesourcery.com>
2552 * sysdeps/x86/fpu/powl_helper.c: New file.
2553 * sysdeps/x86/fpu/Makefile: Likewise.
2554 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
2556 (__ieee754_powl): Use __powl_helper for finite arguments except
2557 integer exponents below 8.
2558 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
2560 (__ieee754_powl): Use __powl_helper for finite arguments except
2561 integer exponents below 8.
2562 * math/libm-test.inc (pow_test): Add more tests and enable some
2563 previously disabled tests.
2564 * sysdeps/i386/fpu/libm-test-ulps: Update.
2565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2567 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2568 Carlos O'Donell <carlos_odonell@mentor.com>
2570 * nss/makedb.c (is_prime): Assert that input is odd and greater
2571 than 4. Note that fact in a comment too.
2572 (next_prime): Add 4 to input.
2574 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2577 * libio/Makefile (tests): Add test case tst-fwrite-error.
2578 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
2579 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
2580 * libio/tst-fwrite-error.c: New test case.
2582 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
2584 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
2585 before casting to void *.
2586 * include/libc-internal.h (__pointer_type): New macro.
2587 (__integer_if_pointer_type_sub): Likewise.
2588 (__integer_if_pointer_type): Likewise.
2589 (cast_to_integer): Likewise.
2590 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
2591 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
2592 before casting to atomic64_t.
2593 (atomic_exchange_acq): Likewise.
2594 (__arch_exchange_and_add_body): Likewise.
2595 (__arch_add_body): Likewise.
2596 (atomic_add_negative): Likewise.
2597 (atomic_add_zero): Likewise.
2599 2012-11-26 Joseph Myers <joseph@codesourcery.com>
2601 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
2602 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
2603 (add_fdes): Likewise.
2604 (linear_search_fdes): Likewise.
2605 (binary_search_unencoded_fdes): Likewise.
2607 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
2609 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
2611 2012-11-24 Adam Conrad <adconrad@0c3.net>
2613 * configure.in: Autodetect C++ header directories.
2614 * configure: Regenerated.
2616 2012-11-23 Mike Frysinger <vapier@gentoo.org>
2618 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
2620 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
2622 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2624 2012-11-22 Joseph Myers <joseph@codesourcery.com>
2626 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
2627 LDBL_MANT_DIG == 106]: Disable some tests.
2628 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2630 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2634 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
2635 input for small inputs. Return +/- pi/2 for large inputs.
2636 * math/libm-test.inc (atan_test): Add more tests.
2638 * sysdeps/generic/unwind-dw2-fde-glibc.c
2639 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
2640 __attribute__ ((unused)).
2643 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
2644 x * y if x and y are nonzero and z is zero.
2647 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
2648 nonzero exponents with absolute value below 0x1p-117 to +/-
2652 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
2653 up arguments below 2**-450, not just those below 2**-500.
2654 * math/libm-test.inc (hypot_test): Add another test.
2657 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2658 Return a+b for ratio over 2**120, not 2**60.
2659 * math/libm-test.inc (hypot_test): Add another test.
2661 * math/libm-test.inc (clog_test): Use
2662 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
2663 (clog10_test): Likewise.
2666 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
2668 2012-11-22 Andreas Schwab <schwab@suse.de>
2670 * sysdeps/i386/fpu/libm-test-ulps: Update.
2672 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
2674 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
2675 printf output with newline.
2677 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
2680 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
2681 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
2682 -z nodlopen, -z initfirst and -z execstack support.
2683 * configure: Regenerated.
2685 * elf/elf.h (DF_1_NODIRECT): New macro.
2686 (DF_1_IGNMULDEF): Likewise.
2687 (DF_1_NOKSYMS): Likewise.
2688 (DF_1_NOHDR): Likewise.
2689 (DF_1_EDITED): Likewise.
2690 (DF_1_NORELOC): Likewise.
2691 (DF_1_SYMINTPOSE): Likewise.
2692 (DF_1_GLOBAUDIT): Likewise.
2693 (DF_1_SINGLETON): Likewise.
2694 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
2695 DT_1_SUPPORTED_MASK bits.
2696 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
2698 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
2700 * sysdeps/unix/make-syscalls.sh: Document prefixes.
2702 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
2704 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
2707 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
2708 (sendmmsg): Move declarations...
2709 * socket/sys/socket.h: ... here.
2710 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
2711 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
2713 * socket/recvmmsg.c: ... this new file.
2714 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
2715 (sendmmsg): Rename to __sendmmsg, create weak alias and make
2716 definition of __sendmmsg hidden.
2717 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2718 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
2719 Move ENOSYS stub into and include it from...
2720 * socket/sendmmsg.c: ... this new file.
2721 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
2722 (sysdep_routines): Move recvmmsg and sendmmsg...
2723 * socket/Makefile (routines): ... here.
2724 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
2725 (GLIBC_PRIVATE): Add __sendmmsg.
2726 * include/sys/socket.h (__sendmmsg): Add declarations.
2727 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
2730 2012-11-20 Joseph Myers <joseph@codesourcery.com>
2732 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
2733 variable I1 with __attribute__ ((unused)).
2734 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2736 2012-11-19 Joseph Myers <joseph@codesourcery.com>
2738 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
2739 DUMMY variables with __attribute__ ((unused)).
2741 * bits/byteswap.h: Include <bits/types.h>.
2742 (__bswap_64): Use __uint64_t instead of unsigned long long int.
2744 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2746 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
2747 string_t. Do not manually set errno.
2748 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
2749 length with __strnlen. Make sure to both set errno and return it on
2752 2012-11-19 David S. Miller <davem@davemloft.net>
2754 With help from Joseph Myers.
2755 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
2756 very large arguments properly.
2757 * math/libm-test.inc (atan_test): New tests.
2758 (atan2_test): New tests.
2759 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2760 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2762 2012-11-19 Joseph Myers <joseph@codesourcery.com>
2765 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
2768 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
2769 [POSIX] (EADDRNOTAVAIL): Likewise.
2770 [POSIX] (EAFNOSUPPORT): Likewise.
2771 [POSIX] (EALREADY): Likewise.
2772 [POSIX] (ECONNABORTED): Likewise.
2773 [POSIX] (ECONNREFUSED): Likewise.
2774 [POSIX] (ECONNRESET): Likewise.
2775 [POSIX] (EDESTADDRREQ): Likewise.
2776 [POSIX] (EDQUOT): Likewise.
2777 [POSIX] (EHOSTUNREACH): Likewise.
2778 [POSIX] (EIDRM): Likewise.
2779 [POSIX] (EISCONN): Likewise.
2780 [POSIX] (ELOOP): Likewise.
2781 [POSIX] (EMULTIHOP): Likewise.
2782 [POSIX] (ENETDOWN): Likewise.
2783 [POSIX] (ENETUNREACH): Likewise.
2784 [POSIX] (ENOBUFS): Likewise.
2785 [POSIX] (ENODATA): Likewise.
2786 [POSIX] (ENOLINK): Likewise.
2787 [POSIX] (ENOMSG): Likewise.
2788 [POSIX] (ENOPROTOOPT): Likewise.
2789 [POSIX] (ENOSR): Likewise.
2790 [POSIX] (ENOSTR): Likewise.
2791 [POSIX] (ENOTCONN): Likewise.
2792 [POSIX] (ENOTSOCK): Likewise.
2793 [POSIX] (EOPNOTSUPP): Likewise.
2794 [POSIX] (EOVERFLOW): Likewise.
2795 [POSIX] (EPROTO): Likewise.
2796 [POSIX] (EPROTONOSUPPORT): Likewise.
2797 [POSIX] (EPROTOTYPE): Likewise.
2798 [POSIX] (ESTALE): Likewise.
2799 [POSIX] (ETIME): Likewise.
2800 [POSIX] (ETXTBSY): Likewise.
2801 [POSIX] (EWOULDBLOCK): Likewise.
2802 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
2803 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
2804 [POSIX] (SEEK_CUR): Likewise.
2805 [POSIX] (SEEK_END): Likewise.
2806 [POSIX || UNIX98] (mode_t): Do not require.
2807 [POSIX] (off_t): Likewise.
2808 [POSIX] (pid_t): Likewise.
2809 [POSIX] (sys/stat.h): Do not allow header.
2810 [POSIX] (unistd.h): Likewise.
2811 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
2812 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
2813 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
2814 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
2816 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
2817 sigevent): Specify elements.
2818 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
2820 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
2821 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
2823 * conform/data/cpio.h-data [POSIX]: Disable whole file.
2824 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
2825 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
2826 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
2827 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
2828 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
2829 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
2830 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
2831 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
2832 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
2833 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
2834 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
2835 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
2836 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
2838 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
2840 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
2842 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
2844 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
2845 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
2846 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
2847 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
2848 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
2849 Specify lower bound on value.
2850 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
2851 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
2852 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
2853 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
2854 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
2855 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
2856 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
2857 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
2859 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
2861 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
2862 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
2863 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
2864 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
2865 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
2866 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
2867 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
2868 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
2869 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
2870 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
2871 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
2872 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
2873 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
2874 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
2875 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
2876 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
2878 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
2880 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
2881 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
2882 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
2883 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
2884 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
2885 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
2887 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
2888 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
2889 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
2890 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
2891 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
2892 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
2893 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
2895 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
2896 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
2897 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
2898 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
2899 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
2900 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
2901 specify as optional.
2902 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
2903 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
2904 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
2905 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
2906 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
2907 [XPG3] (NL_LANGMAX): Likewise.
2908 [POSIX || XPG3] (NL_MSGMAX): Likewise.
2909 [POSIX || XPG3] (NL_NMAX): Likewise.
2910 [POSIX || XPG3] (NL_SETMAX): Likewise.
2911 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
2912 [XPG3] (NZERO): Likewise.
2913 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
2914 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
2915 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
2916 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
2917 (REG_ERANGE): Expect.
2918 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
2920 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
2921 Use (void) in prototype.
2922 [POSIX] (*_t): Allow.
2923 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
2924 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
2925 (WRDE_BADVAL): Expect.
2927 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
2929 [XPG3 || XPG4] (O_RSYNC): Likewise.
2930 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
2932 [XPG3 || XPG4] (pthread_sigmask): Likewise.
2933 [XPG3 || XPG4] (sigqueue): Likewise.
2934 [XPG3 || XPG4] (sigtimedwait): Likewise.
2935 [XPG3 || XPG4] (sigwaitinfo): Likewise.
2936 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
2937 [XPG3 || XPG4] (vsnprintf): Likewise.
2938 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
2940 [XPG3 || XPG4] (blksize_t): Likewise.
2941 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
2943 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
2944 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2945 [XPG3 || XPG4] (struct itimerspec): Likewise.
2946 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
2947 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
2948 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
2949 [XPG3 || XPG4] (clockid_t): Likewise.
2950 [XPG3 || XPG4] (timer_t): Likewise.
2951 [XPG3 || XPG4] (clock_getres): Likewise.
2952 [XPG3 || XPG4] (clock_gettime): Likewise.
2953 [XPG3 || XPG4] (clock_settime): Likewise.
2954 [XPG3 || XPG4] (nanosleep): Likewise.
2955 [XPG3 || XPG4] (timer_create): Likewise.
2956 [XPG3 || XPG4] (timer_delete): Likewise.
2957 [XPG3 || XPG4] (timer_gettime): Likewise.
2958 [XPG3 || XPG4] (timer_getoverrun): Likewise.
2959 [XPG3 || XPG4] (timer_settime): Likewise.
2960 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
2961 [XPG3 || XPG4] (getlogin_r): Likewise.
2962 [XPG3 || XPG4] (pread): Likewise.
2963 [XPG3 || XPG4] (pthread_atfork): Likewise.
2964 [XPG3 || XPG4] (pwrite): Likewise.
2967 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
2970 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2972 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
2973 finalizing MALLSTREAM.
2975 * sysdeps/mach/hurd/syncfs.c: New file.
2977 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2980 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
2981 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
2982 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
2983 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
2984 (_nss_dns_gethostbyname4_r): Likewise.
2985 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
2986 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
2988 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
2991 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
2993 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
2995 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
2996 * elf/cache.c (print_entry): Print ",AArch64" for
2999 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
3000 * elf/cache.c (print_entry): Print ",hard-float" for
3003 2012-11-18 David S. Miller <davem@davemloft.net>
3005 With help from Joseph Myers.
3006 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
3008 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
3010 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
3011 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
3013 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3014 * math/libm-test.inc (y0_test): New tests.
3015 (y1_test): New tests.
3016 * sysdeps/i386/fpu/libm-test-ulps: Update.
3017 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3018 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3020 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
3022 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
3024 * configure: Regenerated.
3026 2012-11-17 David S. Miller <davem@davemloft.net>
3029 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
3030 nonzero exponents with absolute value below 0x1p-128 to +/-
3033 2012-11-17 Joseph Myers <joseph@codesourcery.com>
3035 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
3037 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
3039 * posix/getconf-speclist.c: New file.
3040 * posix/posix-envs.def: Likewise.
3041 * posix/confstr.c (START_ENV_GROUP): New macro.
3042 (END_ENV_GROUP): Likewise.
3043 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3044 (KNOWN_PRESENT_ENV_STRING): Likewise.
3045 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3046 (UNKNOWN_ENVIRONMENT): Likewise.
3047 (confstr): Include posix-envs.def instead of handling
3048 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
3049 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
3050 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
3051 (END_ENV_GROUP): Likewise.
3052 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3053 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3054 (UNKNOWN_ENVIRONMENT): Likewise.
3055 (__sysconf): Include posix-envs.def instead of handling associated
3056 cases directly here.
3057 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
3058 preprocessing getconf-speclist.c rather than running getconf or
3059 generating empty file.
3061 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
3063 * scripts/check-local-headers.sh: Ignore 'mach' headers.
3065 2012-11-16 Andrej Lajovic <natrij@gmail.com>
3068 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
3070 2012-11-16 David S. Miller <davem@davemloft.net>
3072 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
3073 smaller than LDBL_EPSILON/2.0L, just return xm1.
3075 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
3077 * elf/tst-array1.c (init): Set constructor priority to 1000.
3078 (fini): Set destructor priority to 1000.
3079 * elf/tst-array2dep.c: Likewise.
3081 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3084 * libio/fileops.c (_IO_new_file_write): Correctly return error.
3085 (_IO_new_file_xsputn): Also return EOF if none of the input
3086 data was written when overflow failed.
3087 * libio/iopadn.c (_IO_padn): Likewise.
3088 * libio/iowpadn.c (_IO_wpadn): Likewise.
3089 * stdio-common/tst-put-error.c: Add copyright notice.
3090 (do_test): Add case for printing padded string.
3091 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
3092 _IO_padn returned error.
3093 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
3094 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
3097 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3099 * libio/libioP.h: Add comment note that the references to C++
3100 bits are now obsolete.
3102 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3104 * math/libm-test.inc (check_complex): Use asprintf.
3106 2012-11-14 Joseph Myers <joseph@codesourcery.com>
3108 * debug/pcprofiledump.c (print_version): Update copyright year.
3109 * malloc/memusagestat.c (print_version): Likewise.
3111 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
3114 * elf/Makefile (tests): Add tst-audit8.
3115 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
3116 ($(objpfx)tst-audit8.out): New target.
3117 (tst-audit8-ENV): New variable.
3118 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
3119 audit if l_reloc_result is NULL.
3120 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
3121 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
3122 * elf/tst-audit8.c: New file.
3124 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3126 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
3127 * misc/Makefile (CFLAGS-select.c): Define.
3128 * posix/Makefile (CFLAGS-pause.c): Define.
3130 2012-11-13 David S. Miller <davem@davemloft.net>
3132 * crypt/Makefile: Move test targets after toplevel Rules
3133 inclusion. Grab any necessary sysdep routines when linking.
3134 * crypt/md5.c (md5_process_block): Remove define, we will always
3135 name it __md5_process_block.
3136 (md5_finish_ctx): Update md5_process_block call.
3137 (md5_stream): Likewise.
3138 (md5_process_bytes): Likewise.
3139 (md5_process_block): Rename to __md5_process_block and move to ...
3140 * crypt/md5-block.c: ... here.
3141 * crypt/sha256.c (sha256_process_block): Move to ...
3142 * crypt/sha256-block.c: ... here.
3143 * crypt/sha512.c (sha512_process_block): Move to ...
3144 * crypt/sha512-block.c: ... here.
3145 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
3147 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
3148 * sysdeps/sparc/sparc64/multiarch/Makefile
3149 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
3151 (localedef-aux): Add md5 crypto assembler when in locale subdir.
3152 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
3154 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
3155 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
3156 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
3157 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
3158 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
3159 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
3160 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
3161 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
3162 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
3164 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
3165 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
3167 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
3169 2012-11-13 Joseph Myers <joseph@codesourcery.com>
3171 * timezone/tzselect.ksh: Update from tzcode git revision
3172 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
3173 * timezone/zdump.c: Likewise.
3174 * timezone/zic.c: Likewise.
3175 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
3176 in TZVERSION setting, not $(PKGVERSION).
3177 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
3178 REPORT_BUGS_TO settings.
3181 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
3184 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3186 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
3187 detection to immediately after _FP_ROUND().
3188 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
3191 2012-11-11 David S. Miller <davem@davemloft.net>
3193 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
3195 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
3196 __close rather than their public counterparts.
3198 2012-11-10 Joseph Myers <joseph@codesourcery.com>
3200 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
3202 [UNIX98] (sem_timedwait): Do not expect.
3203 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
3204 [XPG4 || UNIX98] (sockatmark): Do not expect.
3205 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
3206 (clock_getcpuclockid): Do not expect.
3207 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
3208 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
3210 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
3211 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
3212 [UNIX98] (vwscanf): Likewise.
3213 [UNIX98] (vswscanf): Likewise.
3215 2012-11-09 Joseph Myers <joseph@codesourcery.com>
3217 * timezone/version.h: Remove file.
3218 * timezone/README: Do not refer to version.h.
3219 * timezone/Makefile ($(objpfx)zic.o): New dependency on
3221 ($(objpfx)zdump.o): Likewise.
3222 ($(objpfx)version.h): New target.
3224 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
3226 * timezone/README: Don't mention modification to tzselect.ksh.
3227 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
3228 work on unmodified tzselect.ksh. Substitute version numbers in
3231 * Makefile (format-me): Remove.
3232 (INSTALL): Adjust indentation. Use commands directly instead of
3235 * aclocal.m4 (ACX_PKGVERSION): New macro.
3236 (ACX_BUGURL): Likewise.
3237 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
3238 (PKGVERSION): New AC_DEFINE_UNQUOTED.
3239 (REPORT_BUGS_TO): Likewise.
3240 * configure: Regenerated.
3241 * config.h.in (PKGVERSION): New macro.
3242 (REPORT_BUGS_TO): Likewise.
3243 * config.make.in (PKGVERSION): New variable.
3244 (PKGVERSION_TEXI): Likewise.
3245 (REPORT_BUGS_TO): Likewise.
3246 (REPORT_BUGS_TEXI): Likewise.
3247 * Makefile (format-me): Use -I$(common-objpfx)manual.
3248 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
3249 ($(common-objpfx)manual/%): New target.
3250 (manual/%): Remove target.
3251 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
3252 (print_version): Use PKGVERSION.
3253 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
3254 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
3256 ($(objpfx)xtrace): Likewise.
3257 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
3258 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
3259 (print_version): Use PKGVERSION.
3260 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
3261 (do_version): Use PKGVERSION.
3262 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
3264 (common-ldd-rewrite): Likewise.
3265 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
3266 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
3267 (print_version): Use PKGVERSION.
3268 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
3269 * elf/pldd.c (argp_program_bug_address): Remove variable.
3270 (more_help): New function.
3271 (argp): Use more_help.
3272 (print_version): Use PKGVERSION.
3273 * elf/sln.c (main): Use PKGVERSION.
3274 (usage): Use REPORT_BUGS_TO.
3275 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
3276 (top level): Use PKGVERSION.
3277 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
3278 (print_version): Use PKGVERSION.
3279 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
3280 (print_version): Use PKGVERSION.
3281 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
3282 (print_version): Use PKGVERSION.
3283 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
3284 (print_version): Use PKGVERSION.
3285 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
3286 (print_version): Use PKGVERSION.
3287 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
3288 (print_version): Use PKGVERSION.
3289 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
3291 ($(objpfx)memusage): Likewise.
3292 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
3293 (do_version): Use PKGVERSION.
3294 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
3295 (print_version): Use PKGVERSION.
3296 * malloc/mtrace.pl ($PACKAGE): Remove variable.
3297 ($PKGVERSION): New variable.
3298 ($REPORT_BUGS_TO): Likewise.
3299 (usage): Use $REPORT_BUGS_TO.
3300 (top level): Use $PKGVERSION.
3301 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
3302 ($(objpfx)pkgvers.texi): New rule.
3303 ($(objpfx)stamp-pkgvers): Likewise.
3304 * manual/install.texi: Include pkgvers.texi.
3305 (--with-pkgversion): Document new configure option.
3306 (--with-bugurl): Likewise.
3307 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
3308 than necessarily for this particular distribution. Use
3309 REPORT_BUGS_TO for where to report bugs.
3310 * INSTALL: Regenerated.
3311 * manual/libc.texinfo: Include pkgvers.texi.
3312 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
3313 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
3314 (print_version): Use PKGVERSION.
3315 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
3316 (print_version): Use PKGVERSION.
3317 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
3318 (print_version): Use PKGVERSION.
3319 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
3320 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
3322 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
3323 (print_version): Use PKGVERSION.
3324 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
3325 (print_version): Use PKGVERSION.
3326 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
3329 * timezone/checktab.awk: Update from tzcode 2012i.
3330 * timezone/ialloc.c: Likewise.
3331 * timezone/private.h: Likewise.
3332 * timezone/scheck.c: Likewise.
3333 * timezone/tzfile.h: Likewise.
3334 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
3335 (TZVERSION): Hardcode tzcode version number.
3336 * timezone/zdump.c: Update from tzcode 2012i.
3337 * timezone/zic.c: Likewise.
3338 * timezone/version.h: New file.
3339 * timezone/README: Describe version.h. Update upstream location.
3342 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
3343 (mktemp): Enable declaration.
3344 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
3345 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
3346 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
3347 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
3349 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
3351 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
3353 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
3355 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
3357 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
3361 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
3362 offset in buffer as u_int32_t not u_long. Consistently use memcpy
3363 for copies of such integer values.
3364 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
3365 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
3367 2012-11-09 Andreas Jaeger <aj@suse.de>
3369 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
3370 definitions and declarations that are provided by
3371 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3373 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3375 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
3376 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
3377 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
3380 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3382 * elf/elf.h: Update comment before AArch64 relocations.
3384 2012-11-07 David S. Miller <davem@davemloft.net>
3386 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
3387 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3388 (__start_context): Declare.
3389 (__makecontext_ret): Delete.
3390 (__makecontext): Hook up __start_context instead of
3392 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
3393 (sysdep_routines): Add __start_context when in stdlib.
3395 2012-11-07 Joseph Myers <joseph@codesourcery.com>
3397 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
3398 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
3399 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
3401 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
3402 (READELF): New variable. Use it instead of hardcoded "readelf".
3404 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
3406 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
3407 * sysdeps/x86/Makefile: Here.
3408 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
3409 * sysdeps/x86/tst-xmmymm.sh: This.
3411 2012-11-07 Joseph Myers <joseph@codesourcery.com>
3413 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
3415 [UNIX98] (pthread_barrier_t): Do not expect.
3416 [UNIX98] (pthread_barrierattr_t): Likewise.
3417 [UNIX98] (pthread_spinlock_t): Likewise.
3418 [UNIX98] (pthread_barrier_destroy): Likewise.
3419 [UNIX98] (pthread_barrier_init): Likewise.
3420 [UNIX98] (pthread_barrier_wait): Likewise.
3421 [UNIX98] (pthread_barrierattr_destroy): Likewise.
3422 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
3423 [UNIX98] (pthread_barrierattr_init): Likewise.
3424 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
3425 [UNIX98] (pthread_getcpuclockid): Likewise.
3426 [UNIX98] (pthread_mutex_timedlock): Likewise.
3427 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
3428 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
3429 [UNIX98] (pthread_sigmask): Likewise.
3430 [UNIX98] (pthread_spin_destroy): Likewise.
3431 [UNIX98] (pthread_spin_init): Likewise.
3432 [UNIX98] (pthread_spin_lock): Likewise.
3433 [UNIX98] (pthread_spin_trylock): Likewise.
3434 [UNIX98] (pthread_spin_unlock): Likewise.
3435 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
3437 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
3438 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
3439 [XPG3 || XPG4] (pthread_cond_t): Likewise.
3440 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
3441 [XPG3 || XPG4] (pthread_key_t): Likewise.
3442 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
3443 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
3444 [XPG3 || XPG4] (pthread_once_t): Likewise.
3445 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
3446 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
3447 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
3448 [XPG3 || XPG4] (pthread_t): Likewise.
3450 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
3452 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
3454 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
3455 Change function return type to int.
3457 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
3458 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
3459 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
3460 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
3461 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
3462 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
3463 [!POSIX] (posix_madvise): Likewise.
3464 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
3466 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
3467 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
3469 (posix_mem_offset): Likewise.
3470 (posix_typed_mem_get_info): Likewise.
3471 (posix_typed_mem_open): Likewise.
3473 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
3474 Change condition to [XOPEN2K8].
3476 * conform/conformtest.pl: Preprocess allow-header data with -x c
3477 instead of from stdin.
3478 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
3479 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
3480 [C99-based standards] (cerfc): Likewise.
3481 [C99-based standards] (cexp2): Likewise.
3482 [C99-based standards] (cexpm1): Likewise.
3483 [C99-based standards] (clog10): Likewise.
3484 [C99-based standards] (clog1p): Likewise.
3485 [C99-based standards] (clog2): Likewise.
3486 [C99-based standards] (clgamma): Likewise.
3487 [C99-based standards] (ctgamma): Likewise.
3488 [C99-based standards] (cerff): Likewise.
3489 [C99-based standards] (cerfcf): Likewise.
3490 [C99-based standards] (cexp2f): Likewise.
3491 [C99-based standards] (cexpm1f): Likewise.
3492 [C99-based standards] (clog10f): Likewise.
3493 [C99-based standards] (clog1pf): Likewise.
3494 [C99-based standards] (clog2f): Likewise.
3495 [C99-based standards] (clgammaf): Likewise.
3496 [C99-based standards] (ctgammaf): Likewise.
3497 [C99-based standards] (cerfl): Likewise.
3498 [C99-based standards] (cerfcl): Likewise.
3499 [C99-based standards] (cexp2l): Likewise.
3500 [C99-based standards] (cexpm1l): Likewise.
3501 [C99-based standards] (clog10l): Likewise.
3502 [C99-based standards] (clog1pl): Likewise.
3503 [C99-based standards] (clog2l): Likewise.
3504 [C99-based standards] (clgammal): Likewise.
3505 [C99-based standards] (ctgammal): Likewise.
3506 * conform/data/inttypes.h-data [C99-based standards]: Include
3507 stdint.h-data. Remove all expectations for stdint.h contents.
3508 [C99-based standards] (PRI*): Do not allow.
3509 [C99-based standards] (SCN*): Likewise.
3510 [C99-based standards] (*_t): Likewise.
3511 [C99-based-standards] (PRId8): Expect macro.
3512 [C99-based-standards] (PRIi8): Likewise.
3513 [C99-based-standards] (PRIo8): Likewise.
3514 [C99-based-standards] (PRIu8): Likewise.
3515 [C99-based-standards] (PRIx8): Likewise.
3516 [C99-based-standards] (PRIX8): Likewise.
3517 [C99-based-standards] (SCNd8): Likewise.
3518 [C99-based-standards] (SCNi8): Likewise.
3519 [C99-based-standards] (SCNo8): Likewise.
3520 [C99-based-standards] (SCNu8): Likewise.
3521 [C99-based-standards] (SCNx8): Likewise.
3522 [C99-based-standards] (PRIdLEAST8): Likewise.
3523 [C99-based-standards] (PRIiLEAST8): Likewise.
3524 [C99-based-standards] (PRIoLEAST8): Likewise.
3525 [C99-based-standards] (PRIuLEAST8): Likewise.
3526 [C99-based-standards] (PRIxLEAST8): Likewise.
3527 [C99-based-standards] (PRIXLEAST8): Likewise.
3528 [C99-based-standards] (SCNdLEAST8): Likewise.
3529 [C99-based-standards] (SCNiLEAST8): Likewise.
3530 [C99-based-standards] (SCNoLEAST8): Likewise.
3531 [C99-based-standards] (SCNuLEAST8): Likewise.
3532 [C99-based-standards] (SCNxLEAST8): Likewise.
3533 [C99-based-standards] (PRIdFAST8): Likewise.
3534 [C99-based-standards] (PRIiFAST8): Likewise.
3535 [C99-based-standards] (PRIoFAST8): Likewise.
3536 [C99-based-standards] (PRIuFAST8): Likewise.
3537 [C99-based-standards] (PRIxFAST8): Likewise.
3538 [C99-based-standards] (PRIXFAST8): Likewise.
3539 [C99-based-standards] (SCNdFAST8): Likewise.
3540 [C99-based-standards] (SCNiFAST8): Likewise.
3541 [C99-based-standards] (SCNoFAST8): Likewise.
3542 [C99-based-standards] (SCNuFAST8): Likewise.
3543 [C99-based-standards] (SCNxFAST8): Likewise.
3544 [C99-based-standards] (PRId16): Likewise.
3545 [C99-based-standards] (PRIi16): Likewise.
3546 [C99-based-standards] (PRIo16): Likewise.
3547 [C99-based-standards] (PRIu16): Likewise.
3548 [C99-based-standards] (PRIx16): Likewise.
3549 [C99-based-standards] (PRIX16): Likewise.
3550 [C99-based-standards] (SCNd16): Likewise.
3551 [C99-based-standards] (SCNi16): Likewise.
3552 [C99-based-standards] (SCNo16): Likewise.
3553 [C99-based-standards] (SCNu16): Likewise.
3554 [C99-based-standards] (SCNx16): Likewise.
3555 [C99-based-standards] (PRIdLEAST16): Likewise.
3556 [C99-based-standards] (PRIiLEAST16): Likewise.
3557 [C99-based-standards] (PRIoLEAST16): Likewise.
3558 [C99-based-standards] (PRIuLEAST16): Likewise.
3559 [C99-based-standards] (PRIxLEAST16): Likewise.
3560 [C99-based-standards] (PRIXLEAST16): Likewise.
3561 [C99-based-standards] (SCNdLEAST16): Likewise.
3562 [C99-based-standards] (SCNiLEAST16): Likewise.
3563 [C99-based-standards] (SCNoLEAST16): Likewise.
3564 [C99-based-standards] (SCNuLEAST16): Likewise.
3565 [C99-based-standards] (SCNxLEAST16): Likewise.
3566 [C99-based-standards] (PRIdFAST16): Likewise.
3567 [C99-based-standards] (PRIiFAST16): Likewise.
3568 [C99-based-standards] (PRIoFAST16): Likewise.
3569 [C99-based-standards] (PRIuFAST16): Likewise.
3570 [C99-based-standards] (PRIxFAST16): Likewise.
3571 [C99-based-standards] (PRIXFAST16): Likewise.
3572 [C99-based-standards] (SCNdFAST16): Likewise.
3573 [C99-based-standards] (SCNiFAST16): Likewise.
3574 [C99-based-standards] (SCNoFAST16): Likewise.
3575 [C99-based-standards] (SCNuFAST16): Likewise.
3576 [C99-based-standards] (SCNxFAST16): Likewise.
3577 [C99-based-standards] (PRId32): Likewise.
3578 [C99-based-standards] (PRIi32): Likewise.
3579 [C99-based-standards] (PRIo32): Likewise.
3580 [C99-based-standards] (PRIu32): Likewise.
3581 [C99-based-standards] (PRIx32): Likewise.
3582 [C99-based-standards] (PRIX32): Likewise.
3583 [C99-based-standards] (SCNd32): Likewise.
3584 [C99-based-standards] (SCNi32): Likewise.
3585 [C99-based-standards] (SCNo32): Likewise.
3586 [C99-based-standards] (SCNu32): Likewise.
3587 [C99-based-standards] (SCNx32): Likewise.
3588 [C99-based-standards] (PRIdLEAST32): Likewise.
3589 [C99-based-standards] (PRIiLEAST32): Likewise.
3590 [C99-based-standards] (PRIoLEAST32): Likewise.
3591 [C99-based-standards] (PRIuLEAST32): Likewise.
3592 [C99-based-standards] (PRIxLEAST32): Likewise.
3593 [C99-based-standards] (PRIXLEAST32): Likewise.
3594 [C99-based-standards] (SCNdLEAST32): Likewise.
3595 [C99-based-standards] (SCNiLEAST32): Likewise.
3596 [C99-based-standards] (SCNoLEAST32): Likewise.
3597 [C99-based-standards] (SCNuLEAST32): Likewise.
3598 [C99-based-standards] (SCNxLEAST32): Likewise.
3599 [C99-based-standards] (PRIdFAST32): Likewise.
3600 [C99-based-standards] (PRIiFAST32): Likewise.
3601 [C99-based-standards] (PRIoFAST32): Likewise.
3602 [C99-based-standards] (PRIuFAST32): Likewise.
3603 [C99-based-standards] (PRIxFAST32): Likewise.
3604 [C99-based-standards] (PRIXFAST32): Likewise.
3605 [C99-based-standards] (SCNdFAST32): Likewise.
3606 [C99-based-standards] (SCNiFAST32): Likewise.
3607 [C99-based-standards] (SCNoFAST32): Likewise.
3608 [C99-based-standards] (SCNuFAST32): Likewise.
3609 [C99-based-standards] (SCNxFAST32): Likewise.
3610 [C99-based-standards] (PRId64): Likewise.
3611 [C99-based-standards] (PRIi64): Likewise.
3612 [C99-based-standards] (PRIo64): Likewise.
3613 [C99-based-standards] (PRIu64): Likewise.
3614 [C99-based-standards] (PRIx64): Likewise.
3615 [C99-based-standards] (PRIX64): Likewise.
3616 [C99-based-standards] (SCNd64): Likewise.
3617 [C99-based-standards] (SCNi64): Likewise.
3618 [C99-based-standards] (SCNo64): Likewise.
3619 [C99-based-standards] (SCNu64): Likewise.
3620 [C99-based-standards] (SCNx64): Likewise.
3621 [C99-based-standards] (PRIdLEAST64): Likewise.
3622 [C99-based-standards] (PRIiLEAST64): Likewise.
3623 [C99-based-standards] (PRIoLEAST64): Likewise.
3624 [C99-based-standards] (PRIuLEAST64): Likewise.
3625 [C99-based-standards] (PRIxLEAST64): Likewise.
3626 [C99-based-standards] (PRIXLEAST64): Likewise.
3627 [C99-based-standards] (SCNdLEAST64): Likewise.
3628 [C99-based-standards] (SCNiLEAST64): Likewise.
3629 [C99-based-standards] (SCNoLEAST64): Likewise.
3630 [C99-based-standards] (SCNuLEAST64): Likewise.
3631 [C99-based-standards] (SCNxLEAST64): Likewise.
3632 [C99-based-standards] (PRIdFAST64): Likewise.
3633 [C99-based-standards] (PRIiFAST64): Likewise.
3634 [C99-based-standards] (PRIoFAST64): Likewise.
3635 [C99-based-standards] (PRIuFAST64): Likewise.
3636 [C99-based-standards] (PRIxFAST64): Likewise.
3637 [C99-based-standards] (PRIXFAST64): Likewise.
3638 [C99-based-standards] (SCNdFAST64): Likewise.
3639 [C99-based-standards] (SCNiFAST64): Likewise.
3640 [C99-based-standards] (SCNoFAST64): Likewise.
3641 [C99-based-standards] (SCNuFAST64): Likewise.
3642 [C99-based-standards] (SCNxFAST64): Likewise.
3643 [C99-based-standards] (PRIdMAX): Likewise.
3644 [C99-based-standards] (PRIiMAX): Likewise.
3645 [C99-based-standards] (PRIoMAX): Likewise.
3646 [C99-based-standards] (PRIuMAX): Likewise.
3647 [C99-based-standards] (PRIxMAX): Likewise.
3648 [C99-based-standards] (PRIXMAX): Likewise.
3649 [C99-based-standards] (SCNdMAX): Likewise.
3650 [C99-based-standards] (SCNiMAX): Likewise.
3651 [C99-based-standards] (SCNoMAX): Likewise.
3652 [C99-based-standards] (SCNuMAX): Likewise.
3653 [C99-based-standards] (SCNxMAX): Likewise.
3654 [C99-based-standards] (PRIdPTR): Likewise.
3655 [C99-based-standards] (PRIiPTR): Likewise.
3656 [C99-based-standards] (PRIoPTR): Likewise.
3657 [C99-based-standards] (PRIuPTR): Likewise.
3658 [C99-based-standards] (PRIxPTR): Likewise.
3659 [C99-based-standards] (PRIXPTR): Likewise.
3660 [C99-based-standards] (SCNdPTR): Likewise.
3661 [C99-based-standards] (SCNiPTR): Likewise.
3662 [C99-based-standards] (SCNoPTR): Likewise.
3663 [C99-based-standards] (SCNuPTR): Likewise.
3664 [C99-based-standards] (SCNxPTR): Likewise.
3665 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
3667 * conform/data/stdint.h-data: Update comments to clarify
3669 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
3671 [C99-based standards] (INT8_MAX): Likewise.
3672 [C99-based standards] (INT16_MIN): Likewise.
3673 [C99-based standards] (INT16_MAX): Likewise.
3674 [C99-based standards] (INT32_MIN): Likewise.
3675 [C99-based standards] (INT32_MAX): Likewise.
3676 [C99-based standards] (INT64_MIN): Likewise.
3677 [C99-based standards] (INT64_MAX): Likewise.
3678 [C99-based standards] (UINT8_MAX): Likewise.
3679 [C99-based standards] (UINT16_MAX): Likewise.
3680 [C99-based standards] (UINT32_MAX): Likewise.
3681 [C99-based standards] (UINT64_MAX): Likewise.
3682 [C99-based standards] (INT_LEAST8_MIN): Likewise.
3683 [C99-based standards] (INT_LEAST8_MAX): Likewise.
3684 [C99-based standards] (INT_LEAST16_MIN): Likewise.
3685 [C99-based standards] (INT_LEAST16_MAX): Likewise.
3686 [C99-based standards] (INT_LEAST32_MIN): Likewise.
3687 [C99-based standards] (INT_LEAST32_MAX): Likewise.
3688 [C99-based standards] (INT_LEAST64_MIN): Likewise.
3689 [C99-based standards] (INT_LEAST64_MAX): Likewise.
3690 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
3691 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
3692 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
3693 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
3694 [C99-based standards] (INT_FAST8_MIN): Likewise.
3695 [C99-based standards] (INT_FAST8_MAX): Likewise.
3696 [C99-based standards] (INT_FAST16_MIN): Likewise.
3697 [C99-based standards] (INT_FAST16_MAX): Likewise.
3698 [C99-based standards] (INT_FAST32_MIN): Likewise.
3699 [C99-based standards] (INT_FAST32_MAX): Likewise.
3700 [C99-based standards] (INT_FAST64_MIN): Likewise.
3701 [C99-based standards] (INT_FAST64_MAX): Likewise.
3702 [C99-based standards] (UINT_FAST8_MAX): Likewise.
3703 [C99-based standards] (UINT_FAST16_MAX): Likewise.
3704 [C99-based standards] (UINT_FAST32_MAX): Likewise.
3705 [C99-based standards] (UINT_FAST64_MAX): Likewise.
3706 [C99-based standards] (INTPTR_MIN): Likewise.
3707 [C99-based standards] (INTPTR_MAX): Likewise.
3708 [C99-based standards] (UINTPTR_MAX): Likewise.
3709 [C99-based standards] (INTMAX_MIN): Likewise.
3710 [C99-based standards] (INTMAX_MAX): Likewise.
3711 [C99-based standards] (UINTMAX_MAX): Likewise.
3712 [C99-based standards] (PTRDIFF_MIN): Likewise.
3713 [C99-based standards] (PTRDIFF_MAX): Likewise.
3714 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
3715 [C99-based standards] (SIZE_MAX): Likewise.
3716 [C99-based standards] (WCHAR_MAX): Likewise.
3717 [C99-based standards] (WINT_MAX): Likewise.
3718 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
3719 constraint on value.
3720 [C99-based standards] (WCHAR_MIN): Likewise.
3721 [C99-based standards] (WINT_MIN): Likewise.
3722 [C99-based standards] (*_t): Allow.
3723 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
3724 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
3725 Include math.h-data and complex.h-data. Remove all expectations
3726 of math.h and complex.h contents.
3727 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
3729 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
3730 (struct tm): Expect tag.
3731 [C99-based-standards] (wcstof): Expect function.
3732 [C99-based-standards] (wcstold): Likewise.
3733 [C99-based-standards] (wcstoll): Likewise.
3734 [C99-based-standards] (wcstoull): Likewise.
3735 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
3736 macro-int-constant. Specify type.
3737 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
3738 constraint on value.
3739 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3741 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
3743 [ISO C standards]: Do not allow headers.
3744 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
3745 wcs[abcdefghijklmnopqrstuvwxyz]*.
3746 [ISO C standards] (*_t): Do not allow.
3747 * conform/data/wctype.h-data [C99-based standards] (iswblank):
3749 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
3750 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3752 [ISO C standards]: Do not allow headers.
3753 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
3754 is[abcdefghijklmnopqrstuvwxyz]*.
3755 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
3756 to[abcdefghijklmnopqrstuvwxyz]*.
3757 [ISO C standards] (*_t): Do not allow.
3758 * conform/data/stdalign.h-data: New file.
3759 * conform/data/stdbool.h-data: Likewise.
3760 * conform/data/stdnoreturn.h-data: Likewise.
3762 2012-11-07 Roland McGrath <roland@hack.frob.com>
3765 * manual/filesys.texi (Directory Entries): Typo fix.
3766 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
3768 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3770 * elf/elf.h (EM_AARCH64): New macro.
3771 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
3772 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
3773 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
3774 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
3775 (R_AARCH64_TLSDESC): Likewise.
3776 (NT_ARM_TLS): Likewise.
3777 (NT_ARM_HW_BREAK): Likewise.
3778 (NT_ARM_HW_WATCH): Likewise.
3780 2012-11-07 Joseph Myers <joseph@codesourcery.com>
3783 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
3784 (__ieee754_powl): Saturate nonzero exponents with absolute value
3785 below 0x1p-79 to +/- 0x1p-79.
3786 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
3787 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
3788 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
3789 nonzero exponents with absolute value below 0x1p-32 to +/-
3791 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
3792 (__ieee754_powl): Saturate nonzero exponents with absolute value
3793 below 0x1p-79 to +/- 0x1p-79.
3794 * math/libm-test.inc (pow_test): Add more tests.
3796 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3798 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
3799 _dl_s390_cap_flags with kernel. Increase string length.
3800 (_dl_s390_platforms): Add z196 and zEC12.
3802 2012-11-07 Joseph Myers <joseph@codesourcery.com>
3804 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
3805 Change XOPEN21K to XOPEN2K.
3807 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
3809 * string/memmove.c: Use memcpy when possible.
3811 2012-11-06 Andreas Jaeger <aj@suse.de>
3813 * po/eo.po: Update from translation team.
3815 2012-11-06 Joseph Myers <joseph@codesourcery.com>
3818 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
3819 exponent and small x and y exponents, scale x or y up. Increase
3820 by 2 the exponent used in scaling up.
3821 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3822 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3823 * math/libm-test.inc (fma_test): Add more tests.
3824 (fma_test_towardzero): Likewise.
3825 (fma_test_downward): Likewise.
3826 (fma_test_upward): Likewise.
3828 2012-11-05 Joseph Myers <joseph@codesourcery.com>
3831 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
3835 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
3836 namespace for names of struct fields.
3837 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
3839 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3840 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
3842 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3845 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
3847 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3849 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
3853 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
3856 2012-11-04 Joseph Myers <joseph@codesourcery.com>
3859 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
3860 definitely overflow as x * y not x * y + z.
3861 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3862 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3863 * math/libm-test.inc (fma_test): Add more tests.
3864 (fma_test_towardzero): Likewise.
3865 (fma_test_downward): Likewise.
3866 (fma_test_upward): Likewise.
3868 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3872 * include/stub-tag.h: Remove file.
3873 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
3875 * manual/maint.texi (Porting): Don't reference it.
3876 * Makerules ($(objpfx)stubs): Likewise.
3877 * dirent/closedir.c: Don't include <stub-tag.h>.
3878 * dirent/dirfd.c: Likewise.
3879 * dirent/fdopendir.c: Likewise.
3880 * dirent/getdents.c: Likewise.
3881 * dirent/getdents64.c: Likewise.
3882 * dirent/opendir.c: Likewise.
3883 * dirent/readdir.c: Likewise.
3884 * dirent/readdir64.c: Likewise.
3885 * dirent/readdir64_r.c: Likewise.
3886 * dirent/readdir_r.c: Likewise.
3887 * dirent/rewinddir.c: Likewise.
3888 * dirent/seekdir.c: Likewise.
3889 * dirent/telldir.c: Likewise.
3890 * gmon/profil.c: Likewise.
3891 * grp/setgroups.c: Likewise.
3892 * inet/if_index.c: Likewise.
3893 * io/access.c: Likewise.
3894 * io/chdir.c: Likewise.
3895 * io/chmod.c: Likewise.
3896 * io/chown.c: Likewise.
3897 * io/close.c: Likewise.
3898 * io/dup.c: Likewise.
3899 * io/dup2.c: Likewise.
3900 * io/dup3.c: Likewise.
3901 * io/euidaccess.c: Likewise.
3902 * io/faccessat.c: Likewise.
3903 * io/fchdir.c: Likewise.
3904 * io/fchmod.c: Likewise.
3905 * io/fchmodat.c: Likewise.
3906 * io/fchown.c: Likewise.
3907 * io/fchownat.c: Likewise.
3908 * io/fcntl.c: Likewise.
3909 * io/flock.c: Likewise.
3910 * io/fstatfs.c: Likewise.
3911 * io/fstatfs64.c: Likewise.
3912 * io/fstatvfs.c: Likewise.
3913 * io/fstatvfs64.c: Likewise.
3914 * io/futimens.c: Likewise.
3915 * io/fxstat.c: Likewise.
3916 * io/fxstat64.c: Likewise.
3917 * io/fxstatat.c: Likewise.
3918 * io/fxstatat64.c: Likewise.
3919 * io/getcwd.c: Likewise.
3920 * io/isatty.c: Likewise.
3921 * io/lchmod.c: Likewise.
3922 * io/lchown.c: Likewise.
3923 * io/link.c: Likewise.
3924 * io/linkat.c: Likewise.
3925 * io/lseek.c: Likewise.
3926 * io/lseek64.c: Likewise.
3927 * io/lxstat64.c: Likewise.
3928 * io/mkdir.c: Likewise.
3929 * io/mkdirat.c: Likewise.
3930 * io/mkfifo.c: Likewise.
3931 * io/mkfifoat.c: Likewise.
3932 * io/open.c: Likewise.
3933 * io/open64.c: Likewise.
3934 * io/openat.c: Likewise.
3935 * io/openat64.c: Likewise.
3936 * io/pipe.c: Likewise.
3937 * io/pipe2.c: Likewise.
3938 * io/poll.c: Likewise.
3939 * io/posix_fadvise.c: Likewise.
3940 * io/posix_fadvise64.c: Likewise.
3941 * io/posix_fallocate.c: Likewise.
3942 * io/posix_fallocate64.c: Likewise.
3943 * io/read.c: Likewise.
3944 * io/readlink.c: Likewise.
3945 * io/readlinkat.c: Likewise.
3946 * io/rmdir.c: Likewise.
3947 * io/sendfile.c: Likewise.
3948 * io/sendfile64.c: Likewise.
3949 * io/statfs.c: Likewise.
3950 * io/statfs64.c: Likewise.
3951 * io/statvfs.c: Likewise.
3952 * io/statvfs64.c: Likewise.
3953 * io/symlink.c: Likewise.
3954 * io/symlinkat.c: Likewise.
3955 * io/ttyname.c: Likewise.
3956 * io/ttyname_r.c: Likewise.
3957 * io/umask.c: Likewise.
3958 * io/unlink.c: Likewise.
3959 * io/unlinkat.c: Likewise.
3960 * io/utime.c: Likewise.
3961 * io/utimensat.c: Likewise.
3962 * io/write.c: Likewise.
3963 * io/xmknod.c: Likewise.
3964 * io/xmknodat.c: Likewise.
3965 * io/xstat.c: Likewise.
3966 * io/xstat64.c: Likewise.
3967 * login/getpt.c: Likewise.
3968 * login/grantpt.c: Likewise.
3969 * login/unlockpt.c: Likewise.
3970 * math/e_acoshl.c: Likewise.
3971 * math/e_acosl.c: Likewise.
3972 * math/e_asinl.c: Likewise.
3973 * math/e_atan2l.c: Likewise.
3974 * math/e_atanhl.c: Likewise.
3975 * math/e_coshl.c: Likewise.
3976 * math/e_expl.c: Likewise.
3977 * math/e_fmodl.c: Likewise.
3978 * math/e_gammal_r.c: Likewise.
3979 * math/e_hypotl.c: Likewise.
3980 * math/e_j0l.c: Likewise.
3981 * math/e_j1l.c: Likewise.
3982 * math/e_jnl.c: Likewise.
3983 * math/e_lgammal_r.c: Likewise.
3984 * math/e_log10l.c: Likewise.
3985 * math/e_log2l.c: Likewise.
3986 * math/e_logl.c: Likewise.
3987 * math/e_powl.c: Likewise.
3988 * math/e_rem_pio2l.c: Likewise.
3989 * math/e_sinhl.c: Likewise.
3990 * math/e_sqrtl.c: Likewise.
3991 * math/fclrexcpt.c: Likewise.
3992 * math/fedisblxcpt.c: Likewise.
3993 * math/feenablxcpt.c: Likewise.
3994 * math/fegetenv.c: Likewise.
3995 * math/fegetexcept.c: Likewise.
3996 * math/fegetround.c: Likewise.
3997 * math/feholdexcpt.c: Likewise.
3998 * math/fesetenv.c: Likewise.
3999 * math/fesetround.c: Likewise.
4000 * math/feupdateenv.c: Likewise.
4001 * math/fgetexcptflg.c: Likewise.
4002 * math/fraiseexcpt.c: Likewise.
4003 * math/fsetexcptflg.c: Likewise.
4004 * math/ftestexcept.c: Likewise.
4005 * math/k_cosl.c: Likewise.
4006 * math/k_rem_pio2l.c: Likewise.
4007 * math/k_sinl.c: Likewise.
4008 * math/k_tanl.c: Likewise.
4009 * math/s_asinhl.c: Likewise.
4010 * math/s_atanl.c: Likewise.
4011 * math/s_cbrtl.c: Likewise.
4012 * math/s_erfl.c: Likewise.
4013 * math/s_expm1l.c: Likewise.
4014 * math/s_log1pl.c: Likewise.
4015 * math/s_tanhl.c: Likewise.
4016 * misc/acct.c: Likewise.
4017 * misc/brk.c: Likewise.
4018 * misc/chflags.c: Likewise.
4019 * misc/chroot.c: Likewise.
4020 * misc/fchflags.c: Likewise.
4021 * misc/fgetxattr.c: Likewise.
4022 * misc/flistxattr.c: Likewise.
4023 * misc/fremovexattr.c: Likewise.
4024 * misc/fsetxattr.c: Likewise.
4025 * misc/fsync.c: Likewise.
4026 * misc/ftruncate.c: Likewise.
4027 * misc/futimes.c: Likewise.
4028 * misc/futimesat.c: Likewise.
4029 * misc/getdomain.c: Likewise.
4030 * misc/getdtsz.c: Likewise.
4031 * misc/gethostid.c: Likewise.
4032 * misc/gethostname.c: Likewise.
4033 * misc/getloadavg.c: Likewise.
4034 * misc/getpagesize.c: Likewise.
4035 * misc/getsysstats.c: Likewise.
4036 * misc/getxattr.c: Likewise.
4037 * misc/gtty.c: Likewise.
4038 * misc/ioctl.c: Likewise.
4039 * misc/lgetxattr.c: Likewise.
4040 * misc/listxattr.c: Likewise.
4041 * misc/llistxattr.c: Likewise.
4042 * misc/lremovexattr.c: Likewise.
4043 * misc/lsetxattr.c: Likewise.
4044 * misc/lutimes.c: Likewise.
4045 * misc/madvise.c: Likewise.
4046 * misc/mincore.c: Likewise.
4047 * misc/mlock.c: Likewise.
4048 * misc/mlockall.c: Likewise.
4049 * misc/mmap.c: Likewise.
4050 * misc/mprotect.c: Likewise.
4051 * misc/msync.c: Likewise.
4052 * misc/munlock.c: Likewise.
4053 * misc/munlockall.c: Likewise.
4054 * misc/munmap.c: Likewise.
4055 * misc/preadv.c: Likewise.
4056 * misc/preadv64.c: Likewise.
4057 * misc/ptrace.c: Likewise.
4058 * misc/pwritev.c: Likewise.
4059 * misc/pwritev64.c: Likewise.
4060 * misc/readv.c: Likewise.
4061 * misc/reboot.c: Likewise.
4062 * misc/remap_file_pages.c: Likewise.
4063 * misc/removexattr.c: Likewise.
4064 * misc/revoke.c: Likewise.
4065 * misc/select.c: Likewise.
4066 * misc/setdomain.c: Likewise.
4067 * misc/setegid.c: Likewise.
4068 * misc/seteuid.c: Likewise.
4069 * misc/sethostid.c: Likewise.
4070 * misc/sethostname.c: Likewise.
4071 * misc/setregid.c: Likewise.
4072 * misc/setreuid.c: Likewise.
4073 * misc/setxattr.c: Likewise.
4074 * misc/sstk.c: Likewise.
4075 * misc/stty.c: Likewise.
4076 * misc/swapoff.c: Likewise.
4077 * misc/swapon.c: Likewise.
4078 * misc/sync.c: Likewise.
4079 * misc/syncfs.c: Likewise.
4080 * misc/syscall.c: Likewise.
4081 * misc/truncate.c: Likewise.
4082 * misc/ualarm.c: Likewise.
4083 * misc/usleep.c: Likewise.
4084 * misc/ustat.c: Likewise.
4085 * misc/utimes.c: Likewise.
4086 * misc/vhangup.c: Likewise.
4087 * misc/writev.c: Likewise.
4088 * posix/_exit.c: Likewise.
4089 * posix/alarm.c: Likewise.
4090 * posix/execve.c: Likewise.
4091 * posix/fexecve.c: Likewise.
4092 * posix/fork.c: Likewise.
4093 * posix/fpathconf.c: Likewise.
4094 * posix/getaddrinfo.c: Likewise.
4095 * posix/getegid.c: Likewise.
4096 * posix/geteuid.c: Likewise.
4097 * posix/getgid.c: Likewise.
4098 * posix/getgroups.c: Likewise.
4099 * posix/getlogin.c: Likewise.
4100 * posix/getlogin_r.c: Likewise.
4101 * posix/getpgid.c: Likewise.
4102 * posix/getpid.c: Likewise.
4103 * posix/getppid.c: Likewise.
4104 * posix/getresgid.c: Likewise.
4105 * posix/getresuid.c: Likewise.
4106 * posix/getsid.c: Likewise.
4107 * posix/getuid.c: Likewise.
4108 * posix/glob64.c: Likewise.
4109 * posix/nanosleep.c: Likewise.
4110 * posix/pathconf.c: Likewise.
4111 * posix/pause.c: Likewise.
4112 * posix/posix_madvise.c: Likewise.
4113 * posix/pread.c: Likewise.
4114 * posix/pread64.c: Likewise.
4115 * posix/pwrite.c: Likewise.
4116 * posix/pwrite64.c: Likewise.
4117 * posix/sched_getaffinity.c: Likewise.
4118 * posix/sched_getp.c: Likewise.
4119 * posix/sched_gets.c: Likewise.
4120 * posix/sched_primax.c: Likewise.
4121 * posix/sched_primin.c: Likewise.
4122 * posix/sched_rr_gi.c: Likewise.
4123 * posix/sched_setaffinity.c: Likewise.
4124 * posix/sched_setp.c: Likewise.
4125 * posix/sched_sets.c: Likewise.
4126 * posix/sched_yield.c: Likewise.
4127 * posix/setgid.c: Likewise.
4128 * posix/setlogin.c: Likewise.
4129 * posix/setpgid.c: Likewise.
4130 * posix/setresgid.c: Likewise.
4131 * posix/setresuid.c: Likewise.
4132 * posix/setsid.c: Likewise.
4133 * posix/setuid.c: Likewise.
4134 * posix/sleep.c: Likewise.
4135 * posix/spawni.c: Likewise.
4136 * posix/sysconf.c: Likewise.
4137 * posix/times.c: Likewise.
4138 * posix/wait.c: Likewise.
4139 * posix/wait3.c: Likewise.
4140 * posix/wait4.c: Likewise.
4141 * posix/waitpid.c: Likewise.
4142 * resolv/gai_sigqueue.c: Likewise.
4143 * resource/getpriority.c: Likewise.
4144 * resource/getrlimit.c: Likewise.
4145 * resource/getrusage.c: Likewise.
4146 * resource/nice.c: Likewise.
4147 * resource/setpriority.c: Likewise.
4148 * resource/setrlimit.c: Likewise.
4149 * resource/ulimit.c: Likewise.
4150 * rt/aio_cancel.c: Likewise.
4151 * rt/aio_fsync.c: Likewise.
4152 * rt/aio_read.c: Likewise.
4153 * rt/aio_sigqueue.c: Likewise.
4154 * rt/aio_suspend.c: Likewise.
4155 * rt/aio_write.c: Likewise.
4156 * rt/clock_getres.c: Likewise.
4157 * rt/clock_gettime.c: Likewise.
4158 * rt/clock_nanosleep.c: Likewise.
4159 * rt/clock_settime.c: Likewise.
4160 * rt/lio_listio.c: Likewise.
4161 * rt/mq_close.c: Likewise.
4162 * rt/mq_getattr.c: Likewise.
4163 * rt/mq_notify.c: Likewise.
4164 * rt/mq_open.c: Likewise.
4165 * rt/mq_receive.c: Likewise.
4166 * rt/mq_send.c: Likewise.
4167 * rt/mq_setattr.c: Likewise.
4168 * rt/mq_timedreceive.c: Likewise.
4169 * rt/mq_timedsend.c: Likewise.
4170 * rt/mq_unlink.c: Likewise.
4171 * rt/shm_open.c: Likewise.
4172 * rt/shm_unlink.c: Likewise.
4173 * rt/timer_create.c: Likewise.
4174 * rt/timer_delete.c: Likewise.
4175 * rt/timer_getoverr.c: Likewise.
4176 * rt/timer_gettime.c: Likewise.
4177 * rt/timer_settime.c: Likewise.
4178 * setjmp/__longjmp.c: Likewise.
4179 * setjmp/setjmp.c: Likewise.
4180 * signal/kill.c: Likewise.
4181 * signal/killpg.c: Likewise.
4182 * signal/raise.c: Likewise.
4183 * signal/sigaction.c: Likewise.
4184 * signal/sigaltstack.c: Likewise.
4185 * signal/sigblock.c: Likewise.
4186 * signal/sigignore.c: Likewise.
4187 * signal/sigintr.c: Likewise.
4188 * signal/signal.c: Likewise.
4189 * signal/sigpause.c: Likewise.
4190 * signal/sigpending.c: Likewise.
4191 * signal/sigqueue.c: Likewise.
4192 * signal/sigreturn.c: Likewise.
4193 * signal/sigset.c: Likewise.
4194 * signal/sigsetmask.c: Likewise.
4195 * signal/sigstack.c: Likewise.
4196 * signal/sigsuspend.c: Likewise.
4197 * signal/sigtimedwait.c: Likewise.
4198 * signal/sigvec.c: Likewise.
4199 * signal/sigwait.c: Likewise.
4200 * signal/sigwaitinfo.c: Likewise.
4201 * signal/sysv_signal.c: Likewise.
4202 * socket/accept.c: Likewise.
4203 * socket/accept4.c: Likewise.
4204 * socket/bind.c: Likewise.
4205 * socket/connect.c: Likewise.
4206 * socket/getpeername.c: Likewise.
4207 * socket/getsockname.c: Likewise.
4208 * socket/getsockopt.c: Likewise.
4209 * socket/isfdtype.c: Likewise.
4210 * socket/listen.c: Likewise.
4211 * socket/recv.c: Likewise.
4212 * socket/recvfrom.c: Likewise.
4213 * socket/recvmsg.c: Likewise.
4214 * socket/send.c: Likewise.
4215 * socket/sendmsg.c: Likewise.
4216 * socket/sendto.c: Likewise.
4217 * socket/setsockopt.c: Likewise.
4218 * socket/shutdown.c: Likewise.
4219 * socket/sockatmark.c: Likewise.
4220 * socket/socket.c: Likewise.
4221 * socket/socketpair.c: Likewise.
4222 * stdio-common/ctermid.c: Likewise.
4223 * stdio-common/cuserid.c: Likewise.
4224 * stdio-common/remove.c: Likewise.
4225 * stdio-common/rename.c: Likewise.
4226 * stdio-common/renameat.c: Likewise.
4227 * stdio-common/tempname.c: Likewise.
4228 * stdlib/getcontext.c: Likewise.
4229 * stdlib/makecontext.c: Likewise.
4230 * stdlib/setcontext.c: Likewise.
4231 * stdlib/swapcontext.c: Likewise.
4232 * stdlib/system.c: Likewise.
4233 * streams/fattach.c: Likewise.
4234 * streams/fdetach.c: Likewise.
4235 * streams/getmsg.c: Likewise.
4236 * streams/getpmsg.c: Likewise.
4237 * streams/putmsg.c: Likewise.
4238 * streams/putpmsg.c: Likewise.
4239 * sysdeps/unix/bsd/getpt.c: Likewise.
4240 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
4241 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
4242 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
4245 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
4246 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
4247 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4248 * sysvipc/msgctl.c: Likewise.
4249 * sysvipc/msgget.c: Likewise.
4250 * sysvipc/msgrcv.c: Likewise.
4251 * sysvipc/msgsnd.c: Likewise.
4252 * sysvipc/semctl.c: Likewise.
4253 * sysvipc/semget.c: Likewise.
4254 * sysvipc/semop.c: Likewise.
4255 * sysvipc/semtimedop.c: Likewise.
4256 * sysvipc/shmat.c: Likewise.
4257 * sysvipc/shmctl.c: Likewise.
4258 * sysvipc/shmdt.c: Likewise.
4259 * sysvipc/shmget.c: Likewise.
4260 * termios/tcdrain.c: Likewise.
4261 * termios/tcflow.c: Likewise.
4262 * termios/tcflush.c: Likewise.
4263 * termios/tcgetattr.c: Likewise.
4264 * termios/tcgetpgrp.c: Likewise.
4265 * termios/tcsendbrk.c: Likewise.
4266 * termios/tcsetattr.c: Likewise.
4267 * termios/tcsetpgrp.c: Likewise.
4268 * time/adjtime.c: Likewise.
4269 * time/clock.c: Likewise.
4270 * time/getitimer.c: Likewise.
4271 * time/gettimeofday.c: Likewise.
4272 * time/setitimer.c: Likewise.
4273 * time/settimeofday.c: Likewise.
4274 * time/stime.c: Likewise.
4275 * time/time.c: Likewise.
4277 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
4279 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
4282 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
4284 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
4286 2012-11-03 Joseph Myers <joseph@codesourcery.com>
4289 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
4290 FE_TONEAREST before applying Dekker multiplication and Knuth
4291 addition. Clear inexact exceptions and check for exact zero
4293 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4294 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4295 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4296 * math/libm-test.inc (fma_test): Add more tests.
4297 (fma_test_towardzero): Likewise.
4298 (fma_test_downward): Likewise.
4299 (fma_test_upward): Likewise.
4300 * sysdeps/generic/math_private.h (default_libc_fesetround): New
4302 (libc_fesetround): New macro.
4303 (libc_fesetroundf): Likewise.
4304 (libc_fesetroundl): Likewise.
4305 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
4307 (libc_fesetround_387): Likewise.
4308 (libc_fesetroundf): New macro.
4309 (libc_fesetround): Likewise.
4310 (libc_fesetroundl): Likewise.
4311 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
4313 (libc_fesetroundf): New macro.
4314 (libc_fesetround): Likewise.
4315 (libc_fesetroundl): Likewise.
4316 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
4317 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
4318 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
4320 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
4321 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
4323 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
4324 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
4326 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
4330 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
4331 integer constant usable in #if and use that to give value to enum
4333 (FE_DIVBYZERO): Likewise.
4334 (FE_UNDERFLOW): Likewise.
4335 (FE_OVERFLOW): Likewise.
4336 (FE_INVALID): Likewise.
4337 (FE_INVALID_SNAN): Likewise.
4338 (FE_INVALID_ISI): Likewise.
4339 (FE_INVALID_IDI): Likewise.
4340 (FE_INVALID_ZDZ): Likewise.
4341 (FE_INVALID_IMZ): Likewise.
4342 (FE_INVALID_COMPARE): Likewise.
4343 (FE_INVALID_SOFTWARE): Likewise.
4344 (FE_INVALID_SQRT): Likewise.
4345 (FE_INVALID_INTEGER_CONVERSION): Likewise.
4346 (FE_TONEAREST): Likewise.
4347 (FE_TOWARDZERO): Likewise.
4348 (FE_UPWARD): Likewise.
4349 (FE_DOWNWARD): Likewise.
4350 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
4351 (FE_DIVBYZERO): Likewise.
4352 (FE_OVERFLOW): Likewise.
4353 (FE_UNDERFLOW): Likewise.
4354 (FE_INEXACT): Likewise.
4355 (FE_TONEAREST): Likewise.
4356 (FE_DOWNWARD): Likewise.
4357 (FE_UPWARD): Likewise.
4358 (FE_TOWARDZERO): Likewise.
4359 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
4360 (FE_UNDERFLOW): Likewise.
4361 (FE_OVERFLOW): Likewise.
4362 (FE_DIVBYZERO): Likewise.
4363 (FE_INVALID): Likewise.
4364 (FE_TONEAREST): Likewise.
4365 (FE_TOWARDZERO): Likewise.
4366 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
4367 (FE_OVERFLOW): Likewise.
4368 (FE_UNDERFLOW): Likewise.
4369 (FE_DIVBYZERO): Likewise.
4370 (FE_INEXACT): Likewise.
4371 (FE_TONEAREST): Likewise.
4372 (FE_TOWARDZERO): Likewise.
4373 (FE_UPWARD): Likewise.
4374 (FE_DOWNWARD): Likewise.
4375 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
4376 (FE_DIVBYZERO): Likewise.
4377 (FE_OVERFLOW): Likewise.
4378 (FE_UNDERFLOW): Likewise.
4379 (FE_INEXACT): Likewise.
4380 (FE_TONEAREST): Likewise.
4381 (FE_DOWNWARD): Likewise.
4382 (FE_UPWARD): Likewise.
4383 (FE_TOWARDZERO): Likewise.
4385 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
4387 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
4389 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
4391 * scripts/cross-test-ssh.sh (command): Use newlines to separate
4392 commands. Quote $PWD.
4393 (blacklist_exports): Don't use remove_newlines. Replace "declare
4395 (remove_newlines): Remove.
4397 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
4399 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
4400 * stdlib/stdlib.h (atof): Moved to ...
4401 * include/bits/stdlib-float.h: Here. New file.
4402 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
4403 * stdlib/bits/stdlib-float.h: New file.
4404 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
4406 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
4409 2012-11-02 Joseph Myers <joseph@codesourcery.com>
4411 * conform/conformtest.pl (@headers): Add fenv.h.
4412 * conform/data/fenv.h-data: New file.
4413 * include/fenv.h [_ISOMAC]: Disable all contents of file except
4414 include of <math/fenv.h>.
4416 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
4417 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
4418 && !UNIX98]. Enables tests for XOPEN2K8.
4419 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
4420 POSIX2008]: Likewise.
4422 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
4423 (struct rusage): Do not expect type or its members.
4426 * math/math.h (FP_NAN): Define macro to integer constant usable in
4427 #if and use that to give value to enum constant.
4428 (FP_INFINITE): Likewise.
4429 (FP_ZERO): Likewise.
4430 (FP_SUBNORMAL): Likewise.
4431 (FP_NORMAL): Likewise.
4433 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
4435 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
4436 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
4439 2012-11-02 Roland McGrath <roland@hack.frob.com>
4441 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
4442 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
4443 autoconf-time if not.
4444 * configure.in: Remove AC_PREREQ.
4446 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4448 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
4449 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
4450 of the internal implementation.
4452 2012-11-02 Joseph Myers <joseph@codesourcery.com>
4454 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
4455 except include of <misc/sys/syslog.h>.
4457 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
4460 function returns with a NULL context exit with zero.
4462 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4464 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
4466 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
4468 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
4469 (run_program_cmd): This.
4470 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
4471 (tst_langinfo): New variable. Use it.
4473 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
4475 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
4476 floating point opcodes.
4478 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4480 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
4483 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
4485 * sysdeps/mach/hurd/powerpc: Remove directory.
4486 * sysdeps/mach/powerpc: Likewise.
4488 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4490 * scripts/check-local-headers.sh: Ignore c++ headers.
4492 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4494 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
4495 __libc_cleanup_region_start argument.
4497 2012-11-01 Joseph Myers <joseph@codesourcery.com>
4501 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
4502 x * y using scaling, not as x * y + z.
4503 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4504 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4505 * math/libm-test.inc (fma_test): Add more tests.
4506 (fma_test_towardzero): Likewise.
4507 (fma_test_downward): Likewise.
4508 (fma_test_upward): Likewise.
4510 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4512 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
4514 2012-10-31 Joseph Myers <joseph@codesourcery.com>
4516 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
4519 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
4521 * rt/tst-shm.c (worker): Correct checking for mmap failure.
4523 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4530 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4533 Fix the order of the list for glibc 2.17.
4534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4537 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4539 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4541 2012-10-31 Joseph Myers <joseph@codesourcery.com>
4544 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
4545 for low part of x being zero before using __atanl (y).
4546 * math/libm-test.inc (atan2_test): Add another test.
4548 * manual/install.texi (Configuring and compiling): Document
4549 general use of test-wrapper and test-wrapper-env.
4550 * INSTALL: Regenerated.
4552 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
4553 (__fma): Do not extract and scale down low bits on after-rounding
4554 systems when result rounded to normal precision would have normal
4556 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
4557 (__fmal): Do not extract and scale down low bits on after-rounding
4558 systems when result rounded to normal precision would have normal
4560 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
4561 (__fmal): Do not extract and scale down low bits on after-rounding
4562 systems when result rounded to normal precision would have normal
4564 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
4566 (fma_test): Add more tests.
4567 (fma_test_towardzero): Likewise.
4568 (fma_test_downward): Likewise.
4569 (fma_test_upward): Likewise.
4571 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
4573 * sysdeps/i386/tininess.h: Renamed to ...
4574 * sysdeps/x86/tininess.h: This.
4575 * sysdeps/x86_64/tininess.h: Removed.
4577 2012-10-30 Joseph Myers <joseph@codesourcery.com>
4579 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
4580 input. Use $(build-program-cmd).
4581 ($(objpfx)tst-array1-static.out): Likewise.
4582 ($(objpfx)tst-array2.out): Likewise.
4583 ($(objpfx)tst-array3.out): Likewise.
4584 ($(objpfx)tst-array4.out): Likewise.
4585 ($(objpfx)tst-array5.out): Likewise.
4586 ($(objpfx)tst-array5-static.out): Likewise.
4588 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
4590 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
4593 * nss/nsswitch.h (nss_interface_function): Provide new
4594 macro for use with NSS functions.
4595 * grp/initgroups.c: Use new macro.
4596 * nss/getXXbyYY.c: Likewise.
4597 * nss/getXXbyYY_r.c: Likewise.
4598 * nss/getXXent.c: Likewise.
4599 * nss/getXXent_r.c: Likewise.
4600 * sysdeps/posix/getaddrinfo.c: Likewise.
4602 2012-10-30 Andreas Jaeger <aj@suse.de>
4604 * po/ru.po: Update Russion translation from translation project.
4606 2012-10-30 Joseph Myers <joseph@codesourcery.com>
4610 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
4611 result and shift together with sticky bit instead of replicating
4612 round-to-nearest rounding.
4613 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4614 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4615 * math/libm-test.inc (fma_test): Add more tests. Do not permit
4616 missing underflow exceptions.
4617 (fma_test_towardzero): Add more tests.
4618 (fma_test_downward): Likewise.
4619 (fma_test_upward): Likewise.
4622 * sysdeps/generic/tininess.h: New file.
4623 * sysdeps/i386/tininess.h: Likewise.
4624 * sysdeps/sh/tininess.h: Likewise.
4625 * sysdeps/x86_64/tininess.h: Likewise.
4626 * stdlib/tst-strtod-underflow.c: Likewise.
4627 * stdlib/tst-tininess.c: Likewise.
4628 * stdlib/strtod_l.c: Include <tininess.h>.
4629 (round_and_return): Do not set errno for exact underflow cases.
4630 Force an underflow exception when setting errno for underflow.
4631 Determine underflow based on rounding to normal precision if
4632 TININESS_AFTER_ROUNDING.
4633 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
4634 ERANGE for exact underflow cases.
4635 * stdlib/Makefile (tests): Add tst-tininess and
4636 tst-strtod-underflow.
4637 ($(objpfx)tst-tininess): Use $(link-libm).
4638 ($(objpfx)tst-strtod-underflow): Likewise.
4640 2012-10-30 Andreas Jaeger <aj@suse.de>
4643 * elf/Makefile (tests): Remove conditional for have-initfini-array
4644 since this is now always required and the variable does not exist
4646 (tests-static): Likewise.
4647 (modules-names): Likewise.
4649 * po/eo.po: Add Esperanto translation from translation project.
4651 * elf/tst-array1.c (fini_array): Make writeable so that it can be
4652 merged with constructor/destructor.
4653 (init_array): Likewise.
4654 * elf/tst-array2dep.c (fini_array): Likewise.
4655 (init_array): Likewise.
4657 2012-10-29 Mike Frysinger <vapier@gentoo.org>
4659 * manual/message.texi: Delete @cartouche tags.
4661 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
4663 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
4665 * sysdeps/mach/hurd/fsync.c: Likewise.
4667 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
4668 [_POSIX_REALTIME_SIGNALS]: Change condition to
4669 [_POSIX_REALTIME_SIGNALS > 0].
4671 2012-10-27 Andreas Jaeger <aj@suse.de>
4673 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
4674 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
4675 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
4676 [__WORDSIZE != 64]: Likewise.
4678 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
4680 * iconvdata/tst-table.sh: Remove ${SHELL}.
4681 * iconvdata/tst-tables.sh: Likewise.
4683 2012-10-25 David S. Miller <davem@davemloft.net>
4685 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4686 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
4689 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
4691 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4692 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
4693 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
4696 2012-10-25 Roland McGrath <roland@hack.frob.com>
4698 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4699 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
4702 2012-10-25 Joseph Myers <joseph@codesourcery.com>
4703 Jim Blandy <jimb@codesourcery.com>
4705 * scripts/cross-test-ssh.sh: New file.
4706 * manual/install.texi (Configuring and compiling): Document use of
4708 * INSTALL: Regenerated.
4710 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
4712 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
4715 2012-10-25 Joseph Myers <joseph@codesourcery.com>
4717 * Makeconfig (run-program-prefix): Fix comment.
4719 2012-10-24 Joseph Myers <joseph@codesourcery.com>
4720 Jim Blandy <jimb@codesourcery.com>
4722 * Makeconfig (test-wrapper): New variable,
4723 (test-wrapper-env): Likewise.
4724 [$(cross-compiling) = yes && $(test-wrapper) != ""]
4725 (run-built-tests): Define to yes.
4726 (run-program-prefix): Use $(test-wrapper).
4727 (built-program-cmd): Likewise.
4728 * Rules (make-test-out): Use $(test-wrapper-env) and
4729 $(host-built-program-cmd).
4730 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
4731 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
4733 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
4734 $(test-wrapper-env) to tst-rtld-load-self.sh.
4735 ($(objpfx)order2.out): Use $(test-wrapper).
4736 ($(objpfx)tst-initorder.out): Likewise.
4737 ($(objpfx)tst-initorder2.out): Likewise.
4738 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
4739 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
4740 (test_wrapper_env): New variable. Use it to run ld.so.
4741 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
4742 Use it to run ld.so.
4743 (test_wrapper_env): Likewise.
4744 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
4745 $(test-wrapper) to run-iconv-test.sh.
4746 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
4747 (ICONV): Use $test_wrapper.
4748 * posix/Makefile ($(objpfx)globtest.out): Pass
4749 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
4750 globtest.sh, not $(run-program-prefix).
4751 * posix/globtest.sh (run_via_rtld_prefix): New variable.
4752 (test_wrapper): Likewise.
4753 (test_wrapper_env): Likewise. Use it to run globtest with HOME
4754 set together with run_via_rtld_prefix.
4755 (run_program_prefix): Define in terms of test_wrapper and
4756 run_via_rtld_prefix.
4758 2012-10-24 Roland McGrath <roland@hack.frob.com>
4760 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
4761 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
4765 * include/time.h: Remove librt_hidden_proto (clock_gettime).
4766 Declare __clock_getres, __clock_gettime, __clock_settime,
4767 __clock_nanosleep, and __clock_getcpuclockid.
4768 * rt/clock_gettime.c: Define __clock_gettime as an alias.
4769 Remove librt_hidden_def (clock_gettime).
4770 * sysdeps/unix/clock_gettime.c: Likewise.
4771 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
4772 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4773 * rt/clock_getres.c: Define __clock_getres as an alias.
4774 * sysdeps/posix/clock_getres.c: Likewise.
4775 * rt/clock_settime.c: Define __clock_settime as an alias.
4776 * sysdeps/unix/clock_settime.c: Likewise.
4777 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
4778 * sysdeps/unix/clock_nanosleep.c: Likewise.
4779 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4780 * rt/clock-compat.c: New file.
4781 * rt/Makefile (librt-routines): Add clock-compat and move
4782 $(clock-routines) to ...
4783 (routines): ... here, new variable.
4784 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
4785 Don't add get_clockfreq here.
4786 * rt/Versions (libc: GLIBC_2.17): New version set.
4787 Add clock_* symbols here.
4788 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
4789 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
4790 (GLIBC_2.17): Add clock_* symbols.
4791 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
4792 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
4793 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4798 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4799 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
4800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
4801 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
4802 * NEWS: Mention the move.
4804 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4805 Use __open, __read, __close rather than their public counterparts.
4806 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4807 (__get_clockfreq_via_cpuinfo): Likewise.
4808 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
4809 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
4811 * config.h.in (HAVE_IFUNC): New #undef.
4812 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
4814 * configure: Regenerated.
4816 2012-10-24 Mike Frysinger <vapier@gentoo.org>
4818 * configure.in: Move READELF check to start of file.
4819 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
4820 libc_cv_asm_gnu_indirect_function in the process.
4821 * configure: Regenerated.
4823 2012-10-24 Mike Frysinger <vapier@gentoo.org>
4825 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
4826 send the output to /dev/null.
4827 (libc_cv_cc_with_libunwind): Likewise.
4828 (libc_cv_as_noexecstack): Likewise.
4829 * configure: Regenerate.
4831 2012-10-24 Joseph Myers <joseph@codesourcery.com>
4833 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
4835 * posix/globtest.sh (TMPDIR): Do not set.
4836 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
4837 (testout): Likewise.
4839 2012-10-24 Andreas Jaeger <aj@suse.de>
4841 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
4842 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
4843 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
4844 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
4845 posix_fadvise64, posix_fallocate64.
4847 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
4848 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
4849 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
4851 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
4853 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
4855 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
4856 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
4857 <bits/fcntl-linux.h>.
4858 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
4860 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
4861 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
4862 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
4863 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
4864 [__WORDSIZE != 64]: Likewise.
4866 2012-10-23 Joseph Myers <joseph@codesourcery.com>
4868 * Makeconfig (run-built-tests): New variable.
4869 * Rules [$(cross-compiling) = yes]: Change condition to
4870 [$(run-built-tests) = no].
4871 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
4872 to [$(run-built-tests) = yes].
4873 * elf/Makefile [$(cross-compiling) = no]: Likewise
4874 * grp/Makefile [$(cross-compiling) = no]: Likewise.
4875 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
4876 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
4877 * intl/Makefile [$(cross-compiling) = no]: Likewise.
4878 * io/Makefile [$(cross-compiling) = no]: Likewise.
4879 * libio/Makefile [$(cross-compiling) = no]: Likewise.
4880 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
4881 * misc/Makefile [$(cross-compiling) = no]: Likewise.
4882 * posix/Makefile [$(cross-compiling) = no]: Likewise.
4883 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
4884 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
4885 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
4886 * string/Makefile [$(cross-compiling) = no]: Likewise.
4888 * posix/Makefile ($(objpfx)globtest.out): Pass
4889 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
4890 $(rtld-installed-name).
4891 * posix/globtest.sh (elf_objpfx): Remove variable.
4892 (rtld_installed_name): Likewise.
4893 (library_path): Likewise.
4894 (run_program_prefix): New variable. Use for running globtest
4897 2012-10-23 Jim Blandy <jimb@codesourcery.com>
4898 Joseph Myers <joseph@codesourcery.com>
4900 * Makeconfig (host-built-program-cmd): New variable.
4901 * elf/Makefile (tst-stackguard1-ARGS): Use
4902 $(host-built-program-cmd).
4903 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
4904 (tst-spawn-ARGS): Likewise.
4905 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
4907 2012-10-23 Joseph Myers <joseph@codesourcery.com>
4908 Jim Blandy <jimb@codesourcery.com>
4910 * Makeconfig (run-via-rtld-prefix): New variable.
4911 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
4912 (built-program-cmd): Likewise.
4914 2012-10-22 Andreas Jaeger <aj@suse.de>
4916 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
4917 __O_RSYNC if it exists, otherwise to O_SYNC.
4919 2012-10-22 Jim Blandy <jimb@codesourcery.com>
4920 Joseph Myers <joseph@codesourcery.com>
4922 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
4924 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
4926 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
4929 2012-10-22 Andreas Jaeger <aj@suse.de>
4931 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
4933 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
4935 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4938 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
4939 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
4941 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
4943 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
4946 2012-10-21 Jim Blandy <jimb@codesourcery.com>
4947 Joseph Myers <joseph@codesourcery.com>
4949 * config.make.in (NM): New variable.
4951 2012-10-21 Andreas Jaeger <aj@suse.de>
4953 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
4954 definitions and declarations that are provided by
4955 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4957 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4960 * elf/Makefile (tests-static): Add tst-leaks1-static.
4961 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
4962 ($(objpfx)tst-leaks1-static): New rule.
4963 ($(objpfx)tst-leaks1-static-mem): Likewise.
4964 (tst-leaks1-static-ENV): New macro.
4965 * elf/dl-open.c (dl_open_worker): Check the main application
4966 only if SHARED is defined.
4967 * elf/tst-leaks1-static.c: New file.
4969 2012-10-20 Andreas Jaeger <aj@suse.de>
4971 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
4972 generic values for Linux.
4973 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
4974 and declarations that are provided by <bits/fcntl-linux.h> and
4975 include <bits/fcntl-linux.h>.
4976 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4977 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
4979 2012-10-20 Roland McGrath <roland@hack.frob.com>
4981 * io/fcntl.h: Move include of <bits/types.h> to the top and
4982 include it unconditionally.
4984 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4986 * wcsmbs/Makefile (tests-ifunc): New variable.
4987 (tests): Add $(tests-ifunc).
4988 * wcsmbs/test-wcschr-ifunc.c: New file.
4989 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4990 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4991 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4992 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4993 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4995 * string/Makefile (tests-ifunc): New variable.
4996 (tests): Add $(tests-ifunc).
4997 * string/test-memccpy.c (TEST_NAME): New macro.
4998 * string/test-memchr.c (TEST_NAME): Likewise.
4999 * string/test-memcmp.c (TEST_NAME): Likewise.
5000 * string/test-memcpy.c (TEST_NAME): Likewise.
5001 * string/test-memmem.c (TEST_NAME): Likewise.
5002 * string/test-memmove.c (TEST_NAME): Likewise.
5003 * string/test-memset.c (TEST_NAME): Likewise.
5004 * string/test-rawmemchr.c (TEST_NAME): Likewise.
5005 * string/test-stpcpy.c (TEST_NAME): Likewise.
5006 * string/test-stpncpy.c (TEST_NAME): Likewise.
5007 * string/test-strcasecmp.c (TEST_NAME): Likewise.
5008 * string/test-strcasestr.c (TEST_NAME): Likewise.
5009 * string/test-strcat.c (TEST_NAME): Likewise.
5010 * string/test-strchr.c (TEST_NAME): Likewise.
5011 * string/test-strcmp.c(TEST_NAME): Likewise.
5012 * string/test-strcpy.c (TEST_NAME): Likewise.
5013 * string/test-strcspn.c (TEST_NAME): Likewise.
5014 * string/test-strlen.c (TEST_NAME): Likewise.
5015 * string/test-strncasecmp.c (TEST_NAME): Likewise.
5016 * string/test-strncmp.c (TEST_NAME): Likewise.
5017 * string/test-strncpy.c (TEST_NAME): Likewise.
5018 * string/test-strnlen.c (TEST_NAME): Likewise.
5019 * string/test-strpbrk.c (TEST_NAME): Likewise.
5020 * string/test-strrchr.c (TEST_NAME): Likewise.
5021 * string/test-strspn.c (TEST_NAME): Likewise.
5022 * string/test-strstr.c (TEST_NAME): Likewise.
5023 * string/test-bcopy-ifunc.c: New file.
5024 * string/test-bzero-ifunc.c: Likewise.
5025 * string/test-memccpy-ifunc.c: Likewise.
5026 * string/test-memchr-ifunc.c: Likewise.
5027 * string/test-memcmp-ifunc.c: Likewise.
5028 * string/test-memcpy-ifunc.c: Likewise.
5029 * string/test-memmem-ifunc.c: Likewise.
5030 * string/test-memmove-ifunc.c: Likewise.
5031 * string/test-mempcpy-ifunc.c: Likewise.
5032 * string/test-memset-ifunc.c: Likewise.
5033 * string/test-rawmemchr-ifunc.c: Likewise.
5034 * string/test-stpcpy-ifunc.c: Likewise.
5035 * string/test-stpncpy-ifunc.c: Likewise.
5036 * string/test-strcasecmp-ifunc.c: Likewise.
5037 * string/test-strcasestr-ifunc.c: Likewise.
5038 * string/test-strcat-ifunc.c: Likewise.
5039 * string/test-strchr-ifunc.c: Likewise.
5040 * string/test-strchrnul-ifunc.c: Likewise.
5041 * string/test-strcmp-ifunc.c: Likewise.
5042 * string/test-strcpy-ifunc.c: Likewise.
5043 * string/test-strcspn-ifunc.c: Likewise.
5044 * string/test-strlen-ifunc.c: Likewise.
5045 * string/test-strncasecmp-ifunc.c: Likewise.
5046 * string/test-strncat-ifunc.c: Likewise.
5047 * string/test-strncmp-ifunc.c: Likewise.
5048 * string/test-strncpy-ifunc.c: Likewise.
5049 * string/test-strnlen-ifunc.c: Likewise.
5050 * string/test-strpbrk-ifunc.c: Likewise.
5051 * string/test-strrchr-ifunc.c: Likewise.
5052 * string/test-strspn-ifunc.c: Likewise.
5053 * string/test-strstr-ifunc.c: Likewise.
5055 * debug/Makefile (tests-ifunc): New variable.
5056 (tests): Add $(tests-ifunc).
5057 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
5058 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
5059 * debug/test-stpcpy_chk-ifunc.c: New file.
5060 * debug/test-strcpy_chk-ifunc.c: Likewise.
5062 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5065 * elf/dl-load.c (open_verify): Retry read if the entire ELF
5066 header is not read in.
5068 2012-10-19 Joseph Myers <joseph@codesourcery.com>
5070 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
5071 script to $(SHELL) as $<. Pass $(common-objpfx) to script
5072 directly. Pass built executable to script as
5073 $(built-program-cmd).
5074 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
5075 $testprogram without using LD_LIBRARY_PATH and $ldso.
5077 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
5078 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
5079 $(rtld-installed-name).
5080 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
5081 (rtld_installed_name): Likewise.
5082 (library_path): Likewise.
5083 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
5084 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
5085 $(run-program-prefix) to tst-tables.sh.
5086 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
5087 it to run tst-table-from and tst-table-to.
5088 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
5089 Pass it to tst-table.sh.
5090 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
5091 $(run-program-prefix) to tst-gettext.sh.
5092 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
5094 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
5096 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
5098 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
5099 to run tst-gettext2.
5100 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
5101 to run tst-translit.
5102 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
5103 $(run-program-prefix) to tst-mtrace.sh.
5104 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
5106 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
5107 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
5108 $(rtld-installed-name).
5109 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
5110 (rtld_installed_name): Likewise.
5111 (run_program_prefix): New variable. Use it to run wordexp-test.
5113 * Makeconfig (ARCH): Remove all definitions.
5114 (machine): Likewise.
5115 [ARCH]: Remove conditional code.
5116 [!objdir]: Give error.
5117 [!objdir] (objpfx): Remove.
5118 [!objdir] (common-objpfx): Likewise.
5119 [!objdir] (common-objdir): Likewise.
5120 * configure.in (config_makefile): Remove. Hardcode Makefile in
5121 AC_CONFIG_FILES call.
5122 * configure: Regenerated.
5125 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
5127 (testout): Likewise.
5129 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
5130 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
5131 $(rtld-installed-name).
5132 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
5133 (rtld_installed_name): Likwise.
5134 (runit): Remove function.
5135 (run_getconf): New variable, Use it for running getconf binary.
5137 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
5140 * string/test-memmem.c (check_result): New function.
5141 (do_one_test): Use it.
5142 (check1): New function.
5143 (test_main): Use it.
5145 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
5147 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
5149 2012-10-18 Joseph Myers <joseph@codesourcery.com>
5151 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
5152 (_G_LSEEK64): Likewise.
5153 (_G_MMAP64): Likewise.
5154 (_G_FSTAT64): Likewise.
5155 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
5156 (_G_LSEEK64): Likewise.
5157 (_G_MMAP64): Likewise.
5158 (_G_FSTAT64): Likewise.
5159 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
5160 unconditional. Call __mmap64 directly.
5161 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
5162 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
5164 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
5165 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
5167 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
5168 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
5170 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
5171 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
5173 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
5174 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
5176 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
5177 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
5178 __fxstat64 directly.
5179 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
5180 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
5182 (freopen64) [!_G_OPEN64]: Remove conditional code.
5183 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
5185 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
5186 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
5188 (ftello64) [!_G_LSEEK64]: Remove conditional code.
5189 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
5191 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5192 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
5194 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
5195 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
5197 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5198 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
5200 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5201 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
5203 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5205 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5208 * manual/memory.texi (Malloc Tunable Parameters): Add note
5209 about free list pointers overwriting some perturb bytes.
5210 Wording suggested by Roland McGrath.
5212 2012-10-17 Joseph Myers <joseph@codesourcery.com>
5214 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
5215 (lgamma_test): Likewise.
5216 (tgamma_test): Likewise.
5218 2012-10-16 Florian Weimer <fweimer@redhat.com>
5221 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
5222 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
5224 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
5226 * NEWS: Mention BZ #14716.
5227 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
5228 when removing AVAILABLE1_USES_J macro.
5230 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
5232 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
5233 (__bswap_64): __uint64_t for unsigned 64-bit int.
5235 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
5237 * include/string.h (memmem): Declare libc hidden alias.
5238 * string/memmem.c (memmem): Define libc hidden alias.
5239 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
5240 __read, __close instead of open, read, close.
5242 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
5244 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
5245 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
5247 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
5248 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
5249 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
5251 (__rawmemchr_sse2): Likewise.
5252 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
5253 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
5254 (__strchr_sse2): Likewise.
5255 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
5256 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
5257 (__strcasecmp_sse2): Likewise.
5258 (__strncasecmp_sse2): Likewise.
5259 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
5260 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
5261 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
5262 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
5263 (__strrchr_sse2): Likewise.
5264 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
5266 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5267 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5268 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5269 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5270 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5271 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5272 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5273 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5274 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
5275 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
5276 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
5277 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
5278 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
5279 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5280 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5281 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5282 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5283 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5284 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
5285 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
5286 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
5287 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
5288 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
5289 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5290 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
5291 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5292 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5293 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5294 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5295 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5297 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
5299 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
5300 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
5301 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
5302 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
5304 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
5306 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
5307 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
5308 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
5309 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
5311 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5312 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5313 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5314 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5315 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5316 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5317 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5318 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5319 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5320 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5321 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5322 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5323 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5324 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
5325 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
5326 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5327 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
5328 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
5329 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5330 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5331 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5332 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5333 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5334 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5335 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5336 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
5337 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
5338 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
5339 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
5340 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5341 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
5342 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5343 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5344 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
5345 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5346 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5347 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5348 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5349 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5350 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5351 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
5353 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
5354 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
5355 * include/ifunc-impl-list.h: New file.
5356 * misc/ifunc-impl-list.c: Likewise.
5357 * misc/Makefile (routines): Add ifunc-impl-list.
5358 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
5359 * string/test-string.h: Include <ifunc-impl-list.h>.
5360 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
5361 impl_array): New variables.
5362 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
5364 (test_init): Call __libc_ifunc_impl_list to initialize
5365 func_list if TEST_IFUNC and TEST_NAME are defined.
5367 * string/Makefile (strop-tests): Add bcopy and bzero.
5368 * string/test-bcopy.c: New file.
5369 * string/test-bzero.c: Likewise.
5370 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
5372 * string/test-memset.c: Support bzero test if TEST_BZERO is
5374 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
5376 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
5378 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
5381 2012-10-10 Joseph Myers <joseph@codesourcery.com>
5383 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
5384 * configure: Regenerated.
5386 * Makeconfig (+link-static-before-libc): Don't include
5387 $(link-static-libc).
5389 * libio/libio.h (_IO_pos_t): Remove.
5391 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
5393 * NEWS: Add note about FIPS mode. Wording suggested by Roland
5396 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
5398 * crypt/crypt-entry.c: Include fips-private.h.
5399 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
5400 * crypt/md5c-test.c (main): Tolerate disabled MD5.
5401 * sysdeps/unix/sysv/linux/fips-private.h: New file.
5402 * sysdeps/generic/fips-private.h: New file, dummy fallback.
5404 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
5406 * crypt/crypt-private.h: Include stdbool.h.
5407 (_ufc_setup_salt_r): Return bool.
5408 * crypt/crypt-entry.c: Include errno.h.
5409 (__crypt_r): Return NULL with EINVAL for bad salt.
5410 * crypt/crypt_util.c (bad_for_salt): New.
5411 (_ufc_setup_salt_r): Check that salt is long enough and within
5412 the specified alphabet.
5413 * crypt/badsalttest.c: New file.
5414 * crypt/Makefile (tests): Add it.
5415 ($(objpfx)badsalttest): New.
5417 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
5419 * NEWS: Add entry for BZ #14602.
5421 2012-10-09 Joseph Myers <joseph@codesourcery.com>
5423 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
5425 * math/libm-test.inc: Update comment listing what functions and
5427 (isgreater_test): New function.
5428 (isgreaterequal_test): Likewise.
5429 (isless_test): Likewise.
5430 (islessequal_test): Likewise.
5431 (islessgreater_test): Likewise.
5432 (isunordered_test): Likewise.
5433 (main): Call the new functions.
5435 2012-10-09 Roland McGrath <roland@hack.frob.com>
5437 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
5438 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
5439 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
5440 * sysdeps/i386/configure: Regenerated.
5441 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
5442 * sysdeps/mach/configure: Regenerated.
5443 * sysdeps/mach/hurd/configure: Regenerated.
5444 * sysdeps/powerpc/configure: Regenerated.
5445 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5446 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5447 * sysdeps/s390/s390-32/configure: Regenerated.
5448 * sysdeps/s390/s390-64/configure: Regenerated.
5449 * sysdeps/sh/configure: Regenerated.
5450 * sysdeps/sparc/configure: Regenerated.
5451 * sysdeps/unix/sysv/linux/configure: Regenerated.
5452 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5453 * sysdeps/x86_64/configure: Regenerated.
5455 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
5456 defined. Don't check if MAP is NULL.
5458 2012-10-09 Joseph Myers <joseph@codesourcery.com>
5460 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
5461 (_G_stat64): Likewise.
5462 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
5463 (_G_stat64): Likewise.
5464 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
5465 instead of struct _G_stat64.
5466 * libio/fileops.c (mmap_remap_check): Likewise.
5467 (decide_maybe_mmap): Likewise.
5468 (_IO_new_file_seekoff): Likewise.
5469 (_IO_file_stat): Likewise.
5470 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
5472 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
5473 instead of struct _G_stat64.
5474 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5476 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
5479 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5481 (CHECK_EOL): New macro.
5482 (two_way_short_needle): Check beginning of haystack for EOL. Use
5484 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5485 Replace with CHECK_EOL.
5486 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5487 Replace with CHECK_EOL.
5489 2012-10-08 Joseph Myers <joseph@codesourcery.com>
5491 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
5493 * math/libm-test.inc: Update comment listing what functions and
5495 (finite_test): New function.
5496 (isinf_test): Likewise.
5497 (isnan_test): Likewise.
5498 (fpclassify_test): Test subnormal input.
5499 (isfinite_test): Likewise.
5500 (isnormal_test): Likewise.
5501 (main): Call the new functions.
5503 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
5506 * Makerules (%.dynsym): Force C locale when running
5507 $(OBJDUMP) --dynamic-syms.
5509 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
5511 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
5514 2012-10-06 David S. Miller <davem@davemloft.net>
5516 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
5517 upper 32-bits of the length value in %o2 since we use branch-on-register
5518 tests which consider the entire 64-bit register.
5520 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
5522 * string/test-strstr.c (check2): Add a test for page boundary.
5524 2012-10-05 David S. Miller <davem@davemloft.net>
5526 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
5527 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
5529 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5531 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5532 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
5533 and bzero when HWCAP_SPARC_CRYPTO is present.
5535 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
5538 * string/test-strstr.c (check2): New function.
5539 (test_main): Call check2.
5541 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
5543 * string/bug-strcasestr1.c (do_test): Moved to ...
5544 * string/test-strcasestr.c (check1): Here. New function.
5545 (do_one_test): Break out result checking code into ...
5546 (check_result): This. New function.
5547 (do_one_test): Call check_result.
5548 (test_main): Call check1.
5549 * string/bug-strchr1.c (do_test): Moved to ...
5550 * string/test-strchr.c (check1): Here. New function.
5551 (do_one_test): Break out result checking code into ...
5552 (check_result): This. New function.
5553 (do_one_test): Call check_result.
5554 (test_main): Call check1.
5555 * string/bug-strstr1.c (main): Moved to ...
5556 * string/test-strstr.c (check1): Here. New function.
5557 (do_one_test): Break out result checking code into ...
5558 (check_result): This. New function.
5559 (do_one_test): Call check_result.
5560 (test_main): Call check1.
5561 * string/bug-strcasestr1.c: Removed.
5562 * string/bug-strchr1.c: Likewise.
5563 * string/bug-strstr1.c: Likewise.
5565 * elf/Makefile (dl-routines): Add hwcaps.
5566 * elf/dl-support.c (_dl_important_hwcaps): Removed.
5567 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
5568 (_dl_important_hwcaps): Moved to ...
5569 * elf/dl-hwcaps.c: Here. New file.
5570 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
5573 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
5574 if IS_IN_rtld isn't defined.
5576 * elf/dl-support.c (_dl_sysinfo_map): New.
5577 Include "get-dynamic-info.h" and "setup-vdso.h".
5578 (_dl_non_dynamic_init): Call setup_vdso.
5579 * elf/dynamic-link.h: Don't include <assert.h>.
5580 (elf_get_dynamic_info): Moved to ...
5581 * elf/get-dynamic-info.h: Here. New file.
5582 * elf/dynamic-link.h: Include "get-dynamic-info.h".
5583 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
5584 * elf/setup-vdso.h: Here. New file.
5585 * elf/rtld.c: Include "setup-vdso.h".
5586 (dl_main): Call setup_vdso.
5588 2012-10-05 Joseph Myers <joseph@codesourcery.com>
5590 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
5591 creal in comment listing functions tested. List finite, isinf,
5592 isnan, isless, islessequal, isgreater, isgreaterequal,
5593 islessgreater, isunordered, lgamma_r and pow10 as functions and
5594 macros not tested. Mention which functions not tested are aliases
5595 for other functions. Fix typo. Note that signs of NaNs are not
5598 * scripts/config.guess: Update from config.git.
5599 * scripts/config.sub: Likewise.
5601 2012-10-04 Roland McGrath <roland@hack.frob.com>
5603 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
5604 * misc/madvise.c (madvise): Renamed to __madvise.
5605 Make madvise a weak alias.
5606 * include/sys/mman.h: Declare __madvise.
5607 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
5608 * sysdeps/unix/syscalls.list
5609 (madvise): Make __madvise the strong name, and madvise a weak alias.
5610 * sysdeps/unix/sysv/linux/syscalls.list
5611 (madvise, mmap): Remove redundant entries.
5612 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
5613 * malloc/malloc.c (mtrim): Likewise.
5614 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
5616 2012-10-03 Roland McGrath <roland@hack.frob.com>
5618 * sysdeps/mach/hurd/dl-cache.c: File removed.
5619 * config.h.in (USE_LDCONFIG): New #undef.
5620 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
5621 * configure: Regenerated.
5622 * elf/Makefile (dl-routines): Add dl-cache only under
5623 [$(use-ldconfig) = yes].
5624 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
5625 cache on [USE_LDCONFIG].
5626 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
5628 * elf/rtld.c (dl_main): Likewise.
5630 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
5632 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
5633 _SC_LEVEL4_CACHE_LINESIZE.
5635 2012-10-03 Roland McGrath <roland@hack.frob.com>
5637 * sysdeps/unix/bsd/confstr.h: File removed.
5639 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
5641 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
5644 2012-10-02 Roland McGrath <roland@hack.frob.com>
5646 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
5647 Make 'mapoff' field ElfW(Off) rather than off_t.
5649 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
5651 * nscd/Makefile: Remove nscd-cflags and all its users.
5652 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
5653 (CFLAGS-nonlib): Add compiler flags for nscd modules.
5656 * malloc.c (malloc_printerr): Clarify error message.
5658 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
5661 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5662 Set bit_FMA_Usable if FMA is supported.
5663 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
5665 (bit_FMA4_Usable): Updated.
5666 (index_FMA_Usable): New macro.
5667 (CPUID_FMA): Likewise
5668 (HAS_FMA): Defined with bit_FMA_Usable.
5670 2012-10-01 Roland McGrath <roland@hack.frob.com>
5672 * bits/types.h (__swblk_t): Type removed.
5673 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
5674 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
5675 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5676 (__SWBLK_T_TYPE): Likewise.
5677 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5678 (__SWBLK_T_TYPE): Likewise.
5679 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5680 (__SWBLK_T_TYPE): Likewise.
5681 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5682 (__SWBLK_T_TYPE): Likewise.
5684 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
5685 Honza Horak <hhorak@redhat.com>
5687 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
5688 (xdr_mapname): Use YPMAXMAP as maxsize.
5689 (xdr_peername): Use YPMAXPEER as maxsize.
5690 (xdr_keydat): Use YPAXRECORD as maxsize.
5691 (xdr_valdat): Use YPMAXRECORD as maxsize.
5693 2012-10-01 Roland McGrath <roland@hack.frob.com>
5695 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
5697 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
5698 * csu/init-first.c: ... here.
5699 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
5700 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5701 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5702 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5703 * sysdeps/i386/init-first.c: File removed.
5704 * sysdeps/sh/init-first.c: File removed.
5706 2012-10-01 Joseph Myers <joseph@codesourcery.com>
5709 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
5710 if x * y might underflow to zero and z is zero.
5711 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5712 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5713 * math/libm-test.inc (min_subnorm_value): New variable.
5714 (fma_test): Add more tests.
5715 (fma_test_towardzero): Likewise.
5716 (fma_test_downward): Likewise
5717 (fma_test_upward): Likewise.
5718 (initialize): Set min_subnorm_value.
5720 2012-09-29 Joseph Myers <joseph@codesourcery.com>
5723 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
5725 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
5726 mode for addition resulting in exact zero.
5727 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
5728 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
5730 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5731 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5732 * math/libm-test.inc (fma_test): Add more tests.
5733 (fma_test_towardzero): New function.
5734 (fma_test_downward): Likewise.
5735 (fma_test_upward): Likewise.
5736 (main): Call the new functions.
5738 2012-09-28 David S. Miller <davem@davemloft.net>
5740 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
5742 2012-09-28 Roland McGrath <roland@hack.frob.com>
5744 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
5747 * sysdeps/gnu/_G_config.h: Moved to ...
5748 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
5749 * sysdeps/mach/hurd/_G_config.h: Moved to ...
5750 * sysdeps/generic/_G_config.h: ... here.
5752 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
5754 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
5756 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
5757 Conditionalize target on [libnss_test1.so-version].
5759 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
5761 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
5762 (elfobjdir): Move out of conditionals.
5764 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
5765 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
5766 (__nss_lookup_function): Conditionalize label remove_from_tree on
5767 [!DO_STATIC_NSS || SHARED], matching its only use.
5769 2012-09-28 David S. Miller <davem@davemloft.net>
5771 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
5772 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
5774 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5776 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5777 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
5778 when HWCAP_SPARC_CRYPTO is present.
5780 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5782 * io/tst-mknodat.c: Create a FIFO instead of a socket.
5784 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
5787 * stdio-common/vfprintf.c (process_string_arg): Revert
5790 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
5792 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
5794 * stdio-common/tst-sprintf.c: Include <locale.h>
5795 (main): Test sprintf's handling of incomplete multibyte
5798 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
5800 * elf/dl-runtime.c (VERSYMIDX): Removed.
5801 * elf/dl-version.c (VERSYMIDX): Likewise.
5802 * elf/do-rel.h (VERSYMIDX): Likewise.
5804 * elf/dynamic-link.h (VERSYMIDX): Likewise.
5805 * elf/rtld.c (VALIDX): Likewise.
5806 (ADDRIDX): Likewise.
5807 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
5808 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
5809 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
5810 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
5812 (ADDRIDX): Likewise.
5814 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5816 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
5818 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
5821 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
5823 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
5824 addresses are in the same scope as 192.0.2/24.
5825 * posix/gai.conf: Document new scope table defaults.
5827 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5830 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
5831 for ftell. Compute offsets from write pointers instead.
5832 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5834 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5837 * libio/Makefile (tests): New test case tst-fseek.
5838 * libio/tst-fseek.c: New test case to verify that fseek/ftell
5839 combination works in wide mode.
5840 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
5841 state when the external buffer state changes.
5843 2012-09-27 David S. Miller <davem@davemloft.net>
5846 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
5847 pass reloc->r_addend in as the 'high' argument to
5848 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
5850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5852 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5854 * rt/tst-aio2.c: Include <pthread.h>.
5855 * rt/tst-aio3.c: Likewise.
5857 2012-09-27 Steve Ellcey <sellcey@mips.com>
5859 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
5861 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
5863 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
5864 contents on [SHARED].
5866 2012-09-26 Marek Polacek <polacek@redhat.com>
5870 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
5871 for C++ and GCC <4.3 as well as for non GCC compilers.
5873 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5875 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5877 2012-09-25 Roland McGrath <roland@hack.frob.com>
5879 * Makefile.in (all, install): Declare with .PHONY.
5880 Reported by Michael Hope <michael.hope@linaro.org>.
5882 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5884 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
5885 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
5887 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
5889 (sydep_routines): Add the new and the internal functions.
5890 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
5891 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
5892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
5893 (GLIBC_2.17): Add the new function.
5894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
5895 (GLIBC_2.17): Likewise.
5896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
5897 (GLIBC_2.17): Likewise.
5898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
5899 (GLIBC_2.17): Likewise.
5900 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
5902 2012-09-25 Alan Modra <amodra@gmail.com>
5904 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
5905 Add release barrier before setting once_control to say
5906 initialisation is done. Add hints on lwarx. Use macro in
5908 (clear_once_control): Add release barrier.
5910 2012-09-25 Joseph Myers <joseph@codesourcery.com>
5913 * math/s_clog.c (__clog): Handle more values close to |z| = 1
5915 * math/s_clog10.c (__clog10): Likewise.
5916 * math/s_clog10f.c (__clog10f): Likewise.
5917 * math/s_clog10l.c (__clog10l): Likewise.
5918 * math/s_clogf.c (__clogf): Likewise.
5919 * math/s_clogl.c (__clogl): Likewise.
5920 * math/Makefile (libm-calls): Add x2y2m1.
5921 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
5922 (__x2y2m1): Likewise.
5923 (__x2y2m1l): Likewise.
5924 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
5925 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
5926 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5927 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5928 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
5929 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
5930 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
5931 * sysdeps/i386/fpu/libm-test-ulps: Update.
5932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5935 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
5936 int as type of variable DEPTH.
5937 (glob): Use size_t instead of int as type of variables NEWCOUNT
5940 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5942 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5944 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
5945 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
5946 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
5947 macros for using routine as __sincosf_ia32.
5948 Use macro for function declaration and weak_alias.
5949 * sysdeps/i386/fpu/libm-test-ulps: Update.
5951 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
5952 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5954 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
5956 * math/s_cexpf.c (__cexpf): Likewise.
5957 * math/s_csinf.c (__csinf): Likewise.
5958 * math/s_csinhf.c (__csinhf): Likewise.
5959 * math/s_ctanf.c (__ctanf): Likewise.
5960 * math/s_ctanhf.c (__ctanhf): Likewise.
5961 * math/s_ccosh.c (__ccoshf): Likewise.
5962 * math/s_cexp.c (__cexpl): Likewise.
5963 * math/s_csin.c (__csin): Likewise.
5964 * math/s_csinh.c (__csinh): Likewise.
5965 * math/s_ctan.c (__ctan): Likewise.
5966 * math/s_ctanh.c (ctanh): Likewise.
5967 * math/s_ccoshl.c (__ccoshl): Likewise.
5968 * math/s_cexpl.c (__cexpl): Likewise.
5969 * math/s_csinl.c (__csinl): Likewise.
5970 * math/s_csinhl.c (__csinhl): Likewise.
5971 * math/s_ctanl.c (__ctanl): Likewise.
5972 * math/s_ctanhl.c (__ctanhl): Likewise.
5974 2012-09-25 Joseph Myers <joseph@codesourcery.com>
5976 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
5977 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
5978 (_IO_off_t): Define to __off_t, not _G_off_t.
5979 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
5980 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
5981 (_IO_wint_t): Define to wint_t, not _G_wint_t.
5982 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
5983 type of __dummy and __dummy2 fields.
5984 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
5985 (_G_ssize_t): Likewise.
5986 (_G_off_t): Likewise.
5987 (_G_pid_t): Likewise.
5988 (_G_uid_t): Likewise.
5989 (_G_wchar_t): Likewise.
5990 (_G_wint_t): Likewise.
5991 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
5992 (_G_ssize_t): Likewise.
5993 (_G_off_t): Likewise.
5994 (_G_pid_t): Likewise.
5995 (_G_uid_t): Likewise.
5996 (_G_wchar_t): Likewise.
5997 (_G_wint_t): Likewise.
5998 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
5999 (_G_ssize_t): Likewise.
6000 (_G_off_t): Likewise.
6001 (_G_pid_t): Likewise.
6002 (_G_uid_t): Likewise.
6003 (_G_wchar_t): Likewise.
6004 (_G_wint_t): Likewise.
6006 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6008 * malloc/arena.c: Include malloc-sysdep.h.
6009 (shrink_heap): Use check_may_shrink_heap to decide if madvise
6010 is sufficient to shrink the heap or an unmap is needed.
6011 * sysdeps/generic/malloc-sysdep.h: New file. Define
6012 new function check_may_shrink_heap.
6013 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
6014 new function check_may_shrink_heap.
6016 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6018 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
6021 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
6023 * catgets/test-gencat.sh: Add "set -e".
6024 * elf/tst-pathopt.sh: Likewise.
6025 * grp/tst_fgetgrent.sh: Likewise.
6026 * iconvdata/run-iconv-test.sh: Likewise.
6027 * intl/tst-gettext.sh: Likewise.
6028 * intl/tst-gettext2.sh: Likewise.
6029 * intl/tst-gettext4.sh: Likewise.
6030 * intl/tst-gettext6.sh: Likewise.
6031 * intl/tst-translit.sh: Likewise.
6032 * io/ftwtest-sh: Likewise.
6033 * libio/test-freopen.sh: Likewise.
6034 * malloc/tst-mtrace.sh: Likewise.
6035 * posix/globtest.sh: Likewise.
6036 * posix/tst-getconf.sh: Likewise.
6037 * posix/wordexp-tst.sh: Likewise.
6038 * stdio-common/tst-printf.sh: Likewise.
6039 * stdio-common/tst-unbputc.sh: Likewise.
6040 * stdlib/tst-fmtmsg.sh: Likewise.
6041 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6042 * catgets/Makefile: Do not specify -e option when running
6043 testsuite shell scripts.
6044 * elf/Makefile: Likewise.
6045 * grp/Makefile: Likewise.
6046 * iconvdata/Makefile: Likewise.
6047 * intl/Makefile: Likewise.
6048 * io/Makefile: Likewise.
6049 * libio/Makefile: Likewise.
6050 * malloc/Makefile: Likewise.
6051 * posix/Makefile: Likewise.
6052 * stdio-common/Makefile: Likewise.
6053 * stdlib/Makefile: Likewise.
6054 * sysdeps/x86_64/Makefile: Likewise.
6056 * io/ftwtest-sh: Add copyright header.
6057 * posix/globtest.sh: Likewise.
6058 * posix/tst-getconf.sh: Likewise.
6059 * posix/wordexp-tst.sh: Likewise.
6060 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6062 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
6065 * Makeconfig (+link): Defined as $(+link-static) if
6066 $(build-shared) isn't yes.
6067 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
6069 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
6071 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
6074 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
6075 new chunk size with MALLOC_ALIGN_MASK.
6077 2012-09-24 Joseph Myers <joseph@codesourcery.com>
6080 * stdio-common/printf_fphex.c: Include <stdbool.h> and
6082 (__printf_fphex): Determine rounding using get_rounding_mode and
6084 * stdio-common/tst-printf-round.c (struct hex_test): New
6086 (hex_tests): New variable.
6087 (test_hex_in_one_mode): New function.
6088 (do_test): Also run tests for hex float output.
6090 2012-09-21 Joseph Myers <joseph@codesourcery.com>
6092 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6093 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6094 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
6095 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6096 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6097 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
6098 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6099 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6101 2012-09-20 Joseph Myers <joseph@codesourcery.com>
6103 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
6104 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
6105 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
6106 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
6108 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
6111 * elf/rtld.c (dl_main): Limit the check for self loading to normal
6113 * elf/tst-rtld-load-self.sh: New test.
6114 * elf/Makefile: Run it.
6116 2012-09-18 Joseph Myers <joseph@codesourcery.com>
6118 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
6119 (tst-writev-ENV): Remove.
6120 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
6122 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
6124 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
6126 2012-09-17 Joseph Myers <joseph@codesourcery.com>
6128 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
6130 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
6132 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
6133 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
6134 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
6137 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
6140 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
6141 * config.make.in (have-cpp-asm-debuginfo): Removed.
6142 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
6143 * configure: Regenerated.
6145 2012-09-14 Joseph Myers <joseph@codesourcery.com>
6148 * stdio-common/printf_fp.c: Include <stdbool.h> and
6150 (___printf_fp): Determine rounding using get_rounding_mode and
6152 * stdio-common/tst-printf-round.c: New file.
6153 * stdio-common/Makefile (tests): Add tst-printf-round.
6154 (link-libm): New variable.
6155 ($(objpfx)tst-printf-round): Depend in $(link-libm).
6157 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
6160 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
6161 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
6163 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
6166 2012-09-13 Joseph Myers <joseph@codesourcery.com>
6168 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
6169 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6170 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6171 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6173 2012-09-12 Joseph Myers <joseph@codesourcery.com>
6176 * include/rounding-mode.h: New file.
6177 * sysdeps/generic/get-rounding-mode.h: Likewise.
6178 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
6179 * stdlib/strtod_l.c: Include <rounding-mode.h>.
6180 (MAX_VALUE): New macro.
6181 (MIN_VALUE): Likewise.
6182 (overflow_value): New function.
6183 (underflow_value): Likewise.
6184 (round_and_return): Use overflow_value and underflow_value to
6185 determine return values in overflow and underflow cases. Use
6186 round_away to determine rounding depending on rounding mode.
6187 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
6188 determine return values in overflow and underflow cases.
6189 * stdlib/tst-strtod-round.c: Include <fenv.h>.
6190 (struct test_results): New structure.
6191 (struct test): Use struct test_results to store expected results
6192 for all rounding modes.
6193 (TEST): Include expected results for all rounding modes.
6194 (test_in_one_mode): New function.
6195 (do_test): Use test_in_one_mode to compute and check results.
6196 Check results for all rounding modes.
6197 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
6200 2012-12-09 Allan McRae <allan@archlinux.org>
6202 * sysdeps/i386/fpu/libm-test-ulps: Update
6204 2012-09-11 Joseph Myers <joseph@codesourcery.com>
6206 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
6207 (_G_int32_t): Likewise.
6208 (_G_uint16_t): Likewise.
6209 (_G_uint32_t): Likewise.
6210 (_G_HAVE_BOOL): Likewise.
6211 (_G_HAVE_ATEXIT): Likewise.
6212 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6213 (_G_HAVE_IO_FILE_OPEN): Likewise.
6214 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
6215 (_G_int32_t): Likewise.
6216 (_G_uint16_t): Likewise.
6217 (_G_uint32_t): Likewise.
6218 (_G_HAVE_BOOL): Likewise.
6219 (_G_HAVE_ATEXIT): Likewise.
6220 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6221 (_G_HAVE_IO_FILE_OPEN): Likewise.
6222 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
6223 (_G_int32_t): Likewise.
6224 (_G_uint16_t): Likewise.
6225 (_G_uint32_t): Likewise.
6226 (_G_HAVE_BOOL): Likewise.
6227 (_G_HAVE_ATEXIT): Likewise.
6228 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6229 (_G_HAVE_IO_FILE_OPEN): Likewise.
6231 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
6233 * csu/libc-tls.c: Update copyright years.
6235 2012-09-10 Joseph Myers <joseph@codesourcery.com>
6237 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
6238 [!_G_USING_THUNKS]: Remove conditional code.
6239 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
6240 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
6242 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
6243 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
6244 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6245 (_G_VTABLE_LABEL_PREFIX): Likewise.
6246 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6247 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6248 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6249 (_G_VTABLE_LABEL_PREFIX): Likewise.
6250 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
6251 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6252 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6253 (_G_VTABLE_LABEL_PREFIX): Likewise.
6254 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
6256 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
6258 * libio/Makefile: Include ../Makeconfig before tests.
6259 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
6260 only if $(build-shared) is yes.
6262 * iconv/gconv_db.c: Update copyright years.
6264 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6266 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
6267 unwind info if defined PIC. Fix special cases description.
6268 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
6270 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
6272 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
6274 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
6276 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
6278 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
6281 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
6282 (LDLIBS-tst-chk4): This.
6283 (LDFLAGS-tst-chk5): Renamed to ...
6284 (LDLIBS-tst-chk5): This.
6285 (LDFLAGS-tst-chk6): Renamed to ...
6286 (LDLIBS-tst-chk6): This.
6287 (LDFLAGS-tst-lfschk4): Renamed to ...
6288 (LDLIBS-tst-lfschk4): This.
6289 (LDFLAGS-tst-lfschk5): Renamed to ...
6290 (LDLIBS-tst-lfschk5): This.
6291 (LDFLAGS-tst-lfschk6): Renamed to ...
6292 (LDLIBS-tst-lfschk6): This.
6294 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
6295 on $(common-objpfx)soversions.mk.
6297 2012-09-07 Joseph Myers <joseph@codesourcery.com>
6300 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
6303 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6305 * malloc/arena.c (arena_get_retry): New function that gets
6306 another arena for the caller to try its request on.
6307 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
6308 current arena cannot fulfill the request.
6309 (__libc_memalign): Likewise.
6310 (__libc_memalign): Likewise.
6311 (__libc_pvalloc): Likewise.
6312 (__libc_calloc): Likewise.
6314 2012-09-05 John Tobey <john.tobey@gmail.com>
6317 * manual/arith.texi (Operations on Complex): Fix description
6320 2012-09-06 Joseph Myers <joseph@codesourcery.com>
6323 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
6327 * manual/memory.texi (Memory): Make order of menu items match
6330 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6332 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
6333 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
6334 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
6336 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6338 * csu/libc-tls.c (static_dtv): Renamed to ...
6339 (_dl_static_dtv): This. Make it global.
6340 (_dl_initial_dtv): Removed.
6341 (__libc_setup_tls): Updated.
6342 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
6343 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
6346 2012-09-06 Petr Machata <pmachata@redhat.com>
6348 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
6349 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
6350 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
6351 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
6353 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6356 * csu/libc-tls.c (_dl_initial_dtv): New variable.
6357 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
6360 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6363 * Makeconfig (link-static-before-libc): Replace $(+prector)
6365 (link-static-after-libc): Replace $(+postctor) with
6367 (link-bounded): Replace $(+prector)/$(+postctor) with
6368 $(+prectorT)/$(+postctorT).
6369 (+prectorT): New macro.
6370 (+postctorT): Likewise.
6372 2012-09-06 Joseph Myers <joseph@codesourcery.com>
6374 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
6375 (round_str): Handle values above the maximum for IBM long double
6377 * stdlib/tst-strtod-round.c (tests): Regenerated.
6379 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6381 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
6383 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
6384 zarch_nohighgprs around the zarch optimized routines.
6385 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
6386 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
6387 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
6390 2012-09-05 David S. Miller <davem@davemloft.net>
6392 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6394 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
6395 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
6396 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
6397 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
6400 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6402 * malloc/arena.c: Fold copyright years.
6403 * malloc/mcheck.c, malloc/memusage.c: Likewise.
6405 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6407 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
6409 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6411 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
6413 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6415 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
6416 change internal state upon failure.
6418 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6420 * malloc/mcheck.c (mcheck_check_all): Fix typo.
6421 * malloc/memusage.c (mmap): Likewise.
6422 (mmap64, mremap): Likewise. Adjust name in comment.
6424 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6426 * libio/fileops.c: Fix typos in comments.
6427 * libio/oldfileops.c: Likewise.
6428 * libio/wfileops.c: Likewise.
6430 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6433 * malloc/Makefile (tests): Add tst-malloc-usable test case.
6434 (tst-malloc-usable-ENV): Set environment for test case.
6435 * malloc/hooks.c (malloc_check_get_size): New function to get
6437 * malloc/malloc.c (musable): Use malloc_check_get_size.
6438 * malloc/tst-malloc-usable.c: New test case.
6440 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6442 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
6444 2012-09-05 Allan McRae <allan@archlinux.org>
6447 * configure.in (CXX_SYSINCLUDES): Use compiler output to
6448 determine header location.
6449 * configure: Regenerated.
6451 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6453 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
6455 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
6456 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
6460 2012-09-04 David S. Miller <davem@davemloft.net>
6462 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
6463 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
6464 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
6466 2012-09-04 Florian Weimer <fweimer@redhat.com>
6468 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
6471 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
6473 2012-09-04 Joseph Myers <joseph@codesourcery.com>
6476 * libio/iogetdelim.c: Include <limits.h>.
6477 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
6478 + len + 1 would overflow.
6480 2012-09-03 Andreas Jaeger <aj@suse.de>
6482 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6483 * sysdeps/i386/fpu/libm-test-ulps: Update.
6485 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6487 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6488 Add s_sinf-sse2, s_conf-sse2.
6490 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
6491 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
6492 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
6493 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
6495 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
6496 for using routine as __sinf_ia32.
6497 Use macro for function declaration and weak_alias.
6498 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
6499 for using routine as __cosf_ia32.
6500 Use macro for function declaration and weak_alias.
6502 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
6503 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
6505 * sysdeps/x86_64/fpu/s_sinf.S: New file.
6506 * sysdeps/x86_64/fpu/s_cosf.S: New file.
6507 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6509 * math/libm-test.inc (cos_test): Add more test cases.
6510 (sin_test): Likewise.
6511 (sincos_test): Likewise.
6513 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6515 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6516 (IFUNC_RESOLVE): Make pointers to the specialized implementations
6518 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6520 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
6523 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
6524 first element of the GOT.
6525 (elf_machine_load_address): Return the difference between
6526 the runtime address of _DYNAMIC and elf_machine_dynamic ().
6528 2012-09-01 Allan McRae <allan@archlinux.org>
6531 * configure.in (AWK): Require gawk version 3.0 or later.
6532 * configure: Regenerated.
6534 2012-09-01 Joseph Myers <joseph@codesourcery.com>
6536 * sysdeps/unix/sysv/linux/kernel-features.h
6537 (__ASSUME_POSIX_CPU_TIMERS): Remove.
6538 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6539 [__NR_clock_getres]: Make code unconditional.
6540 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
6541 (clock_getcpuclockid): Remove code left unreachable by removal of
6543 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
6545 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6546 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6547 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
6548 Make code unconditional.
6549 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6550 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6551 * sysdeps/unix/sysv/linux/clock_settime.c
6552 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
6554 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
6555 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6557 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
6560 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
6561 scripts/test-installation.pl.
6563 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
6564 and $ld_so_version if it is set.
6566 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6569 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
6570 failure if reading from procfs failed.
6571 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
6573 2012-08-27 Joseph Myers <joseph@codesourcery.com>
6575 * sysdeps/unix/sysv/linux/kernel-features.h
6576 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
6577 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6578 Remove conditional code.
6579 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6580 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
6581 Remove conditional code.
6582 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6583 * sysdeps/unix/sysv/linux/i386/fxstat.c
6584 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6585 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6586 * sysdeps/unix/sysv/linux/i386/fxstatat.c
6587 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6588 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6589 * sysdeps/unix/sysv/linux/i386/lxstat.c
6590 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6591 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6592 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
6593 Remove conditional code.
6594 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6595 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6596 Remove conditional code.
6597 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6598 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
6599 <kernel-features.h>.
6600 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
6602 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
6603 Remove conditional code.
6604 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6605 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
6608 2012-08-27 Mike Frysinger <vapier@gentoo.org>
6611 * NEWS: Add fixed bug number.
6613 2012-08-27 Joseph Myers <joseph@codesourcery.com>
6616 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
6617 underflowing exponent in case of negative sign.
6618 * stdlib/tst-strtod-round-data: Add more tests.
6619 * stdlib/tst-strtod-round.c (tests): Regenerated.
6622 * stdlib/strtod_l.c (NDIG): Remove.
6623 (HEXNDIG): Likewise.
6624 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
6625 smallest representable value.
6626 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
6627 lie within an exact representation of 1/2 ulp of the result.
6628 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
6630 (TENS_P9_IDX): Define unconditionally.
6631 (TENS_P9_SIZE): Likewise.
6632 (TENS_P10_IDX): Likewise.
6633 (TENS_P10_SIZE): Likewise.
6634 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
6635 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
6636 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
6637 entries for 10^2^13 and 10^2^14.
6638 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
6639 (TENS_P13_IDX): Define.
6640 (TENS_P13_SIZE): Likewise.
6641 (TENS_P14_IDX): Likewise.
6642 (TENS_P14_SIZE): Likewise.
6643 (_fpioconst_pow10): Change array size to
6644 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
6646 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
6647 1024]: Add entries for 10^2^13 and 10^2^14.
6648 [LAST_POW10 > _LAST_POW10]: Remove #error.
6649 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
6650 (_fpioconst_pow10): Change array size to
6651 FPIOCONST_POW10_ARRAY_SIZE.
6652 * stdlib/gen-fpioconst.c: New file.
6653 * stdlib/gen-tst-strtod-round.c: Likewise.
6654 * stdlib/tst-strtod-round-data: Likewise.
6655 * stdlib/tst-strtod-round.c: Likewise.
6656 * stdlib/Makefile (tests): Add tst-strtod-round.
6659 * stdlib/strtod_l.c: Include <stdint.h>.
6660 (NDEBUG): Do not define.
6661 (round_and_return): Change EXPONENT parameter to type intmax_t.
6662 Rearrange calculations to avoid internal overflow possibilities.
6663 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
6664 Rearrange calculations to avoid internal overflow possibilities.
6665 Assert that number fits inside MPNSIZE limbs.
6666 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
6667 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
6668 calculations and add assertions to avoid internal overflow
6669 possibilities. Add casts to avoid signed/unsigned operations.
6670 * stdlib/tst-strtod-overflow.c: New file.
6671 * stdlib/Makefile (tests): Add tst-strtod-overflow.
6673 2012-08-25 Marek Polacek <polacek@redhat.com>
6675 * time/time.h: Fix some typos in comments.
6677 2012-08-23 Roland McGrath <roland@hack.frob.com>
6679 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
6680 * posix/tst-rfc3484-2.c: Likewise.
6681 * posix/tst-rfc3484-3.c: Likewise.
6683 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
6685 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
6686 (EF_ARM_ABI_FLOAT_HARD): Likewise.
6688 2012-08-23 Joseph Myers <joseph@codesourcery.com>
6690 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
6691 #include of fxstatat64.c.
6693 2012-08-22 Roland McGrath <roland@hack.frob.com>
6695 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
6696 * shadow/getspent_r.c: Likewise.
6697 * shadow/getspnam.c: Likewise.
6698 * shadow/getspnam_r.c: Likewise.
6699 * gshadow/getsgent.c: Likewise.
6700 * gshadow/getsgent_r.c: Likewise.
6701 * gshadow/getsgnam.c: Likewise.
6702 * gshadow/getsgnam_r.c: Likewise.
6703 * inet/getnetbyad.c: Likewise.
6704 * inet/getnetbyad_r.c: Likewise.
6705 * inet/getnetbynm.c: Likewise.
6706 * inet/getnetbynm_r.c: Likewise.
6707 * inet/getnetent.c: Likewise.
6708 * inet/getnetent_r.c: Likewise.
6709 * inet/getproto.c: Likewise.
6710 * inet/getproto_r.c: Likewise.
6711 * inet/getprtent.c: Likewise.
6712 * inet/getprtent_r.c: Likewise.
6713 * inet/getprtname.c: Likewise.
6714 * inet/getprtname_r.c: Likewise.
6715 * inet/getrpcbyname.c: Likewise.
6716 * inet/getrpcbyname_r.c: Likewise.
6717 * inet/getrpcbynumber.c: Likewise.
6718 * inet/getrpcbynumber_r.c: Likewise.
6719 * inet/getrpcent.c: Likewise.
6720 * inet/getrpcent_r.c: Likewise.
6721 * inet/getaliasent.c: Likewise.
6722 * inet/getaliasent_r.c: Likewise.
6723 * inet/getaliasname.c: Likewise.
6724 * inet/getaliasname_r.c: Likewise.
6725 * nscd/getgrgid_r.c: Likewise.
6726 * nscd/getgrnam_r.c: Likewise.
6727 * nscd/gethstbyad_r.c: Likewise.
6728 * nscd/gethstbynm3_r.c: Likewise.
6729 * nscd/getpwnam_r.c: Likewise.
6730 * nscd/getpwuid_r.c: Likewise.
6731 * nscd/getsrvbynm_r.c: Likewise.
6732 * nscd/getsrvbypt_r.c: Likewise.
6733 * nscd/gai.c: Likewise.
6735 * configure.in (build_nscd): New substituted variable, set
6736 by --disable-build-nscd and defaults to $use_nscd.
6737 * configure: Regenerated.
6738 * config.make.in (build-nscd): New substituted variable.
6739 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
6740 Change conditional to require [$(build-nscd) = yes] as well.
6741 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
6744 * configure.in (use_nscd): New substituted variable, set by
6745 --disable-nscd. If enabled, define USE_NSCD.
6746 * configure: Regenerated.
6747 * config.h.in: Add USE_NSCD.
6748 * config.make.in (use-nscd): New substituted variable.
6749 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
6750 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
6751 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
6752 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
6753 (CFLAGS-getgrnam_r.c): Likewise.
6754 (CFLAGS-initgroups.c): Likewise.
6755 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
6756 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
6758 * inet/getnetgrent_r.c
6759 (nscd_setnetgrent): New function, broken out of ...
6760 (setnetgrent): ... here. Call it.
6761 (innetgr): Conditionalize nscd bits on [USE_NSCD].
6762 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
6763 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
6764 * nscd/Makefile (routines, aux): Move definitions after include of
6765 Makeconfig. Conditionalize on [$(use-nscd) != no].
6766 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
6767 Conditionalize on [USE_NSCD].
6768 (is_nscd, nscd_init_cb): Likewise.
6769 (nss_load_library): Conditionalize init callback on [USE_NSCD].
6770 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
6771 * nss/nss_db/db-init.c: Likewise.
6772 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
6774 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
6775 (make_request): Use it.
6776 (cache_valid_p): New function.
6777 (__check_pf): Use it.
6778 * NEWS: Add item for --disable-nscd.
6780 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
6782 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
6783 to support sed >= 4.2.1-20-ga9bf076.
6784 * configure: Regenerated.
6786 2012-08-22 Roland McGrath <roland@hack.frob.com>
6788 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
6789 Conditionalize whole body on [IREL].
6791 2012-08-22 Jeff Law <law@redhat.com>
6794 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
6795 if the family is PF_UNSPEC.
6797 2012-08-22 Mike Frysinger <vapier@gentoo.org>
6799 * Makerules (lib-version): Rename from V.
6800 (install-lib-nosubdir): Change V to lib-version.
6802 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
6805 * powerpc32/power6/wcschr.c: New file.
6806 * powerpc32/power6/wcscpy.c: New file.
6807 * powerpc32/power6/wcsrchr.c: New file.
6808 * powerpc64/power6/wcschr.c: New file.
6809 * powerpc64/power6/wcscpy.c: New file.
6810 * powerpc64/power6/wcsrchr.c: New file.
6812 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6814 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
6815 (two_way_short_needle): Use it.
6816 * string/strstr.c (AVAILABLE1_USES_J): Define.
6817 * string/strcasestr.c: Likewise.
6819 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
6821 * string/strcasestr.c (TOLOWER): Make side-effect safe.
6824 * NEWS: Add an entry.
6825 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
6826 define their defaults.
6827 (two_way_short_needle): Detect end-of-string on-the-fly.
6828 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
6829 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
6830 * string/bug-strcasestr1.c: New test.
6831 * string/Makefile: Run it.
6833 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6836 * string/str-two-way.h (two_way_short_needle): Optimize matching of
6837 the first character.
6839 2012-08-21 Roland McGrath <roland@hack.frob.com>
6841 * csu/elf-init.c (__libc_csu_irel): Function removed.
6842 * csu/libc-start.c (apply_irel): New function.
6843 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
6845 2012-08-21 Joseph Myers <joseph@codesourcery.com>
6847 * sysdeps/unix/sysv/linux/kernel-features.h
6848 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
6849 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6850 <kernel-features.h>.
6851 [__NR_fadvise64_64]: Make code unconditional.
6852 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
6853 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6854 !__NR_fadvise64_64)]: Likewise.
6855 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6856 !__NR_fadvise64_64))]: Likewise.
6857 [__NR_fadvise64]: Make code unconditional.
6858 [!__NR_fadvise64]: Remove conditional code.
6859 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
6860 <kernel-features.h>.
6861 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6863 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
6866 not include <kernel-features.h>.
6867 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6869 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6871 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
6872 include <kernel-features.h>.
6873 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6875 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6878 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6880 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
6881 slight instruction rearrangements per scrollpipe analysis.
6882 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6884 2012-08-20 Roland McGrath <roland@hack.frob.com>
6886 * manual/syslog.texi (syslog; vsyslog, closelog):
6887 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
6888 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
6890 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
6891 DSOCAPS to match condition on defining it.
6893 2012-08-20 Joseph Myers <joseph@codesourcery.com>
6895 * sysdeps/unix/sysv/linux/kernel-features.h
6896 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
6897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
6898 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6899 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
6901 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6902 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
6904 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6905 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6907 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
6908 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
6910 * sysdeps/unix/sysv/linux/kernel-features.h
6911 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
6912 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
6914 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6915 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
6916 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6917 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6918 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
6919 Make code unconditional.
6920 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6921 (__mmap64) [!__NR_mmap2]: Likewise.
6922 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
6923 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6924 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6925 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
6926 [__NR_mmap2]: Make code unconditional.
6927 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6928 (__mmap64) [!__NR_mmap2]: Likewise.
6930 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6932 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
6934 2012-08-18 Andreas Jaeger <aj@suse.de>
6936 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
6938 2012-08-18 Mike Frysinger <vapier@gentoo.org>
6940 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
6941 * include/unistd.h (__have_sock_cloexec): Likewise.
6942 (__have_pipe2): Likewise.
6943 (__have_dup3): Likewise.
6945 2012-08-18 Mike Frysinger <vapier@gentoo.org>
6948 * include/unistd.h (__have_pipe2): Change define into an extern int.
6949 (__have_dup3): Likewise.
6950 * socket/have_sock_cloexec.c: Include fcntl.h.
6951 (__have_pipe2): New variable.
6952 (__have_dup3): Likewise.
6954 2012-08-17 Mike Frysinger <vapier@gentoo.org>
6956 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
6958 2012-08-17 Marek Polacek <polacek@redhat.com>
6960 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
6961 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
6963 2012-08-17 Roland McGrath <roland@hack.frob.com>
6965 * configure.in: Add AC_SUBST for sysheaders.
6966 * configure: Regenerated.
6967 * config.make.in (sysheaders): New substituted variable.
6969 * sysdeps/unix/mkfifo.c: Moved ...
6970 * sysdeps/posix/mkfifo.c: ... here.
6971 * sysdeps/unix/mkfifoat.c: Moved ...
6972 * sysdeps/posix/mkfifoat.c: ... here.
6974 * sysdeps/unix/utime.c: Moved ...
6975 * sysdeps/posix/utime.c: ... here.
6977 * sysdeps/unix/time.c: Moved ...
6978 * sysdeps/posix/time.c: ... here.
6979 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
6980 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
6982 * sysdeps/unix/nice.c: Moved ...
6983 * sysdeps/posix/nice.c: ... here.
6985 * sysdeps/unix/alarm.c: Moved ...
6986 * sysdeps/posix/alarm.c: ... here.
6988 * intl/Makefile ($(codeset_mo)): Depend on the input file.
6990 2012-08-17 Jeff Law <law@redhat.com>
6992 * intl/Makefile (codeset_mo): New variable.
6993 ($(codeset_mo)): New target.
6994 (tst-codeset.out): Depend on that. Remove explicit rule.
6995 (tst-gettext3.out, tst-gettext5.out): Likewise.
6996 (LOCPATH-ENV, tst-codeset-ENV): New variables.
6997 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
6998 * intl/tst-codeset.sh: Remove.
6999 * intl/tst-gettext3.sh: Likewise.
7000 * intl/tst-gettext5.sh: Likewise.
7002 2012-08-17 Roland McGrath <roland@hack.frob.com>
7004 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
7005 * sysdeps/unix/syscalls.list: ... here.
7007 * sysdeps/posix/getaddrinfo.c
7008 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
7009 (gaiconf_init, gaiconf_reload): Use them.
7011 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
7012 Define using time_t rather than struct timespec.
7014 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
7015 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
7017 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
7019 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
7020 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
7023 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
7024 __libc_cleanup_push argument.
7026 * bits/param.h: New file.
7027 * misc/sys/param.h: New file.
7028 * include/sys/param.h: New file.
7029 * misc/Makefile (headers): Add bits/param.h.
7030 * sysdeps/generic/sys/param.h: File removed.
7031 * sysdeps/unix/sysv/linux/bits/param.h: New file.
7032 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
7033 * sysdeps/mach/hurd/bits/param.h: New file.
7034 * sysdeps/mach/hurd/sys/param.h: File removed.
7036 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
7039 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
7041 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
7042 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
7045 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
7046 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
7047 rather than -D_IO_MTSAFE_IO conditionally.
7048 * stdio-common/Makefile (CPPFLAGS): Likewise.
7049 * wcsmbs/Makefile (CPPFLAGS): Likewise.
7050 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
7051 Use $(libio-mtsafe).
7052 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
7054 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
7055 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
7056 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
7057 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
7058 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
7059 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
7060 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
7061 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
7062 (CFLAGS-fread_u_chk.c): Likewise.
7063 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
7064 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
7065 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
7066 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
7067 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
7068 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
7069 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
7070 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
7071 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
7073 * libio/Makefile: Test [$(libc-reentrant) = yes]
7074 instead of [$(filter %REENTRANT, $(defines)) nonempty].
7077 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
7078 * sysdeps/pthread/configure: File removed.
7079 * sysdeps/pthread/Makeconfig: New file.
7080 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
7081 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
7083 2012-08-16 Gary Benson <gbenson@redhat.com>
7085 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
7086 unmapping the first object in a namespace.
7088 2012-08-16 Roland McGrath <roland@hack.frob.com>
7090 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
7091 (__internal_setnetgrent): ... this. Add internal_function to
7092 definition. Add libc_hidden_def.
7093 (setnetgrent): Update caller.
7094 (internal_endnetgrent): Renamed to ...
7095 (__internal_endnetgrent): ... this. Add internal_function to
7096 definition. Add libc_hidden_def.
7097 (endnetgrent): Update caller.
7098 (internal_getnetgrent_r): Renamed to ...
7099 (__internal_getnetgrent_r): ... this. Add internal_function to
7100 definition. Add libc_hidden_def.
7101 (__getnetgrent_r): Update caller.
7102 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
7104 2012-08-16 Joseph Myers <joseph@codesourcery.com>
7106 * stdlib/longlong.h: Update from GCC.
7108 2012-08-16 Roland McGrath <roland@hack.frob.com>
7110 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
7111 on _QL, which is set by umul_ppmm but never used.
7112 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
7113 variables, which are set by GMP macros but never used.
7114 * stdio-common/_itowa.c (_itowa): Likewise.
7115 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
7116 * stdlib/mod_1.c (mpn_mod_1): Likewise.
7118 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
7120 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
7121 struct La_sh_regs is not constant.
7122 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
7123 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
7124 and struct La_sparc64_regs are not constant.
7126 2012-08-16 Joseph Myers <joseph@codesourcery.com>
7128 * sysdeps/unix/sysv/linux/kernel-features.h
7129 (__ASSUME_POSIX_TIMERS): Remove.
7130 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7131 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7132 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
7133 Make code unconditional.
7134 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7135 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
7136 Make code unconditional.
7137 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7138 * sysdeps/unix/sysv/linux/clock_nanosleep.c
7139 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
7140 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7141 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
7142 Make code unconditional.
7143 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7144 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
7145 (__libc_missing_posix_timers): Remove.
7147 2012-08-15 Roland McGrath <roland@hack.frob.com>
7149 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
7150 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
7152 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
7154 * elf/dl-sym.c: Include <stdlib.h>.
7156 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
7157 constants, which avoids warnings in 32-bit builds.
7159 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
7160 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
7162 * misc/lseek.c: File moved to ...
7163 * io/lseek.c: ... here.
7165 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
7167 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
7168 shifting LEN more than 31 bits at once.
7170 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7173 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
7174 segmentation fault for a case of two empty input strings.
7175 * string/test-strncasecmp.c (check1): Renamed to...
7177 (bz14195): Add new testcase for two empty input strings and N > 0.
7178 (test_main): Call new testcase, adapt for renamed function.
7180 2012-08-15 Andreas Jaeger <aj@suse.de>
7183 * crypt/md5test2.c: New test, based on test supplied by Serge
7184 Belyshev <belyshev@depni.sinp.msu.ru>.
7185 * crypt/Makefile (xtests): Add md5test-giant..
7186 * crypt/Makefile ($(objpfx)md5test-giant): Add.
7188 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
7191 * crypt/md5.c (md5_process_block): Don't assume the buffer
7192 length is less than 2**32.
7193 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
7194 length is less than 2**64.
7196 2012-08-15 Roland McGrath <roland@hack.frob.com>
7198 * string/str-two-way.h: Include <sys/param.h>.
7199 (MAX): Macro removed.
7201 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
7202 Move #define and #undef of memmove to just before and after
7203 including <string.h>.
7205 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
7206 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
7207 and after including <string.h>. Move declarations of
7208 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
7209 to before #include "string/memmove.c".
7211 * include/dirent.h: Declare __getdirentries.
7213 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
7214 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
7216 2012-08-14 Mike Frysinger <vapier@gentoo.org>
7218 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
7219 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
7220 * sysdeps/i386/configure: Regenerated.
7221 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
7222 STABS_CURRENT_FILE, and STABS_FUN.
7223 (END): Remove call to STABS_FUN_END.
7224 (STABS_CURRENT_FILE1): Delete.
7225 (STABS_CURRENT_FILE): Likewise.
7226 (STABS_FUN): Likewise.
7227 (STABS_FUN_END): Likewise.
7228 (STABS_FUN2): Likewise.
7229 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
7230 * sysdeps/x86_64/configure: Regenerated.
7232 2012-08-14 Roland McGrath <roland@hack.frob.com>
7234 * elf/dl-open.c: Include <atomic.h>.
7235 * elf/dl-lookup.c: Likewise.
7237 2012-08-14 Joseph Myers <joseph@codesourcery.com>
7239 * sysdeps/unix/sysv/linux/kernel-features.h
7240 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
7241 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
7243 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
7245 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
7246 condition on __ASSUME_CLONE_THREAD_FLAGS.
7248 2012-08-14 Andreas Jaeger <aj@suse.de>
7250 * sysdeps/i386/fpu/libm-test-ulps: Update.
7252 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
7254 * include/atomic.h (atomic_exchange_and_add): Split into ...
7255 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
7258 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
7260 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7262 2012-08-13 Jeff Law <law@redhat.com>
7264 * manual/stdio.texi (snprintf): Clarify handling of the trailing
7265 null byte in the output string.
7267 2012-08-10 Joseph Myers <joseph@codesourcery.com>
7269 * sysdeps/unix/sysv/linux/kernel-features.h
7270 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
7271 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
7272 (__ASSUME_ARG_MAX_STACK_BASED): Define.
7273 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7274 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
7275 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
7276 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
7278 2012-08-09 Jeff Law <law@redhat.com>
7281 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
7282 When avoid_arena is set, don't retry in the that arena. Pick the
7283 next one, whatever it might be.
7284 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
7285 (arena_lock): Pass in new parameter to arena_get2.
7286 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
7288 (__libc_malloc): Unify retrying after main arena failure with
7289 __libc_memalign version.
7290 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
7292 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
7295 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
7296 to __redirect_strstr.
7297 (__strstr_sse42): Use typeof __redirect_strstr.
7298 (__strstr_ia32): Likewise.
7299 (__libc_strstr): New prototype.
7300 (strstr): Renamed to ...
7301 (__libc_strstr): This.
7302 (strstr): New strong alias of __libc_strstr.
7303 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7304 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
7307 (__libc_time): New prototype.
7308 (time_ifunc): Replace time with __libc_time.
7309 (time): New strong alias and hidden definition of __libc_time.
7310 (__GI_time): Remove strong alias.
7311 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
7313 (memmove): Redefined to __redirect_memmove.
7314 (__memmove_sse2): Use typeof __redirect_memmove.
7315 (__memmove_ssse3): Likewise.
7316 (__memmove_ssse3_back): Likewise.
7317 (__libc_memmove): New prototype.
7318 (memmove): Renamed to ...
7319 (__libc_memmove): This.
7320 (memmove): New strong alias of __libc_memmove.
7322 2012-08-08 Mark Salter <msalter@redhat.com>
7325 (R_MN10300_TLS_GD): Define.
7326 (R_MN10300_TLS_LD): Likewise.
7327 (R_MN10300_TLS_LDO): Likewise.
7328 (R_MN10300_TLS_GOTIE): Likewise.
7329 (R_MN10300_TLS_IE): Likewise.
7330 (R_MN10300_TLS_LE): Likewise.
7331 (R_MN10300_TLS_DTPMOD): Likewise.
7332 (R_MN10300_TLS_DTPOFF): Likewise.
7333 (R_MN10300_TLS_TPOFF): Likewise.
7334 (R_MN10300_SYM_DIFF): Likewise.
7335 (R_MN10300_ALIGN): Likewise.
7336 (R_MN10300_NUM): Update.
7338 2012-08-08 Joseph Myers <joseph@codesourcery.com>
7340 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
7343 2012-08-08 Roland McGrath <roland@hack.frob.com>
7345 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
7347 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
7348 sysdeps/unix -> sysdeps/posix move.
7349 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7351 2012-08-07 Allan McRae <allan@archlinux.org>
7354 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
7355 (SUNOS_CPP): Likewise.
7356 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
7358 (open_input): Call CPP using execvp.
7360 2012-08-07 Joseph Myers <joseph@codesourcery.com>
7362 * sysdeps/unix/sysv/linux/kernel-features.h
7363 (__ASSUME_PROT_GROWSUPDOWN): Remove.
7364 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7365 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7366 (__ASSUME_WAITID_SYSCALL): Likewise.
7367 * sysdeps/unix/sysv/linux/dl-execstack.c
7368 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
7370 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
7372 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
7373 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
7374 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
7376 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
7378 [__ASSUME_WAITID_SYSCALL]: Likewise.
7379 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
7381 2012-08-07 Roland McGrath <roland@hack.frob.com>
7383 * sysdeps/unix/closedir.c: Renamed to ...
7384 * sysdeps/posix/closedir.c: ... here.
7385 * sysdeps/unix/dirfd.c: Renamed to ...
7386 * sysdeps/posix/dirfd.c: ... here.
7387 * sysdeps/unix/dirstream.h: Renamed to ...
7388 * sysdeps/posix/dirstream.h: ... here.
7389 * sysdeps/unix/fdopendir.c: Renamed to ...
7390 * sysdeps/posix/fdopendir.c: ... here.
7391 * sysdeps/unix/opendir.c: Renamed to ...
7392 * sysdeps/posix/opendir.c: ... here.
7393 * sysdeps/unix/readdir.c: Renamed to ...
7394 * sysdeps/posix/readdir.c: ... here.
7395 * sysdeps/unix/readdir_r.c: Renamed to ...
7396 * sysdeps/posix/readdir_r.c: ... here.
7397 * sysdeps/unix/rewinddir.c: Renamed to ...
7398 * sysdeps/posix/rewinddir.c: ... here.
7399 * sysdeps/unix/seekdir.c: Renamed to ...
7400 * sysdeps/posix/seekdir.c: ... here.
7401 * sysdeps/unix/telldir.c: Renamed to ...
7402 * sysdeps/posix/telldir.c: ... here.
7403 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
7404 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
7405 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
7406 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
7408 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
7409 * bits/fcntl.h: ... here.
7411 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
7413 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
7414 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
7415 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
7416 (struct flock): Move l_start, l_len to the beginning.
7417 Use __pid_t for l_pid.
7418 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
7419 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
7420 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
7421 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
7422 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
7423 [__USE_LARGEFILE64] (struct flock64): New type.
7424 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
7426 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
7427 * bits/dirent.h: ... here.
7429 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
7430 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
7432 2012-08-07 Joseph Myers <joseph@codesourcery.com>
7434 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7435 Change from 2.6.0 to 2.6.16.
7436 * sysdeps/unix/sysv/linux/configure: Regenerated.
7437 * sysdeps/unix/sysv/linux/kernel-features.h
7438 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
7439 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
7441 (__ASSUME_UTIMES): Likewise.
7442 (__ASSUME_CLONE_STOPPED): Remove.
7443 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
7444 architectures, not kernel version.
7445 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
7446 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7447 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7448 (__ASSUME_WAITID_SYSCALL): Likewise.
7449 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
7450 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
7451 * README: State 2.6.16 as minimum Linux kernel version. Do not
7452 refer to older versions.
7454 2012-08-06 Roland McGrath <roland@hack.frob.com>
7456 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
7457 Define alphasort64 as an alias.
7458 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
7459 Define versionsort64 as an alias.
7460 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
7461 Define scandir64 as an alias.
7462 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
7463 Define scandirat64 as an alias.
7464 * dirent/alphasort64.c (alphasort64):
7465 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
7466 * dirent/versionsort64.c: Likewise.
7467 * dirent/scandir64.c: Likewise.
7468 * dirent/scandirat64.c: Likewise.
7469 * sysdeps/wordsize-64/alphasort.c: File removed.
7470 * sysdeps/wordsize-64/alphasort64.c: File removed.
7471 * sysdeps/wordsize-64/scandir.c: File removed.
7472 * sysdeps/wordsize-64/scandir64.c: File removed.
7473 * sysdeps/wordsize-64/scandirat.c: File removed.
7474 * sysdeps/wordsize-64/scandirat64.c: File removed.
7475 * sysdeps/wordsize-64/versionsort.c: File removed.
7476 * sysdeps/wordsize-64/versionsort64.c: File removed.
7477 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
7478 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
7479 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
7480 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
7481 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
7482 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
7483 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
7484 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
7486 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
7487 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7488 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
7489 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7490 [defined __arch64__ || defined __sparcv9]
7491 (__INO_T_MATCHES_INO64_T): New macro.
7492 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7493 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
7494 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
7495 * sysdeps/unix/sysv/linux/bits/dirent.h
7496 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
7497 (_DIRENT_MATCHES_DIRENT64): New macro.
7499 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
7500 Define lockf64 as an alias.
7501 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
7502 Define fseeko64 as an alias.
7503 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
7504 Define ftello64 as an alias.
7505 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
7506 Define _IO_fgetpos64 and fgetpos64 as aliases.
7507 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
7508 Define _IO_fsetpos64 and fsetpos64 as aliases.
7509 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
7510 Conditionalize body on this.
7511 * libio/fseeko64.c: Likewise.
7512 * libio/ftello64.c: Likewise.
7513 * libio/iofgetpos64.c: Likewise.
7514 * libio/iofsetpos64.c: Likewise.
7515 * sysdeps/wordsize-64/lockf.c: File removed.
7516 * sysdeps/wordsize-64/lockf64.c: File removed.
7517 * sysdeps/wordsize-64/fseeko.c: File removed.
7518 * sysdeps/wordsize-64/fseeko64.c: File removed.
7519 * sysdeps/wordsize-64/ftello.c: File removed.
7520 * sysdeps/wordsize-64/ftello64.c: File removed.
7521 * sysdeps/wordsize-64/iofgetpos.c: File removed.
7522 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
7523 * sysdeps/wordsize-64/iofsetpos.c: File removed.
7524 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
7525 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
7526 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
7527 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
7528 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
7529 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
7530 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
7531 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
7532 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
7533 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
7534 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
7536 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7537 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7538 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
7539 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7540 [defined __arch64__ || defined __sparcv9]
7541 (__OFF_T_MATCHES_OFF64_T): New macro.
7542 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7543 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7544 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7545 (__OFF_T_MATCHES_OFF64_T): New macro.
7547 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7549 * stdlib/secure-getenv.c (__secure_getenv): Replace
7550 GLIBC_2_16 with GLIBC_2_17.
7552 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7554 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
7555 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7557 2012-08-03 David S. Miller <davem@davemloft.net>
7559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7561 2012-08-03 Joseph Myers <joseph@codesourcery.com>
7563 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
7565 (__ASSUME_CORRECT_SI_PID): Likewise.
7566 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
7567 (__ASSUME_TMPFS_NAME): Likewise.
7568 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
7569 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
7570 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
7571 (HAVE_AUX_SECURE): Make definition unconditional.
7572 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
7573 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
7575 2012-08-03 Roland McGrath <roland@hack.frob.com>
7577 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
7578 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
7579 * sysdeps/mach/hurd/eloop-threshold.h: New file.
7580 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7581 __eloop_threshold instead of SYMLOOP_MAX.
7583 * sysdeps/generic/eloop-threshold.h: New file.
7584 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
7586 * elf/chroot_canon.c (chroot_canon): Likewise.
7588 2012-08-03 Joseph Myers <joseph@codesourcery.com>
7591 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7592 Change to 2.6.0 everywhere.
7593 * sysdeps/unix/sysv/linux/configure: Regenerated.
7594 * sysdeps/unix/sysv/linux/kernel-features.h
7595 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
7596 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
7598 (__ASSUME_POSIX_TIMERS): Define unconditionally.
7599 (__ASSUME_FUTEX_REQUEUE): Remove.
7600 (__ASSUME_STATFS64): Define unconditionally.
7601 (__ASSUME_AT_SECURE): Likewise.
7602 (__ASSUME_CORRECT_SI_PID): Likewise.
7603 (__ASSUME_TGKILL): Define without depending on kernel version for
7605 (__ASSUME_UTIMES): Likewise.
7606 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
7608 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
7609 (__ASSUME_TMPFS_NAME): Likewise.
7610 * README: Update reference to Linux kernel versions.
7612 2012-08-02 Marek Polacek <polacek@redhat.com>
7615 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
7616 libc_cv_asm_type_prefix with %.
7617 * configure: Regenerated.
7618 * include/libc-symbols.h: Remove comment about
7619 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
7620 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
7621 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
7622 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
7623 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
7624 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
7625 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
7626 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
7627 * elf/tst-unique2mod1.c: Likewise.
7628 * elf/tst-unique1mod2.c: Likewise.
7629 * elf/tst-unique1mod1.c: Likewise.
7630 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
7631 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
7632 Replace ASM_TYPE_DIRECTIVE with .type.
7633 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7634 * sysdeps/i386/sysdep.h: Likewise.
7635 * sysdeps/x86_64/sysdep.h: Likewise.
7636 * sysdeps/sh/sysdep.h: Likewise.
7637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7638 Do not define ASM_TYPE_DIRECTIVE.
7639 * sysdeps/powerpc/sysdep.h: Likewise.
7640 * sysdeps/powerpc/powerpc32/sysdep.h:
7641 Replace ASM_TYPE_DIRECTIVE with .type.
7642 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7643 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7644 * sysdeps/i386/fpu/e_powf.S: Likewise.
7645 * sysdeps/i386/fpu/e_expl.S: Likewise.
7646 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7647 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7648 * sysdeps/i386/fpu/e_pow.S: Likewise.
7649 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7650 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7651 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7652 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7653 * sysdeps/i386/fpu/e_log2.S: Likewise.
7654 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7655 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7656 * sysdeps/i386/fpu/e_powl.S: Likewise.
7657 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7658 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7659 * sysdeps/i386/fpu/e_logl.S: Likewise.
7660 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7661 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7662 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7663 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7664 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7665 * sysdeps/i386/fpu/e_log.S: Likewise.
7666 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7667 * sysdeps/i386/fpu/e_logf.S: Likewise.
7668 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7669 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7670 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7671 * sysdeps/i386/fpu/e_log10.S: Likewise.
7672 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7673 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7674 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7675 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7676 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7677 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
7678 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7679 * sysdeps/i386/i686/strtok.S: Likewise.
7680 * sysdeps/i386/i386-mcount.S: Likewise.
7681 * sysdeps/i386/strtok.S: Likewise.
7682 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
7683 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7684 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7685 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7686 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7687 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7688 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7689 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7690 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7691 * sysdeps/x86_64/_mcount.S: Likewise.
7692 * sysdeps/x86_64/strtok.S: Likewise.
7693 * sysdeps/sh/_mcount.S: Likewise.
7695 2012-08-01 Roland McGrath <roland@hack.frob.com>
7697 * libio/iofopen.c: Include <fcntl.h>.
7698 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
7699 (_IO_fopen64, fopen64): Define as aliases.
7700 * libio/iofopen64.c: Include <fcntl.h>.
7701 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
7702 Conditionalize body on this.
7703 * sysdeps/wordsize-64/iofopen.c: File removed.
7704 * sysdeps/wordsize-64/iofopen64.c: File removed.
7706 2012-08-01 Marek Polacek <polacek@redhat.com>
7708 * libc/Makeconfig: Use elf in place of binfmt-subdir.
7709 Use dlfcn directly instead of a variable.
7710 (binfmt-subdir): Do not define.
7713 2012-08-01 Joseph Myers <joseph@codesourcery.com>
7715 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
7716 Remove all definitions.
7717 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
7718 <kernel-features.h>.
7719 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7720 (miss_F_GETOWN_EX): Remove all definitions.
7721 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
7723 [!__ASSUME_FCNTL64]: Remove conditional code.
7724 [__ASSUME_FCNTL64]: Make code unconditional.
7725 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
7726 <kernel-features.h>.
7727 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7728 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
7729 (lockf64) [__NR_fcntl64]: Make code unconditional.
7730 (lockf64) [__ASSUME_FCNTL64]: Likewise.
7732 * sysdeps/unix/sysv/linux/kernel-features.h
7733 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
7734 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
7735 Make code unconditional.
7736 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7737 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
7739 [__NR_vfork]: Make code unconditional.
7740 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7741 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
7743 [__NR_vfork]: Make code unconditional.
7744 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7745 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7747 2012-08-01 Roland McGrath <roland@hack.frob.com>
7749 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
7750 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
7752 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7753 Define mkstemp64 as an alias.
7754 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7755 Define mkstemps64 as an alias.
7756 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7757 Define mkostemp64 as an alias.
7758 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7759 Define mkostemps64 as an alias.
7760 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
7761 Conditionalize body on this.
7762 * misc/mkostemp64.c: Likewise.
7763 * misc/mkostemps64.c: Likewise.
7764 * misc/mkstemps64.c: Likewise.
7765 * sysdeps/wordsize-64/mkstemp64.c: File removed.
7766 * sysdeps/wordsize-64/mkostemp64.c: File removed.
7767 * sysdeps/wordsize-64/mkostemp.c: File removed.
7768 * sysdeps/wordsize-64/mkstemp.c: File removed.
7769 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
7770 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
7771 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
7772 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
7775 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
7776 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
7777 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
7778 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
7780 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
7781 compat_symbol macros from <shlib-compat.h> rather than the underlying
7782 default_symbol_version and symbol_version macros, so that DEFAULT
7783 lines in shlib-versions are respected.
7784 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
7786 2012-08-01 Florian Weimer <fweimer@redhat.com>
7788 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
7789 Declare with warn_unused_result.
7790 (setgid, setregid, setegid, setresgid): Likewise.
7791 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
7793 * WUR-REPORT: Remove set*id functions.
7795 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
7797 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
7799 2012-07-31 Roland McGrath <roland@hack.frob.com>
7801 * include/sys/socket.h (__libc_accept, __libc_accept4):
7802 Add attribute_hidden.
7803 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
7805 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
7807 * inet/getnetgrent_r.c (setup): Likewise.
7809 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
7811 2012-07-31 David S. Miller <davem@davemloft.net>
7813 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7815 2012-07-31 Joseph Myers <joseph@codesourcery.com>
7818 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
7819 value between 1.0 and 2.0 and smaller part has absolute value less
7821 * math/s_clog10.c (__clog10): Likewise.
7822 * math/s_clog10f.c (__clog10f): Likewise.
7823 * math/s_clog10l.c (__clog10l): Likewise.
7824 * math/s_clogf.c (__clogf): Likewise.
7825 * math/s_clogl.c (__clogl): Likewise.
7826 * math/libm-test.inc (clog_test): Add more tests.
7827 (clog10_test): Likewise.
7828 * sysdeps/i386/fpu/libm-test-ulps: Update.
7829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7831 2012-07-31 Florian Weimer <fweimer@redhat.com>
7833 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
7834 Exit with zero in case no suitable GID is found, and write a
7835 message to standard error.
7837 2012-07-30 Roland McGrath <roland@hack.frob.com>
7839 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
7841 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
7842 (MAXPATHLEN): Removed.
7843 (NOGROUP, NODEV): New macros.
7844 (setbit, clrbit, isset, isclr): New macros.
7845 (howmany, roundup, powerof2): New macros.
7846 (DEV_BSIZE): New macro.
7848 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
7849 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
7851 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
7852 definition on [!__NO_LONG_DOUBLE_MATH].
7854 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
7855 PTR_MANGLE and PTR_DEMANGLE.
7857 * socket/accept4.c (accept4): Rename to __libc_accept4.
7858 Define accept4 as a weak alias.
7860 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
7861 on [_DIRENT_HAVE_D_TYPE].
7862 * io/ftw.c (ftw_dir): Likewise.
7864 * io/xmknod.c (__xmknod): Don't check PATH for being null.
7866 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
7868 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
7869 Use the BSD numbers rather than the arbitrary ones we had.
7870 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
7871 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
7872 (SIGXCPU, SIGXFSZ): New macros.
7875 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
7876 initializer on [_LIBC_REENTRANT].
7878 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
7879 definitions inside [_POSIX_MAPPED_FILES].
7881 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
7883 * dirent/opendir.c: Include <fcntl.h>.
7885 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
7886 (__libc_getspecific): Likewise.
7887 (__libc_key_create): Likewise.
7889 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
7890 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
7891 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
7892 (tmpfile64): Define as alias.
7893 * sysdeps/wordsize-64/tmpfile.c: File removed.
7894 * sysdeps/wordsize-64/tmpfile64.c: File removed.
7895 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
7896 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
7898 * stdio-common/vfscanf.c: Include <stdbool.h>.
7899 * nss/makedb.c: Likewise.
7900 * stdio-common/_i18n_number.h: Likewise.
7901 * argp/argp-help.c: Likewise.
7902 * posix/wordexp.c: Likewise.
7903 * sysdeps/posix/spawni.c: Likewise.
7904 * nss/nss_files/files-initgroups.c: Likewise.
7905 * stdio-common/reg-modifier.c: Include <stdlib.h>.
7906 * nss/nss_files/files-initgroups.c: Likewise.
7907 * nss/nss_db/db-netgrp.c: Likewise.
7908 * nss/nss_db/db-initgroups.c: Likewise.
7909 * io/fchmodat.c: Include <sys/stat.h>.
7911 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
7912 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
7914 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
7917 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
7918 Add multiple inclusion protection.
7920 2012-07-27 David S. Miller <davem@davemloft.net>
7922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7924 2012-07-27 Gary Benson <gbenson@redhat.com>
7927 * elf/rtld.c: Include <stap-probe.h>.
7928 (dl_main): Added static probes "init_start" and "init_complete".
7929 * elf/dl-load.c: Include <stap-probe.h>.
7930 (lose): Take new parameter "nsid".
7931 Added static probe "map_failed".
7932 (_dl_map_object_from_fd): Pass namespace id to lose.
7933 Added static probe "map_start".
7934 (open_verify): Pass namespace id to lose.
7935 * elf/dl-open.c: Include <stap-probe.h>.
7936 (dl_open_worker) Added static probes "map_complete", "reloc_start"
7937 and "reloc_complete".
7938 * elf/dl-close.c: Include <stap-probe.h>.
7939 (_dl_close_worker): Added static probes "unmap_start" and
7941 * elf/rtld-debugger-interface.txt: New file documenting the above.
7943 2012-07-26 Roland McGrath <roland@hack.frob.com>
7945 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
7946 rather than a string variable.
7947 * sunrpc/rpc_main.c (h_output): Likewise.
7948 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
7950 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
7952 * inet/check_native.c: New file.
7954 2012-07-26 Joseph Myers <joseph@codesourcery.com>
7957 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
7958 if larger part has absolute value 1.0.
7959 * math/s_clog10.c (__clog10): Likewise.
7960 * math/s_clog10f.c (__clog10f): Likewise.
7961 * math/s_clog10l.c (__clog10l): Likewise.
7962 * math/s_clogf.c (__clogf): Likewise.
7963 * math/s_clogl.c (__clogl): Likewise.
7964 * math/libm-test.inc (clog_test): Add more tests.
7965 (clog10_test): Likewise.
7966 * sysdeps/i386/fpu/libm-test-ulps: Update.
7967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7969 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
7970 (pltexit): Likewise.
7971 (La_regs): Likewise.
7972 (La_retval): Likewise.
7973 (int_retval): Likewise.
7974 Update #error for removed macros to refer only to definitions in
7976 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
7978 (pltexit): Likewise.
7979 (La_regs): Likewise.
7980 (La_retval): Likewise.
7981 (int_retval): Likewise.
7982 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
7984 (pltexit): Likewise.
7985 (La_regs): Likewise.
7986 (La_retval): Likewise.
7987 (int_retval): Likewise.
7988 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
7990 (pltexit): Likewise.
7991 (La_regs): Likewise.
7992 (La_retval): Likewise.
7993 (int_retval): Likewise.
7994 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
7996 (pltexit): Likewise.
7997 (La_regs): Likewise.
7998 (La_retval): Likewise.
7999 (int_retval): Likewise.
8000 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
8002 (pltexit): Likewise.
8003 (La_regs): Likewise.
8004 (La_retval): Likewise.
8005 (int_retval): Likewise.
8006 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
8008 (pltexit): Likewise.
8009 (La_regs): Likewise.
8010 (La_retval): Likewise.
8011 (int_retval): Likewise.
8012 * sysdeps/generic/tst-audit.h: Update comment to refer only to
8013 macro definitions in tst-audit.h.
8014 * sysdeps/i386/tst-audit.h: New file.
8015 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
8016 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
8017 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
8018 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
8019 * sysdeps/sh/tst-audit.h: Likewise.
8020 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
8021 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
8022 * sysdeps/x86_64/tst-audit.h: Likewise.
8024 2012-07-26 Andreas Jaeger <aj@suse.de>
8026 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
8029 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
8030 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
8031 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
8033 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
8034 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
8035 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
8037 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
8040 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
8042 (si_call_addr, si_syscall, si_arch): Define new macro.
8043 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
8045 (si_call_addr, si_syscall, si_arch): Define new marcro.
8046 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
8048 (si_call_addr, si_syscall, si_arch): Define new macro.
8049 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
8051 (si_call_addr, si_syscall, si_arch): Define new macro.
8053 2012-07-25 Joseph Myers <joseph@codesourcery.com>
8056 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8057 Change to 2.4.21 where previously 2.4.1.
8058 * sysdeps/unix/sysv/linux/configure: Regenerated.
8059 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
8060 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
8061 Linux kernel version.
8062 (__ASSUME_STD_AUXV): Remove.
8063 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
8065 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
8066 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
8067 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
8068 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
8069 (__ASSUME_NETLINK_SUPPORT): Likewise.
8070 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
8071 (__no_netlink_support): Remove conditional definition.
8072 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
8074 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8075 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
8076 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
8077 (if_nameindex_ioctl): Remove.
8078 (if_nameindex_netlink): Do not handle __no_netlink_support.
8079 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8081 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
8082 Remove conditional code.
8083 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8085 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
8087 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8088 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
8089 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
8091 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
8092 [!__ASSUME_STD_AUXV]: Remove conditional code.
8093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
8094 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
8095 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
8096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
8097 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
8098 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8100 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8102 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
8103 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8105 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8107 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8110 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
8113 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8115 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8117 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8119 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8122 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8124 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
8127 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8129 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8131 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8133 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
8136 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8138 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8140 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8142 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8145 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8147 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
8148 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
8149 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8150 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
8151 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
8152 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8153 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8154 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8155 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
8156 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8157 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
8158 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
8159 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
8160 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8161 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8162 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
8163 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
8164 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
8165 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
8166 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
8167 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
8168 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8169 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8171 2012-07-25 Florian Weimer <fweimer@redhat.com>
8173 * Versions.def: Add GLIBC_2.17.
8174 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
8175 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
8176 Introduce __libc_secure_getenv.
8177 * stdlib/Versions (2.17): Add secure_getenv
8178 (GLIBC_PRIVATE): Add __libc_secure_getenv.
8179 * stdlib/secure-getenv.c: Rename __secure_getenv to
8180 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
8181 symbol __secure_getenv for GLIBC_2.0.
8182 * stdlib/tst-secure-getenv.c: New.
8183 * stdlib/Makefile (tests): Add testcase.
8184 * manual/startup.texi (Environment Access): Document
8186 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
8187 __libc_secure_getenv.
8188 * inet/ruserpass.c (ruserpass): Likewise.
8189 * malloc/mtrace.c (mtrace): Likewise.
8190 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
8191 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
8192 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
8193 * sysdeps/posix/tempname.c: Likewise. Evaluate
8195 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
8196 __secure_getenv to __libc_secure_getenv.
8197 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
8198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8202 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8204 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8205 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8208 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
8210 2012-07-25 Joseph Myers <joseph@codesourcery.com>
8212 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
8213 (struct La_i86_retval): Likewise.
8214 (struct La_x86_64_regs): Likewise.
8215 (struct La_x86_64_retval): Likewise.
8216 (struct La_x32_regs): Likewise.
8217 (struct La_x32_retval): Likewise.
8218 (struct La_ppc32_regs): Likewise.
8219 (struct La_ppc32_retval): Likewise.
8220 (struct La_ppc64_regs): Likewise.
8221 (struct La_ppc64_retval): Likewise.
8222 (struct La_sh_regs): Likewise.
8223 (struct La_sh_retval): Likewise.
8224 (struct La_s390_32_regs): Likewise.
8225 (struct La_s390_32_retval): Likewise.
8226 (struct La_s390_64_regs): Likewise.
8227 (struct La_s390_64_retval): Likewise.
8228 (struct La_sparc32_regs): Likewise.
8229 (struct La_sparc32_retval): Likewise.
8230 (struct La_sparc64_regs): Likewise.
8231 (struct La_sparc64_retval): Likewise.
8232 (struct audit_ifaces): Remove architecture-specific pltenter and
8234 * sysdeps/i386/ldsodefs.h: New file.
8235 * sysdeps/powerpc/ldsodefs.h: Likewise.
8236 * sysdeps/s390/ldsodefs.h: Likewise.
8237 * sysdeps/sh/ldsodefs.h: Likewise.
8238 * sysdeps/sparc/ldsodefs.h: Likewise.
8239 * sysdeps/x86_64/ldsodefs.h: Likewise.
8241 2012-07-25 Marek Polacek <polacek@redhat.com>
8244 * math/libm-test.inc (yn_test): Add another test.
8245 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
8246 to ERANGE when the result is +-Inf.
8247 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8248 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
8249 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
8250 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
8252 2012-07-24 Joseph Myers <joseph@codesourcery.com>
8254 * conform/data/time.h-data (NULL): Use macro-constant. Require
8256 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
8258 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
8260 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
8262 * configure.in <sysdeps resolving>: Correct printing
8264 * configure: Regenerate.
8266 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
8268 * math/w_ilogb.c: Include <limits.h>.
8269 * math/w_ilogbl.c: Likewise.
8271 2012-07-20 Joseph Myers <joseph@codesourcery.com>
8273 * manual/lang.texi (__va_copy): Document primarily as ISO C99
8274 va_copy. Document allowing for unavailable va_copy only as
8275 pre-C99 compatibility.
8276 * manual/string.texi (Copying and Concatenation): Use va_copy
8277 instead of __va_copy in concat example.
8279 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
8281 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
8282 (__sendto): Use create_address_port. Initialize APORT and deallocate
8285 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
8286 with O_NOLINK passed to __file_name_lookup.
8288 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
8289 with O_NOLINK passed to __file_name_lookup.
8291 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
8292 negative N or less than NGIDS.
8294 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
8295 type to string_t. Set ERANGE as errno and return it if NAME is not big
8296 enough. Use memcpy instead of strncpy.
8298 2012-07-20 Joseph Myers <joseph@codesourcery.com>
8300 * elf/Makefile (check-data): Remove.
8301 (localplt.data): New vpath directive.
8302 ($(objpfx)check-localplt.out): Use localplt.data from vpath
8303 instead of $(check-data).
8304 * scripts/data/localplt-generic.data: Move to ...
8305 * sysdeps/generic/localplt.data: ... here.
8306 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
8307 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
8308 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
8309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8311 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
8312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8314 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
8315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
8317 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
8318 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8320 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
8321 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
8323 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
8324 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
8327 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8329 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
8330 PPC32 and PPC64 files.
8331 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
8332 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
8334 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8336 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
8337 __makecontext_ret to ...
8338 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
8339 ... here and call exit if uc_link is NULL. New file.
8340 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
8341 __makecontext_ret.S.
8342 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
8343 __makecontext_ret to ...
8344 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
8345 ... here and call exit if uc_link is NULL. New file.
8346 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
8347 __makecontext_ret.S.
8349 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8351 * elf/elf.h (R_390_IRELATIVE): New definition.
8352 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
8353 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
8354 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
8355 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8356 (elf_machine_lazy_rel): Likewise.
8357 * sysdeps/s390/dl-irel.h: New file.
8358 * sysdeps/s390/s390-64/memcpy.S: New asm code.
8359 * sysdeps/s390/s390-64/memset.S: New asm code.
8360 * sysdeps/s390/s390-64/memcmp.S: New asm code.
8361 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
8362 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
8363 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
8364 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
8365 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
8366 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
8367 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
8368 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
8369 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
8370 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
8371 * sysdeps/s390/s390-32/memcpy.S: New asm code.
8372 * sysdeps/s390/s390-32/memset.S: New asm code.
8373 * sysdeps/s390/s390-32/memcmp.S: New asm code.
8375 2012-07-17 Marek Polacek <polacek@redhat.com>
8378 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
8379 * sysdeps/s390/s390-64/configure.in: Likewise.
8380 * sysdeps/sparc/configure.in: Likewise.
8381 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
8382 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
8383 * sysdeps/i386/configure.in: Likewise.
8384 * sysdeps/x86_64/configure.in: Likewise.
8385 * sysdeps/sh/configure.in: Likewise.
8386 * sysdeps/s390/s390-32/configure: Regenerated.
8387 * sysdeps/s390/s390-64/configure: Likewise.
8388 * sysdeps/x86_64/configure: Likewise.
8389 * sysdeps/sh/configure: Likewise.
8390 * sysdeps/powerpc/powerpc64/configure: Likewise.
8391 * sysdeps/powerpc/powerpc32/configure: Likewise.
8392 * sysdeps/sparc/configure: Likwise.
8393 * sysdeps/i386/configure: Likewise.
8395 * elf/dl-open.c: Comment fixes.
8397 2012-07-17 Joseph Myers <joseph@codesourcery.com>
8399 * Makefile [CXX] (check-data): Remove.
8400 [CXX] (c++-types.data): New vpath directive.
8401 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
8402 vpath. Do not allow for C++ type data being missing.
8403 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
8404 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
8405 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
8406 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
8407 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
8408 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
8409 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
8410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8412 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
8413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8415 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
8416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
8418 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
8419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
8421 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
8422 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
8424 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
8425 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
8427 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
8428 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
8430 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
8431 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
8433 * elf/tls-macros.h (TLS_LE): Move architecture-specific
8434 definitions to architecture-specific files.
8438 * sysdeps/i386/tls-macros.h: New file.
8439 * sysdeps/powerpc/tls-macros.h: Likewise.
8440 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
8441 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
8442 * sysdeps/sh/tls-macros.h: Likewise.
8443 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
8444 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
8445 * sysdeps/x86_64/tls-macros.h: Likewise.
8447 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8449 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
8450 zero value for regular exit case.
8452 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8453 (__start_context): Preserve zero value for regular exit case.
8455 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8456 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8458 * manual/setjmp.texi (setcontext): Clarify normal process
8459 termination when uc_link is the null pointer.
8460 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
8463 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
8465 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
8466 preprocessor. Test for each exception mask separately.
8468 2012-07-16 Andreas Jaeger <aj@suse.de>
8470 * po/ru.po: Update from translation team.
8472 2012-07-15 Joseph Myers <joseph@codesourcery.com>
8474 * conform/data/string.h-data (NULL): Use macro-constant. Require
8476 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8477 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8478 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
8479 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
8480 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8482 2012-07-13 Andreas Jaeger <aj@suse.de>
8484 * po/fr.po: Update from translation team.
8486 2012-07-12 Marek Polacek <polacek@redhat.com>
8489 * math/libm-test.inc (yn_test): Add test for BZ #14173.
8490 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
8493 2012-07-12 Joseph Myers <joseph@codesourcery.com>
8496 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8497 Change to 2.4.1 where previously 2.4.0.
8498 * sysdeps/unix/sysv/linux/configure: Regenerated.
8499 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
8500 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
8502 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
8503 (__ASSUME_AT_CLKTCK): Remove.
8504 (__ASSUME_AT_PAGESIZE): Likewise.
8505 (__ASSUME_AT_XID): Likewise.
8506 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
8507 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
8508 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
8510 (HAVE_AUX_PAGESIZE): Likewise.
8511 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
8512 [__ASSUME_AT_CLKTCK]: Make code unconditional.
8513 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
8515 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
8518 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
8519 the temporary buffer used to invoke __gethostbyname2_r,
8520 __gethostbyaddr_r and gethostbyname4_r to make room for struct
8521 host_data / struct gaih_addrtuple.
8522 * resolv/nss_dns/dns-host.c (global scope): Move definition of
8523 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
8524 header file nss/nsswitch.h.
8525 * nss/nsswitch.h (global scope): Add definition of implementation
8526 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
8527 resolv/nss_dns/dns-host.c).
8529 2012-07-11 Andreas Jaeger <aj@suse.de>
8531 * po/fr.po: Update from translation team.
8533 * po/sv.po: Update from translation team
8534 * po/fr.po: Another update from translation team.
8536 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8538 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
8539 for subnormals or multiply small sinh result by itself.
8540 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8541 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8543 2012-07-11 David S. Miller <davem@davemloft.net>
8545 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8547 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
8550 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
8551 (INTERNAL_MARK): Shift it here.
8553 2012-07-10 Marek Polacek <polacek@redhat.com>
8556 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
8557 libc_cv_asm_global_directive with .globl.
8558 * configure: Regenerated.
8559 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
8561 * sysdeps/i386/configure: Regenerated.
8562 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
8564 * sysdeps/x86_64/configure: Regenerated.
8565 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
8566 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
8567 * elf/tst-unique2mod2.c: Likewise.
8568 * elf/tst-unique2mod1.c: Likewise.
8569 * elf/tst-unique1mod2.c: Likewise.
8570 * elf/tst-unique1mod1.c: Likewise.
8571 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8572 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8573 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8574 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8575 * sysdeps/mach/sysdep.h: Likewise.
8576 * sysdeps/i386/sysdep.h: Likewise.
8577 * sysdeps/i386/i386-mcount.S: Likewise.
8578 * sysdeps/x86_64/_mcount.S: Likewise.
8579 * sysdeps/x86_64/sysdep.h: Likewise.
8580 * sysdeps/sh/_mcount.S: Likewise.
8581 * sysdeps/sh/sysdep.h: Likewise.
8582 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
8583 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
8584 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
8585 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8586 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
8587 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
8588 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
8589 * locale/localeinfo.h: Likewise.
8590 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
8591 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
8593 2012-07-09 Roland McGrath <roland@hack.frob.com>
8596 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
8598 * manual/message.texi (The Uniforum approach): Likewise.
8599 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
8600 (glibc iconv Implementation): Likewise.
8602 2012-07-09 Joseph Myers <joseph@codesourcery.com>
8605 * math/s_clog.c (__clog): Avoid scaling a value down where that
8606 could result in underflow.
8607 * math/s_clog10.c (__clog10): Likewise.
8608 * math/s_clog10f.c (__clog10f): Likewise.
8609 * math/s_clog10l.c (__clog10l): Likewise.
8610 * math/s_clogf.c (__clogf): Likewise.
8611 * math/s_clogl.c (__clogl): Likewise.
8612 * math/libm-test.inc (clog_test): Add more tests.
8613 (clog10_test): Likewise.
8614 * sysdeps/i386/fpu/libm-test-ulps: Update.
8615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8617 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8620 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
8621 by 7 not 8 to examine high bit of fractional part.
8624 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
8625 for call to __mcount_internal.
8626 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
8627 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
8628 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
8630 2012-07-06 Joseph Myers <joseph@codesourcery.com>
8633 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
8634 approximation for values within 0x1p-13f of an odd multiple of
8636 * math/libm-test.inc (tan_test): Do not allow spurious underflow
8637 exception. Add more tests.
8638 * sysdeps/i386/fpu/libm-test-ulps: Update.
8641 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
8642 inputs and return -1 for them. Do not check for +Inf in case not
8644 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8645 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
8646 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8647 and return -1 for them. Do not check for +Inf in case not
8649 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
8651 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8652 and return -1 for them. Do not check for +Inf in case not
8654 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
8656 * sysdeps/i386/fpu/libm-test-ulps: Update.
8657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8659 2012-07-06 Mike Frysinger <vapier@gentoo.org>
8661 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
8663 2012-07-05 Joseph Myers <joseph@codesourcery.com>
8667 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
8668 could result in spurious underflow. Scale down values above
8669 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
8670 * math/s_csqrtf.c (__csqrtf): Likewise.
8671 * math/s_csqrtl.c (__csqrtl): Likewise.
8672 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
8674 * sysdeps/i386/fpu/libm-test-ulps: Update.
8675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8677 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
8679 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
8681 * catgets/xopen-msg.awk: New file.
8682 * catgets/xopen-msg.sed: Removed.
8684 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
8686 * intl/po2test.awk: New file.
8687 * intl/po2test.sed: Removed.
8689 2012-07-04 Joseph Myers <joseph@codesourcery.com>
8692 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
8693 or multiply small sinh result by itself.
8694 * math/s_ctanf.c (__ctanf): Likewise.
8695 * math/s_ctanh.c (__ctanh): Likewise.
8696 * math/s_ctanhf.c (__ctanhf): Likewise.
8697 * math/s_ctanhl.c (__ctanhl): Likewise.
8698 * math/s_ctanl.c (__ctanl): Likewise.
8699 * math/libm-test.inc (ctan_test_tonearest): New function.
8700 (ctan_test_towardzero): Likewise.
8701 (ctan_test_downward): Likewise.
8702 (ctan_test_upward): Likewise.
8703 (ctanh_test_tonearest): Likewise.
8704 (ctanh_test_towardzero): Likewise.
8705 (ctanh_test_downward): Likewise.
8706 (ctanh_test_upward): Likewise.
8707 (main): Call these new functions.
8708 * sysdeps/i386/fpu/libm-test-ulps: Update.
8709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8711 2012-07-03 Mike Frysinger <vapier@gentoo.org>
8713 * .gitignore: Delete /ports entry.
8715 2012-07-03 Andreas Jaeger <aj@suse.de>
8717 * po/bg.po: Update from translation team.
8718 * po/cs.po: Likewise.
8719 * po/de.po: Likewise.
8720 * po/hr.po: Likewise.
8721 * po/nl.pl: Likewise.
8722 * po/pl.po: Likewise.
8723 * po/vi.po: Likewise.
8725 2012-07-03 Joseph Myers <joseph@codesourcery.com>
8727 * Makeconfig [!+link] (+link-before-libc): New variable.
8728 [!+link] (+link-after-libc): Likewise.
8729 [!+link] (+link-tests): Likewise.
8730 [!+link] (+link): Define in terms of $(+link-before-libc) and
8731 $(+link-after-libc).
8732 [!+link-static] (+link-static-before-libc): New variable.
8733 [!+link-static] (+link-static-after-libc): Likewise.
8734 [!+link-static] (+link-static-tests): Likewise.
8735 [!+link-static] (+link-static): Define in terms of
8736 $(+link-static-before-libc) and $(+link-static-after-libc).
8737 [build-shared] (link-libc-before-gnulib): New variable.
8738 [build-shared] (link-libc-tests): Likewise.
8739 [build-shared] (link-libc): Define in terms of
8740 $(link-libc-before-gnulib).
8741 [!build-shared] (link-libc-tests): New variable.
8742 (link-libc-static-tests): New variable.
8743 [!gnulib] (gnulib-arch): New variable.
8744 [!gnulib] (gnulib-tests): Likewise.
8745 [!gnulib] (static-gnulib-arch): Likewise.
8746 [!gnulib] (static-gnulib-tests): Likewise.
8747 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
8748 Define with "=" instead of ":=".
8749 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
8750 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
8751 * Rules (binaries-all-notests): New variable.
8752 (binaries-all-tests): Likewise.
8753 (binaries-static-notests): Likewise.
8754 (binaries-static-tests): Likewise.
8755 (binaries-all): Define using $(binaries-all-notests) and
8756 $(binaries-all-tests).
8757 (binaries-static): Define using $(binaries-static-notests) and
8758 $(binaries-static-tests).
8759 (binaries-shared-tests): New variable.
8760 (binaries-shared-notests): Likewise.
8761 (binaries-shared): Remove variable.
8762 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
8763 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
8764 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
8765 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
8766 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
8767 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
8768 * elf/Makefile (sln-modules): New variable.
8769 (extra-objs): Add $(sln-modules:=.o).
8770 (ldconfig-modules): Add static-stubs.
8771 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
8772 * elf/static-stubs.c: New file.
8775 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
8776 by 7 not 8 to examine high bit of fractional part. Use volatile
8777 variables when splitting into final array of floats if
8778 __FLT_EVAL_METHOD__ != 0.
8779 * math/libm-test.inc (cos_test): Add another test.
8780 (sin_test): Likewise.
8781 * sysdeps/i386/fpu/libm-test-ulps: Update.
8784 * math/libm-test.inc (cosh_test): Add more tests.
8786 * version.h (RELEASE): Set to "development".
8787 (VERSION): Set to "2.16.90".
8789 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
8791 * NEWS: Update copyright. Remove last-updated date.
8792 Mention math library bug fixes and timezone data changes.
8793 * README: Mention GNU/Hurd, x32, and HPPA support status.
8795 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
8797 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
8799 2012-06-27 Andreas Jaeger <aj@suse.de>
8801 * manual/contrib.texi (Contributors): Add Samuel Thibault.
8803 2012-06-25 Andreas Jaeger <aj@suse.de>
8805 * sysdeps/s390/fpu/libm-test-ulps: Update.
8807 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
8808 Thomas Schwinge <thomas@codesourcery.com>
8810 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
8811 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
8812 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
8815 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
8817 * sysdeps/mach/start.c: Remove file.
8818 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
8819 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
8820 * sysdeps/sh/init-first.c: Likewise.
8822 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
8823 registers for frame unwinding purposes, add CFI directives.
8824 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8825 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
8826 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
8829 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
8830 __fortify_fail returning.
8831 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8833 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
8834 sysdeps/sh/____longjmp_chk.S.
8835 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
8836 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
8837 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
8838 (gen-as-const-headers): Append sigaltstack-offsets.sym.
8840 * sysdeps/sh/abort-instr.h: New file.
8841 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
8842 process in case exit returns.
8844 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
8845 initialize the GOT register before use.
8847 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
8848 calculation of ARGC > 4.
8850 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
8851 meaningful names to some local labels.
8853 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8854 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8856 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
8857 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
8858 (__arch_compare_and_exchange_val_16_acq): Likewise.
8859 (__arch_compare_and_exchange_val_32_acq): Likewise.
8860 (atomic_exchange_and_add): Fix gUSA sequence.
8861 (atomic_add): Likewise.
8862 (atomic_add_negative): Likewise.
8863 (atomic_add_zero): Likewise.
8864 (atomic_bit_test_set): Likewise.
8866 2012-06-22 Andreas Schwab <schwab@redhat.com>
8869 * include/link.h (struct link_map): Add l_free_initfini.
8870 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
8872 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
8873 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
8874 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
8877 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
8879 * configure.in: Use AC_LANG_SOURCE.
8880 * configure: Regenerate.
8882 2012-06-22 Roland McGrath <roland@hack.frob.com>
8884 * configure.in (libc_cv_localstatedir): New substituted variable.
8885 * configure: Regenerated.
8886 * config.make.in (localstatedir): New variable, substituted from
8887 libc_cv_localstatedir.
8888 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
8889 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
8890 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
8891 * sysdeps/gnu/configure: Regenerated.
8893 2012-06-21 Jeff Law <law@redhat.com>
8896 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
8897 free. Simplify list management for _LIBC case.
8899 2012-06-21 Joseph Myers <joseph@codesourcery.com>
8902 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
8903 Clear sign bit of 64-bit integer value before comparing against
8906 * sysdeps/mach/configure: Regenerated.
8908 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
8911 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
8913 2012-06-21 Jeff Law <law@redhat.com>
8916 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
8917 uint16_t for elements in the "seen" array to avoid char overflows.
8918 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8919 * elf/dl-open.c (dl_open_worker): Likewise.
8921 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
8923 * scripts/list-sources.sh: Scan PORTS for translations.
8924 * po/libc.pot: Regenerated.
8926 2012-06-21 Andreas Jaeger <aj@suse.de>
8929 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
8931 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
8932 * bits/byteswap-16.h (__bswap_16): Likewise.
8933 * bits/byteswap.h (__bswap_constant_16): Likewise.
8935 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
8938 * sysdeps/i386/fpu_control.h: Removed.
8939 * sysdeps/x86_64/fpu_control.h: Moved to ...
8940 * sysdeps/x86/fpu_control.h: Here.
8942 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
8943 (_FPU_SETCW): Likewise.
8945 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
8948 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
8949 * sysdeps/x86/fpu/bits/mathinline.h: This.
8950 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
8954 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
8955 functions if __x86_64__ is defined.
8957 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
8959 * string/endian.h: Add !__ASSEMBLER__ condition for including
8960 conversion interfaces.
8962 2012-06-15 Joseph Myers <joseph@codesourcery.com>
8965 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
8966 of ABS(x) in calculating zero to negative powers other than odd
8968 * math/libm-test.inc (pow_test): Add more tests.
8970 2012-06-15 Andreas Jaeger <aj@suse.de>
8972 * manual/contrib.texi (Contributors): Update entry of Liubov
8973 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
8976 2012-06-15 Cyril Hrubis <metan@ucw.cz>
8978 * string/string.h: Add __wur to GNU version of strerror_r.
8980 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
8983 * string/Makefile (tests): Add tst-strtok_r.
8984 * string/tst-strtok_r.c: New file.
8985 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
8986 RAX_LP/RDX_LP on SAVE_PTR.
8988 2012-06-14 Roland McGrath <roland@hack.frob.com>
8990 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
8992 2012-06-14 Joseph Myers <joseph@codesourcery.com>
8994 * libm_test.inc (csqrt_test): Allow more spurious underflow
8996 (j0_test): Likewise.
8997 (j1_test): Likewise.
8998 (y0_test): Likewise.
8999 (y1_test): Likewise.
9001 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
9003 * po/Makefile (libc.pot): Use UTF-8 charset.
9005 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
9008 Suppress sign-conversion warning from FD_SET.
9009 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
9010 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
9011 not unsigned long int.
9012 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
9014 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
9018 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
9019 __extern_always_inline instead of __extern_inline.
9020 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
9021 (__signbit): Likewise.
9022 (__signbitl): Support C++ namespace.
9023 (lrintf): New inline function.
9025 (llrintf): Likewise.
9037 (nearbyint): Likewise.
9038 (nearbyintf): Likewise.
9040 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
9042 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
9043 non-default versions.
9045 2012-06-11 Roland McGrath <roland@hack.frob.com>
9048 * manual/argp.texi (Argp): Reword argp_parse description slightly.
9050 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
9052 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
9053 (FE_UPWARD, FE_DOWNWARD): Don't define.
9054 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
9055 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9057 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
9059 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9060 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9062 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9064 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9065 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
9066 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
9067 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
9069 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
9072 * sysdeps/i386/fpu/bits/fenv.h: Removed.
9073 * sysdeps/i386/fpu/Implies: New file.
9074 * sysdeps/x86_64/fpu/Implies: Likewise.
9075 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
9076 * sysdeps/x86/fpu/bits/fenv.h: This.
9078 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
9081 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9084 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
9085 character 0xffff that matches the last element of the
9088 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9090 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
9093 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9095 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
9096 values higher than 25.6283.
9098 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9100 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
9101 subnormal exponent extraction and add some __builtin_expect.
9102 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
9103 Fix for subnormal mantissa calculation.
9105 2012-06-04 Mike Frysinger <vapier@gentoo.org>
9107 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
9108 cpu2 is -1 and errno is not ENOSYS.
9110 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
9113 * sysdeps/i386/i486/bits/string.h: Renamed to ...
9114 * sysdeps/x86/bits/string.h: This.
9115 * sysdeps/x86_64/bits/string.h: Removed.
9117 * sysdeps/i386/i486/bits/string.h: Define inline functions only
9118 if not compiling for x86-64, but compiling for >= i486.
9120 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
9121 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
9123 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
9124 New macro from Linux kernel 3.4.0.
9125 (FP_XSTATE_MAGIC2): Likewise.
9126 (FP_XSTATE_MAGIC2_SIZE): Likewise.
9127 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
9128 (struct _fpx_sw_bytes): New struct.
9129 (struct _xsave_hdr): Likewise.
9130 (struct _ymmh_state): Likewise.
9131 (struct _xstate): Likewise.
9133 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
9134 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
9135 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
9136 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
9137 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
9138 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
9140 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
9141 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
9142 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
9143 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
9144 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
9145 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
9147 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9150 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
9151 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
9152 (sysdep_headers): Include sys/platform/ppc.h.
9153 * sysdeps/powerpc/test-gettimebase.c: Test for
9154 __ppc_get_timebase() to catch future ISA opcode/insn changes.
9155 * manual/Makefile (appendices): Include platform.texi.
9156 * manual/contrib.texi (Contributors): Update @node pointers.
9157 * manual/maint.texi (Maintenance): Likewise.
9158 (Platform): New node.
9159 * manual/platform.texi: New file. Document the new features.
9161 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9162 Jakub Jelinek <jakub@redhat.com>
9165 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
9166 where __builtin_expect is unavailable.
9168 2012-06-03 David S. Miller <davem@davemloft.net>
9170 * stdlib/longlong.h: Updated from GCC.
9172 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
9175 * sysdeps/powerpc/powerpc32/mcount.c: New file.
9176 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
9178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9179 (GLIBC_2.16): Likewise.
9181 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9183 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
9185 2012-06-01 Joseph Myers <joseph@codesourcery.com>
9187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
9188 (default-abi): New variable.
9189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
9190 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
9192 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
9194 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
9196 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
9199 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
9200 definition. Document in comment.
9202 2012-06-01 David S. Miller <davem@davemloft.net>
9204 * stdlib/longlong.h: Updated from GCC.
9206 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9209 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
9210 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
9211 sys/debugreg.h sys/io.h here.
9212 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
9213 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
9215 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
9216 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
9217 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
9218 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
9219 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
9220 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
9222 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
9223 Define only if __x86_64__ is defined.
9225 2012-06-01 Joseph Myers <joseph@codesourcery.com>
9228 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
9229 Use int64_t for variable i.
9230 * math/libm-test.inc (fmod_test): Add more tests.
9232 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
9233 z computation is not scheduled after fetestexcept.
9234 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
9235 Use math_force_eval instead of asm to ensure calculation scheduled
9236 before exception test.
9237 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
9238 Ensure a1 + u.d computation is not scheduled after fetestexcept.
9240 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
9242 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
9243 computation is not scheduled after fetestexcept.
9245 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9248 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
9249 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
9251 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9253 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
9254 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9256 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
9259 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
9261 (__WCHAR_MIN): Support __WORDSIZE == 64.
9262 (__WCHAR_MAX): Likewise.
9264 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
9265 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
9268 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
9269 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
9272 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
9273 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
9275 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
9276 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
9278 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
9279 Defined to 1 if __x86_64__ isn't defined.
9280 (_STAT_VER_LINUX_OLD): New.
9281 (st_atime): Remove duplicate.
9282 (st_mtime): Likewise.
9283 (st_ctime): Likewise.
9285 2012-05-31 David S. Miller <davem@davemloft.net>
9287 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
9290 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
9292 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
9296 * elf/dl-reloc.c: Include <_itoa.h>.
9297 (_dl_reloc_bad_type): Remove use of INTUSE.
9298 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
9299 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
9300 * stdio-common/psiginfo.c (psiginfo): Likewise.
9301 * stdio-common/psignal.c (psignal): Likewise.
9302 * string/strsignal.c (strsignal): Likewise.
9303 * include/signal.h (_sys_siglist): Declare hidden proto.
9304 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
9305 INTVARDEF with libc_hidden_data_def.
9306 * stdio-common/itoa-udigits.c: Likewise.
9307 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
9308 (_itoa_lower_digits_internal): Remove declaration.
9309 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
9310 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
9311 (_sys_sigabbrev_internal): Remove aliases.
9312 (_sys_siglist): Define hidden alias.
9314 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
9316 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9319 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
9322 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
9323 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
9325 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
9326 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
9327 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
9328 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
9329 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
9330 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
9332 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
9333 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
9334 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
9336 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
9344 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
9345 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
9346 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
9348 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
9349 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
9350 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
9351 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
9352 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
9353 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
9355 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
9356 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
9358 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
9359 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
9361 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
9362 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
9363 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
9365 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
9366 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
9368 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
9370 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
9371 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
9372 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
9374 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
9376 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
9378 2012-05-31 Joseph Myers <joseph@codesourcery.com>
9380 * math/math.h (M_El): Use two more decimal places.
9381 (M_LOG2El): Likewise.
9382 (M_LOG10El): Likewise.
9384 (M_LN10l): Likewise.
9386 (M_PI_2l): Likewise.
9387 (M_PI_4l): Likewise.
9388 (M_1_PIl): Likewise.
9389 (M_2_PIl): Likewise.
9390 (M_2_SQRTPIl): Likewise.
9391 (M_SQRT2l): Likewise.
9392 (M_SQRT1_2l): Likewise.
9394 2012-05-31 David S. Miller <davem@davemloft.net>
9396 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
9397 values between float registers.
9398 * sysdeps/sparc/sparc64/memset.S: Likewise.
9399 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9401 2012-05-31 Mike Frysinger <vapier@gentoo.org>
9403 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
9404 -D_FORTIFY_SOURCE=1.
9405 (CPPFLAGS-tst-longjmp_chk.c): Define.
9406 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
9407 (CPPFLAGS-tst-longjmp_chk2.c): Define.
9408 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
9409 CFLAGS-tst-wchar-h.c.
9411 2012-05-31 Marek Polacek <polacek@redhat.com>
9414 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
9415 __endmntent_internal): Remove declaration.
9416 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
9417 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
9418 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
9420 2012-05-30 David S. Miller <davem@davemloft.net>
9422 * sysdeps/sparc/sparc32/soft-fp/q_util.c
9423 (___Q_simulate_exceptions): Use real FP ops rather than writing
9425 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
9428 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9431 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
9432 * sysdeps/x86/bits/xtitypes.h: This.
9434 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
9435 * sysdeps/x86/bits/wordsize.h: This.
9437 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
9438 * sysdeps/x86/bits/huge_vall.h: This.
9440 * sysdeps/i386/bits/select.h: Removed.
9441 * sysdeps/x86_64/bits/select.h: Renamed to ...
9442 * sysdeps/x86/bits/select.h: This.
9444 * sysdeps/i386/bits/setjmp.h: Removed.
9445 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
9446 * sysdeps/x86/bits/setjmp.h: This.
9448 * sysdeps/i386/bits/mathdef.h: Removed.
9449 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
9450 * sysdeps/x86/bits/mathdef.h: This.
9452 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
9455 * include/sys/socket.h (__connect_internal)
9456 (__libc_sa_len_internal): Remove declaration.
9457 (__connect, __libc_sa_len): Declare hidden_proto.
9458 (SA_LEN): Remove use of INTUSE.
9459 * socket/connect.c: Add libc_hidden_def.
9460 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
9461 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
9462 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
9464 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9465 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
9466 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
9467 of adding _internal alias.
9469 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9472 * sysdeps/i386/bits/link.h: Removed.
9473 * sysdeps/i386/bits/linkmap.h: Likewise.
9474 * sysdeps/x86_64/bits/link.h: Renamed to ...
9475 * sysdeps/x86/bits/link.h: This.
9476 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
9477 * sysdeps/x86/bits/linkmap.h: This.
9479 * sysdeps/i386/bits/endian.h: Removed.
9480 * sysdeps/x86_64/bits/endian.h: Renamed to ...
9481 * sysdeps/x86/bits/endian.h: This.
9483 * sysdeps/i386/bits/byteswap.h: Removed.
9484 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9485 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
9486 * sysdeps/x86/bits/byteswap.h: This.
9487 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
9488 * sysdeps/x86/bits/byteswap-16.h: This.
9489 * sysdeps/i386/Implies: Add x86.
9490 * sysdeps/x86_64/Implies: Likewise.
9492 2012-05-30 David S. Miller <davem@davemloft.net>
9494 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
9495 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
9496 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9497 (FP_TRAPPING_EXCEPTIONS): Define.
9498 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9499 (FP_TRAPPING_EXCEPTIONS): Define.
9500 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
9501 subnormals only when inexact has been signalled or underflow
9502 exceptions are enabled.
9503 (_FP_PACK_CANONICAL): Likewise.
9505 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9508 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
9509 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
9511 2012-05-30 Richard Henderson <rth@twiddle.net>
9513 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
9514 with #ifndef NOT_IN_libc.
9516 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
9517 marked to avoid plt entry.
9519 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9522 * Makeconfig (default-abi): New macro.
9523 (abi-includes): Likewise.
9524 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
9525 $(abi-$(default-abi)-lib-soname) for soname if defined.
9526 ($(common-objpfx)gnu/lib-names.stmp): Generate from
9528 * Makefile (installed-stubs): Likewise.
9529 * include/stubs-biarch.h: Removed.
9530 * scripts/lib-names.awk: Only handle one library at a time.
9531 * scripts/soversions.awk: Remove WORDSIZE support.
9532 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
9534 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
9536 (syscall-list-default-condition): Likewise.
9537 (syscall-list-default-condition): Likewise.
9538 (syscall-list-includes): Likewise.
9539 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
9540 syscall-list-* with abi-*. Handle undefined abi-variants.
9541 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
9542 * sysdeps/unix/sysv/linux/i386/Implies: New file.
9543 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
9544 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
9545 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
9546 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
9548 (syscall-list-32-options): Likewise.
9549 (syscall-list-32-condition): Likewise.
9550 (syscall-list-64-options): Likewise.
9551 (syscall-list-64-condition): Likewise.
9552 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
9554 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
9557 (abi-64-ld-soname): New macro.
9558 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
9559 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
9562 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
9563 * sysdeps/x86_64/x32/shlib-versions: Likewise.
9565 2012-05-30 Joseph Myers <joseph@codesourcery.com>
9567 * sysdeps/unix/sysv/linux/kernel-features.h
9568 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
9569 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
9570 include <kernel-features.h>.
9571 [!__NR_ftruncate64]: Remove conditional code.
9572 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9573 [__NR_ftruncate64]: Make code unconditional.
9574 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9575 * sysdeps/unix/sysv/linux/truncate64.c: Do not
9576 include <kernel-features.h>.
9577 [!__NR_ftruncate64]: Remove conditional code.
9578 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9579 [__NR_ftruncate64]: Make code unconditional.
9580 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
9582 include <kernel-features.h>.
9583 [!__NR_ftruncate64]: Remove conditional code.
9584 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9585 [__NR_ftruncate64]: Make code unconditional.
9586 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9588 include <kernel-features.h>.
9589 [!__NR_ftruncate64]: Remove conditional code.
9590 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9591 [__NR_ftruncate64]: Make code unconditional.
9592 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9594 * configure.in (libc_cv_fpie): Weaken to a compile test using
9596 * configure: Regenerated.
9598 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
9601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
9602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
9603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9605 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
9606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
9607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
9608 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
9609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
9610 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9613 2012-05-27 David S. Miller <davem@davemloft.net>
9615 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
9617 (__Q_simulate_exceptions): Return void. Change to simulate
9618 exceptions by writing into the %fsr.
9619 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
9620 (__Qp_handle_exceptions): Likewise.
9622 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
9623 __Qp_handle_exceptions.
9624 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
9625 __Qp_handle_exceptions.
9626 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9627 as unused and give dummy FP_RND_NEAREST initializer.
9628 (FP_INHIBIT_RESULTS): Define.
9629 (___Q_simulate_exceptions): Update declaration.
9630 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
9632 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9633 as unused and give dummy FP_RND_NEAREST initializer.
9634 (__Qp_handle_exceptions): Update declaration.
9635 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
9638 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
9640 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
9641 the temporary FPU control word.
9642 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9643 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
9644 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9645 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9646 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9647 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9648 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9649 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9650 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9651 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
9652 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9654 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9656 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
9659 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
9661 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
9662 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
9663 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
9664 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
9666 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
9667 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
9670 2012-05-27 Ulrich Drepper <drepper@gmail.com>
9672 * po/h.po: Update from translation team.
9674 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
9676 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
9678 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
9679 handling of denormals.
9680 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9681 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9682 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9683 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9684 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9685 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
9686 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
9689 2012-05-26 Marek Polacek <polacek@redhat.com>
9692 * math/libm-test.inc (fma_test): Don't always expect underflow
9695 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9698 * elf/tst-execstack.c: Include stackinfo.h.
9699 (do_test): Adjust test case to ensure that pthread_getattr_np
9700 behaviour remains the same after marking stack executable.
9702 2012-05-25 Joseph Myers <joseph@codesourcery.com>
9704 * sysdeps/unix/sysv/linux/kernel-features.h
9705 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
9706 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
9708 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9709 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9710 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
9712 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9713 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9715 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
9717 * configure.in: Define the default includes to being none.
9718 * configure: Regenerated.
9720 2012-05-25 Roland McGrath <roland@hack.frob.com>
9722 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
9723 * sysdeps/x86_64/setjmp.S: Likewise.
9724 * sysdeps/i386/bsd-setjmp.S: Likewise.
9725 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9726 * sysdeps/i386/setjmp.S: Likewise.
9727 * sysdeps/i386/__longjmp.S: Likewise.
9728 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9729 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
9731 * include/stap-probe.h: New file.
9732 * configure.in: Handle --enable-systemtap.
9733 * configure: Regenerated.
9734 * config.h.in (USE_STAP_PROBE): New #undef.
9735 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
9736 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
9737 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9739 2012-05-25 Joseph Myers <joseph@codesourcery.com>
9742 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9743 to 2.4.0 where earlier.
9744 * sysdeps/unix/sysv/linux/configure: Regenerated.
9745 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9746 <kernel-features.h>.
9747 [__ASSUME_32BITUIDS]: Make code unconditional.
9748 [!__ASSUME_32BITUIDS]: Remove conditional code.
9749 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
9750 <kernel-features.h>.
9751 [__ASSUME_32BITUIDS]: Make code unconditional.
9752 [!__ASSUME_32BITUIDS]: Remove conditional code.
9753 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
9754 [__ASSUME_32BITUIDS]: Make code unconditional.
9755 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
9756 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
9757 <kernel-features.h>.
9758 [__ASSUME_32BITUIDS]: Make code unconditional.
9759 [!__ASSUME_32BITUIDS]: Remove conditional code.
9760 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
9761 <kernel-features.h>.
9762 [__ASSUME_32BITUIDS]: Make code unconditional.
9763 [!__ASSUME_32BITUIDS]: Remove conditional code.
9764 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
9765 <kernel-features.h>.
9766 [__ASSUME_32BITUIDS]: Make code unconditional.
9767 [!__ASSUME_32BITUIDS]: Remove conditional code.
9768 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
9769 <kernel-features.h>.
9770 [__ASSUME_32BITUIDS]: Make code unconditional.
9771 [!__ASSUME_32BITUIDS]: Remove conditional code.
9772 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9773 <kernel-features.h>.
9774 [__ASSUME_32BITUIDS]: Make code unconditional.
9775 [!__ASSUME_32BITUIDS]: Remove conditional code.
9776 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9777 <kernel-features.h>.
9778 [__ASSUME_32BITUIDS]: Make code unconditional.
9779 [!__ASSUME_32BITUIDS]: Remove conditional code.
9780 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
9781 <kernel-features.h>.
9782 [__ASSUME_32BITUIDS]: Make code unconditional.
9783 [!__ASSUME_32BITUIDS]: Remove conditional code.
9784 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9785 <kernel-features.h>.
9786 [__ASSUME_32BITUIDS]: Make code unconditional.
9787 [!__ASSUME_32BITUIDS]: Remove conditional code.
9788 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9789 <kernel-features.h>.
9790 [__ASSUME_32BITUIDS]: Make code unconditional.
9791 [!__ASSUME_32BITUIDS]: Remove conditional code.
9792 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
9793 <kernel-features.h>.
9794 [__ASSUME_32BITUIDS]: Make code unconditional.
9795 [!__ASSUME_32BITUIDS]: Remove conditional code.
9796 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
9797 <kernel-features.h>.
9798 [__NR_setresgid] (__setresgid): Do not declare.
9799 [__ASSUME_32BITUIDS]: Make code unconditional.
9800 [!__ASSUME_32BITUIDS]: Remove conditional code.
9801 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
9802 <kernel-features.h>.
9803 [__NR_setresuid] (__setresuid): Do not declare.
9804 [__ASSUME_32BITUIDS]: Make code unconditional.
9805 [!__ASSUME_32BITUIDS]: Remove conditional code.
9806 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
9807 <kernel-features.h>.
9808 [__ASSUME_32BITUIDS]: Make code unconditional.
9809 [!__ASSUME_32BITUIDS]: Remove conditional code.
9810 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
9811 <kernel-features.h>.
9812 [__ASSUME_32BITUIDS]: Make code unconditional.
9813 [!__ASSUME_32BITUIDS]: Remove conditional code.
9814 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
9815 <kernel-features.h>.
9816 [__ASSUME_32BITUIDS]: Make code unconditional.
9817 [!__ASSUME_32BITUIDS]: Remove conditional code.
9818 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
9819 <kernel-features.h>.
9820 [__ASSUME_32BITUIDS]: Make code unconditional.
9821 [!__ASSUME_32BITUIDS]: Remove conditional code.
9822 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
9823 <kernel-features.h>.
9824 [__ASSUME_32BITUIDS]: Make code unconditional.
9825 [!__ASSUME_32BITUIDS]: Remove conditional code.
9826 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
9827 <kernel-features.h>.
9828 [__ASSUME_32BITUIDS]: Make code unconditional.
9829 [!__ASSUME_32BITUIDS]: Remove conditional code.
9830 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
9831 <kernel-features.h>.
9832 [__ASSUME_32BITUIDS]: Make code unconditional.
9833 [!__ASSUME_32BITUIDS]: Remove conditional code.
9834 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
9835 <kernel-features.h>.
9836 [__ASSUME_32BITUIDS]: Make code unconditional.
9837 [!__ASSUME_32BITUIDS]: Remove conditional code.
9838 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
9839 <kernel-features.h>.
9840 [__ASSUME_32BITUIDS]: Make code unconditional.
9841 [!__ASSUME_32BITUIDS]: Remove conditional code.
9842 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9843 <kernel-features.h>.
9844 [__ASSUME_32BITUIDS]: Make code unconditional.
9845 [!__ASSUME_32BITUIDS]: Remove conditional code.
9846 * sysdeps/unix/sysv/linux/kernel-features.h
9847 (__ASSUME_SETRESUID_SYSCALL): Remove.
9848 (__ASSUME_SETRESGID_SYSCALL): Likewise.
9849 (__ASSUME_32BITUIDS): Likewise.
9850 (__ASSUME_LDT_WORKS): Likewise.
9851 (__ASSUME_O_DIRECTORY): Likewise.
9852 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
9853 architecture but not kernel version.
9854 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9855 (__ASSUME_MMAP2_SYSCALL): Likewise.
9856 (__ASSUME_STAT64_SYSCALL): Likewise.
9857 (__ASSUME_IPC64): Likewise.
9858 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
9859 <kernel-features.h>.
9860 [__ASSUME_32BITUIDS]: Make code unconditional.
9861 [!__ASSUME_32BITUIDS]: Remove conditional code.
9862 * sysdeps/unix/sysv/linux/opendir.c: Do not include
9863 <kernel-features.h>.
9864 [__ASSUME_O_DIRECTORY]: Make code unconditional.
9865 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
9866 132096]: Remove conditional code.
9867 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
9868 * sysdeps/unix/sysv/linux/s390/s390-32/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/s390/s390-32/lchown.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/setegid.c: Do not include
9877 <kernel-features.h>.
9878 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
9880 (__setresgid): Do not declare.
9881 [__ASSUME_32BITUIDS]: Make code unconditional.
9882 [!__ASSUME_32BITUIDS]: Remove conditional code.
9883 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
9884 <kernel-features.h>.
9885 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
9887 (__setresuid): Do not declare.
9888 [__ASSUME_32BITUIDS]: Make code unconditional.
9889 [!__ASSUME_32BITUIDS]: Remove conditional code.
9890 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9891 <kernel-features.h>.
9892 [__ASSUME_32BITUIDS]: Make code unconditional.
9893 [!__ASSUME_32BITUIDS]: Remove conditional code.
9894 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
9895 <kernel-features.h>.
9896 [__ASSUME_32BITUIDS]: Make code unconditional.
9897 [!__ASSUME_32BITUIDS]: Remove conditional code.
9899 2012-05-25 Richard Henderson <rth@twiddle.net>
9901 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
9902 dl_hwcap to ifunc resolver.
9903 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
9905 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
9906 dl_hwcap to ifunc resolver.
9907 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
9909 2012-05-24 Joseph Myers <joseph@codesourcery.com>
9912 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
9913 for |x| <= 2**-26, not 2**-57.
9914 * math/libm-test.inc (acos_test): Do not allow spurious underflow
9917 2012-05-24 Jeff Law <law@redhat.com>
9919 * stdio-common/Makefile (tests): Add bug25.
9920 * stdio-common/bug25.c: New test.
9922 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9925 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
9926 multiple of MALLOC_ALIGNMENT in size.
9927 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
9929 2012-05-24 Joseph Myers <joseph@codesourcery.com>
9931 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
9933 (FILENAME_MAX): Use macro-int-constant.
9934 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
9935 (_IOFBF): Use macro-int-constant.
9938 (SEEK_CUR): Likewise.
9939 (SEEK_END): Likewise.
9940 (SEEK_SET): Likewise.
9941 (TMP_MAX): Likewise.
9942 (EOF): Use macro-int-constant. Require < 0.
9943 (NULL): Use macro-constant. Require == 0.
9944 (stdin): Require type to be FILE *.
9947 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
9949 (EXIT_SUCCESS): Likewise.
9950 (NULL): Use macro-constant. Require == 0.
9951 (RAND_MAX): Use macro-int-constant.
9952 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
9953 [C99-based standards] (strtof): Require function.
9954 [C99-based standards] (strtold): Likewise.
9955 [C99-based standards] (strtoll): Likewise.
9956 [C99-based standards] (strtoull): Likewise.
9957 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9958 [ISO || ISO99 || ISO11] (limits.h): Likewise.
9959 [ISO || ISO99 || ISO11] (math.h): Likewise.
9960 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
9961 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9962 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9964 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
9967 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
9968 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
9969 * intl/dgettext.c (DCGETTEXT): Likewise.
9970 * intl/gettext.c (DCGETTEXT): Likewise.
9971 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
9972 * posix/regex_internal.h (gettext): Likewise.
9973 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
9975 * include/argz.h (__argz_count_internal)
9976 (__argz_stringify_internal): Remove declaration.
9977 (__argz_count, __argz_stringify): Declare hidden proto.
9978 * intl/dcgettext.c: Remove use of INTDEF.
9979 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
9980 * string/argz-stringify.c: Likewise.
9981 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9982 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9983 Declare hidden proto.
9984 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9985 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9986 Declare hidden proto.
9987 * include/stdio.h (__asprintf_internal): Don't declare.
9988 (__asprintf): Don't define as macro. Declare hidden proto.
9989 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
9990 (__fsetlocking): Declare hidden proto.
9991 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
9992 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
9994 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
9995 (_IO_setlinebuf): Remove use of INTUSE.
9996 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
9997 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
9998 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
10000 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
10001 (_IO_do_flush): Remove use of INTUSE.
10002 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
10003 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
10004 (_IO_adjust_column, _IO_least_wmarker)
10005 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
10006 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
10007 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
10008 (_IO_default_doallocate, _IO_wdefault_doallocate)
10009 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
10010 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
10011 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
10012 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
10013 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
10014 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
10015 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
10016 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
10017 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
10018 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
10019 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
10020 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
10021 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
10023 (_IO_flush_all_internal, _IO_adjust_column_internal)
10024 (_IO_default_uflow_internal, _IO_default_finish_internal)
10025 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
10026 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
10027 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
10028 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
10029 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
10030 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
10031 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
10032 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
10033 (_IO_file_close_internal, _IO_file_close_it_internal)
10034 (_IO_file_underflow_internal, _IO_file_overflow_internal)
10035 (_IO_file_init_internal, _IO_file_attach_internal)
10036 (_IO_file_fopen_internal, _IO_file_read_internal)
10037 (_IO_file_sync_internal, _IO_file_seek_internal)
10038 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
10039 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
10040 (_IO_str_underflow_internal, _IO_str_overflow_internal)
10041 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
10042 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
10043 (_IO_list_all_internal, _IO_link_in_internal)
10044 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
10045 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
10046 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
10047 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
10048 (_IO_do_write_internal, _IO_padn_internal)
10049 (_IO_getline_info_internal, _IO_getline_internal)
10050 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
10051 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
10052 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
10053 (_IO_vfscanf_internal, _IO_vfprintf_internal)
10054 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
10055 (_IO_init_internal, _IO_un_link_internal): Don't declare.
10056 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
10057 with libc_hidden_ver, remove use of INTUSE.
10058 * libio/genops.c: Likewise.
10059 * libio/freopen.c: Likewise.
10060 * libio/freopen64.c: Likewise.
10061 * libio/iofclose.c: Likewise.
10062 * libio/iofdopen.c: Likewise.
10063 * libio/iofflush.c: Likewise.
10064 * libio/iofflush_u.c: Likewise.
10065 * libio/iofgets.c: Likewise.
10066 * libio/iofgets_u.c: Likewise.
10067 * libio/iofopen.c: Likewise.
10068 * libio/iofopncook.c: Likewise.
10069 * libio/iofread.c: Likewise.
10070 * libio/iofread_u.c: Likewise.
10071 * libio/ioftell.c: Likewise.
10072 * libio/iofwrite.c: Likewise.
10073 * libio/iogetline.c: Likewise.
10074 * libio/iogets.c: Likewise.
10075 * libio/iogetwline.c: Likewise.
10076 * libio/iopadn.c: Likewise.
10077 * libio/iopopen.c: Likewise.
10078 * libio/ioseekoff.c: Likewise.
10079 * libio/ioseekpos.c: Likewise.
10080 * libio/iosetbuffer.c: Likewise.
10081 * libio/iosetvbuf.c: Likewise.
10082 * libio/ioungetc.c: Likewise.
10083 * libio/ioungetwc.c: Likewise.
10084 * libio/iovdprintf.c: Likewise.
10085 * libio/iovsprintf.c: Likewise.
10086 * libio/iovsscanf.c: Likewise.
10087 * libio/memstream.c: Likewise.
10088 * libio/obprintf.c: Likewise.
10089 * libio/oldfileops.c: Likewise.
10090 * libio/oldiofclose.c: Likewise.
10091 * libio/oldiofdopen.c: Likewise.
10092 * libio/oldiofopen.c: Likewise.
10093 * libio/oldiopopen.c: Likewise.
10094 * libio/oldstdfiles.c: Likewise.
10095 * libio/putc.c: Likewise.
10096 * libio/setbuf.c: Likewise.
10097 * libio/setlinebuf.c: Likewise.
10098 * libio/stdfiles.c: Likewise.
10099 * libio/strops.c: Likewise.
10100 * libio/vasprintf.c: Likewise.
10101 * libio/vscanf.c: Likewise.
10102 * libio/vsnprintf.c: Likewise.
10103 * libio/vswprintf.c: Likewise.
10104 * libio/wfiledoalloc.c: Likewise.
10105 * libio/wfileops.c: Likewise.
10106 * libio/wgenops.c: Likewise.
10107 * libio/wmemstream.c: Likewise.
10108 * libio/wstrops.c: Likewise.
10109 * libio/__fpurge.c: Likewise.
10110 * libio/__fsetlocking.c: Likewise.
10111 * assert/assert.c: Likewise.
10112 * debug/fgets_chk.c: Likewise.
10113 * debug/fgets_u_chk.c: Likewise.
10114 * debug/fread_chk.c: Likewise.
10115 * debug/fread_u_chk.c: Likewise.
10116 * debug/gets_chk.c: Likewise.
10117 * debug/obprintf_chk.c: Likewise.
10118 * debug/vasprintf_chk.c: Likewise.
10119 * debug/vdprintf_chk.c: Likewise.
10120 * debug/vsnprintf_chk.c: Likewise.
10121 * debug/vsprintf_chk.c: Likewise.
10122 * malloc/mtrace.c: Likewise.
10123 * misc/error.c: Likewise.
10124 * misc/syslog.c: Likewise.
10125 * stdio-common/asprintf.c: Likewise.
10126 * stdio-common/fxprintf.c: Likewise.
10127 * stdio-common/getw.c: Likewise.
10128 * stdio-common/isoc99_fscanf.c: Likewise.
10129 * stdio-common/isoc99_scanf.c: Likewise.
10130 * stdio-common/isoc99_vfscanf.c: Likewise.
10131 * stdio-common/isoc99_vscanf.c: Likewise.
10132 * stdio-common/isoc99_vsscanf.c: Likewise.
10133 * stdio-common/printf-prs.c: Likewise.
10134 * stdio-common/printf_fp.c: Likewise.
10135 * stdio-common/printf_fphex.c: Likewise.
10136 * stdio-common/printf_size.c: Likewise.
10137 * stdio-common/putw.c: Likewise.
10138 * stdio-common/scanf.c: Likewise.
10139 * stdio-common/sprintf.c: Likewise.
10140 * stdio-common/tmpfile.c: Likewise.
10141 * stdio-common/vfprintf.c: Likewise.
10142 * stdio-common/vfscanf.c: Likewise.
10143 * stdlib/strfmon_l.c: Likewise.
10144 * sunrpc/openchild.c: Likewise.
10145 * sunrpc/xdr_stdio.c: Likewise.
10146 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10147 * sysdeps/mach/hurd/tmpfile.c: Likewise.
10149 2012-05-24 Roland McGrath <roland@hack.frob.com>
10151 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10153 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
10154 in the third column, to generate for the shared library an IFUNC
10155 that uses _dl_vdso_vsym.
10156 * Makerules (COMPILE.c, compile-stdin.c): New variables.
10157 * Makeconfig (object-suffixes-noshared): New variable.
10159 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
10160 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
10161 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
10162 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
10165 * include/sys/time.h (__gettimeofday): Remove macro.
10166 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
10167 * time/gettimeofday.c (__gettimeofday): Remove #undef.
10169 (__gettimeofday): Add libc_hidden_def.
10170 (gettimeofday): Add libc_hidden_weak.
10171 * sysdeps/mach/gettimeofday.c: Likewise.
10172 * sysdeps/posix/gettimeofday.c: Likewise.
10173 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
10174 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
10175 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
10176 (__gettimeofday_internal): Remove strong_alias.
10177 (__gettimeofday): Add libc_hidden_def.
10178 (gettimeofday): Add libc_hidden_weak.
10179 * sysdeps/unix/syscalls.list (gettimeofday):
10180 Remove __gettimeofday_internal alias.
10182 2012-05-24 Daniel Jacobowitz <drow@false.org>
10183 H.J. Lu <hongjiu.lu@intel.com>
10186 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
10187 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
10188 (largebin_index_32_big): New.
10189 (largebin_index): Use it for 16-byte alignment.
10190 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
10191 correction with front_misalign.
10193 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10195 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
10196 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10198 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
10200 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10202 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
10204 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
10206 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
10208 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
10210 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10212 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
10214 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
10216 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10218 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
10221 * scripts/data/c++-types-x32-linux-gnu.data: New file.
10222 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
10224 2012-05-24 Joseph Myers <joseph@codesourcery.com>
10228 * math/libm-test.inc (exp_test): Add test from bug 14036.
10229 (pow_test): Add test from bug 10846.
10231 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
10233 (special_function): Do not include flags in test name.
10234 (parse_args): Likewise.
10235 * sysdeps/i386/fpu/libm-test-ulps: Update.
10236 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10237 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10238 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10241 * math/gen-libm-test.pl (%beautify): Add entries for underflow
10243 * math/libm-test.inc ("Philosophy"): Update comment about
10245 (UNDERFLOW_EXCEPTION): New macro.
10246 (UNDERFLOW_EXCEPTION_OK): Likewise.
10247 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
10248 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
10249 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
10250 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
10251 (INVALID_EXCEPTION_OK): Update value.
10252 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10253 (OVERFLOW_EXCEPTION_OK): Likewise.
10254 (IGNORE_ZERO_INF_SIGN): Likewise.
10255 (test_exceptions): Handle underflow exceptions.
10256 (acos_test): Update for underflow exception expectations.
10257 (cexp_test): Likewise.
10258 (clog_test): Likewise.
10259 (clog10_test): Likewise.
10260 (csqrt_test): Likewise.
10261 (ctan_test): Likewise.
10262 (ctanh_test): Likewise.
10263 (exp_test): Likewise.
10264 (exp10_test): Likewise.
10265 (exp2_test): Likewise.
10266 (expm1_test): Likewise.
10267 (fma_test): Likewise.
10268 (j0_test): Likewise.
10269 (jn_test): Likewise.
10270 (nexttoward_test): Likewise.
10271 (pow_test): Likewise.
10272 (scalbn_test): Likewise.
10273 (scalbln_test): Likewise.
10274 (tan_test): Likewise.
10275 (y1_test): Likewise.
10276 * sysdeps/i386/fpu/libm-test-ulps: Update.
10277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10279 2012-05-23 David S. Miller <davem@davemloft.net>
10281 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10282 (__libc_sigaction): Remove unused local variables.
10284 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10286 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
10288 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
10290 mktime: avoid signed integer overflow
10291 * time/mktime.c (__mktime_internal): Do not mishandle the case
10292 where diff == INT_MIN.
10294 mktime: simplify computation of average
10295 * time/mktime.c (ranged_convert): Use new time_t_avg function
10296 instead of rolling our own (probably-slower) code.
10298 mktime: do not assume signed right shift propagates sign bit
10299 * time/mktime.c (isdst_differ): New static function.
10300 (__mktime_internal): No need to normalize tm_isdst now.
10301 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
10304 mktime: merge another wrapv change from gnulib
10305 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
10306 from some compilers.
10308 mktime: remove incorrect attempt at unusual arithmetics
10309 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
10310 The code didn't really work on such machines anyway.
10311 (TYPE_MINIMUM): Assume two's complement.
10312 (twos_complement_arithmetic): Verify that long_int and time_t
10313 are two's complement (or unsigned, in the latter case).
10315 mktime: check signed shifts on long_int and time_t, too
10316 * time/mktime.c (SHR): Check that shifts work as desired
10317 on the types long_int and time_t too, as SHR is used on
10320 mktime: do not assume 'long' is wide enough
10321 * time/mktime.c (verify): Move decl up.
10322 (long_int): New type.
10323 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
10324 to remove assumption in the code that 'long' is wide enough to
10325 store year values. This assumption is not true on x32 and on
10326 some non-glibc platforms.
10328 mktime: merge wrapv change from gnulib
10329 * time/mktime.c (WRAPV): New macro.
10330 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
10331 (guess_time_tm, __mktime_internal): Do not assume that signed
10332 integer overflow wraps around; modern compilers generate code
10333 where this assumption is no longer valid.
10335 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10337 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10338 Replace "jmp L(pseudo_end)" with "ret".
10339 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
10342 2012-05-23 Andreas Jaeger <aj@suse.de>
10344 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
10345 * sysdeps/unix/sysv/linux/poll.c: Remove file.
10347 2012-05-23 Andreas Jaeger <aj@suse.de>
10348 Maximilian Attems <max@stro.at>
10350 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
10353 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10355 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
10356 code so that pseudo_end is just ret and the stack pointer is
10357 correct also for static library in error case.
10359 2012-05-23 Joseph Myers <joseph@codesourcery.com>
10361 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
10362 move to syscalls.list.
10363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10368 * manual/install.texi (Running make install): Do not mention Linux
10369 kernel version for which pt_chown is not needed.
10370 (Linux): Do not mention problems with nscd with 2.0 kernels.
10371 * INSTALL: Regenerated.
10373 2012-05-23 Andreas Jaeger <aj@suse.de>
10375 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
10376 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
10378 * sysdeps/unix/sysv/linux/s390/bits/mman.h
10379 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10380 * sysdeps/unix/sysv/linux/sh/bits/mman.h
10381 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10382 * sysdeps/unix/sysv/linux/i386/bits/mman.h
10383 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10384 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
10385 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10386 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
10387 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10388 * sysdeps/unix/sysv/linux/bits/in.h
10389 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
10391 2012-05-22 Roland McGrath <roland@hack.frob.com>
10393 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
10394 (PREPARE_VERSION): Just use assert instead, it will be elided
10395 under [NDEBUG] anyway.
10397 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10399 * sysdeps/unix/sysv/linux/Makefile: Include
10400 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
10401 (sysdep_routines): Remove sysctl.
10402 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
10403 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
10404 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
10405 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
10406 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
10408 2012-05-22 Andreas Jaeger <aj@suse.de>
10410 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
10411 that pseudo_end is just ret and the stack pointer is correct also
10412 for static library in error case.
10414 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
10417 * nss/nsswitch.c (defconfig_entries): New variable.
10418 (__nss_database_lookup): Don't leak defconfig entries.
10419 (nss_parse_service_list): Don't leak on error paths.
10420 (free_database_entries): New function.
10421 (free_defconfig): New function.
10422 (free_mem): Move common code to free_database_entries.
10424 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10426 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
10428 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
10430 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10431 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
10432 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
10434 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
10435 (INTERNAL_SYSCALL_TYPES): Likewise.
10436 (LOAD_ARGS_TYPES_[1-6]): Likewise.
10437 (LOAD_REGS_TYPES_[1-6]): Likewise.
10438 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
10439 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
10441 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10443 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
10444 copysignl for GLIBC_2_0.
10445 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
10446 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
10447 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
10448 logbl for GLIBC_2_0.
10449 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
10450 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
10452 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10454 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
10455 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10457 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10460 * time/mktime.c: Update copyright years.
10462 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
10464 mktime: merge comment-quoting-style change from gnulib
10465 * time/mktime.c: Quote 'like this' in comments.
10466 The GNU coding standards suggest that we no longer quote `like this',
10467 as "`" and "'" are typically rendered asymmetrically nowadays.
10468 The typical gnulib style is to quote 'like this' when quoting
10469 code, and "like this" when quoting English.
10471 * time/mktime.c (compile-command): Add "-I.".
10473 mktime: merge mktime-internal.h change from gnulib
10474 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
10476 mktime: merge time_r change from gnulib
10477 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
10479 mktime: merge DEBUG change from gnulib
10480 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
10481 case system <time.h> has a #define.
10483 mktime: merge <sys/types.h> change from gnulib
10484 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
10485 since <time.t> is now guaranteed to define time_t.
10487 mktime: merge HAVE_CONFIG_H change from gnulib
10488 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
10490 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10492 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10495 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
10497 (struct rusage): Use anonymous union to pad each field to
10500 2012-05-21 David S. Miller <davem@davemloft.net>
10502 * Makefules (o-iterator): Remove .s cases.
10503 (compile-command.s): Delete.
10504 (COMPILE.s): Delete.
10505 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
10507 2012-05-21 Joseph Myers <joseph@codesourcery.com>
10509 * configure.in (libc_cv_predef_stack_protector): Only consider
10510 "foobar" and "__stack_chk_fail" lines in libc_undefs.
10511 * configure: Regenerated.
10513 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10515 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10516 New macro. Use R*LP on int and pointer.
10517 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
10518 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
10519 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
10520 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
10522 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
10523 [__WORDSIZE_TIME64_COMPAT32] instead of
10524 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
10525 (struct utmp): Likewise.
10526 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
10527 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
10529 (__WORDSIZE_TIME64_COMPAT32): This.
10530 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
10531 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
10532 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
10533 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
10534 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
10535 (__WORDSIZE_TIME64_COMPAT32): New macro.
10537 2012-05-21 Andreas Jaeger <aj@suse.de>
10539 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
10540 only if [SHARED]. Add prototype for __wcschr_ia32.
10542 2012-05-21 Roland McGrath <roland@hack.frob.com>
10544 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
10545 of %rbp unmolested in the jmp_buf while mangling the low bits.
10546 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
10547 unmolested high bits of %rbp while demangling the low bits.
10548 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10550 2012-05-21 Andreas Jaeger <aj@suse.de>
10552 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
10553 * sunrpc/svc_simple.c: Use it for registerrpc.
10554 * sunrpc/xcrypt.c: Use it for passwd2des.
10556 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
10558 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10560 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
10561 Don't define if [__SYSCALL_WORDSIZE != 32].
10562 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
10565 2012-05-21 Bruno Haible <bruno@clisp.org>
10566 Andreas Jaeger <aj@suse.de>
10568 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
10569 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
10570 inptr and inend for must_buffer_ch.
10571 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
10572 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
10573 * stdio-common/Makefile (tests): Remove bug15.
10574 (bug15-ENV): Remove macro.
10575 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
10578 2012-05-19 Andreas Jaeger <aj@suse.de>
10579 Roland McGrath <roland@hack.frob.com>
10581 * manual/contrib.texi: Completely rewritten. It contains now an
10582 alphabetical list of contributors and their contributions.
10584 2012-05-21 Richard Henderson <rth@twiddle.net>
10586 * misc/getauxval.c (__getauxval): Use unsigned long int.
10587 * misc/sys/auxv.h: Include <sys/cdefs.h>.
10588 (getauxval): Use unsigned long int.
10590 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10592 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10594 2012-05-21 Roland McGrath <roland@hack.frob.com>
10596 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
10597 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
10598 __alignof__ (long double).
10600 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10602 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10604 2012-05-20 Richard Henderson <rth@twiddle.net>
10606 * misc/getauxval.c: New file.
10607 * misc/sys/auxv.h: New file.
10608 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
10609 (routines): Add getauxval.
10610 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
10611 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
10612 * elf/dl-sysdep.c (_dl_auxv): Remove.
10613 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
10614 * elf/dl-support.c (_dl_auxv): New variable.
10615 (_dl_aux_init): Initialize it.
10616 * manual/startup.texi (Auxiliary Vector): New node.
10617 * sysdeps/generic/bits/hwcap.h: New file.
10618 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
10619 * sysdeps/powerpc/sysdep.h: ... here. Include it.
10620 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
10621 * sysdeps/sparc/sysdep.h: ... here. Include it.
10622 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
10623 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
10624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
10627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
10628 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
10629 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
10630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10631 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10632 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
10633 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
10635 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10639 2012-05-19 David S. Miller <davem@davemloft.net>
10641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10643 2012-05-19 Joseph Myers <joseph@codesourcery.com>
10646 * math/s_ccosh.c: Include <float.h>
10647 (__ccosh): Avoid internal overflow calculating sinh and cosh
10648 values before multiplying by sin and cos values.
10649 * math/s_ccoshf.c: Likewise.
10650 * math/s_ccoshl.c: Likewise.
10651 * math/s_csin.c: Likewise.
10652 * math/s_csinf.c: Likewise.
10653 * math/s_csinl.c: Likewise.
10654 * math/s_csinh.c: Likewise.
10655 * math/s_csinhf.c: Likewise.
10656 * math/s_csinhl.c: Likewise.
10657 * math/libm-test.inc (ccos_test): Add more tests.
10658 (ccosh_test): Likewise.
10659 (csin_test): Likewise.
10660 (csinh_test): Likewise.
10661 * sysdeps/i386/fpu/libm-test-ulps: Update.
10662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10664 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
10666 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
10667 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
10669 * sysdeps/x86_64/x32/_itoa.h: Add comment.
10671 2012-05-19 Joseph Myers <joseph@codesourcery.com>
10673 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
10674 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
10675 * sysdeps/powerpc/soft-fp/Versions: Likewise.
10676 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
10677 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
10678 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
10679 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
10680 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
10681 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
10682 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
10683 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
10684 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
10685 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
10686 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
10687 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
10688 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
10689 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
10690 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
10691 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
10692 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
10693 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
10694 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
10695 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
10696 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
10697 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
10698 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
10699 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
10700 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
10701 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
10702 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
10703 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
10705 2012-05-18 Andreas Jaeger <aj@suse.de>
10707 * csu/.gitignore: Delete.
10709 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10711 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
10712 (timex): Use __syscall_slong_t.
10714 2012-05-18 Andreas Jaeger <aj@suse.de>
10715 Carlos O'Donell <carlos_odonell@mentor.com>
10717 * manual/install.texi (Configuring and compiling): Update
10718 description about files modified in the source directory.
10719 * INSTALL: Regenerated.
10721 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10723 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
10724 value. Use "or" to set return value to -1.
10725 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
10726 negate return value.
10728 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10730 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
10731 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
10732 failure if the compiler has Graphite support disabled.
10733 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
10735 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
10736 CFLAGS-memmove.c): Likewise.
10737 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
10740 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10742 * sysdeps/x86_64/x32/_itoa.h: New file.
10744 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
10745 getdents system call only if kernel and user dirents have the
10746 same d_ino and d_off.
10748 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10749 LLONG_MAX != LONG_MAX.
10750 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10751 (_fitoa_word): Likewise.
10753 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
10755 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
10756 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
10757 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
10759 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
10760 include <bits/wordsize.h>. Check __x86_64__ instead of
10762 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
10763 if __x86_64__ is defined. Use anonymous union on fpstate.
10765 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
10768 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
10770 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10771 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
10772 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
10773 Refer to _rtld_local_ro instead of _rtld_global_ro.
10774 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
10776 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
10778 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
10780 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
10781 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
10782 of _rtld_global, and rtld_progname instead of _dl_argv[0].
10784 * sysdeps/powerpc/powerpc32/dl-machine.c
10785 (__elf_machine_runtime_setup) [PROF]: Don't reference
10788 2012-05-18 Andreas Jaeger <aj@suse.de>
10790 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
10791 function only available for GCCs before 3.4 since GCC 3.4
10792 introduced a builtin.
10794 (llrintf): Likewise.
10795 (llrint): Likewise.
10802 (nearbyint): Likewise.
10803 (nearbyintf): Likewise.
10807 (floorf): Likewise.
10809 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10811 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
10812 on both fields and cast pointer to __syscall_ulong_t.
10814 * bits/types.h (__fsword_t): New type.
10815 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
10816 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
10817 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10818 (__FSWORD_T_TYPE): Likewise.
10819 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10820 (__FSWORD_T_TYPE): Likewise.
10821 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10822 (__FSWORD_T_TYPE): Likewise.
10823 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
10824 (__FSWORD_T_TYPE): Likewise.
10825 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
10826 __SWORD_TYPE with __fsword_t.
10827 (statfs64): Likewise.
10829 2012-05-17 David S. Miller <davem@davemloft.net>
10831 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
10833 2012-05-17 Andreas Jaeger <aj@suse.de>
10835 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
10838 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10840 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
10842 2012-05-17 Andreas Jaeger <aj@suse.de>
10844 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
10847 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10849 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
10851 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10853 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
10854 * sysdeps/x86_64/tst-mallocalign1.c: New file.
10856 2012-05-17 Andreas Jaeger <aj@suse.de>
10857 Carlos O'Donell <carlos_odonell@mentor.com>
10860 * sysdeps/x86_64/multiarch/init-arch.h
10861 (bit_YMM_Usable): Rename to...
10862 (bit_AVX_Usable): ... this.
10863 (bit_FMA4_Usable): New macro.
10864 (bit_XMM_state): New macro.
10865 (bit_YMM_state): New macro.
10866 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
10867 [__ASSEMBLER__] (index_AVX_Usable): ... this.
10868 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
10869 (CPUID_OSXSAVE): New macro.
10870 (CPUID_AVX): New macro.
10871 (CPUID_FMA4): New macro.
10872 (index_YMM_Usable): Rename to...
10873 (index_AVX_Usable): ... this.
10874 (HAS_AVX): Use HAS_ARCH_FEATURE.
10875 (HAS_FMA4): Likewise.
10876 (HAS_YMM_USABLE): Remove.
10877 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10878 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
10880 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
10881 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
10882 * sysdeps/x86_64/multiarch/Makefile: Likewise.
10883 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
10884 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
10886 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10888 * math/libm-test.c: Support platforms without multiple rounding modes.
10889 * math/bug-nextafter.c: Support platforms without FP exceptions.
10890 * math/bug-nexttoward.c: Likewise.
10891 * math/test-fenv.c: Likewise.
10892 * math/test-misc.c: Likewise.
10893 * stdlib/bug-getcontext.c: Likewise.
10895 2012-05-17 Andreas Jaeger <aj@suse.de>
10897 * manual/examples/search.c (critter_cmp): Change signature to
10899 * manual/string.texi (Collation Functions): Likewise.
10901 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10903 * bits/types.h: Fold copyright years.
10904 * bits/typesizes.h: Likewise.
10905 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
10906 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10907 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
10908 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
10909 * time/time.h: Likewise.
10911 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
10914 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
10915 in instead of returning them. Return void.
10916 (__libc_mallinfo): Accumulate over all arenas.
10917 (__malloc_stats): Adjust for change in int_mallinfo interface.
10919 2012-05-16 Roland McGrath <roland@hack.frob.com>
10922 * configure.in (NM): Add AC_CHECK_TOOL for it.
10923 (libc_extra_cflags): New substituted variable.
10924 Check for -fstack-protector being used implicitly.
10925 * configure: Regenerated.
10926 * config.make.in (config-extra-cflags): New variable,
10927 gets @libc_extra_cflags@.
10928 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
10931 * configure.in: Check for _FORTIFY_SOURCE being predefined.
10932 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
10933 * configure: Regenerated.
10934 * config.make.in (CPPUNDEFS): New substituted variable.
10935 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
10936 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
10937 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
10939 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10941 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
10942 (mq_attr): Use __syscall_slong_t.
10944 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10946 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
10947 Check __x86_64__ instead of __WORDSIZE.
10948 (_STAT_VER_LINUX): Likewise.
10949 (stat): Check __x86_64__ instead of __WORDSIZE. Use
10950 __syscall_ulong_t and __syscall_slong_t.
10951 (stat64): Likewise.
10953 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10955 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
10957 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10959 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
10961 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10963 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
10966 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
10967 include <bits/wordsize.h>. Check __x86_64__ instead of
10969 (greg_t): Use "__extension__ long long int" if __x86_64__ is
10971 (mcontext_t): Replace "unsigned long" with "unsigned long long".
10973 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
10974 include <bits/wordsize.h>. Check __x86_64__ instead of
10976 (user_regs_struct): Use "__extension__ unsigned long long"
10977 instead of "unsigned long" if __x86_64__ is defined.
10978 (user): Likewise. Pad after pointer field if __ILP32__ is
10981 2012-05-16 Joseph Myers <joseph@codesourcery.com>
10983 * configure.in (makeinfo): Require version 4.5 or later. Allow
10985 * configure: Regenerated.
10986 * manual/install.texi (texinfo): Increase version requirement to
10988 * INSTALL: Regenerated.
10990 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
10992 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10994 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
10996 * sysdeps/x86_64/x32/ffs.c: New file.
10998 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
11000 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
11001 defined. Use __syscall_ulong_t.
11002 (shminfo): Use __syscall_ulong_t.
11003 (shm_info): Likewise.
11005 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
11008 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
11010 (msgqnum_t): Use __syscall_ulong_t.
11011 (msglen_t): Likewise.
11012 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
11015 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
11016 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11018 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
11020 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
11021 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
11023 * sysvipc/sys/msg.h (msgbuf): Replace long int with
11026 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
11027 include <bits/wordsize.h>. Check __x86_64__ instead of
11030 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
11031 "unsigned long long int" if __x86_64__ is defined.
11032 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
11034 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
11035 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11036 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
11038 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
11040 (GET_PC): Cast to uintptr_t first.
11041 (GET_FRAME): Likewise.
11042 (GET_STACK): Likewise.
11044 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
11045 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
11046 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
11047 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
11048 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
11049 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
11050 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
11051 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
11052 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
11053 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
11054 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
11055 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
11056 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11057 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
11058 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
11059 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
11060 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
11061 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
11062 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
11063 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
11064 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
11065 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
11066 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
11067 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
11068 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
11069 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
11070 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
11071 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
11072 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
11074 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
11076 * Makerules (+depfiles): Also collect depfiles from .oS in
11078 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
11079 .oS, $(libnldbl-routines)).
11081 * Makerules (native-compile-mkdep-flags): Define.
11082 * sunrpc/Makefile (extra-objs): Add $(addprefix
11083 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
11084 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
11085 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
11086 calling $(make-target-directory).
11088 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11090 * bits/types.h (__snseconds_t): Removed.
11091 * time/time.h (struct timespec): Replace __snseconds_t with
11093 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
11094 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
11096 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11097 (__SNSECONDS_T_TYPE): Likewise.
11098 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11099 (__SNSECONDS_T_TYPE): Likewise.
11100 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11101 (__SNSECONDS_T_TYPE): Likewise.
11103 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11105 * sysdeps/mach/hurd/bits/typesizes.h
11106 (__SYSCALL_SLONG_TYPE): New macro.
11107 (__SYSCALL_ULONG_TYPE): Likewise.
11109 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11111 * bits/types.h (__syscall_slong_t): New type.
11112 (__syscall_ulong_t): Likewise.
11114 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
11115 (__SYSCALL_ULONG_TYPE): Likewise.
11116 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11117 (__SYSCALL_SLONG_TYPE): Likewise.
11118 (__SYSCALL_ULONG_TYPE): Likewise.
11119 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11120 (__SYSCALL_SLONG_TYPE): Likewise.
11121 (__SYSCALL_ULONG_TYPE): Likewise.
11122 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11123 (__SYSCALL_SLONG_TYPE): Likewise.
11124 (__SYSCALL_ULONG_TYPE): Likewise.
11126 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11128 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
11129 Add sigaltstack-offsets.sym.
11130 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11131 <sigaltstack-offsets.h>.
11132 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
11133 longjmp_msg pointer.
11134 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
11135 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
11137 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
11139 2012-05-15 Joseph Myers <joseph@codesourcery.com>
11141 * elf/stackguard-macros.h: Remove file.
11142 * sysdeps/generic/stackguard-macros.h: New file.
11143 * sysdeps/i386/stackguard-macros.h: Likewise.
11144 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11145 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11146 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11147 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11148 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11149 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11150 * sysdeps/x86_64/stackguard-macros.h: Likewise.
11151 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
11152 <elf/stackguard-macros.h>.
11155 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
11156 __aligned__ in attribute.
11157 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
11158 (gregset_t): Likewise.
11160 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11162 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
11163 * sysdeps/x86_64/64/Implies-after: Here. New file.
11164 * sysdeps/x86_64/x32/Implies-after: New file.
11166 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11168 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
11169 and access return value for _dl_profile_fixup. Use R10_LP to
11172 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11174 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
11176 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11178 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
11179 * sysdeps/x86_64/x32/sysdep.h: New file.
11181 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11183 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
11184 * sysdeps/x86_64/setjmp.S: Likewise.
11186 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11188 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
11189 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
11190 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
11191 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
11192 remove unused global constant.
11194 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
11196 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
11197 include of <not-cancel.h>.
11199 2012-05-15 Roland McGrath <roland@hack.frob.com>
11201 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
11203 2012-05-15 Jeff Law <law@redhat.com>
11204 Andreas Jaeger <aj@suse.de>
11207 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
11209 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
11210 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
11211 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
11212 code changing __hst_map_handle.map.
11214 2012-05-15 Roland McGrath <roland@hack.frob.com>
11216 * configure.in (sysnames): Look for Implies-before and Implies-after
11218 * configure: Regenerated.
11220 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11222 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
11223 8-byte data alignment with LP_SIZE alignment.
11225 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11227 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
11230 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11232 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
11234 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11236 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
11237 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
11238 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
11240 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11242 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11244 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
11245 (stackinfo_sub_sp): Likewise.
11247 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11249 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
11252 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11254 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
11257 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11259 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
11262 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11264 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
11266 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11268 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
11269 into R11_LP and load __x86_64_shared_cache_size_half into
11272 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11274 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
11277 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11279 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
11281 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
11283 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
11285 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
11286 powerpc32/power7/fpu/s_logb.c via #include.
11287 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
11288 powerpc32/power7/fpu/s_logbf.c via #include.
11289 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
11290 powerpc32/power7/fpu/s_logbl.c via #include.
11292 2012-05-15 Joseph Myers <joseph@codesourcery.com>
11294 * README.libm: Remove file.
11296 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11298 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
11299 count for x32. Use R*_LP and omit operand-size suffix.
11301 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11303 * shlib-versions: Move x86_64-.*-linux.* entries to ...
11304 * sysdeps/x86_64/64/shlib-versions: Here. New file.
11305 * sysdeps/x86_64/x32/shlib-versions: New file.
11307 2012-05-14 Roland McGrath <roland@hack.frob.com>
11309 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
11310 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
11311 Use _dl_fatal_printf instead.
11313 2012-05-14 Joseph Myers <joseph@codesourcery.com>
11315 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
11316 set if not set by the user. Do not allow for being unset.
11317 * sysdeps/unix/sysv/linux/configure: Regenerated.
11319 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11321 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
11322 the `q' suffix from lea and replace .quad with ASM_ADDR.
11324 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11326 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
11327 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
11329 (PTR_DEMANGLE): Likewise.
11331 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11333 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
11335 (ASM_ADDR): Likewise.
11336 (RAX_LP): Likewise.
11337 (RBP_LP): Likewise.
11338 (RBX_LP): Likewise.
11339 (RCX_LP): Likewise.
11340 (RDI_LP): Likewise.
11341 (RSI_LP): Likewise.
11342 (RSP_LP): Likewise.
11345 (R10_LP): Likewise.
11346 (R10_LP): Likewise.
11347 (R11_LP): Likewise.
11348 (R12_LP): Likewise.
11349 (R13_LP): Likewise.
11350 (R14_LP): Likewise.
11351 (R15_LP): Likewise.
11353 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11355 * sysdeps/x86_64/x32/dl-machine.h: New file.
11357 2012-05-14 Andreas Jaeger <aj@suse.de>
11359 * manual/Makefile (subdir): Remove export of subdir.
11360 (all): Remove target.
11361 (.PHONY): Remove all from list.
11362 (mkinstalldirs): Remove.
11363 (.PHONY): Remove installdirs from list.
11364 ($(inst_infodir)/libc.info): Use make-target-directory.
11365 (installdirs): Remove.
11366 (subdir_%): Remove.
11367 (glibc-targets): Remove.
11370 ($(objpfx)stubs ../po/manual.pot): Remove.
11371 ($(objpfx)stamp%): Remove.
11372 (make-target-directory): Remove.
11373 (subdir_install): Remove.
11374 (routines): Remove.
11381 * manual/.gitignore: Remove, it's not needed anymore.
11382 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
11384 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
11386 (texis): Renamed to $(objpfx)texis.
11387 (texis-path): New, contains path to generated files.
11388 (chapters.%): Use texis-path for complete path, add extra argument
11390 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
11391 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
11392 (summary,texi, stamp-summary): Use complete path of
11393 files. Generate files in build dir.
11394 (dir-add.texi): Build in build dir.
11395 (libm-err.texi,stamp-libm-err): Likewise.
11396 (version.texi, stamp-version): Likewise.
11397 (.%c.texi): Likewise.
11398 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
11399 (mostlyclean): Remove target.
11400 (realclean): Remove target.
11401 (generated): Add new variable with contents from mostlyclean and
11402 realclean, remove entries duplicated in common-mostlyclean, add
11403 stamp-libm-err and stamp-version.
11404 (generated-dirs): Add libc directory.
11405 ($(inst_infodir)/libc.info): Install files from build dir.
11407 * manual/install.texi (Configuring and compiling): Adjust since
11408 the info files are not part of the tar ball anymore.
11410 2012-05-14 Andreas Jaeger <aj@suse.de>
11412 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
11415 2012-05-14 Joseph Myers <joseph@codesourcery.com>
11418 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11419 to 2.2.0 where earlier.
11420 * sysdeps/unix/sysv/linux/configure: Regenerated.
11421 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
11422 Remove conditional code.
11423 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
11424 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
11425 Remove conditional code.
11426 [!__NR_lchown]: Likewise.
11427 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11428 [__NR_lchown]: Likewise.
11429 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
11430 comment referencing __ASSUME_LCHOWN_SYSCALL.
11431 * sysdeps/unix/sysv/linux/i386/sigaction.c
11432 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11433 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11434 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
11435 Remove conditional code.
11436 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
11437 (__protocol_available): Remove #if 0 code.
11438 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
11440 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
11441 * sysdeps/unix/sysv/linux/kernel-features.h
11442 (__ASSUME_GETCWD_SYSCALL): Don't define.
11443 (__ASSUME_REALTIME_SIGNALS): Likewise.
11444 (__ASSUME_PREAD_SYSCALL): Likewise.
11445 (__ASSUME_PWRITE_SYSCALL): Likewise.
11446 (__ASSUME_POLL_SYSCALL): Likewise.
11447 (__ASSUME_LCHOWN_SYSCALL): Likewise.
11448 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
11450 (__ASSUME_SIOCGIFNAME): Don't define.
11451 (__ASSUME_MSG_NOSIGNAL): Likewise.
11452 (__ASSUME_SENDFILE): Define unconditionally.
11453 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
11454 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
11456 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
11457 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
11458 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11459 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11460 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
11461 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11462 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
11464 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11465 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11467 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11468 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
11470 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11471 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
11473 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11474 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
11476 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11477 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
11479 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11480 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
11482 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11483 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
11485 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11486 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11487 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
11488 Remove conditional code.
11489 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11490 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11491 Remove conditional code.
11492 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11493 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
11494 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
11495 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11496 Remove conditional code.
11497 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11498 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
11499 Remove conditional code.
11500 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11501 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
11502 Remove conditional code.
11503 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11504 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11505 Remove conditional code.
11506 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11507 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11508 Remove conditional code.
11509 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11510 * sysdeps/unix/sysv/linux/sh/pwrite64.c
11511 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11512 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11513 * sysdeps/unix/sysv/linux/sigaction.c
11514 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11515 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11516 * sysdeps/unix/sysv/linux/sigpending.c
11517 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11518 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11519 * sysdeps/unix/sysv/linux/sigprocmask.c
11520 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11521 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11522 * sysdeps/unix/sysv/linux/sigsuspend.c
11523 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11524 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11525 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11526 (__libc_missing_rt_sigs): Remove.
11527 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
11528 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
11529 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
11530 Remove conditional code.
11531 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
11532 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
11534 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
11535 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
11536 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
11537 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
11539 2012-05-14 Andreas Jaeger <aj@suse.de>
11541 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
11542 it's not used in glibc.
11543 (__coshm1): Likewise.
11544 (__acosh1p): Likewise.
11547 * manual/string.texi (Copying and Concatenation): Add missing
11548 variable in concat example.
11549 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11551 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11554 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
11555 __builtin_clzl with __builtin_clzll.
11557 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11560 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
11563 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11565 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
11566 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
11567 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
11568 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
11570 2012-05-14 Mike Frysinger <vapier@gentoo.org>
11572 * NEWS: Update ia64 info.
11574 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
11576 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
11579 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
11581 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
11582 * sysdeps/unix/syscalls.list (dup3): Likewise.
11583 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
11584 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
11586 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11588 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
11589 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
11591 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11593 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
11595 (TLS_IE): Use mov/add instead of movq/addq to load thread
11597 (TLS_GD_PREFIX): New.
11600 2012-05-11 David S. Miller <davem@davemloft.net>
11602 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
11603 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
11604 (_FPU_SETCW): Likewise.
11606 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11608 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
11609 is 32-byte aligned.
11611 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
11614 * iconvdata/gb18030.c: Update tables.
11615 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
11616 characters specially.
11617 (BODY for TO_LOOP): Add encoding of missing ranges.
11619 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
11622 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
11623 * sysdeps/mach/hurd/dup3.c: Likewise.
11624 * sysdeps/mach/hurd/readlinkat.c: Likewise.
11625 * sysdeps/powerpc/memmove.c:: Likewise.
11627 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11629 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
11630 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
11632 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11634 * elf/elf.h (R_X86_64_RELATIVE64): New.
11635 (R_X86_64_NUM): Updated.
11636 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11637 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
11638 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
11639 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
11640 tst-quad1pie tst-quad2pie
11641 (modules-names): Add tst-quadmod1 tst-quadmod2.
11642 ($(objpfx)tst-quad1): New dependency.
11643 ($(objpfx)tst-quad2): Likewise.
11644 ($(objpfx)tst-quad1pie): Likewise.
11645 ($(objpfx)tst-quad2pie): Likewise.
11646 * sysdeps/x86_64/tst-quad1.c: New file.
11647 * sysdeps/x86_64/tst-quad1pie.c: New file.
11648 * sysdeps/x86_64/tst-quad2.c: Likewise.
11649 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
11650 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
11651 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
11652 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
11653 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
11655 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11657 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
11658 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
11659 * streams/stropts.h (t_scalar_t): Define type.
11661 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
11662 (_PATH_PRESERVE): Set to "/var/lib".
11663 (_PATH_RWHODIR): Set to "/var/spool/rwho".
11665 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
11668 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
11669 if __dir_mkfile succeeded.
11671 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
11672 checking for _hurd_dtablesize. Unlock it right after having
11673 finished _hurd_dtable allocation.
11675 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11677 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
11678 * sysdeps/mach/hurd/configure: Regenerated.
11679 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
11680 special-casing to...
11681 * sysdeps/gnu/configure.in: ... this new file.
11682 * sysdeps/unix/sysv/linux/configure: Regenerated.
11683 * sysdeps/gnu/configure: New generated file.
11685 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
11686 for Linux: use nsec instead of usec, as well as:
11687 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
11688 members of type struct timespec.
11689 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
11691 (struct stat64): Likewise.
11692 (_STATBUF_ST_NSEC): New macro.
11693 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
11695 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11696 __strtoul_internal rather than strtoul.
11698 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11700 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
11703 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11705 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
11706 which preserves existing values.
11707 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
11709 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11711 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
11712 TIMEOUT values. Return EINVAL for NFDS values either negative or
11713 greater than FD_SETSIZE.
11715 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11717 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
11718 allocated, call __vm_protect to finish enabling the existing space, and
11719 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
11720 allocate the remainder.
11722 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11724 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
11725 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
11727 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11729 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
11730 sysdeps/mach/hurd/readlink.c.
11732 * posix/tst-sysconf.c (posix_options): Only use
11733 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
11734 _POSIX_SYNCHRONIZED_IO when they are defined
11735 * sysdeps/mach/hurd/bits/posix_opt.h:
11736 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
11737 (_XOPEN_REALTIME): Undefine macro.
11738 (_XOPEN_REALTIME_THREADS): Undefine macro.
11739 (_XOPEN_SHM): Undefine macro.
11740 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
11742 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
11744 (_POSIX_ASYNC_IO): Undefine macro.
11745 (_POSIX_PRIORITIZED_IO): Undefine macro.
11746 (_POSIX_SPIN_LOCKS): Define macro to -1.
11748 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
11749 SA_NODEFER, SA_RESETHAND.
11750 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
11751 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
11754 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11756 * elf/Makefile (pldd-modules): Define unconditionally.
11758 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11760 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
11762 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11764 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
11765 Return ENOENT when name is empty.
11766 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
11768 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11770 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
11772 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
11774 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11776 Fix mlock in all cases except non-readable pages.
11777 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
11778 instead of VM_PROT_ALL as parameter to __vm_wire function.
11780 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
11781 (__mkdir): When path is `/', just fail with EEXIST.
11782 * sysdeps/mach/hurd/mkdirat.c: Likewise.
11784 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11786 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
11787 <sys/uio.h> (for writev).
11788 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
11789 and <sys/param.h> (for MIN).
11791 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11793 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
11794 REQUESTED_TIME. Properly set the remaining time and return EINTR
11797 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11799 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
11800 Depend on against $(link-rpcuserlibs).
11802 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11804 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
11805 (__libc_stack_end): Do not use attribute_relro.
11806 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
11807 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
11808 to libthread-provided value.
11809 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
11812 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11815 * bits/libc-lock.h (__libc_once_get): New macro.
11816 * sysdeps/mach/bits/libc-lock.h: Likewise.
11817 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
11818 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
11819 instead of using implementation details.
11821 * libio/fileops.c: Unconditionally include <kernel-features.h>.
11822 * libio/freopen.c: Likewise.
11823 * libio/freopen64.c: Likewise.
11824 * misc/syslog.c: Likewise.
11825 * nscd/connections.c: Likewise.
11826 * nscd/netgroupcache.c: Likewise.
11827 * sysdeps/posix/getcwd.c: Likewise.
11829 2012-05-10 Roland McGrath <roland@hack.frob.com>
11831 * math/w_ilogbf.c: Add #include <limits.h>.
11833 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11835 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
11836 path instead of returning without unlocking.
11838 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
11839 immediate-write ioctls.
11840 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
11842 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11844 * sysdeps/mach/hurd/i386/init-first.c (init): Use
11845 __builtin_frame_address instead of making assumptions about the
11846 location of the return address relative to DATA. Force early load of
11847 the return address.
11848 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
11849 __builtin_frame_address.
11852 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
11853 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
11854 implement dup3 and do some further code clean-ups.
11855 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
11856 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
11858 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11860 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
11862 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
11863 HURD_CRITICAL_END around holding _hurd_dtable_lock.
11864 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
11865 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
11866 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
11869 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
11870 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
11871 when handler == SIG_ERR, not when handler != SIG_ERR.
11873 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11875 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
11876 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
11879 accept4 for GNU Hurd.
11880 * include/sys/socket.h (__libc_accept4): New prototype.
11881 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
11882 to implement __libc_accept4.
11883 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
11885 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
11887 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
11888 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
11889 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
11890 signal-defines.sym.
11892 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11894 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
11896 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11898 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
11899 assertion on O_CLOEXEC flag.
11900 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
11901 * hurd/intern-fd.c: Likewise.
11902 * hurd/port2fd.c: Likewise.
11904 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11907 * bits/in.h (IPV6_PKTINFO): Define new macro.
11908 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
11910 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11915 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
11916 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11917 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
11918 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11919 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11920 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11921 * math/libm-test.inc (logb_test) : Additional logb tests.
11923 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
11924 Andreas Jaeger <aj@suse.de>
11926 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
11927 * configure: Regenerated.
11928 * config.h.in (LINK_OBSOLETE_RPC): New macro.
11929 * config.make.in (link-obsolete-rpc): New substituted variable.
11930 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
11931 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
11932 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11933 (shared-only-routines): Don't set it under [link-obsolete-rpc],
11934 so that libc.a contains the symbols.
11935 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11936 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
11937 * sunrpc/auth_none.c: Likewise.
11938 * sunrpc/auth_unix.c: Likewise.
11939 * sunrpc/authdes_prot.c: Likewise.
11940 * sunrpc/authuxprot.c: Likewise.
11941 * sunrpc/clnt_gen.c: Likewise.
11942 * sunrpc/clnt_perr.c: Likewise.
11943 * sunrpc/clnt_raw.c: Likewise.
11944 * sunrpc/clnt_simp.c: Likewise.
11945 * sunrpc/clnt_tcp.c: Likewise.
11946 * sunrpc/clnt_udp.c: Likewise.
11947 * sunrpc/clnt_unix.c: Likewise.
11948 * sunrpc/des_crypt.c: Likewise.
11949 * sunrpc/des_soft.c: Likewise.
11950 * sunrpc/get_myaddr.c: Likewise.
11951 * sunrpc/key_call.c: Likewise.
11952 * sunrpc/key_prot.c: Likewise.
11953 * sunrpc/netname.c: Likewise.
11954 * sunrpc/pm_getmaps.c: Likewise.
11955 * sunrpc/pm_getport.c: Likewise.
11956 * sunrpc/pmap_clnt.c: Likewise.
11957 * sunrpc/pmap_prot.c: Likewise.
11958 * sunrpc/pmap_prot2.c: Likewise.
11959 * sunrpc/pmap_rmt.c: Likewise.
11960 * sunrpc/publickey.c: Likewise.
11961 * sunrpc/rpc_cmsg.c: Likewise.
11962 * sunrpc/rpc_common.c: Likewise.
11963 * sunrpc/rpc_dtable.c: Likewise.
11964 * sunrpc/rpc_prot.c: Likewise.
11965 * sunrpc/rpc_thread.c: Likewise.
11966 * sunrpc/rtime.c: Likewise.
11967 * sunrpc/svc.c: Likewise.
11968 * sunrpc/svc_auth.c: Likewise.
11969 * sunrpc/svc_raw.c: Likewise.
11970 * sunrpc/svc_run.c: Likewise.
11971 * sunrpc/svc_tcp.c: Likewise.
11972 * sunrpc/svc_udp.c: Likewise.
11973 * sunrpc/svc_unix.c: Likewise.
11974 * sunrpc/svcauth_des.c: Likewise.
11975 * sunrpc/xcrypt.c: Likewise.
11976 * sunrpc/xdr.c: Likewise.
11977 * sunrpc/xdr_array.c: Likewise.
11978 * sunrpc/xdr_float.c: Likewise.
11979 * sunrpc/xdr_intXX_t.c: Likewise.
11980 * sunrpc/xdr_mem.c: Likewise.
11981 * sunrpc/xdr_rec.c: Likewise.
11982 * sunrpc/xdr_ref.c: Likewise.
11983 * sunrpc/xdr_sizeof.c: Likewise.
11984 * sunrpc/xdr_stdio.c: Likewise.
11986 2012-05-10 Roland McGrath <roland@hack.frob.com>
11988 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
11989 change. Update copyright years.
11991 2012-05-10 Joseph Myers <joseph@codesourcery.com>
11993 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
11995 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
11996 Joseph Myers <joseph@codesourcery.com>
11997 Paul Pluzhnikov <ppluzhnikov@google.com>
12000 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
12002 [cross-compiling] (extra-libs): Likewise.
12003 [cross-compiling] (extra-libs-others): Likewise.
12004 [cross-compiling] (librpcsvc-routines): Likewise.
12005 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
12006 [cross-compiling] (omit-deps): Likewise.
12007 (sunrpc-CPPFLAGS): New variable.
12008 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
12009 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
12010 (cross-rpcgen-objs): New variable.
12011 (extra-objs): Append $(cross-rpcgen-objs).
12012 ($(cross-rpcgen-objs)): New rule.
12013 ($(objpfx)cross-rpcgen): Likewise.
12014 (rpcgen-cmd): Define to use $(built-program-file). Expand
12016 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
12017 ($(objpfx)x%.stmp): Likewise.
12018 * sunrpc/proto.h [IS_IN_build] (_): Define.
12019 [IS_IN_build] (_libc_intl_domainname): Likewise.
12021 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12023 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
12024 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
12025 and R_X86_64_TPOFF64.
12027 2012-05-10 Joseph Myers <joseph@codesourcery.com>
12029 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
12030 sysdeps/unix/sysv/syscalls.list.
12033 * sysdeps/unix/sysv/syscalls.list: Remove file.
12035 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
12038 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
12039 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
12040 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
12041 (__LC_IDENTIFICATION): Make these macros useful in #if
12042 expressions, as required by C99.
12044 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
12046 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
12047 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
12050 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
12052 * stdlib/longlong.h: Updated from GCC.
12054 2012-05-09 Andreas Jaeger <aj@suse.de>
12056 * nscd/nscd.c (run_modes): Make named enum, reorder so that
12057 default is first entry.
12058 (run_mode): Set type.
12059 (main): Remove informal message about syslog.
12060 (options): Fix typo.
12063 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
12066 (llrintf): Likewise.
12067 (llrint): Likewise.
12070 (nearbyint): Likewise.
12071 (nearbyintf): Likewise.
12073 2012-05-09 Andreas Jaeger <aj@suse.de>
12074 Pedro Alves <palves@redhat.com>
12076 * nscd/nscd.c (run_mode): Use enum.
12077 (main): Cleanup coding style issue.
12079 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
12080 Andreas Jaeger <aj@suse.de>
12082 * nscd/nscd.c (go_background): Replaced with...
12083 (run_mode): ... this.
12084 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
12085 (options): Add -F --foreground.
12086 (main): Implement it.
12087 (parse_opt): Parse it.
12089 2012-05-09 Andreas Jaeger <aj@suse.de>
12092 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
12093 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
12094 -Wconversion warning.
12095 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
12098 2012-05-09 Joseph Myers <joseph@codesourcery.com>
12100 * conform/data/locale.h-data (NULL): Use macro-constant. Require
12102 (LC_ALL): Use macro-int-constant.
12103 (LC_COLLATE): Likewise.
12104 (LC_CTYPE): Likewise.
12105 (LC_MESSAGES): Likewise.
12106 (LC_MONETARY): Likewise.
12107 (LC_NUMERIC): Likewise.
12108 (LC_TIME): Likewise.
12109 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
12110 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12111 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12112 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
12114 [C99-based standards] (float_t): Expect type.
12115 [C99-based standards] (double_t): Expect type.
12116 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
12118 [C99-based standards] (HUGE_VALL): Likewise.
12119 [C99-based standards] (INFINITY): Likewise.
12120 [C99-based standards] (NAN): Likewise.
12121 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
12122 [C99-based standards] (FP_NAN): Likewise.
12123 [C99-based standards] (FP_NORMAL): Likewise.
12124 [C99-based standards] (FP_SUBNORMAL): Likewise.
12125 [C99-based standards] (FP_ZERO): Likewise.
12126 [C99-based standards] (FP_FAST_FMA): Use
12127 optional-macro-int-constant. Specify type. Require == 1.
12128 [C99-based standards] (FP_FAST_FMAF): Likewise.
12129 [C99-based standards] (FP_FAST_FMAL): Likewise.
12130 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
12131 [C99-based standards] (FP_ILOGBNAN): Likewise.
12132 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
12134 [C99-based standards] (MATH_ERREXCEPT): Likewise.
12135 [C99-based standards] (math_errhandling): Specify type.
12136 [ISO99 || ISO11] (signgam): Do not allow.
12137 [non-C99-based standards] (copysignf): Do not allow.
12138 [non-C99-based standards] (exp2f): Likewise.
12139 [non-C99-based standards] (log2f): Likewise.
12140 [non-C99-based standards] (modff): Allow.
12141 [non-C99-based standards] (erff): Do not allow.
12142 [non-C99-based standards] (erfcf): Likewise.
12143 [non-C99-based standards] (gammaf): Likewise.
12144 [non-C99-based standards] (hypotf): Likewise.
12145 [non-C99-based standards] (j0f): Likewise.
12146 [non-C99-based standards] (j1f): Likewise.
12147 [non-C99-based standards] (jnf): Likewise.
12148 [non-C99-based standards] (lgammaf): Likewise.
12149 [non-C99-based standards] (tgammaf): Likewise.
12150 [non-C99-based standards] (y0f): Likewise.
12151 [non-C99-based standards] (y1f): Likewise.
12152 [non-C99-based standards] (ynf): Likewise.
12153 [non-C99-based standards] (isnanf): Likewise.
12154 [non-C99-based standards] (acoshf): Likewise.
12155 [non-C99-based standards] (asinhf): Likewise.
12156 [non-C99-based standards] (atanhf): Likewise.
12157 [non-C99-based standards] (cbrtf): Likewise.
12158 [non-C99-based standards] (expm1f): Likewise.
12159 [non-C99-based standards] (ilogbf): Likewise.
12160 [non-C99-based standards] (log1pf): Likewise.
12161 [non-C99-based standards] (logbf): Likewise.
12162 [non-C99-based standards] (nextafterf): Likewise.
12163 [non-C99-based standards] (remainderf): Likewise.
12164 [non-C99-based standards] (rintf): Likewise.
12165 [non-C99-based standards] (scalbf): Likewise.
12166 [non-C99-based standards] (copysignl): Likewise.
12167 [non-C99-based standards] (exp2l): Likewise.
12168 [non-C99-based standards] (log2l): Likewise.
12169 [non-C99-based standards] (modfl): Allow.
12170 [non-C99-based standards] (erfl): Do not allow.
12171 [non-C99-based standards] (erfcl): Likewise.
12172 [non-C99-based standards] (gammal): Likewise.
12173 [non-C99-based standards] (hypotl): Likewise.
12174 [non-C99-based standards] (j0l): Likewise.
12175 [non-C99-based standards] (j1l): Likewise.
12176 [non-C99-based standards] (jnl): Likewise.
12177 [non-C99-based standards] (lgammal): Likewise.
12178 [non-C99-based standards] (tgammal): Likewise.
12179 [non-C99-based standards] (y0l): Likewise.
12180 [non-C99-based standards] (y1l): Likewise.
12181 [non-C99-based standards] (ynl): Likewise.
12182 [non-C99-based standards] (isnanl): Likewise.
12183 [non-C99-based standards] (acoshl): Likewise.
12184 [non-C99-based standards] (asinhl): Likewise.
12185 [non-C99-based standards] (atanhl): Likewise.
12186 [non-C99-based standards] (cbrtl): Likewise.
12187 [non-C99-based standards] (expm1l): Likewise.
12188 [non-C99-based standards] (ilogbl): Likewise.
12189 [non-C99-based standards] (log1pl): Likewise.
12190 [non-C99-based standards] (logbl): Likewise.
12191 [non-C99-based standards] (nextafterl): Likewise.
12192 [non-C99-based standards] (remainderl): Likewise.
12193 [non-C99-based standards] (rintl): Likewise.
12194 [non-C99-based standards] (scalbl): Likewise.
12195 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12196 [non-C99-based standards] (FP_*): Do not allow.
12197 [C99-based standards] (FP_*): Change to
12198 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12199 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12201 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
12202 (SIG_ERR): Likewise.
12203 [X/Open-based standards] (SIG_HOLD): Likewise.
12204 (SIG_IGN): Likewise.
12205 (SIGABRT): Use macro-int-constant. Specify type. Require
12207 (SIGFPE): Likewise.
12208 (SIGILL): Likewise.
12209 (SIGINT): Likewise.
12210 (SIGSEGV): Likewise.
12211 (SIGTER): Likewise.
12212 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
12213 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
12214 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
12215 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
12216 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
12217 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
12218 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
12219 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
12220 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
12221 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
12222 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
12223 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
12224 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
12225 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
12226 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
12227 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
12228 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
12229 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
12230 [X/Open-based standards] (SIGTRAP): Likewise.
12231 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
12232 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
12233 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
12234 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
12235 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12238 2012-05-08 Ian Wienand <ianw@vmware.com>
12241 * time/tzset.c (__tzset_parse_tz): Update default rules for
12242 daylight time changes in the Energy Policy Act of 2005.
12244 2012-05-09 Andreas Jaeger <aj@suse.de>
12247 * elf/ldconfig.c (parse_conf): Change string to make clear that
12248 ldconfig only issued a warning if ld.so.conf does not exist.
12250 2012-05-08 David S. Miller <davem@davemloft.net>
12252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
12253 movxtod instead of popping the value on the stack.
12255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12257 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
12259 * config.h.in: Add HAVE_ARM_PCS_VFP.
12261 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
12264 * include/features.h: Warn if user requests __FORTIFY_SOURCE
12265 checking but the checks are disabled for any reason.
12267 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
12269 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
12270 and ELF64_R_TYPE with ELFW(R_TYPE).
12272 2012-05-08 Joseph Myers <joseph@codesourcery.com>
12274 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
12275 (ulimit): Likewise.
12277 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
12278 (settimeofday): Likewise.
12280 2012-05-08 Mike Frysinger <vapier@gentoo.org>
12282 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
12283 a struct th_u2 inside the union, and move tu_block/tu_code into
12284 a new th_u3 union of tu_block/tu_code inside of that. Move
12285 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
12286 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
12287 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
12288 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
12289 (th_stuff): Change to th_u1.tu_stuff.
12291 (th_msg): Change to th_u1.th_u2.tu_data.
12293 2012-05-07 David S. Miller <davem@davemloft.net>
12295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12298 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
12299 (SETUP_PIC_REG): Use it.
12300 (SETUP_PIC_REG_LEAF): Use it.
12302 2012-05-07 Joseph Myers <joseph@codesourcery.com>
12306 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12308 (EXPL_FINITE): Likewise.
12309 (FLDLOG): Likewise.
12310 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
12311 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
12313 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12315 (EXPL_FINITE): Likewise.
12316 (FLDLOG): Likewise.
12317 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
12318 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
12320 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
12321 test of -max_value argument for long double.
12322 * sysdeps/i386/fpu/libm-test-ulps: Update.
12323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12325 2012-05-06 David S. Miller <davem@davemloft.net>
12327 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
12328 quad soft-float symbols whose references which are compiler
12330 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12332 2012-05-06 Joseph Myers <joseph@codesourcery.com>
12336 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12338 (EXPL_FINITE): Likewise.
12339 (FLDLOG): Likewise.
12342 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
12343 Adjust comments for base varying.
12344 (__expl_finite): Change alias to EXPL_FINITE.
12345 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
12347 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
12348 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12349 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12350 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
12351 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12353 (EXPL_FINITE): Likewise.
12354 (FLDLOG): Likewise.
12357 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
12358 Adjust comments for base varying.
12359 (__expl_finite): Change alias to EXPL_FINITE.
12360 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
12362 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12365 * math/libm-test.inc (check_float_internal): Correct ulp
12366 calculation for subnormal expected results.
12368 2012-05-06 Andreas Jaeger <aj@suse.de>
12370 * Makeconfig (+math-flags): New, set to -frounding-math.
12371 (+cflags): Add +math-flags so that all of glibc gets compiled with
12374 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
12376 2012-05-05 Joseph Myers <joseph@codesourcery.com>
12378 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
12384 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
12385 (__ieee754_expl): Allow for and saturate large arguments.
12386 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
12387 (u_threshold): Likewise.
12388 (__exp): Call __ieee754_exp before checking for overflow and
12390 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
12391 (u_threshold): Likewise.
12392 (__expf): Call __ieee754_expf before checking for overflow and
12394 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
12395 (u_threshold): Likewise.
12396 (__expl): Call __ieee754_expl before checking for overflow and
12398 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
12399 (__ieee754_expl): Allow for and saturate large arguments.
12400 * math/libm-test.inc (exp_test): Add another test. Do not allow
12401 missing overflow exception on overflow.
12402 (expm1_test): Do not allow missing overflow exception on overflow.
12404 * sysdeps/i386/fpu/e_expl.c: Move to ...
12405 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
12406 rather than using inline asm.
12407 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
12408 * sysdeps/x86_64/fpu/e_expl.S: Copy from
12409 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
12411 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
12414 (signal): Likewise.
12418 2012-05-04 Joseph Myers <joseph@codesourcery.com>
12420 * sysdeps/unix/syscalls.list (adjtime): Add entry from
12421 sysdeps/unix/common/syscalls.list.
12422 (fchmod): Likewise.
12423 (fchown): Likewise.
12424 (ftruncate): Likewise.
12425 (getrusage): Likewise.
12426 (gettimeofday): Likewise.
12427 (setpgid): Likewise.
12428 (setregid): Likewise.
12429 (setreuid): Likewise.
12430 (sigaction): Likewise.
12431 (truncate): Likewise.
12432 (vhangup): Likewise.
12433 * sysdeps/unix/common/syscalls.list: Remove file.
12434 * sysdeps/unix/bsd/Implies: Don't include unix/common.
12435 * sysdeps/unix/sysv/linux/Implies: Likewise.
12437 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
12439 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
12440 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
12441 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
12443 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12445 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
12447 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
12448 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
12450 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
12451 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
12453 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
12454 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
12456 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
12457 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
12459 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
12460 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
12462 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
12463 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
12465 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12467 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
12469 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
12471 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
12473 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
12474 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
12476 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
12478 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
12480 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
12482 2012-05-04 Joseph Myers <joseph@codesourcery.com>
12484 * sysdeps/unix/common/bits/dirent.h: Remove file.
12485 * sysdeps/unix/common/bits/fcntl.h: Likewise.
12487 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
12488 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
12489 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
12490 * sysdeps/unix/bsd/isatty.c: Likewise.
12491 * sysdeps/unix/bsd/tcdrain.c: Likewise.
12492 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
12493 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
12495 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12498 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
12499 long double comparison inaccuracies.
12500 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12501 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12503 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
12505 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
12506 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
12508 2012-05-04 Joseph Myers <joseph@codesourcery.com>
12511 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
12512 nonzero digits before rounding a hex value.
12513 * stdlib/tst-strtod.c (tests): Add another test.
12515 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12517 * sysdeps/s390/fpu/libm-test-ulps: Update.
12519 2012-05-03 Andreas Jaeger <aj@suse.de>
12521 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
12522 does not get optimized out.
12523 (malloc_opt_barrier): New.
12525 2012-05-03 Andreas Jaeger <aj@suse.de>
12526 Roland McGrath <roland@hack.frob.com>
12528 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
12529 intermediate file deletion.
12530 (generated): Add .symlist files.
12532 2012-05-03 Joseph Myers <joseph@codesourcery.com>
12535 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
12536 Redirect under this condition.
12537 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12538 [__USE_GNU] (__dprintf_chk): Not under this condition.
12539 [__USE_GNU] (__vdprintf_chk): Likewise.
12540 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
12541 under this condition.
12542 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12543 [__USE_XOPEN2K8] (dprintf): Define under this condition.
12544 [__USE_XOPEN2K8] (vdprintf): Likewise.
12545 [__USE_GNU] (__dprintf_chk): Not under this condition.
12546 [__USE_GNU] (__vdprintf_chk): Likewise.
12547 [__USE_GNU] (dprintf): Likewise.
12548 [__USE_GNU] (vdprintf): Likewise.
12550 2012-05-03 Roland McGrath <roland@hack.frob.com>
12552 * elf/Makefile (common-generated): Set this instead of generated for
12553 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
12554 $(all-built-dso)-derived lists.
12556 2012-05-03 Andreas Jaeger <aj@suse.de>
12558 * sysdeps/i386/fpu/libm-test-ulps: Update.
12561 * FAQ.in: Likewise.
12562 * scripts/gen-FAQ.pl: Likewise.
12563 * manual/install.texi (Installation): Point to online location of
12565 * Makefile (files-for-dist): Remove FAQ.
12568 2012-05-02 Allan McRae <allan@archlinux.org>
12570 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
12571 (LDFLAGS-reldepmod5.so): Likewise.
12572 (LDFLAGS-reldep6mod1.so): Likewise.
12573 (LDFLAGS-reldep6mod4.so): Likewise.
12574 (LDFLAGS-reldep8mod3.so): Likewise.
12575 (LDFLAGS-unload4mod1.so): Likewise.
12576 (LDFLAGS-unload4mod2.so): Likewise.
12577 (LDFLAGS-tst-initorder): Likewise.
12578 (LDFLAGS-tst-initordera2.so): Likewise.
12579 (LDFLAGS-tst-initordera3.so): Likewise.
12580 (LDFLAGS-tst-initordera4.so): Likewise.
12581 (LDFLAGS-tst-initorderb2.so): Likewise.
12582 (LDFLAGS-noload): Likewise.
12583 (LDFLAGS-next): Likewise.
12584 (LDFLAGS-order2mod1.so): Likewise.
12585 (LDFLAGS-order2mod2.so): Likewise.
12586 (LDFLAGS-tst-initorder2): Likewise.
12587 (LDFLAGS-tst-initorder2a.so): Likewise.
12588 (LDFLAGS-tst-initorder2b.so): Likewise.
12589 (LDFLAGS-tst-initorder2c.so): Likewise.
12590 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
12592 2012-05-02 David S. Miller <davem@davemloft.net>
12594 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12596 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
12599 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
12601 2012-05-02 Andreas Jaeger <aj@suse.de>
12603 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
12604 since we manipulate rounding mode.
12605 (CPPFLAGS-test-idouble.c): Likewise.
12606 (CPPFLAGS-test-ifloat.c): Likewise.
12607 (CFLAGS-test-ldouble.c): Likewise.
12608 (CFLAGS-test-double.c): Likewise.
12609 (CFLAGS-test-float.c): Likewise.
12610 (CFLAGS-test-misc.c): Likewise.
12611 (CFLAGS-test-test-fenv.c): Likewise.
12613 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12617 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
12618 comparisons to determine direction to adjust input.
12620 2012-05-01 Roland McGrath <roland@hack.frob.com>
12622 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
12623 output to the target.
12625 * scripts/localplt.awk: New file.
12626 * elf/Makefile ($(objpfx)check-localplt): Target removed.
12627 (check-localplt-CFLAGS): Variable removed.
12628 ($(all-built-dso:=.jmprel)): New static pattern rule.
12629 (generated): Add those targets.
12630 (localplt-built-dso): New variable.
12631 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
12633 * elf/check-localplt.c: File removed.
12635 * scripts/check-execstack.awk: New file.
12636 * elf/Makefile ($(objpfx)check-execstack): Target removed.
12637 (check-execstack-CFLAGS): Variable removed.
12638 ($(objpfx)check-execstack.h): Target removed.
12639 ($(objpfx)execstack-default): New target.
12640 (generated): Add that instead of check-execstack.h.
12641 ($(all-built-dso:=.phdr)): New static pattern rule.
12642 (generated): Add those targets.
12643 * elf/check-execstack.c: File removed.
12645 * scripts/check-textrel.awk: New file.
12646 * elf/Makefile ($(objpfx)check-textrel): Target removed.
12647 (check-textrel-CFLAGS): Variable removed.
12648 (all-built-dso): Use := to define.o
12649 ($(all-built-dso:=.dyn)): New static pattern rule.
12650 (generated): Add those targets.
12651 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
12652 * config.make.in (READELF): New substituted variable.
12653 * elf/check-textrel.c: File removed.
12655 2012-05-01 Joseph Myers <joseph@codesourcery.com>
12657 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12659 * conform/data/ctype.h-data [C99-based standards] (isblank):
12661 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
12662 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
12663 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12664 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
12665 Specify type. Require positive value.
12666 (EILSEQ): Likewise.
12667 (ERANGE): Likewise.
12668 [ISO || POSIX] (EILSEQ): Do not expect.
12669 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
12670 Specify type. Require positive value.
12671 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
12672 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
12673 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
12674 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
12675 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
12676 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
12677 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
12678 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
12679 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
12680 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
12681 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
12682 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
12683 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
12684 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
12685 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
12686 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
12687 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
12688 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
12689 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
12690 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
12691 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
12692 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
12693 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
12694 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
12695 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
12696 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
12697 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
12698 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
12699 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
12700 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
12701 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
12702 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
12703 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
12704 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
12705 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
12706 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
12707 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
12708 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
12709 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
12710 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
12711 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
12712 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
12713 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
12714 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
12715 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
12716 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
12717 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
12718 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
12719 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
12720 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
12721 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
12722 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
12723 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
12724 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
12725 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
12726 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
12727 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
12728 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
12729 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
12730 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
12731 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
12732 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
12733 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
12734 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
12735 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
12736 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
12737 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
12738 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
12739 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
12740 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
12741 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
12742 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
12743 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
12744 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
12745 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
12746 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
12747 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
12749 (FLT_ROUNDS): Expect as macro, not constant.
12750 (FLT_MANT_DIG): Use macro-int-constant.
12751 (DBL_MANT_DIG): Likewise.
12752 (LDBL_MANT_DIG): Likewise.
12753 (FLT_DIG): Likewise.
12754 (DBL_DIG): Likewise.
12755 (LDBL_DIG): Likewise.
12756 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
12757 (DBL_MIN_EXP): Likewise.
12758 (LDBL_MIN_EXP): Likewise.
12759 (FLT_MAX_EXP): Use macro-int-constant.
12760 (DBL_MAX_EXP): Likewise.
12761 (LDBL_MAX_EXP): Likewise.
12762 (FLT_MAX_10_EXP): Likewise.
12763 (DBL_MAX_10_EXP): Likewise.
12764 (LDBL_MAX_10_EXP): Likewise.
12765 (FLT_MAX): Use macro-constant.
12766 (DBL_MAX): Likewise.
12767 (LDBL_MAX): Likewise.
12768 (FLT_EPSILON): Use macro-constant. Give upper bound.
12769 (DBL_EPSILON): Likewise.
12770 (LDBL_EPSILON): Likewise.
12771 (FLT_MIN): Likewise.
12772 (DBL_MIN): Likewise.
12773 (LDBL_MIN): Likewise.
12774 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
12775 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
12776 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
12777 [ISO11] (FLT_HAS_SUBNORM): Likewise.
12778 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
12779 [ISO11] (DBL_DECIMAL_DIG): Likewise.
12780 [ISO11] (FLT_DECIMAL_DIG): Likewise.
12781 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
12782 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
12783 [ISO11] (FLT_TRUE_MIN): Likewise.
12784 [ISO11] (LDBL_TRUE_MIN): Likewise.
12785 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12786 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
12787 (SCHAR_MIN): Use macro-int-constant. Specify type.
12788 (SCHAR_MAX): Likewise.
12789 (UCHAR_MAX): Likewise.
12790 (CHAR_MIN): Likewise.
12791 (CHAR_MAX): Likewise.
12792 (MB_LEN_MAX): Use macro-int-constant.
12793 (SHRT_MIN): Use macro-int-constant. Specify type.
12794 (SHRT_MAX): Likewise.
12795 (USHRT_MAX): Likewise.
12796 (INT_MAX): Likewise.
12797 (INT_MIN): Use macro-int-constant. Specify type. Make upper
12799 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
12801 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12803 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
12804 bound negative. Suffix upper bound with "L".
12805 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12807 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
12809 [C99-based standards] (LLONG_MAX): Likewise.
12810 [C99-based standards] (ULLONG_MAX): Likewise.
12811 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
12813 [ISO11] (max_align_t): Require type.
12814 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12816 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
12817 from $CFLAGS, without defining away __attribute__ calls.
12818 (checknamespace): Use $CFLAGS_namespace.
12820 * conform/conformtest.pl (@keywords): Only include C99 keywords
12821 for standards based on C99 or C11.
12823 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
12825 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
12828 * conform/conformtest.pl: Handle "macro-int-constant" and test for
12829 usability of symbols in #if.
12831 * conform/conformtest.pl: If macro or constant types start
12832 "promoted:", expect the symbol to be of the following type
12833 promoted by the integer promotions.
12835 * conform/conformtest.pl: Parse all "constant" and "macro" lines
12836 in one place. Also handle "macro-constant".
12838 * conform/conformtest.pl: Only accept expected macro values with
12839 "==". Parse all "macro" lines in one place.
12840 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
12842 * conform/conformtest.pl: Handle braced types on "constant" lines
12843 instead of handling "typed-constant".
12844 * conform/data/signal.h-data: Use "constant" instead of
12847 * conform/conformtest.pl: Handle "optional-" at start of lines in
12848 one place rather than duplicating several cases. Handle each
12849 format of "macro" line with initial "optional-".
12851 * conform/conformtest.pl: Only accept expected constant or
12852 optional-constant values with "==". Parse all "constant" lines in
12853 one place. Parse all "optional-constant" lines in one place.
12854 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
12855 * conform/data/fmtmsg.h-data: Likewise.
12856 * conform/data/netinet/in.h-data: Likewise.
12857 * conform/data/tar.h-data: Likewise.
12858 * conform/data/limits.h-data: Use "==" form on "constant" and
12859 "optional-constant" lines.
12861 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
12862 Use -std=c99 for XOPEN2K.
12863 (@knownproblems): Remove.
12864 (newtoken): Don't check %isknown.
12866 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
12867 Do not expect macro.
12868 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
12869 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
12870 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
12871 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
12872 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
12873 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
12874 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
12875 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
12876 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
12877 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
12878 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
12879 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
12880 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
12881 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
12882 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
12883 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
12884 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
12885 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
12886 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
12887 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
12888 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
12889 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
12890 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
12891 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
12892 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
12893 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
12894 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
12895 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
12896 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
12897 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
12898 [XPG3] (acosh): Likewise.
12899 [XPG3] (asinh): Likewise.
12900 [XPG3] (atanh): Likewise.
12901 [XPG3] (cbrt): Likewise.
12902 [XPG3] (expm1): Likewise.
12903 [XPG3] (ilogb): Likewise.
12904 [XPG3] (log1p): Likewise.
12905 [XPG3] (logb): Likewise.
12906 [XPG3] (nextafter): Likewise.
12907 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
12908 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
12909 [XPG3] (remainder): Likewise.
12910 [XPG3] (rint): Likewise.
12911 [XPG3 || XPG4 || UNIX98] (round): Likewise.
12912 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
12913 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
12914 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
12915 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
12916 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
12917 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
12918 [UNIX98 || XOPEN2K] (scalb): Expect.
12919 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
12920 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
12921 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
12922 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
12923 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
12924 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
12925 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
12926 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
12927 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
12928 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
12929 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
12930 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
12931 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
12932 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
12933 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
12934 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
12935 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
12936 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
12937 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
12938 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
12939 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
12940 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
12941 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
12942 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
12943 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
12944 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
12945 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
12946 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
12947 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
12948 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
12949 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
12950 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
12951 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
12952 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
12953 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
12954 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
12955 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
12956 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
12957 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
12958 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
12959 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
12960 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
12961 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
12962 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
12963 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
12964 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
12965 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
12966 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
12967 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
12968 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
12969 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
12970 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
12971 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
12972 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
12973 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
12974 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
12975 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
12976 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
12977 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
12978 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
12979 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
12980 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
12981 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
12982 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
12983 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
12984 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
12985 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
12986 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
12987 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
12988 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
12989 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
12990 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
12991 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
12992 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
12993 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
12994 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
12995 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
12996 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
12997 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
12998 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
12999 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
13000 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
13001 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
13002 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
13003 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
13004 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
13005 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
13006 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
13007 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
13008 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
13009 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
13010 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
13011 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
13012 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
13013 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
13014 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
13015 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
13016 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
13017 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
13018 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
13019 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
13020 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
13021 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
13022 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
13023 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
13024 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
13025 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
13026 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
13027 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
13028 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
13029 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
13030 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
13031 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
13032 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
13033 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
13034 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
13035 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
13036 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
13037 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
13038 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
13039 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
13040 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
13041 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
13042 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
13043 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
13044 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
13045 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
13046 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
13047 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
13048 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
13049 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
13050 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
13051 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
13052 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
13053 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
13054 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
13055 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
13057 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
13058 _XOPEN_SOURCE_EXTENDED for XPG4.
13060 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
13062 * Makeconfig (localtime): Remove variable.
13063 (inst_localtime-file): Likewise.
13065 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
13079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
13083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13086 2012-05-01 Joseph Myers <joseph@codesourcery.com>
13090 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
13091 comparisons to determine direction to adjust input.
13092 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13093 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
13094 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13096 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13098 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13100 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13101 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13103 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13105 * math/libm-test.inc (nexttoward_test): Add more tests.
13107 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13110 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
13111 in version GLIBC_2.1, not GLIBC_2.0.
13112 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
13115 2012-04-30 Joseph Myers <joseph@codesourcery.com>
13118 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
13120 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13121 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
13122 * math/libm-test.inc (acos_test): Add more tests.
13123 (asin_test): Likewise.
13124 * sysdeps/i386/fpu/libm-test-ulps: Update.
13125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13128 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
13130 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
13131 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13132 * math/libm-test.inc (acos_test_tonearest): New function.
13133 (acos_test_towardzero): Likewise.
13134 (acos_test_downward): Likewise.
13135 (acos_test_upward): Likewise.
13136 (asin_test_tonearest): Likewise.
13137 (asin_test_towardzero): Likewise.
13138 (asin_test_downward): Likewise.
13139 (asin_test_upward): Likewise.
13140 (main): Call the new functions.
13141 * sysdeps/i386/fpu/libm-test-ulps: Update.
13142 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13146 * math/e_exp10.c: Include <float.h>.
13147 (__ieee754_exp10): Handle underflow here rather than multiplying
13148 large negative argument by M_LN10.
13149 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
13151 * math/e_exp10l.c: Include <float.h>.
13152 (__ieee754_exp10l): Handle underflow here rather than multiplying
13153 large negative argument by M_LN10l.
13154 * math/libm-test.inc (exp10_test): Add another test. Do not allow
13155 spurious overflow exception on underflow.
13157 2012-04-29 Marek Polacek <polacek@redhat.com>
13159 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
13160 (__fortify_function): New macro.
13161 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
13162 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
13163 __extern_always_inline.
13164 * libio/bits/stdio2.h: Likewise.
13165 * libio/bits/stdio.h: Likewise.
13166 * string/string.h: Likewise.
13167 * string/bits/string3.h: Likewise.
13168 * include/stdio.h: Likewise.
13169 * stdlib/bits/stdlib.h: Likewise.
13170 * stdlib/stdlib.h: Likewise.
13171 * rt/bits/mqueue2.h: Likewise.
13172 * rt/mqueue.h: Likewise.
13173 * posix/bits/unistd.h: Likewise.
13174 * posix/unistd.h: Likewise.
13175 * io/bits/poll2.h: Likewise.
13176 * io/bits/fcntl2.h: Likewise.
13177 * io/fcntl.h: Likewise.
13178 * io/sys/poll.h: Likewise.
13179 * misc/bits/syslog.h: Likewise.
13180 * misc/bits/syslog-ldbl.h: Likewise.
13181 * misc/sys/syslog.h: Likewise.
13182 * socket/bits/socket2.h: Likewise.
13183 * socket/sys/socket.h: Likewise.
13184 * debug/tst-chk1.c: Likewise.
13185 * wcsmbs/bits/wchar2.h: Likewise.
13186 * wcsmbs/bits/wchar-ldbl.h: Likewise.
13187 * wcsmbs/wchar.h: Likewise.
13189 2012-04-29 Andreas Jaeger <aj@suse.de>
13191 * Makerules (tests): Remove enable-check-abi protection.
13192 (check-abi-warn): Remove.
13193 (check-abi-%): Remove check-abi-warn usage.
13195 * configure.in: Remove check-abi configure option.
13196 * configure: Regenerated.
13197 * config.make.in (enable-check-abi): Remove.
13199 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
13202 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
13203 double functions to double *_finite functions.
13206 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
13207 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
13209 * stdio-common/Makefile (tests): Add tst-sprintf3.
13210 * stdio-common/tst-sprintf3.c: New file.
13212 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
13213 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
13215 2012-04-28 Joseph Myers <joseph@codesourcery.com>
13217 * conform/conformtest.pl: Remove duplicate typed-constant
13220 2012-04-28 David S. Miller <davem@davemloft.net>
13222 * Makerules (%.abilist): Add vpath on sysdep_dirs.
13223 (check-abi-%): Remove AWK script prerequisite and explicit
13225 (check-abi): Rewrite to just diff the symlist with the abilist.
13226 (config-tls, config-abi-config): Delete, no longer used.
13227 (update-abi-%): Remove AWK script and explicit abilist directory.
13228 (update-abi): Rewrite to simply compare and conditionally copy the
13229 symlist and the sysdep abilist file. Remove update-abi-config
13231 * abilist/ld.abilist: Remove.
13232 * abilist/libBrokenLocale.abilist: Remove.
13233 * abilist/libanl.abilist: Remove.
13234 * abilist/libcrypt.abilist: Remove.
13235 * abilist/libdl.abilist: Remove.
13236 * abilist/librt.abilist: Remove.
13237 * abilist/libthread_db.abilist: Remove.
13238 * abilist/libutil.abilist: Remove.
13239 * scripts/extract-abilist.awk: Remove.
13240 * scripts/merge-abilist.awk: Remove.
13241 * sysdeps/generic/libcidn.abilist: New file.
13242 * sysdeps/generic/libnss_compat.abilist: New file.
13243 * sysdeps/generic/libnss_db.abilist: New file.
13244 * sysdeps/generic/libnss_dns.abilist: New file.
13245 * sysdeps/generic/libnss_files.abilist: New file.
13246 * sysdeps/generic/libnss_hesiod.abilist: New file.
13247 * sysdeps/generic/libnss_nis.abilist: New file.
13248 * sysdeps/generic/libnss_nisplus.abilist: New file.
13249 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
13250 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
13251 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
13253 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
13254 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
13255 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
13256 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
13257 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
13258 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
13259 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
13260 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
13261 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
13263 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
13264 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
13265 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
13266 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
13268 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
13269 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
13270 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
13271 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
13272 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
13273 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
13275 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
13276 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
13277 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
13279 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
13280 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
13282 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
13284 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
13286 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
13288 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
13290 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
13292 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
13294 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
13296 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
13298 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
13300 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
13302 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
13304 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
13306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
13308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
13310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
13312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
13314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
13316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
13318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
13320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
13322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
13326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
13328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
13330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
13332 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
13333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
13335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
13337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
13339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
13341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
13343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
13345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
13347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
13351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
13353 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
13355 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
13357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
13358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
13360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
13362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
13364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
13366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
13368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
13370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
13372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
13376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
13378 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
13380 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
13382 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
13383 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
13384 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
13386 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
13387 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
13388 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
13389 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
13390 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
13391 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
13392 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
13393 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
13394 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
13395 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
13396 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
13397 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
13399 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
13401 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
13403 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
13405 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
13407 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
13409 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
13411 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13413 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
13415 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
13417 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
13419 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
13421 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
13422 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
13424 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
13426 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
13428 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
13430 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
13432 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
13434 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
13436 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13438 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
13440 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
13442 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
13444 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
13447 2012-04-28 Joseph Myers <joseph@codesourcery.com>
13449 * conform/conformtest.pl: Fix typo in handling typed-constant from
13452 2012-04-27 Joseph Myers <joseph@codesourcery.com>
13454 * README: Cut down references to pre-2.6 Linux kernels and
13455 Linuxthreads. Update lists of configurations in libc and ports
13456 and sort alphabetically. Say "or newer" with Linux kernel version
13459 * config.h.in [IS_IN_build]: Allow compiling without optimization.
13461 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13464 * math/libm-test.inc (logb_test_downward): New test to expose
13465 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
13468 2012-04-27 Joseph Myers <joseph@codesourcery.com>
13471 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
13473 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
13474 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
13476 2012-04-26 Joseph Myers <joseph@codesourcery.com>
13478 * sysdeps/unix/i386/brk.S: Remove file.
13479 * sysdeps/unix/i386/dl-brk.S: Likewise.
13480 * sysdeps/unix/i386/pipe.S: Likewise.
13481 * sysdeps/unix/i386/sigreturn.S: Likewise.
13482 * sysdeps/unix/i386/syscall.S: Likewise.
13483 * sysdeps/unix/i386/vfork.S: Likewise.
13484 * sysdeps/unix/i386/wait.S: Likewise.
13486 * sysdeps/unix/common/tcsendbrk.c: Move to ...
13487 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
13489 * configure.in (arm*-none*): Do not allow without
13490 --enable-hacker-mode.
13491 (netbsd*): Remove case setting base_os.
13492 (386bsd*): Likewise.
13493 (freebsd*): Likewise.
13496 (sunos*): Likewise.
13497 (ultrix*): Likewise.
13498 (newsos*): Likewise.
13499 (dynix*): Likewise.
13505 (minix*): Likewise.
13506 (irix4*): Likewise.
13507 (irix6*): Likewise.
13508 (solaris[2-9]*): Likewise.
13510 * configure: Regenerated.
13512 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13515 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
13516 overflow or cancellation in calculating denominator.
13517 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
13518 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
13519 down expression to avoid unexpected rounding in newer GCCs.
13520 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
13522 2012-04-26 David S. Miller <davem@davemloft.net>
13524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
13525 long-double compat symbols.
13526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
13530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
13532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
13533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
13534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
13535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
13536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
13537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
13538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13540 2012-04-25 David S. Miller <davem@davemloft.net>
13542 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
13543 HWCAP_* values only after the memory barriers have been defined.
13544 (atomic_full_barrier): Define.
13545 (atomic_read_barrier): Define.
13546 (atomic_write_barrier): Define.
13548 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13550 * shlib-versions: Add libgcc_s version information.
13551 * sysdeps/generic/libgcc_s.h: Remove.
13552 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
13554 * sysdeps/gnu/unwind-resume.c: Likewise.
13555 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
13557 2012-04-25 David S. Miller <davem@davemloft.net>
13559 * sysdeps/unix/sparc/brk.S: Delete.
13560 * sysdeps/unix/sparc/dl-brk.S: Delete.
13561 * sysdeps/unix/sparc/pipe.S: Delete.
13562 * sysdeps/unix/sparc/sysdep.S: Delete.
13563 * sysdeps/unix/sparc/sysdep.h: Delete.
13564 * sysdeps/unix/sparc/vfork.S: Delete.
13565 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
13566 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
13567 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
13568 ret_ERRVAL, r0, r1, MOVE): Define.
13569 (JUMPTARGET): Remove.
13570 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
13571 sysdeps/unix/sparc/sysdep.h
13572 (ENTRY, END): Remove.
13573 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13575 2012-04-25 Joseph Myers <joseph@codesourcery.com>
13577 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
13578 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
13581 * timezone/README: Update upstream location and email address for
13583 * timezone/zdump.c: Update from tzcode 2012b.
13584 * timezone/zic.c: Likewise.
13586 * configure.in (libc_cv_as_needed): Remove test.
13587 * configure: Regenerated.
13588 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
13589 conditional definition.
13590 [$(have-as-needed) != yes] (no-as-needed): Likewise.
13591 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
13592 * config.make.in (have-as-needed): Remove variable.
13594 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13595 Paul Pluzhnikov <ppluzhnikov@google.com>
13597 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
13600 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
13602 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
13603 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
13604 * sysdeps/sh/strlen.S: Likewise.
13606 2012-04-24 Joseph Myers <joseph@codesourcery.com>
13608 * sysdeps/unix/fork.S: Remove file.
13609 * sysdeps/unix/i386/fork.S: Likewise.
13610 * sysdeps/unix/sparc/fork.S: Likewise.
13612 * sysdeps/unix/system.c: Remove file.
13613 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
13615 * sysdeps/unix/getegid.S: Remove file.
13616 * sysdeps/unix/geteuid.S: Likewise.
13618 2012-04-24 Roland McGrath <roland@hack.frob.com>
13620 * scripts/check-localplt.awk: New file.
13621 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
13623 * scripts/data/localplt-generic.data: Add a comment.
13625 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
13626 NODE when __dir_mkfile failed.
13627 * sysdeps/mach/hurd/symlinkat.c: Likewise.
13628 Reported by Ludovic Courtès <ludo@gnu.org>.
13630 2012-04-24 Andreas Jaeger <aj@suse.de>
13632 * Makerules (common-clean): Also remove gen-as-const-headers
13635 2012-04-24 Joseph Myers <joseph@codesourcery.com>
13637 * Makerules (native-compile): Do not change working directory for
13638 build. Use $(OUTPUT_OPTION) in command.
13639 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
13641 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13644 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
13645 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
13646 * math/libm-test.inc (floor_test): Add more tests.
13647 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
13649 2012-04-24 Joseph Myers <joseph@codesourcery.com>
13651 * sysdeps/unix/getdents.c: Remove file.
13652 * sysdeps/unix/sysv/getdents.c: Likewise.
13653 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
13655 * sysdeps/unix/syscalls.list (madvise): Add syscall from
13656 sysdeps/unix/mman/syscalls.list.
13658 (mprotect): Likewise.
13660 (munmap): Likewise.
13661 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
13662 * sysdeps/unix/mman/syscalls.list: Remove.
13663 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
13665 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
13666 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
13667 * configure: Regenerated.
13668 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
13669 $(libgcc_s_suffix).
13670 * config.make.in (libgcc_s_suffix): Remove variable.
13672 2012-04-23 Joseph Myers <joseph@codesourcery.com>
13674 * sysdeps/unix/sysv/gethostname.c: Move to ...
13675 * sysdeps/posix/gethostname.c: ... here.
13677 * sysdeps/unix/execve.S: Remove file.
13679 * sysdeps/unix/_exit.S: Remove file.
13681 2012-04-23 Andreas Jaeger <aj@suse.de>
13684 * manual/Makefile: Remove make dist support, there's no
13685 need for a stand-alone documentation tar ball.
13686 (TEXI2DVI): Define always, it's not in Makeconfig.
13689 (edition): Removed.
13690 (glibc-doc-$(edition).tar): Removed
13694 (ETAGS): Remove, it's in Makeconfig.
13695 (move-if-change): Remove, it's in Makeconfig.
13697 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
13700 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
13701 (strtod, strtof, strtold, strtol, strtoul, strtoq)
13702 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
13703 (strtod_l, strtof_l, strtold_l): Remove __wur.
13704 It is not necessarily an error to ignore strtol's return value.
13705 One can reliably look at the stored endptr to decide whether
13706 the number had valid syntax.
13708 2012-04-21 Andreas Jaeger <aj@suse.de>
13711 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
13713 2012-04-21 Joseph Myers <joseph@codesourcery.com>
13715 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
13716 * sysdeps/unix/sysv/Versions: Remove file.
13718 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
13721 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13723 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
13726 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
13727 version from __vm86.
13729 2012-04-20 Joseph Myers <joseph@codesourcery.com>
13731 * sysdeps/unix/common/lxstat.c: Remove file.
13732 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
13734 * sysdeps/unix/sysv/Makefile: Remove file.
13736 * sysdeps/unix/sysv/direct.h: Remove file.
13738 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
13739 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
13740 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
13741 * sysdeps/unix/sysv/bits/signum.h: Likewise.
13742 * sysdeps/unix/sysv/bits/stat.h: Likewise.
13743 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
13744 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
13746 * sysdeps/unix/sysv/setrlimit.c: Remove file.
13748 * sysdeps/unix/xmknod.c: Remove file.
13749 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
13751 * sysdeps/unix/sysv/settimeofday.c: Remove file.
13753 * sysdeps/unix/sysv/i386/time.S: Remove file.
13755 * sysdeps/unix/fxstat.c: Remove file.
13756 * sysdeps/unix/xstat.c: Likewise.
13757 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
13759 * sysdeps/unix/sysv/sigaction.c: Remove file.
13761 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
13762 (sysdep_headers): Remove variable.
13763 [termio.h not in sysdep_headers] (generated): Likewise.
13764 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
13765 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
13766 * sysdeps/unix/sysv/tcdrain.c: Likewise.
13767 * sysdeps/unix/sysv/tcflow.c: Likewise.
13768 * sysdeps/unix/sysv/tcflush.c: Likewise.
13769 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
13770 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
13771 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
13772 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
13773 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
13775 * sysdeps/unix/siglist.c: Remove file.
13777 * sysdeps/unix/getppid.S: Remove file.
13779 * sysdeps/unix/mkdir.c: Remove file.
13780 * sysdeps/unix/rmdir.c: Likewise.
13782 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
13784 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
13786 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
13787 errlist-compat value.
13789 2012-04-18 David S. Miller <davem@davemloft.net>
13791 * sysdeps/generic/memcopy.h (reg_char): Delete.
13792 * debug/strcat_chk.c: Use char, not reg_char.
13793 * debug/strcpy_chk.c: Likewise.
13794 * debug/strncat_chk.c: Likewise.
13795 * debug/strncpy_chk.c: Likewise.
13796 * string/memchr.c: Likewise.
13797 * string/memrchr.c: Likewise.
13798 * string/rawmemchr.c: Likewise.
13799 * string/strcat.c: Likewise.
13800 * string/strchr.c: Likewise.
13801 * string/strchrnul.c: Likewise.
13802 * string/strcmp.c: Likewise.
13803 * string/strcpy.c: Likewise.
13804 * string/strncat.c: Likewise.
13805 * string/strncmp.c: Likewise.
13806 * string/strncpy.c: Likewise.
13808 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13810 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
13811 __builtin_memcopy is called when src and dest ranges are known to not
13814 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13816 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
13817 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
13818 fwd_align_merge macro call.
13819 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
13820 bwd_align_merge macro call.
13821 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13823 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13825 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
13826 bwd_align_merge macros.
13827 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
13828 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
13829 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13831 2012-04-18 David S. Miller <davem@davemloft.net>
13833 * sysdeps/sparc/sparc64/memcopy.h: Delete.
13835 2012-04-18 Andreas Jaeger <aj@suse.de>
13838 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
13839 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
13840 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13842 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
13843 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
13844 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13846 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
13847 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
13848 Adjust for changed ldbl-128 files.
13850 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
13851 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
13852 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13854 2012-04-17 David S. Miller <davem@davemloft.net>
13856 * sysdeps/sparc/sparc32/memcopy.h: Delete.
13858 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
13860 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
13861 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
13862 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
13863 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
13864 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13865 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
13867 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13870 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
13871 * math/libm-test.inc: Add ilogb errno and exception tests.
13872 * math/w_ilogb.c: New file: ilogb wrapper.
13873 * math/w_ilogbf.c: New file: ilogbf wrapper.
13874 * math/w_ilogbl.c: New file: ilogbl wrapper.
13875 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
13876 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
13877 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
13878 exception being thrown with 0.0 as argument.
13879 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
13880 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
13881 exception being thrown with 0.0 as argument.
13882 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
13883 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13884 exception being thrown with 0.0 as argument.
13885 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
13886 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13887 exception being thrown with 0.0 as argument.
13888 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
13889 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
13890 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
13891 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
13892 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
13893 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
13894 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
13895 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
13896 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
13898 2012-04-17 Petr Baudis <pasky@ucw.cz>
13900 * include/sys/uio.h: Change __vector to __iovec to avoid clash
13903 2012-04-16 Marek Polacek <polacek@redhat.com>
13905 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
13907 2012-04-16 Marek Polacek <polacek@redhat.com>
13909 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
13910 operands of fdivp instruction.
13912 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13914 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
13915 * elf/tst-auditmod3b.c: Likewise.
13916 * elf/tst-auditmod4b.c: Likewise.
13917 * elf/tst-auditmod5b.c: Likewise.
13918 * elf/tst-auditmod6b.c: Likewise.
13919 * elf/tst-auditmod6c.c: Likewise.
13920 * elf/tst-auditmod7b.c: Likewise.
13921 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
13922 * sysdeps/x86_64/preconfigure.in: Likewise.
13923 * sysdeps/x86_64/preconfigure: Regenerated.
13925 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13927 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
13930 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
13932 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13933 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
13935 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
13938 * locale/iso-639.def: Fix gl language name. Spotted by
13941 2012-04-12 Roland McGrath <roland@hack.frob.com>
13944 * libio/libio.h (__io_write_fn): Update comment.
13946 2012-04-12 Petr Baudis <pasky@ucw.cz>
13949 * stdio.texi (Hook Functions): The user provided writer function
13950 is not allowed to return -1.
13952 2012-04-11 David S. Miller <davem@davemloft.net>
13954 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13956 2012-04-11 Mike Frysinger <vapier@gentoo.org>
13958 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
13959 Add a leading slash to rtkaio.
13961 2012-04-11 Jim Meyering <meyering@redhat.com>
13964 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
13965 It is not necessarily an error to ignore fwrite's return
13966 value. One can reliably use ferror to test for errors after
13969 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13971 * bits/types.h (__snseconds_t): New type.
13972 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
13974 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
13975 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13976 (__SNSECONDS_T_TYPE): Likewise.
13977 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13978 (__SNSECONDS_T_TYPE): Likewise.
13979 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13980 (__SNSECONDS_T_TYPE): Likewise.
13982 2012-04-10 Andreas Jaeger <aj@suse.de>
13985 * manual/time.texi (Processor Time): Return type of times is
13986 elapsed real time since an arbitrary point in the past.
13987 (CPU Time): Move CLK_TCK from here...
13988 (Processor Time): ...to here. Correct description.
13989 * manual/conf.texi (Constants for Sysconf): Correct description of
13992 2012-04-10 David S. Miller <davem@davemloft.net>
13995 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
13996 where the is a gap between DT_REL(A) and DT_JMPREL.
13998 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14000 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
14001 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14002 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14004 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14006 * elf/dl-support.c (_dl_inhibit_cache): New variable.
14007 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
14008 (dl_main): Handle --inhibit-cache.
14009 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
14011 * elf/dl-load.c (_dl_map_object): Use it.
14012 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
14014 2012-04-09 Joseph Myers <joseph@codesourcery.com>
14017 * sysdeps/i386/fpu/e_powl.S (p78): New object.
14018 (__ieee754_powl): Saturate large exponents rather than testing for
14019 overflow of y*log2(x).
14020 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14021 * math/libm-test.inc (pow_test): Do not permit spurious overflow
14025 * math/s_ctan.c: Include <float.h>.
14026 (__ctan): Avoid internal overflow or cancellation in calculating
14028 * math/s_ctanf.c: Likewise.
14029 * math/s_ctanl.c: Likewise.
14030 * math/s_ctanh.c: Likewise.
14031 * math/s_ctanhf.c: Likewise.
14032 * math/s_ctanhl.c: Likewise.
14033 * math/libm-test.inc (ctan_test): Add more tests.
14034 (ctanh_test): Likewise.
14035 * sysdeps/i386/fpu/libm-test-ulps: Update.
14036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14038 2012-04-09 Andreas Jaeger <aj@suse.de>
14041 * manual/filesys.texi (Directory Entries): Mention that d_namlen
14042 is an optional BSD extension.
14045 * manual/stdio.texi (Opening Streams): Document additional fopen
14048 2012-04-09 Roland McGrath <roland@hack.frob.com>
14050 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
14051 %eax without telling the compiler.
14053 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
14056 * manual/install.texi: Use sourceware.org.
14058 2012-04-09 Joseph Myers <joseph@codesourcery.com>
14061 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
14062 (__ieee754_pow): Generate overflow and underflow using huge*huge
14063 and tiny*tiny rather than just returning constant infinity or zero
14064 for large exponents.
14065 * math/libm-test.inc (pow_test): Require overflow exceptions for
14066 applicable cases of large exponents.
14069 * sysdeps/i386/fpu/e_pow.S (p10): New object.
14070 (__ieee754_pow): Use iterative multiplication algorithm only for
14071 integer exponents with absolute value below 1024. Check for odd
14072 integer exponents when using algorithm for real exponents.
14073 * math/libm-test.inc (pow_test): Add more tests.
14074 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14076 2012-04-08 Joseph Myers <joseph@codesourcery.com>
14079 * math/libm-test.inc (exp_test): Do not allow overflow exception
14082 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
14085 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
14086 instead of __kernel_standard_f.
14088 2012-04-08 Mike Frysinger <vapier@gentoo.org>
14090 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
14091 * sysdeps/x86_64/memset_chk.S: Likewise.
14093 2012-04-08 Andreas Jaeger <aj@suse.de>
14096 * manual/startup.texi (Environment Access): Describe return value
14097 for putenv and setenv.
14100 * manual/filesys.texi (Directory Entries): Add description for
14104 * manual/filesys.texi (Directory Entries): Clarify that it's file
14105 system not operating system in the description of DT_UNKNOWN.
14108 * manual/syslog.texi (closelog): Fix reference, it's openlog.
14110 2012-04-08 Stephen Compall <s11@member.fsf.org>
14113 * manual/llio.texi (Opening and Closing Files): Add cross
14114 reference to explain mode argument.
14116 2012-04-07 Mike Frysinger <vapier@gentoo.org>
14118 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
14119 * sysdeps/x86_64/memset_chk.S: Likewise.
14121 2012-04-07 David S. Miller <davem@davemloft.net>
14123 * elf/elf.h (R_SPARC_WDISP10): Define.
14124 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
14126 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
14127 R_SPARC_SIZE64 and R_SPARC_H34.
14129 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
14131 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
14132 conditions and remove no longer applicable assertion.
14134 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14136 * bits/byteswap.h: Include <features.h>.
14137 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14138 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14140 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14142 * bits/byteswap.h (__bswap_16): Removed.
14143 Include <bits/byteswap-16.h> to get __bswap_16.
14144 * sysdeps/i386/bits/byteswap.h: Likewise.
14145 * sysdeps/s390/bits/byteswap.h: Likewise.
14146 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14147 * bits/byteswap-16.h: New file.
14148 * sysdeps/i386/bits/byteswap-16.h: Likewise.
14149 * sysdeps/s390/bits/byteswap-16.h: Likewise.
14150 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
14151 * string/Makefile (headers): Add bits/byteswap-16.h.
14153 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14156 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
14158 * nss/Makefile (tests-static, tests): Add tst-nss-static.
14159 * nss/tst-nss-static.c: New.
14161 2012-04-06 Robert Millan <rmh@gnu.org>
14164 * manual/llio.texi (File Position Primitive): lseek
14165 refers to WHENCE when it really means OFFSET.
14167 2012-04-06 Andreas Jaeger <aj@suse.de>
14169 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
14170 strncmp declarations.
14172 * abilist/libc.abilist: Add __poll and __ppoll.
14174 2012-04-05 David S. Miller <davem@davemloft.net>
14176 * scripts/check-local-headers.sh: Accept a host triplet in the
14177 path matched by the exclude regexp.
14179 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
14181 * sysdeps/powerpc/powerpc32/dl-machine.h
14182 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
14183 * sysdeps/s390/s390-32/dl-machine.h
14184 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14185 * sysdeps/sparc/sparc32/dl-machine.h
14186 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14187 * sysdeps/sparc/sparc64/dl-machine.h
14188 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14190 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
14192 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
14193 undefined symbol errors.
14195 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
14198 2012-04-05 Michael Matz <matz@suse.de>
14201 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
14203 2012-04-05 Andreas Jaeger <aj@suse.de>
14206 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
14209 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14211 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
14212 which ROUND is no valid rounding mode.
14214 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14216 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
14218 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
14220 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14222 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
14223 an exception using FPU order intentionally.
14225 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14227 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
14228 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
14229 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
14230 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
14232 2012-04-05 Simon Josefsson <simon@josefsson.org>
14235 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
14236 EINVAL when BUFLEN is too smal.
14238 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
14241 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
14242 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
14244 2012-04-03 Andreas Jaeger <aj@suse.de>
14247 * manual/setjmp.texi (System V contexts): Fix sentence.
14250 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
14251 New macro for this case.
14252 [!__GNUC__] (__bswap_64): New inline function for this case.
14253 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14254 * bits/byteswap.h: Likewise.
14255 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
14256 ull, guard with __GLIBC_HAVE_LONG_LONG.
14258 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
14259 __GLIBC_HAVE_LONG_LONG.
14261 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
14262 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
14264 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14267 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
14268 inptr and inend, rather than using last_ch.
14270 2012-04-02 David S. Miller <davem@davemloft.net>
14272 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
14273 * stdio-common/printf-parse.h (read_int): Change return type to
14274 'int', return -1 on INT_MAX overflow.
14275 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
14276 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
14277 overflows INT_MAX. Check for overflow of in-format-string precision
14278 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
14279 SIZE_MAX not INT_MAX for integer overflow test.
14280 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
14281 skip the construct in the format string but do not record anything.
14282 * stdio-common/bug22.c: Adjust to test both width/prevision
14283 INT_MAX overflow as well as total length INT_MAX overflow. Check
14284 explicitly for proper errno values.
14286 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
14288 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
14290 * string/test-strcmp.c [! WIDE]: Likewise.
14291 * time/tst-mktime2.c: Likewise for INT_MAX.
14292 * string/test-string.h: #include <sys/param.h> for MIN.
14294 * csu/init-first.c (__libc_init_first): Call __ctype_init.
14295 * sysdeps/i386/init-first.c (init): Likewise.
14296 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
14297 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
14298 * sysdeps/sh/init-first.c (init): Likewise.
14300 2012-04-01 Ulrich Drepper <drepper@gmail.com>
14302 * po/ru.po: Update from translation team.
14303 * po/vi.po: Likewise.
14305 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14307 * resolv/nss_dns/dns-host.c: Merge copyright years.
14309 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14311 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14312 Optimize memcpy with prefetch if
14313 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
14314 src, dst pointers have unequal 16 byte alignments.
14316 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14319 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
14320 from a CNAME entry and return the minimum ttl for the query.
14321 (gaih_getanswer_slice): Likewise.
14323 2012-03-30 Jeff Law <law@redhat.com>
14325 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
14327 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
14328 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14330 * resolv/nss_dns/dns-host.c: Update copyright year.
14332 2012-03-30 Ulrich Drepper <drepper@gmail.com>
14334 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
14335 requests to save a system call. Fix check that all bytes are sent.
14337 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
14338 comments for sendmmsg.
14340 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14343 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
14344 with only 1 character between 0x0041 and 0x01b0.
14345 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
14346 * wcsmbs/tst-mbsnrtowcs.c: New file.
14348 2012-03-29 David S. Miller <davem@davemloft.net>
14350 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
14351 small copies by hand.
14353 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14356 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
14357 _nss_compat_initgroups_dyn): Fall back to malloc/free
14358 for large group memberships.
14360 2012-03-28 David S. Miller <davem@davemloft.net>
14362 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
14363 that branches into memcpy.
14364 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14365 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
14366 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
14367 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
14368 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
14370 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
14371 implementation too.
14372 * sysdeps/sparc/mempcpy.S: New file.
14374 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
14375 the IFUNC routine in the libc case.
14376 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14378 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
14379 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
14380 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
14381 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
14382 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
14383 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
14384 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
14385 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
14387 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
14388 loop to 256 bytes instead of 64 bytes and fix test signedness.
14390 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
14391 * sysdeps/sparc/sparc32/Makefile: rather than here...
14392 * sysdeps/sparc/sparc64/Makefile: and here.
14394 2012-03-28 Ulrich Drepper <drepper@gmail.com>
14396 * malloc/mallocbug.c: Avoid warnings about unused variables.
14398 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14401 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
14402 in the right place. Discard and retry query if response is
14403 larger than input buffer size.
14405 2012-03-28 Joseph Myers <joseph@codesourcery.com>
14410 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
14411 x for large integer exponent.
14412 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14413 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
14414 sign of result as needed afterwards.
14415 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14416 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
14417 result for underflowing pow the same as for overflow.
14418 (__kernel_standard_l): Handle powl overflow and underflow here
14419 rather than calling __kernel_standard.
14420 * math/libm-test.inc (pow_test): Add more tests.
14435 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
14436 * sysdeps/ieee754/k_standard.c: Include <float.h>.
14437 (__kernel_standard_l): New function.
14438 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
14440 * math/w_acosl.c (__acosl): Likewise.
14441 * math/w_asinl.c (__asinl): Likewise.
14442 * math/w_atan2l.c (__atan2l): Likewise.
14443 * math/w_atanhl.c (__atanhl): Likewise.
14444 * math/w_coshl.c (__coshl): Likewise.
14445 * math/w_exp10l.c (__exp10l): Likewise.
14446 * math/w_exp2l.c (__exp2l): Likewise.
14447 * math/w_fmodl.c (__fmodl): Likewise.
14448 * math/w_hypotl.c (__hypotl): Likewise.
14449 * math/w_j0l.c (__j0l, __y0l): Likewise.
14450 * math/w_j1l.c (__j1l, __y1l): Likewise.
14451 * math/w_jnl.c (__jnl, __ynl): Likewise.
14452 * math/w_lgammal.c (__lgammal): Likewise.
14453 * math/w_log10l.c (__log10l): Likewise.
14454 * math/w_log2l.c (__log2l): Likewise.
14455 * math/w_logl.c (__logl): Likewise.
14456 * math/w_powl.c (__powl): Likewise.
14457 * math/w_remainderl.c (__remainderl): Likewise.
14458 * math/w_scalbl.c (sysv_scalbl): Likewise.
14459 * math/w_sinhl.c (__sinhl): Likewise.
14460 * math/w_sqrtl.c (__sqrtl): Likewise.
14461 * math/w_tgammal.c (__tgammal): Likewise.
14462 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
14463 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
14464 * math/libm-test.inc (acos_test): Add more tests.
14465 (acosh_test): Likewise.
14466 (asin_test): Likewise.
14467 (atanh_test): Likewise.
14468 (exp_test): Likewise.
14469 (exp10_test): Likewise.
14470 (exp2_test): Likewise.
14471 (expm1_test): Likewise.
14472 (lgamma_test): Likewise.
14473 (log_test): Likewise.
14474 (log10_test): Likewise.
14475 (log1p_test): Likewise.
14476 (log2_test): Likewise.
14477 (pow_test): Do not allow some spurious overflow exceptions.
14478 (sqrt_test): Add more tests.
14479 (tgamma_test): Likewise.
14480 (y0_test): Likewise.
14481 (y1_test): Likewise.
14482 (yn_test): Likewise.
14484 2012-03-27 Anton Blanchard <anton@samba.org>
14486 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
14488 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14489 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14490 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14492 2012-03-27 David S. Miller <davem@davemloft.net>
14494 * conform/Makefile: Run run-conformtest.sh using $(BASH).
14496 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
14497 have-as-vis3 check.
14499 2012-03-27 Andreas Jaeger <aj@suse.de>
14501 * sysdeps/x86_64/elf/configure.in: Moved to ...
14502 * sysdeps/x86_64/configure.in: ... here.
14503 * sysdeps/x86_64/elf/start.S: Moved to ...
14504 * sysdeps/x86_64/start.S: ... here.
14505 * sysdeps/x86_64/elf/configure: Delete.
14507 * sysdeps/x86_64/configure.in: Merge contents from
14508 sysdeps/i386/configure.in (without i686 check).
14510 * sysdeps/i386/elf/Versions: Merge into ...
14511 * sysdeps/i386/Versions: ... this.
14512 * sysdeps/i386/elf/Versions: Delete file.
14513 * sysdeps/i386/elf/start.S: Moved to ...
14514 * sysdeps/i386/start.S: ...here.
14515 * sysdeps/i386/elf/configure.in: Merge into...
14516 * sysdeps/i386/configure.in: ...here.
14517 * sysdeps/i386/elf/configure.in: Delete file.
14518 * sysdeps/i386/elf/configure: Delete file.
14520 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
14521 * debug/backtracesyms.c: ... here.
14522 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
14523 * debug/backtracesymsfd.c: ... here.
14524 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
14525 * sysdeps/generic/ifunc-sel.h: ... here.
14527 * sysdeps/unix/i386/start.c: Delete file.
14528 * sysdeps/unix/sparc/start.c: Delete file.
14529 * sysdeps/unix/start.c: Delete file.
14531 * sysdeps/sh/elf/configure.in: Moved to ...
14532 * sysdeps/sh/configure.in: ... here.
14533 * sysdeps/sh/elf/start.S: Moved to ...
14534 * sysdeps/sh/start.S: ... here.
14535 * sysdeps/sh/elf/configure: Delete file.
14537 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
14538 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
14539 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
14540 * sysdeps/powerpc/powerpc64/entry.h: ... here.
14541 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
14542 * sysdeps/powerpc/powerpc64/start.S: here.
14543 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
14544 * sysdeps/powerpc/powerpc64/Makefile: ... this.
14545 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
14546 * sysdeps/powerpc/powerpc64/configure.in: ... this.
14547 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
14549 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
14550 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
14551 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
14552 * sysdeps/powerpc/powerpc32/start.S: ... here.
14553 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
14554 * sysdeps/powerpc/powerpc32/configure.in: ... this.
14555 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
14557 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
14558 * sysdeps/powerpc/ifunc-sel.h: ... here.
14559 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
14560 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
14562 * sysdeps/sparc/elf/configure.in: Moved to ...
14563 * sysdeps/sparc/configure.in: ... here.
14564 * sysdeps/sparc/elf/configure: Delete file.
14565 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
14566 * sysdeps/sparc/sparc32/start.S: ... here.
14567 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
14568 * sysdeps/sparc/sparc64/start.S: ... here.
14569 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
14570 * sysdeps/sparc/sparc32/Makefile: ... this.
14571 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
14572 * sysdeps/sparc/sparc64/Makefile: ... this.
14574 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
14575 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
14576 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
14577 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
14578 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
14579 * sysdeps/s390/s390-32/setjmp.S: ... here.
14580 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
14581 * sysdeps/s390/s390-32/configure.in: ... here.
14582 * sysdeps/s390/s390-32/elf/configure: Delete file.
14583 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
14584 * sysdeps/s390/s390-32/start.S: ... here.
14586 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
14587 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
14588 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
14589 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
14590 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
14591 * sysdeps/s390/s390-64/setjmp.S: ... here.
14592 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
14593 * sysdeps/s390/s390-64/configure.in: ... here
14594 * sysdeps/s390/s390-64/elf/configure: Delete file.
14595 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
14596 * sysdeps/s390/s390-64/start.S: ... here.
14597 * sysdeps/s390/s390-64/elf/configure: Delete.
14599 * configure.in: Remove support for elf directories in sysdeps.
14601 * configure: Regenerated.
14602 * sysdeps/i386/configure: Regenerated.
14603 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14604 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14605 * sysdeps/s390/s390-32/configure: Regenerated.
14606 * sysdeps/s390/s390-64/configure: Regenerated.
14607 * sysdeps/sh/configure: Regenerated.
14608 * sysdeps/sparc/configure: Regenerated.
14609 * sysdeps/x86_64/configure: Regenerated.
14611 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
14613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14615 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
14616 denormal result into account.
14618 2012-03-25 Roland McGrath <roland@hack.frob.com>
14620 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
14621 Reported by Allan McRae <allan@archlinux.org>.
14623 2012-03-23 Jeff Law <law@redhat.com>
14625 * nss/getnssent.c (__nss_getent): Fix typo.
14627 2012-03-23 David S. Miller <davem@davemloft.net>
14629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14631 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
14633 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
14634 to pad to uint64_t for each field.
14635 (dl_tls_index): Replace unsigned long with uint64_t.
14637 2012-03-23 Daniel Jacobowitz <dmj@google.com>
14638 Paul Pluzhnikov <ppluzhnikov@google.com>
14641 * grp/Makefile (otherlibs): Don't set it.
14642 * inet/Makefile (otherlibs): Likewise.
14643 * login/Makefile (otherlibs): Likewise.
14644 * nscd/Makefile (otherlibs): Likewise.
14645 * posix/Makefile (otherlibs): Likewise.
14646 * pwd/Makefile (otherlibs): Likewise.
14647 * rt/Makefile (otherlibs): Likewise.
14648 * sunrpc/Makefile (otherlibs): Likewise.
14649 * nss/Makefile (otherlibs): Likewise.
14650 Add libnss_files to routines and static-only-routines.
14651 ($(objpfx)getent): Remove rule.
14652 * resolv/Makefile: Add libnss_dns and libresolv to routines and
14653 static-only-routines.
14655 2012-03-22 Joseph Myers <joseph@codesourcery.com>
14658 * math/s_cexp.c: Include <float.h>.
14659 (__cexp): Handle exp result overflowing not necessarily
14660 overflowing both real and imaginary parts of result.
14661 * math/s_cexpf.c: Likewise.
14662 * math/s_cexpl.c: Likewise.
14663 * math/libm-test.inc (cexp_test): Add more tests.
14664 * sysdeps/i386/fpu/libm-test-ulps: Update.
14665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14667 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14669 * include/link.h (ELFW): New macro.
14670 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
14671 Replace ELF64_R_TYPE with ELFW(R_TYPE).
14673 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14675 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
14678 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14680 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
14682 (struct La_x32_retval): Likewise.
14684 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14686 * sysdeps/x86_64/preconfigure.in: New file.
14687 * sysdeps/x86_64/preconfigure: New generated file.
14689 2012-03-22 Joseph Myers <joseph@codesourcery.com>
14692 * math/e_exp2l.c: Include <float.h>.
14693 (__ieee754_exp2l): Handle overflow and underflow cases
14694 separately. Only pass fractional part of argument to
14696 * math/libm-test.inc (exp2_test): Add more tests.
14698 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
14699 negating x to take absolute value.
14700 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14702 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14703 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14705 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
14706 computing low part if x was negated.
14707 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14709 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14711 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
14712 la_x32_gnu_pltexit.
14713 (pltexit): Cast int_retval to ptrdiff_t.
14714 * elf/tst-auditmod3b.c: Likewise.
14715 * elf/tst-auditmod4b.c: Likewise.
14716 * elf/tst-auditmod5b.c: Likewise.
14717 * elf/tst-auditmod6b.c: Likewise.
14718 * elf/tst-auditmod6c.c: Likewise.
14719 * elf/tst-auditmod7b.c: Likewise.
14721 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
14722 and x32_gnu_pltexit.
14724 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
14725 __ELF_NATIVE_CLASS.
14726 (La_x32_regs): New macro.
14727 (La_x32_retval): Likewise.
14728 (la_x32_gnu_pltenter): New function prototype.
14729 (la_x32_gnu_pltexit): Likewise.
14731 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
14733 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
14736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14738 * configure.in (libc_cv_cc_nofma): Check for option to disable
14739 generation of FMA instructions.
14740 * configure: Regenerate.
14741 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
14742 * sysdeps/ieee754/dbl-64/Makefile: New file.
14743 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14744 Remove brandred-fma4.
14745 (CFLAGS-brandred-fma4.c): Remove.
14746 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
14747 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
14749 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
14752 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14754 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14755 LLONG_MAX != LONG_MAX.
14756 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14757 (_fitoa_word): Likewise.
14758 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
14759 LLONG_MAX != LONG_MAX.
14760 * stdio-common/_itowa.h: Include <_itoa.h>.
14761 (_itowa_word): Use _ITOA_WORD_TYPE on value.
14762 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
14763 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
14764 only if not defined.
14765 (_ITOA_WORD_TYPE): Likewise.
14766 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14767 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
14769 2012-03-21 David S. Miller <davem@davemloft.net>
14771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14773 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14775 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
14776 of x86_64 when setting libc_cv_slibdir, libdir and
14778 * sysdeps/unix/sysv/linux/configure: Regenerated.
14780 2012-03-21 Joseph Myers <joseph@codesourcery.com>
14782 * manual/lang.texi (Old Varargs): Remove section.
14783 (How Variadic): Update menu.
14784 (va_start): Do not mention varargs.h.
14786 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14787 Joseph Myers <joseph@codesourcery.com>
14789 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
14791 * configure: Regenerated.
14793 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14795 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
14796 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
14799 2012-03-21 Joseph Myers <joseph@codesourcery.com>
14802 * Makefile (files-for-dist): Remove NOTES.
14803 (NOTES): Remove rule.
14804 * README: Don't refer to NOTES.
14805 * manual/creature.texi: Don't include macros.texi.
14806 * manual/intro.texi (creature.texi): Remove comment referring to
14809 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
14810 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
14811 * configure: Regenerated.
14812 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
14813 LIBC_TRY_CC_OPTION.
14814 (libc_cv_as_i686): Likewise.
14815 (libc_cv_cc_avx): Likewise.
14816 (libc_cv_cc_sse2avx): Likewise.
14817 (libc_cv_cc_fma4): Likewise.
14818 (libc_cv_cc_novzeroupper): Likewise.
14819 * sysdeps/i386/configure: Regenerated.
14822 * sysdeps/i386/fpu/s_cexp.S: Remove.
14823 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14824 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14825 * math/libm-test.inc (cexp_test): Add more tests.
14826 * sysdeps/i386/fpu/libm-test-ulps: Update.
14827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14829 2012-03-21 Allan McRae <allan@archlinux.org>
14831 * timezone/Makefile: Do not install iso3166.tab and zone.tab
14833 2012-03-21 Joseph Myers <joseph@codesourcery.com>
14836 * math/w_exp2.c: Do not include <float.h>.
14837 (o_threshold, u_threshold): Remove.
14838 (__exp2): Calculate result before checking finiteness and calling
14840 * math/w_exp2f.c: Likewise.
14841 * math/w_exp2l.c: Likewise.
14842 * math/libm-test.inc (exp2_test): Require overflow exception for
14846 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
14847 range of signed 64-bit integers before using fistpll. Remove
14848 checks for whether integers fit in mantissa bits.
14849 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
14850 the range of signed 32-bit integers before using fistpl. Remove
14851 checks for whether integers fit in mantissa bits.
14852 * sysdeps/i386/fpu/e_powl.S (p64): New object.
14853 (__ieee754_powl): Test for y outside the range of signed 64-bit
14854 integers before using fistpll. Reduce 64-bit values to 63-bit
14856 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
14857 divide-by-zero is raised for zero to large negative powers.
14858 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
14859 (__ieee754_powl): Test for y outside the range of signed 64-bit
14860 integers before using fistpll. Reduce 64-bit values to 63-bit
14862 * math/libm-test.inc (pow_test): Add more tests.
14864 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14866 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
14867 <stdio-common/_itoa.h>.
14868 * debug/segfault.c: Likewise.
14869 * elf/dl-cache.c: Likewise.
14870 * elf/dl-minimal.c: Likewise.
14871 * elf/dl-misc.c: Likewise.
14872 * elf/dl-sysdep.c: Likewise.
14873 * elf/dl-version.c: Likewise.
14874 * elf/rtld.c: Likewise.
14875 * hurd/hurdsock.c: Likewise.
14876 * hurd/lookup-retry.c: Likewise.
14877 * malloc/malloc.c: Likewise.
14878 * malloc/mtrace.c: Likewise.
14879 * nscd/nscd_getgr_r.c: Likewise.
14880 * nscd/nscd_getpw_r.c: Likewise.
14881 * nscd/nscd_getserv_r.c: Likewise.
14882 * posix/getopt_init.c: Likewise.
14883 * posix/wordexp.c: Likewise.
14884 * stdio-common/_itoa.c: Likewise.
14885 * stdio-common/printf_fphex.c: Likewise.
14886 * stdio-common/vfprintf.c: Likewise.
14887 * string/_strerror.c: Likewise.
14888 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
14889 * sysdeps/i386/i686/hp-timing.h: Likewise.
14890 * sysdeps/mach/_strerror.c: Likewise.
14891 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
14892 * sysdeps/mach/hurd/sethostid.c: Likewise.
14893 * sysdeps/mach/hurd/xmknodat.c: Likewise.
14894 * sysdeps/mach/xpg-strerror.c: Likewise.
14895 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14896 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14897 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
14898 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
14899 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14900 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
14901 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14902 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14903 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
14904 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
14905 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
14906 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14907 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
14908 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14909 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14910 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
14911 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
14912 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
14913 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14914 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14915 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
14917 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
14919 * stdio-common/_itoa.h: Moved to ...
14920 * sysdeps/generic/_itoa.h: Here.
14922 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
14924 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
14925 instead of "_itoa.h" and "_itowa.h".
14926 * stdio-common/vfprintf.: Likewise.
14928 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14930 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
14932 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
14933 (__signbit): Likwise.
14934 (llrintf): Likwise.
14937 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14939 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
14942 2012-03-20 Joseph Myers <joseph@codesourcery.com>
14944 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
14945 OVERFLOW_EXCEPTION_OK.
14946 * math/libm-test.inc ("Philosophy"): Update comment about
14948 (OVERFLOW_EXCEPTION): Define.
14949 (OVERFLOW_EXCEPTION_OK): Likewise.
14950 (INVALID_EXCEPTION_OK): Renumber.
14951 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14952 (IGNORE_ZERO_INF_SIGN): Likewise.
14953 (test_exceptions): Handle FE_OVERFLOW.
14954 (exp10_test): Expect overflow exceptions.
14955 (exp2_test): Likewise.
14956 (expm1_test): Likewise.
14957 (nextafter_test): Likewise.
14958 (pow_test): Likewise.
14959 (scalbn_test): Likewise.
14960 (scalbln_test): Likewise.
14962 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14964 * sysdeps/x86_64/bits/atomic.h
14965 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
14967 (atomic_exchange_acq): Likewise.
14968 (__arch_exchange_and_add_body): Likewise.
14969 (__arch_add_body): Likewise.
14970 (atomic_add_negative): Likewise.
14971 (atomic_add_zero): Likewise.
14973 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14975 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
14976 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
14978 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14980 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
14981 Check __x86_64__ instead of __WORDSIZE.
14983 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14985 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
14987 2012-03-19 David S. Miller <davem@davemloft.net>
14989 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14991 * sysdeps/sparc/fpu/fenv_private.h: New file.
14992 * sysdeps/sparc/fpu/math_private.h: Use it.
14993 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
14995 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
14996 (libc_feholdexcept_setroundl): Remove.
14997 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
14999 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
15000 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
15002 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15004 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
15005 int64_t instead of long int.
15006 (INSERT_WORDS64): Likwise.
15008 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15010 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
15011 _Unwind_GetCFA return to _Unwind_Ptr first.
15013 2012-03-19 Joseph Myers <joseph@codesourcery.com>
15016 * math/s_clog.c: Include <float.h>.
15017 (__clog): Scale large or subnormal inputs.
15018 * math/s_clogf.c: Likewise.
15019 * math/s_clogl.c: Likewise.
15020 * math/s_clog10.c: Include <float.h>.
15021 (M_LOG10_2): Define.
15022 (__clog10): Scale large or subnormal inputs.
15023 * math/s_clog10f.c: Likewise.
15024 * math/s_clog10l.c: Likewise.
15025 * math/libm-test.inc (clog_test): Add more tests.
15026 (clog10_test): Likewise.
15027 * sysdeps/i386/fpu/libm-test-ulps: Update.
15028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15031 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
15033 * math/libm-test.inc (atan2_test): Add another test.
15035 * Makerules (common-objdir-compile): Remove.
15036 * sysdeps/unix/Makefile (config-generated): Do not add
15037 $(unix-generated) to variable.
15038 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
15039 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
15041 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
15043 [generic bits/local_lim.h] (before-compile): Do not append to
15045 [generic bits/local_lim.h] (common-generated): Likewise.
15046 [generic sys/param.h] (before-compile): Do not append to variable.
15047 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
15048 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
15049 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
15050 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
15052 [generic sys/param.h] (sys/param.h-includes): Remove variable.
15053 [generic sys/param.h] (sys/param.h-includes): Remove rule.
15054 [generic sys/param.h] ($(addprefix
15055 $(common-objpfx),$(sys/param.h-includes))): Likewise.
15056 [generic sys/param.h] (common-generated): Do not append to
15058 [generic sys/param.h] (sysdep_headers): Likewise.
15059 [generic bits/errno.h] (before-compile): Do not append to
15061 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
15063 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
15064 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
15065 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
15066 [generic bits/errno.h] (common-generated): Do not append to
15068 [generic bits/ioctls.h] (before-compile): Do not append to
15070 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
15072 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
15073 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
15074 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
15076 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
15077 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
15078 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
15079 [generic bits/ioctls.h] (common-generated): Do not append to
15081 [generic sys/syscall.h] (syscall.h): Remove variable.
15082 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
15084 [generic sys/syscall.h] (before-compile): Do not append to
15086 [generic sys/syscall.h] (common-generated): Likewise.
15087 * sysdeps/unix/errnos-tmpl.c: Remove file.
15088 * sysdeps/unix/errnos.awk: Likewise.
15089 * sysdeps/unix/ioctls-tmpl.c: Likewise.
15090 * sysdeps/unix/ioctls.awk: Likewise.
15091 * sysdeps/unix/mk-local_lim.c: Likewise.
15092 * sysdeps/unix/snarf-ioctls: Likewise.
15094 2012-03-19 Richard Henderson <rth@twiddle.net>
15096 * sysdeps/i386/fpu/fenv_private.h: New file.
15097 * sysdeps/i386/fpu/math_private.h: Use it.
15098 (math_opt_barrier, math_force_eval): Remove.
15099 (libc_feholdexcept_setround_53bit): Remove.
15100 (libc_feupdateenv_53bit): Remove.
15101 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15102 (math_opt_barrier, math_force_eval): Remove.
15103 (libc_feholdexcept): Remove.
15104 (libc_feholdexcept_setround): Remove.
15105 (libc_fetestexcept, libc_fesetenv): Remove.
15106 (libc_feupdateenv_test): Remove.
15107 (libc_feupdateenv, libc_feholdsetround): Remove.
15108 (libc_feresetround): Remove.
15110 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
15111 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15113 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
15114 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
15115 (libc_feupdateenv_testl): New.
15116 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
15117 (libc_feupdateenv_testf): New.
15118 (libc_feupdateenv): Use libc_feupdateenv_test.
15119 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
15120 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
15122 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
15123 (libc_feholdsetroundf, libc_feholdsetroundl): New.
15124 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
15125 (libc_feresetround_noex): New.
15126 (libc_feresetround_noexf): New.
15127 (libc_feresetround_noexl): New.
15128 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
15129 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
15130 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
15131 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
15133 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15134 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
15136 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
15137 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15138 SET_RESTORE_ROUND_NOEX.
15139 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
15140 SET_RESTORE_ROUND_NOEXF.
15141 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
15142 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
15143 (libc_feholdsetroundf): New.
15144 (libc_feresetround, libc_feresetroundf): New.
15146 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
15147 (libc_feholdexcept_setround_53bit): Convert from macro to function.
15148 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
15150 * sysdeps/generic/math_private.h: Include <fenv.h>.
15151 (default_libc_feholdexcept): New.
15152 (default_libc_feholdexcept_setround): New.
15153 (default_libc_fesetenv, default_libc_feupdateenv): New.
15154 (libc_feholdexcept): Only define if undefined.
15155 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
15156 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
15157 (libc_feholdexcept_setroundl): Likewise.
15158 (libc_feholdexcept_setround_53bit): Likewise.
15159 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
15160 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
15161 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
15162 (libc_feupdateenv_53bit): Likewise.
15163 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
15164 (libc_feholdexcept): Convert from macro to inline function.
15165 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
15166 (libc_fesetenv, libc_feupdateenv): Likewise.
15168 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
15169 not previously defined.
15170 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
15171 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
15172 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
15173 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
15174 * sysdeps/ieee754/flt-32/math_private.h: New file.
15175 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
15176 math_private.h below SET_FLOAT_WORD.
15177 (__isnan, __isinf_ns, __finite): Remove.
15178 (__isnanf, __isinf_nsf, __finitef): Remove.
15180 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
15182 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15184 2012-03-17 David S. Miller <davem@davemloft.net>
15187 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
15190 2012-03-16 David S. Miller <davem@davemloft.net>
15192 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
15196 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
15198 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
15199 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
15200 sysdep_routines when subdir is sysvipc.
15201 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
15202 __getshmlba helper.
15204 * sysdeps/sparc/fpu/libm-test/ulps: Update.
15206 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15208 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
15211 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15213 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
15214 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
15215 (__lround): Renamed to ...
15216 (__llround): This. Replace long int with long long int.
15217 Define lround functions as aliases of llround functions.
15218 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
15220 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15222 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
15223 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
15224 adresses to uintptr_t. Replace "long int" and "unsigned long
15225 int" with "greg_t" on va_arg.
15227 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15229 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
15230 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
15232 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
15233 Move e_machine check before EI_CLASS check. Handle x32
15234 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
15235 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
15236 SKIP_EM_IA_64 and include
15237 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
15239 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
15240 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
15241 (add_system_dir): New macro.
15243 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
15244 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
15246 2012-03-16 Joseph Myers <joseph@codesourcery.com>
15257 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
15259 * math/w_j0f.c (j0f): Likewise.
15261 * math/w_j0l.c (__j0l): Likewise.
15263 * math/w_j1.c (j1): Likewise.
15265 * math/w_j1f.c (j1f): Likewise.
15267 * math/w_j1l.c (__j1l): Likewise.
15269 * math/w_jn.c (jn): Likewise.
15271 * math/w_jnf.c (jnf): Likewise.
15273 * math/w_jnl.c (__jnl): Likewise.
15275 * math/libm-test.inc (j0_test): Add more tests.
15276 (j1_test): Likewise.
15277 (jn_test): Likewise. Add trailing semicolon to existing test.
15278 (y0_test): Likewise.
15279 (y1_test): Likewise.
15280 * sysdeps/i386/fpu/libm-test-ulps: Update.
15281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15285 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
15286 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
15287 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
15288 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
15289 (__tanl): Set errno for infinite argument.
15290 * sysdeps/i386/fpu/mptan.c: Remove.
15291 * sysdeps/i386/fpu/s_tan.S: Likewise.
15292 * sysdeps/i386/fpu/s_tanl.S: Likewise.
15293 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
15294 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
15295 * math/libm-test.inc (tan_test): Add more tests and enable more
15296 tests for double and long double.
15297 * sysdeps/i386/fpu/libm-test-ulps: Update.
15298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15300 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15302 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
15303 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
15305 2012-03-16 Roland McGrath <roland@hack.frob.com>
15307 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
15308 * configure.in: Use it for both main tree and add-ons.
15309 * configure: Regenerated.
15311 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15313 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
15315 2012-03-16 Joseph Myers <joseph@codesourcery.com>
15317 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
15321 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
15322 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
15323 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
15324 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
15325 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
15327 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
15328 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
15329 != 0 for prec == 2.
15330 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
15331 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
15332 * sysdeps/i386/fpu/s_cosl.S: Likewise.
15333 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
15334 * sysdeps/i386/fpu/s_sinl.S: Likewise.
15335 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
15336 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
15337 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
15338 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
15339 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
15340 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
15341 * math/libm-test.inc (cos_test): Add more tests and enable more
15342 tests for long double.
15343 (sin_test): Likewise.
15344 (sincos_test): Likewise.
15345 * sysdeps/i386/fpu/libm-test-ulps: Update.
15346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15348 2012-03-16 David S. Miller <davem@davemloft.net>
15350 * sysdeps/sparc/fpu/math_private.h: New file.
15352 2012-03-15 David S. Miller <davem@davemloft.net>
15354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
15356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
15357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
15359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
15360 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
15361 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
15362 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
15363 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
15364 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
15366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15368 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
15369 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
15371 * sysdeps/sparc/sparc-ifunc.h: New file.
15372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
15374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
15377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
15379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
15380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
15381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
15386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
15388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
15390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
15392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
15394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
15395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
15396 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15397 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15398 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
15399 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
15400 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15401 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15402 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
15403 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
15404 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
15405 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
15406 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
15407 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
15408 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
15409 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
15410 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
15411 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
15412 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
15413 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
15414 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
15415 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
15417 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15419 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
15421 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15423 2012-03-15 Andreas Jaeger <aj@suse.de>
15426 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
15427 ieee754/flt-32 implementation for sin, cos and sincos.
15428 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
15429 * sysdeps/i386/fpu/s_cosf.S: Likewise.
15430 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
15431 * sysdeps/i386/fpu/s_sinf.S: Likewise.
15432 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
15433 ieee754/flt-32 implementation for tan.
15435 * math/libm-test.inc (cos_test): Enable some large input tests for
15437 (sin_test): Likewise.
15438 (sincos_test): Likewise.
15439 (tan_test): Add tests for large input.
15441 * sysdeps/i386/fpu/libm-test-ulps: Update.
15443 2012-03-15 Andreas Jaeger <aj@suse.de>
15446 * math/libm-test.inc (cos_test): Add more test cases.
15447 (sin_test): Likewise.
15448 (sincos_test): Likewise.
15450 2012-03-15 Andreas Jaeger <aj@suse.de>
15453 * math/libm-test.inc (cos_test): Add a test case for large input
15455 (sin_test): Likewise.
15456 (sincos_test): Likewise.
15458 2012-03-15 Andreas Jaeger <aj@suse.de>,
15459 Joseph Myers <joseph@codesourcery.com>
15462 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
15463 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
15464 * sysdeps/i386/fpu/branred.c: Likewise.
15465 * sysdeps/i386/fpu/dosincos.c: Likewise.
15466 * sysdeps/i386/fpu/mpa.c: Likewise.
15467 * sysdeps/i386/fpu/s_cos.S: Likewise.
15468 * sysdeps/i386/fpu/s_sin.S: Likewise.
15469 * sysdeps/i386/fpu/s_sincos.S: Likewise.
15470 * sysdeps/i386/fpu/sincos32.c: Likewise.
15472 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
15474 (libc_feupdateenv_53bit): Define.
15475 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
15477 (libc_feupdateenv_53bit): Define.
15479 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
15480 53 bit (without extend i386 double precision).
15482 * math/libm-test.inc (sincos_test): Add tests for large input.
15486 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15488 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15490 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15492 2012-03-15 David S. Miller <davem@davemloft.net>
15494 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
15495 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
15496 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
15497 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
15498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
15499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
15500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
15501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
15502 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
15503 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
15504 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
15505 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
15506 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
15507 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
15508 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
15509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
15511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
15512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
15514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
15515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
15517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
15518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
15520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
15521 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
15522 fmin/fmax sysdep routines.
15523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15525 2012-03-14 David S. Miller <davem@davemloft.net>
15527 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
15528 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
15529 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
15530 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
15531 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
15532 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
15533 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
15534 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
15535 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
15536 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
15537 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
15538 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
15539 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
15540 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
15541 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
15542 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
15543 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
15544 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
15545 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
15546 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
15547 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
15548 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
15549 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
15550 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
15551 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
15552 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
15553 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
15554 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
15555 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
15557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
15559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
15560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
15562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
15563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
15565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
15566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
15568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
15569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
15571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
15572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
15574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
15576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
15578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
15580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
15582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
15584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
15586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
15587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
15589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
15590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
15592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
15593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
15595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
15596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
15599 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15602 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15604 * sysdeps/sparc/configure.in: New file.
15605 * sysdeps/sparc/configure: Generate.
15606 * configure.in (libc_cv_sparc_as_vis3): Substitute.
15607 * configure: Regenerate.
15608 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
15609 * config.make.in (have-as-vis3): New.
15610 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
15611 available use -Av9d instead of -Av9a.
15612 * sysdeps/sparc/sparc64/Makefile: Likewise.
15613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
15614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
15616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
15618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
15620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
15622 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
15623 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
15624 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
15625 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
15626 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
15628 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
15629 fzeros/fnegs to load 0x80000000 into a float register instead of
15631 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
15633 2012-03-14 Joseph Myers <joseph@codesourcery.com>
15635 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15637 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
15638 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
15639 ($(inst_includedir)/bits/syscall.h): Remove rule.
15640 ($(objpfx)bits/syscall.d): Include instead of
15641 $(objpfx)syscall-list.d.
15642 (generated): Change syscall-list.h and syscall-list.d to
15643 bits/syscall.h and bits/syscall.d.
15645 2012-03-14 Roland McGrath <roland@hack.frob.com>
15648 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
15650 2012-03-14 Joseph Myers <joseph@codesourcery.com>
15653 * math/s_csqrt.c: Include <float.h>.
15654 (__csqrt): Scale large or subnormal inputs.
15655 * math/s_csqrtf.c: Likewise.
15656 * math/s_csqrtl.c: Likewise.
15657 * math/libm-test.inc (csqrt_test): Add more tests.
15658 * sysdeps/i386/fpu/libm-test-ulps: Update.
15659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15662 * math/libm-test.inc (hypot_test): Add more tests.
15664 2012-03-13 David S. Miller <davem@davemloft.net>
15667 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
15668 double-precision for the calculation instead of scaling.
15670 2012-03-13 Joseph Myers <joseph@codesourcery.com>
15672 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
15673 manipulate bits before adding and subtracting TWO52[sx].
15674 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
15675 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
15677 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
15679 2012-03-13 David S. Miller <davem@davemloft.net>
15681 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
15682 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
15683 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
15684 rtld-global-offsets.h
15685 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15687 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
15690 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
15692 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
15693 'err' in the ifdef scope in which it is actually used.
15695 * nss/nss_db/db-init.c: Include string.h
15697 2012-03-12 David S. Miller <davem@davemloft.net>
15699 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15700 masking out of the most significant byte of random value used.
15701 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15702 Fix coding style in previous change.
15704 * sysdeps/unix/sysv/linux/kernel-features.h
15705 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
15706 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
15708 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
15711 2012-03-11 David S. Miller <davem@davemloft.net>
15713 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15714 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
15715 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
15716 for 'resultvar' otherwise things get truncated on 64-bit.
15718 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15719 Fix masking out of the most significant byte of random value used.
15721 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15723 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
15725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15727 2012-03-09 David S. Miller <davem@davemloft.net>
15729 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
15730 variables with appropriate CPP guards.
15731 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
15732 frame pointer, not the stack pointer. Correct layout comments. Fix test
15733 on resulting framesize and the management of the outregs buffer for pltexit.
15734 Preserve floating point return values across _dl_call_pltexit call.
15735 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
15736 framesize and the management of the outregs buffer for pltexit.
15737 Preserve floating point return values across _dl_call_pltexit
15739 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
15740 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
15741 (print_exit): Fix format string for return register value.
15743 2012-03-10 Joseph Myers <joseph@codesourcery.com>
15745 * sunrpc/Makefile (others): Add rpcgen.
15746 ($(objpfx)rpcgen): Remove special build rule and dependency on
15748 * sunrpc/rpcgen.c: New file.
15750 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
15753 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
15754 * stdio-common/bug-vfprintf-nargs.c: Likewise.
15755 * sysdeps/i386/crti.S: Likewise.
15756 * sysdeps/i386/crtn.S: Likewise.
15757 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
15758 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
15759 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
15760 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
15761 * sysdeps/sh/crti.S: Likewise.
15762 * sysdeps/sh/crtn.S: Likewise.
15763 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15766 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
15768 * locale/programs/locfile-kw.gperf: Likewise.
15769 * locale/programs/charmap-kw.h: Regenerated.
15770 * locale/programs/locfile-kw.h: Likewise.
15773 * intl/plural.y: Replace FSF snail mail address with URL.
15774 * intl/plural.c: Regenerated.
15776 2012-03-09 Richard Henderson <rth@twiddle.net>
15778 * include/math_private.h: Remove file.
15779 * math/math_private.h: Move file ...
15780 * sysdeps/generic/math_private.h: ... here.
15782 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
15783 * sysdeps/powerpc/fpu/math_private.h: Likewise.
15784 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15786 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
15787 and <math_private.h>.
15788 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15789 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15790 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15791 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15792 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15793 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
15794 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15795 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15796 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15797 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15798 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15799 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15800 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15801 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15802 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15803 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15804 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15805 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15806 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15807 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15808 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15809 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15810 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15811 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15812 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15813 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15814 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15815 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15816 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15817 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15818 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15819 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15820 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15821 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15822 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15823 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15824 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15825 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15826 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15827 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15828 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
15829 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15830 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15831 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15832 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15833 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15834 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
15835 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15836 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15837 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15838 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15839 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
15840 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15841 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15842 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15843 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15844 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15845 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15846 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15847 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
15848 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15849 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15850 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15851 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15852 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
15853 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15854 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15855 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15856 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
15857 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
15858 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15859 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15860 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15861 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15862 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
15863 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
15864 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
15865 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15866 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
15867 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
15868 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15869 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
15870 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15871 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15872 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15873 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15874 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
15875 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
15876 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15877 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15878 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15879 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15880 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15881 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15882 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15883 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15884 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15885 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15886 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15887 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15888 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15889 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15890 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15891 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15892 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15893 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15894 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15895 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15896 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15897 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15898 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15899 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15900 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15901 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15902 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
15903 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15904 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15905 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15906 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15907 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15908 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15909 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15910 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15911 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
15912 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15913 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15914 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15915 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
15916 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15917 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
15918 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
15919 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15920 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15921 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
15922 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
15923 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15924 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15925 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15926 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
15927 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15928 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15929 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15930 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15931 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
15932 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
15933 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15934 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15935 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15936 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
15937 * sysdeps/ieee754/k_standard.c: Likewise.
15938 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15939 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15940 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15941 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15942 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15943 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15944 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15945 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15946 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15947 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15948 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15949 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15950 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15951 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15952 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15953 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15954 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15955 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15956 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15957 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
15958 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15959 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15960 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15961 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15962 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15963 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15964 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15965 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15966 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15967 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15968 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15969 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15970 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15971 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15972 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15973 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15974 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15975 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
15976 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
15977 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15978 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15979 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15980 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15981 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15982 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15983 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15984 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15985 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15986 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15987 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15988 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15989 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15990 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15991 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
15992 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15993 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15994 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
15995 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15996 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15997 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15998 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15999 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16000 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16001 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16002 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16003 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16004 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16005 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16006 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16007 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16008 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16009 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16010 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16011 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16012 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16013 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16014 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
16015 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16016 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16017 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16018 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16019 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16020 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16021 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16022 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
16023 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16024 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16025 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16026 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16027 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16028 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
16029 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16030 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
16031 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16032 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16033 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16034 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
16035 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
16036 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
16037 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
16038 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16039 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16040 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16041 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16042 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
16043 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16044 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16045 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
16046 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
16047 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16048 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16049 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16050 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16051 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16052 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16053 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16054 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16055 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16056 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16057 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16058 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16059 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16060 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16061 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16062 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16063 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
16064 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16065 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16066 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16067 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16068 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16069 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16070 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16071 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16072 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16073 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16074 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
16075 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16076 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16077 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
16078 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
16079 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16080 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
16081 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
16082 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16083 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16084 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16085 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16086 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16087 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
16088 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16089 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16090 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16091 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16092 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
16093 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
16094 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16095 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16096 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16097 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16098 * sysdeps/ieee754/s_lib_version.c: Likewise.
16099 * sysdeps/ieee754/s_matherr.c: Likewise.
16100 * sysdeps/ieee754/s_signgam.c: Likewise.
16101 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16102 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16103 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
16104 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
16105 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
16106 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16107 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
16108 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
16109 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
16110 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
16111 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16112 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
16113 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16114 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16115 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
16116 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16117 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16118 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16119 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16120 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16121 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16123 2012-03-09 Joseph Myers <joseph@codesourcery.com>
16125 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
16126 * sunrpc/rpc_main.c: Likewise.
16127 * sunrpc/rpc_svcout.c: Likewise.
16129 2012-03-09 David S. Miller <davem@davemloft.net>
16131 * include/math_private.h: New file.
16133 2012-03-09 Joseph Myers <joseph@codesourcery.com>
16135 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
16136 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
16137 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
16138 from <bits/socket_type.h>.
16139 (enum __socket_type): Don't define here.
16140 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
16141 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16142 bits/socket_type.h.
16145 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
16146 checking __USE_GNU.
16148 * Makerules ($(inst_includedir)/%.h): New rule.
16149 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
16150 (install-others): Remove variable setting.
16151 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
16153 2012-03-08 Richard Henderson <rth@twiddle.net>
16155 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
16156 from macro to inline function; merge with the
16157 !__LIBC_INTERNAL_MATH_INLINES version.
16158 (__ieee754_sqrtf): Likewise.
16160 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
16161 to inline function.
16162 (__rintf, __floor, __floorf): Likewise.
16164 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
16165 macro to inline function.
16166 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
16168 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
16169 not <math/math_private.h>.
16171 2012-03-08 David S. Miller <davem@davemloft.net>
16173 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
16175 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16177 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
16179 * resolv/gai_misc.c (handle_requests): Fix struct timespec
16181 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
16182 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16184 2012-03-08 Ulrich Drepper <drepper@gmail.com>
16186 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
16187 be defined individually, they must be defined as a block. Define
16188 S for printing a string instead of hidint the different by using a
16189 macro for adding the 'l'.
16190 * stdio-common/tst-fphex-wide.c: Adjust.
16192 2012-03-07 Marek Polacek <polacek@redhat.com>
16194 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
16196 2012-03-08 Marek Polacek <polacek@redhat.com>
16199 * stdio-common/Makefile (tests): Add tst-fphex-wide.
16200 * stdio-common/tst-fphex.c: Define a few macros to make the
16201 test reusable. Use them.
16202 * stdio-common/tst-fphex-wide.c: New file.
16204 2012-03-08 Joseph Myers <joseph@codesourcery.com>
16207 * manual/macros.texi (gnusystems): New macro.
16208 (nongnusystems): Likewise.
16209 (gnulinuxhurdsystems): Likewise.
16210 (gnuhurdsystems): Likewise..
16211 (gnulinuxsystems): Likewise.
16212 * manual/charset.texi: Use new macros or @theglibc{} to refer to
16213 variants of the GNU system, not "GNU system".
16214 * manual/conf.texi: Likewise.
16215 * manual/errno.texi: Likewise. Update example of errno macro
16217 * manual/filesys.texi: Likewise.
16218 (getumask): Document as specific to GNU/Hurd.
16219 * manual/install.texi: Likewise. Reword some references to
16221 * manual/intro.texi: Likewise.
16222 * manual/io.texi: Likewise.
16223 (File Name Portability): Detail which constraints are inapplicable
16224 to all GNU systems and which are only inapplicable to GNU/Hurd.
16225 * manual/job.texi: Likewise.
16226 * manual/llio.texi: Likewise.
16227 (O_NOCTTY): Document as present on GNU/Linux.
16228 * manual/maint.texi: Likewise.
16229 * manual/memory.texi: Likewise.
16230 * manual/pattern.texi: Likewise.
16231 * manual/pipe.texi: Likewise.
16232 * manual/process.texi: Likewise.
16233 * manual/resource.texi: Likewise.
16234 (RUSAGE_CHILDREN): Remove statement about specifying a particular
16236 * manual/setjmp.texi: Likewise.
16237 * manual/signal.texi: Likewise.
16238 * manual/startup.texi: Likewise.
16239 * manual/stdio.texi: Likewise.
16240 * manual/terminal.texi: Likewise.
16241 (ONLCR): Document as POSIX.
16242 (OXTABS): Document availability on GNU/Linux as XTABS.
16243 (ONOEOT): Document availability separately from other bits.
16244 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
16245 * manual/time.texi: Likewise.
16246 * manual/users.texi: Likewise.
16247 * INSTALL: Regenerated.
16248 * sysdeps/gnu/errlist.c: Regenerated.
16250 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
16251 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
16252 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
16254 * configure: Regenerated.
16256 2012-03-07 Joseph Myers <joseph@codesourcery.com>
16258 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
16259 default includes instead of AC_HEADER_CHECK.
16260 * sysdeps/i386/configure: Regenerated.
16263 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
16264 * math/s_cacoshf.c (__cacoshf): Likewise.
16265 * math/s_cacoshl.c (__cacoshl): Likewise.
16266 * math/s_casinh.c (__casinh): Set signs of result from argument.
16267 * math/s_casinhf.c (__casinhf): Likewise.
16268 * math/s_casinhl.c (__casinhl): Likewise.
16269 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
16270 (casinh_test): Add more tests.
16271 * sysdeps/i386/fpu/libm-test-ulps: Update.
16272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16274 2012-03-07 Ulrich Drepper <drepper@gmail.com>
16276 * po/zh_TW.po: Update from translation team.
16278 * login/Makefile (distribute): Remove variable.
16279 * catgets/Makefile: Likewise.
16280 * mach/Makefile: Likewise.
16281 * malloc/Makefile: Likewise.
16282 * misc/Makefile: Likewise.
16283 * iconv/Makefile: Likewise.
16284 * nscd/Makefile: Likewise.
16285 * hurd/Makefile: Likewise.
16286 * manual/Makefile: Likewise.
16287 * locale/Makefile: Likewise.
16288 * intl/Makefile: Likewise.
16289 * conform/Makefile: Likewise.
16290 * nss/Makefile: Likewise.
16291 * time/Makefile: Likewise.
16292 * soft-fp/Makefile: Likewise.
16293 * dirent/Makefile: Likewise.
16294 * gmon/Makefile: Likewise.
16295 * po/Makefile: Likewise.
16296 * rt/Makefile: Likewise.
16297 * socket/Makefile: Likewise.
16298 * math/Makefile: Likewise.
16299 * signal/Makefile: Likewise.
16300 * debug/Makefile: Likewise.
16301 * elf/Makefile: Likewise.
16302 * timezone/Makefile: Likewise.
16303 * stdlib/Makefile: Likewise.
16304 * iconvdata/Makefile: Likewise.
16305 * sunrpc/Makefile: Likewise.
16306 * io/Makefile: Likewise.
16307 * argp/Makefile: Likewise.
16308 * inet/Makefile: Likewise.
16309 * hesiod/Makefile: Likewise.
16310 * grp/Makefile: Likewise.
16311 * csu/Makefile: Likewise.
16312 * wctype/Makefile: Likewise.
16313 * crypt/Makefile: Likewise.
16314 * libio/Makefile: Likewise.
16315 * string/Makefile: Likewise.
16316 * nis/Makefile: Likewise.
16317 * resolv/Makefile: Likewise.
16318 * stdio-common/Makefile: Likewise.
16319 * wcsmbs/Makefile: Likewise.
16320 * dlfcn/Makefile: Likewise.
16321 * posix/Makefile: Likewise.
16324 * timezone/Makefile: Don't install timezone files, just the programs
16327 2012-03-06 Ulrich Drepper <drepper@gmail.com>
16329 * nss/databases.def: Add missing gshadow entry.
16331 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
16333 2012-03-06 Marek Polacek <polacek@redhat.com>
16336 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
16337 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16338 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
16339 * stdio-common/tst-long-dbl-fphex.c: New file.
16341 2012-03-06 David S. Miller <davem@davemloft.net>
16343 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16344 (set_obp_int): New function.
16345 (get_obp_int): New function.
16346 (__get_clockfreq_via_dev_openprom): Likewise.
16347 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
16348 Avoid unused variable warnings on 'val' and use builtin_expect.
16349 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
16351 (INLINE_CLONE_SYSCALL): Likewise.
16353 2012-03-05 David S. Miller <davem@davemloft.net>
16355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16357 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
16359 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16361 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
16362 only for |x| >= 40.
16363 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16365 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
16367 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
16368 Replace gettimeofday with __vdso_gettimeofday.
16370 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16371 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
16372 __vdso_clock_gettime and __vdso_getcpu.
16374 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
16375 time with __vdso_time.
16377 2012-03-05 Joseph Myers <joseph@codesourcery.com>
16379 * manual/lang.texi (size_t): Note types to which size_t may be
16380 equivalent with the GNU C Library, but do not describe when
16381 differences between them are significant.
16383 2012-03-05 Andreas Jaeger <aj@suse.de>
16385 * sysdeps/i386/fpu/libm-test-ulps: Update.
16387 2012-03-05 Joseph Myers <joseph@codesourcery.com>
16390 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
16391 (__ieee754_pow): Save and restore rounding mode and use
16392 round-to-nearest for main computations.
16393 * math/libm-test.inc (pow_test_tonearest): New function.
16394 (pow_test_towardzero): Likewise.
16395 (pow_test_downward): Likewise.
16396 (pow_test_upward): Likewise.
16397 (main): Call the new functions.
16398 * sysdeps/i386/fpu/libm-test-ulps: Update.
16399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16402 * math/libm-test.inc (cosh_test_tonearest): New function.
16403 (cosh_test_towardzero): Likewise.
16404 (cosh_test_downward): Likewise.
16405 (cosh_test_upward): Likewise.
16406 (sinh_test_tonearest): Likewise.
16407 (sinh_test_towardzero): Likewise.
16408 (sinh_test_downward): Likewise.
16409 (sinh_test_upward): Likewise.
16410 (main): Call the new functions.
16411 * sysdeps/i386/fpu/libm-test-ulps: Update.
16412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16414 2012-03-05 Tom de Vries <tom@codesourcery.com>
16416 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
16417 default stack guard is set in last bytes.
16418 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
16420 2012-03-05 Kees Cook <keescook@chromium.org>
16422 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
16425 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
16426 possibly allocate from heap instead of stack.
16427 * stdio-common/bug-vfprintf-nargs.c: New file.
16428 * stdio-common/Makefile (tests): Add nargs overflow test.
16430 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
16432 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16434 2012-03-03 Marek Polacek <polacek@redhat.com>
16436 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
16437 * math/math_private.h: Likewise.
16438 * stdlib/tst-strtod.c: Likewise.
16439 * sysdeps/i386/i486/bits/atomic.h: Likewise.
16440 * sysdeps/x86_64/bits/atomic.h: Likewise.
16442 2012-03-02 David S. Miller <davem@davemloft.net>
16444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
16445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
16446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
16447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
16448 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
16449 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
16450 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
16451 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
16453 2012-03-02 Roland McGrath <roland@hack.frob.com>
16456 * manual/examples/README: New file, says the example source files
16457 can be used under GPL>=2.
16458 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
16459 line containing just "*/".
16460 * manual/examples/add.c: Add copyright header (GPL>=2).
16461 * manual/examples/argp-ex1.c: Likewise.
16462 * manual/examples/argp-ex2.c: Likewise.
16463 * manual/examples/argp-ex3.c: Likewise.
16464 * manual/examples/argp-ex4.c: Likewise.
16465 * manual/examples/atexit.c: Likewise.
16466 * manual/examples/db.c: Likewise.
16467 * manual/examples/dir.c: Likewise.
16468 * manual/examples/dir2.c: Likewise.
16469 * manual/examples/execinfo.c: Likewise.
16470 * manual/examples/filecli.c: Likewise.
16471 * manual/examples/filesrv.c: Likewise.
16472 * manual/examples/fmtmsgexpl.c: Likewise.
16473 * manual/examples/genpass.c: Likewise.
16474 * manual/examples/inetcli.c: Likewise.
16475 * manual/examples/inetsrv.c: Likewise.
16476 * manual/examples/isockad.c: Likewise.
16477 * manual/examples/longopt.c: Likewise.
16478 * manual/examples/memopen.c: Likewise.
16479 * manual/examples/memstrm.c: Likewise.
16480 * manual/examples/mkfsock.c: Likewise.
16481 * manual/examples/mkisock.c: Likewise.
16482 * manual/examples/mygetpass.c: Likewise.
16483 * manual/examples/pipe.c: Likewise.
16484 * manual/examples/popen.c: Likewise.
16485 * manual/examples/rprintf.c: Likewise.
16486 * manual/examples/search.c: Likewise.
16487 * manual/examples/select.c: Likewise.
16488 * manual/examples/setjmp.c: Likewise.
16489 * manual/examples/sigh1.c: Likewise.
16490 * manual/examples/sigusr.c: Likewise.
16491 * manual/examples/stpcpy.c: Likewise.
16492 * manual/examples/strdupa.c: Likewise.
16493 * manual/examples/strftim.c: Likewise.
16494 * manual/examples/strncat.c: Likewise.
16495 * manual/examples/subopt.c: Likewise.
16496 * manual/examples/swapcontext.c: Likewise.
16497 * manual/examples/termios.c: Likewise.
16498 * manual/examples/testopt.c: Likewise.
16499 * manual/examples/testpass.c: Likewise.
16500 * manual/examples/timeval_subtract.c: Likewise.
16503 * manual/time.texi (Elapsed Time): Move timeval_subtract example
16505 * manual/timeval_subtract.c.texi: ... here, new file.
16507 2012-03-02 David S. Miller <davem@davemloft.net>
16509 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
16511 2012-03-02 Joseph Myers <joseph@codesourcery.com>
16514 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
16515 (__sin): Save and restore rounding mode and use round-to-nearest
16516 for all computations.
16517 (__cos): Save and restore rounding mode and use round-to-nearest
16518 for all computations.
16519 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
16521 (tan): Save and restore rounding mode and use round-to-nearest for
16523 * math/libm-test.inc (cos_test_tonearest): New function.
16524 (cos_test_towardzero): Likewise.
16525 (cos_test_downward): Likewise.
16526 (cos_test_upward): Likewise.
16527 (sin_test_tonearest): Likewise.
16528 (sin_test_towardzero): Likewise.
16529 (sin_test_downward): Likewise.
16530 (sin_test_upward): Likewise.
16531 (tan_test_tonearest): Likewise.
16532 (tan_test_towardzero): Likewise.
16533 (tan_test_downward): Likewise.
16534 (tan_test_upward): Likewise.
16535 (main): Call the new functions.
16536 * sysdeps/i386/fpu/libm-test-ulps: Update.
16537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16540 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
16541 small n, then large n, before computing and testing k+n.
16542 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16543 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
16545 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
16547 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
16548 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
16549 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
16550 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
16551 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16552 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16553 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
16554 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
16555 * math/libm-test.inc (scalbn_test): Add more tests.
16556 (scalbln_test): Likewise.
16558 * manual/filesys.texi (mode_t): Describe constraints on size and
16559 signedness, not exact equivalence to a particular type.
16561 (ino64_t): Likewise.
16563 (nlink_t): Likewise.
16564 (blkcnt_t): Likewise.
16565 (blkcnt64_t): Likewise.
16566 * manual/llio.texi (off_t): Likewise.
16569 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
16570 (__ieee754_exp): Save and restore rounding mode and use
16571 round-to-nearest for all computations.
16572 * math/libm-test.inc (exp_test_tonearest): New function.
16573 (exp_test_towardzero): Likewise.
16574 (exp_test_downward): Likewise.
16575 (exp_test_upward): Likewise.
16576 (main): Call the new functions.
16577 * sysdeps/i386/fpu/libm-test-ulps: Update.
16578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16580 2012-03-01 Chris Demetriou <cgd@google.com>
16582 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
16583 have predictable order.
16585 2012-03-01 David S. Miller <davem@davemloft.net>
16587 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
16589 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
16590 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
16591 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
16592 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
16594 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
16595 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
16596 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
16597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
16598 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
16599 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
16600 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
16601 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
16602 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
16604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16606 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
16607 * sysdeps/sparc/fpu/libm-test-ulps: to here.
16608 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
16610 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
16611 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16612 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16613 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
16614 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
16615 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
16616 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
16617 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16618 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16619 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
16620 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
16621 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16622 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16623 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16624 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16625 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16626 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
16627 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
16628 * sysdeps/sparc/elf/configure: Regenerated.
16630 2012-03-01 Joseph Myers <joseph@codesourcery.com>
16632 * configure.in (AS, LD): Require binutils 2.20 or later.
16633 * configure: Regenerated.
16634 * manual/install.texi (Tools for Compilation): Give binutils 2.20
16635 as required minimum version.
16636 * INSTALL: Regenerated.
16640 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
16641 before squaring exponent.
16642 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
16643 bottom long double and 27 bits of top long double before squaring
16645 * math/libm-test.inc (erfc_test): Add more tests.
16646 * sysdeps/i386/fpu/libm-test-ulps: Update.
16647 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16650 2012-03-01 Kai Tietz <ktietz@redhat.com>
16652 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
16653 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
16654 containing bit-fields.
16655 * soft-fp/extended.h (_FP_UNION_E): Likewise.
16656 * soft-fp/single.h (_FP_UNION_S): Likewise.
16657 * soft-fp/double.h (_FP_UNION_D): Likewise.
16659 2012-02-29 Joseph Myers <joseph@codesourcery.com>
16662 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
16663 not include ../strcmp.S.
16664 [USE_AS_STRNCASECMP_L]: Likewise.
16665 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
16666 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
16667 * sysdeps/i386/i686/multiarch/strncase_l-c.c
16668 (__strncasecmp_l_ia32): Define as alias to
16669 __strncasecmp_l_nonascii.
16672 * math/libm-test.inc (expm1_test): Add test for bug 5794.
16673 * sysdeps/i386/fpu/libm-test-ulps: Update.
16674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16676 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
16677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16679 2012-02-29 Jeff Law <law@redhat.com>
16681 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
16682 out of bounds read.
16684 2012-02-29 Marek Polacek <polacek@redhat.com>
16687 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
16688 * elf/Makefile: Add rules to run tst-unused-dep.out.
16690 2012-02-28 David S. Miller <davem@davemloft.net>
16692 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
16693 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
16694 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
16695 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
16696 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
16697 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
16699 2012-02-29 Joseph Myers <joseph@codesourcery.com>
16701 * math/libm-test.inc (llround_test): Move one test from
16702 lround_test. Use TEST_f_L in moved test.
16703 (lround_test): Move misplaced test to llround_test. Add testcase
16706 2012-02-28 Ulrich Drepper <drepper@gmail.com>
16708 * sysdeps/x86_64/fpu/e_expf.S: New file.
16709 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
16711 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
16714 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
16715 of remain_len that may cause incomplete multi-byte character and
16717 * posix/bug-regex33.c: New file.
16718 * posix/Makefile (tests): Add bug-regex33.
16720 2012-02-28 Joseph Myers <joseph@codesourcery.com>
16722 * manual/macros.texi: New file.
16723 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
16724 * manual/libc.texinfo: Include macros.texi.
16725 * manual/creatute.texi: Likewise.
16726 * manual/install.texi: Likewise.
16727 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
16728 @glibcadj{} in references to the GNU C Library.
16729 * manual/charset.texi: Likewise.
16730 * manual/conf.texi: Likewise.
16731 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
16732 when not using those macros.
16733 * manual/creature.texi: Likewise.
16734 * manual/crypt.texi: Likewise.
16735 * manual/errno.texi: Likewise.
16736 * manual/filesys.texi: Likewise.
16737 * manual/header.texi: Likewise.
16738 * manual/install.texi: Likewise.
16739 * manual/intro.texi: Likewise.
16740 * manual/io.texi: Likewise.
16741 * manual/job.texi: Likewise.
16742 * manual/lang.texi: Likewise.
16743 * manual/libc.texiinfo: Likewise.
16744 * manual/llio.texi: Likewise.
16745 * manual/locale.texi: Likewise.
16746 * manual/maint.texi: Likewise.
16747 * manual/math.texi: Likewise.
16748 * manual/memory.texi: Likewise.
16749 * manual/message.texi: Likewise.
16750 * manual/nss.texi: Likewise.
16751 * manual/pattern.texi: Likewise.
16752 * manual/process.texi: Likewise.
16753 * manual/resource.texi: Likewise.
16754 * manual/search.texi: Likewise.
16755 * manual/setjmp.texi: Likewise.
16756 * manual/signal.texi: Likewise.
16757 * manual/socket.texi: Likewise.
16758 * manual/startup.texi: Likewise.
16759 * manual/stdio.texi: Likewise.
16760 * manual/string.texi: Likewise.
16761 * manual/sysinfo.texi: Likewise.
16762 * manual/syslog.texi: Likewise.
16763 * manual/terminal.texi: Likewise.
16764 * manual/time.texi: Likewise.
16765 * manual/users.texi: Likewise.
16766 * INSTALL: Regenerated.
16767 * NOTES: Regenerated.
16768 * sysdeps/gnu/errlist.c: Regenerated.
16770 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
16772 * include/dirent.h: Include <dirstream.h> before
16775 2012-02-28 David S. Miller <davem@davemloft.net>
16777 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
16778 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
16779 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
16780 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
16782 2012-02-27 David S. Miller <davem@davemloft.net>
16784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
16785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
16786 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
16787 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
16789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
16790 frame pointer instead of stack pointer relative arg slot.
16791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16792 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16793 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16795 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
16798 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
16800 2012-02-27 David S. Miller <davem@davemloft.net>
16802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
16803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
16806 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16807 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16808 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
16809 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
16811 2012-02-27 Joseph Myers <joseph@codesourcery.com>
16813 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
16814 later. Allow versions 5-9.
16815 * configure: Regenerated.
16816 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
16817 required minimum version and 4.6 as recommended version. Do not
16818 mention bugs in GCC 2.7 and 2.8.
16819 * INSTALL: Regenerated.
16821 2012-02-27 David S. Miller <davem@davemloft.net>
16823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
16824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
16825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
16826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
16827 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
16828 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
16829 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
16830 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
16832 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
16833 manipulate bits before adding and subtracting TWO112[sx].
16834 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16836 2012-02-27 Roland McGrath <roland@hack.frob.com>
16839 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
16840 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
16841 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
16842 being in POSIX, because they are in 1003.1-2008.
16844 * rt/tst-aio.c: Include <fcntl.h>.
16845 * rt/tst-aio7.c: Likewise.
16846 * rt/tst-aio64.c: Likewise.
16848 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
16850 2012-02-27 Joseph Myers <joseph@codesourcery.com>
16852 * manual/install.texi (--with-headers): Describe headers as
16853 interface headers, not private headers.
16854 (Specific advice for GNU/Linux systems): Describe use of headers
16855 from "make headers_install", not private headers from older
16857 * INSTALL: Regenerated.
16858 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
16860 * sysdeps/unix/sysv/linux/configure: Regenerated.
16862 * manual/llio.texi (fclean): Remove documentation.
16864 * manual/Makefile (libc-texi-generated): New variable. Include
16866 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
16867 $(libc-texi-generated), not duplicated list of files.
16868 (version.texi, stamp-version): New rules.
16869 (realclean): Remove $(libc-texi-generated), not individual files
16870 from that list. Do not remove dir-add.texinfo.
16871 * manual/libc.texinfo: Comment out uses of edition numbers and
16872 references to printed manual. Remove last-updated dates.
16873 (EDITION): Comment out.
16875 (VERSION, UPDATED): Remove.
16876 (version.texi): Include.
16878 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
16880 * sysdeps/posix/spawni.c: Include <signal.h>.
16881 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
16882 * sysdeps/pthread/aio_fsync.c: Likewise.
16884 2012-02-26 Ulrich Drepper <drepper@gmail.com>
16886 * conform/Makefile (tests): Run only when not cross-compiling and
16887 when fast-check is not defined.
16889 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
16890 * conform/data/limits.h-data: Fixes for POSIX2008.
16891 * conform/run-conformtest.sh: Run all tests.
16892 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
16894 * include/bits/dlfcn.h: Likewise.
16895 * include/langinfo.h: Likewise.
16896 * include/monetary.h: Likewise.
16897 * include/sys/poll.h: Likewise.
16899 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
16901 * posix/spawn.h: Define __need_sigset_t.
16902 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
16903 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
16904 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
16905 to get sigevent_t only.
16906 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
16907 only for __USE_GNU.
16908 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16909 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16910 process_vm_writev only for __USE_GNU.
16911 * termios/termios.h: Declare tcgetsid also for POSIX2008.
16913 * conform/Makefile: For now ignore errors from run-conformtest.
16914 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
16915 POSIX to avoid namespace pollution. Don't prepend headers.
16916 * conform/data/aio.h-data: Fixes for POSIX testing.
16917 * conform/data/fcntl.h-data: Likewise.
16918 * conform/data/glob.h-data: Likewise.
16919 * conform/data/grp.h-data: Likewise.
16920 * conform/data/pthread.h-data: Likewise.
16921 * conform/data/pwd.h-data: Likewise.
16922 * conform/data/signal.h-data: Likewise.
16923 * conform/data/spawn.h-data: Likewise.
16924 * conform/data/stdio.h-data: Likewise.
16925 * conform/data/stdlib.h-data: Likewise.
16926 * conform/data/stropts.h-data: Likewise.
16927 * conform/data/sys/mman.h-data: Likewise.
16928 * conform/data/sys/stat.h-data: Likewise.
16929 * conform/data/sys/types.h-data: Likewise.
16930 * conform/data/sys/wait.h-data: Likewise.
16931 * conform/data/time.h-data: Likewise.
16932 * conform/data/unistd.h-data: Likewise.
16933 * conform/data/utime.h-data: Likewise.
16935 * io/sys/stat.h: fchmod was always in POSIX.
16936 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
16937 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
16938 * rt/aio.h: Define __need_timespec before including <time.h>.
16939 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
16940 struct. Add forward declaration of pthread_attr_t and use it in
16942 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16943 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16944 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
16945 always remove CLK_TCK definition.
16947 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
16949 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
16951 2012-02-25 Ulrich Drepper <drepper@gmail.com>
16953 * conform/run-conformtest.sh: New file.
16954 * conform/Makefile: Run run-conformtest for tests.
16955 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
16958 * conform/data/uchar.h-data: New file.
16959 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
16960 * conform/data/arpa/inet.h-data: Likewise.
16961 * conform/data/assert.h-data: Likewise.
16962 * conform/data/complex.h-data: Likewise.
16963 * conform/data/cpio.h-data: Likewise.
16964 * conform/data/ctype.h-data: Likewise.
16965 * conform/data/dirent.h-data: Likewise.
16966 * conform/data/dlfcn.h-data: Likewise.
16967 * conform/data/errno.h-data: Likewise.
16968 * conform/data/fcntl.h-data: Likewise.
16969 * conform/data/float.h-data: Likewise.
16970 * conform/data/fmtmsg.h-data: Likewise.
16971 * conform/data/fnmatch.h-data: Likewise.
16972 * conform/data/ftw.h-data: Likewise.
16973 * conform/data/glob.h-data: Likewise.
16974 * conform/data/grp.h-data: Likewise.
16975 * conform/data/iconv.h-data: Likewise.
16976 * conform/data/inttypes.h-data: Likewise.
16977 * conform/data/langinfo.h-data: Likewise.
16978 * conform/data/libgen.h-data: Likewise.
16979 * conform/data/limits.h-data: Likewise.
16980 * conform/data/locale.h-data: Likewise.
16981 * conform/data/math.h-data: Likewise.
16982 * conform/data/monetary.h-data: Likewise.
16983 * conform/data/mqueue.h-data: Likewise.
16984 * conform/data/ndbm.h-data: Likewise.
16985 * conform/data/net/if.h-data: Likewise.
16986 * conform/data/netdb.h-data: Likewise.
16987 * conform/data/netinet/in.h-data: Likewise.
16988 * conform/data/nl_types.h-data: Likewise.
16989 * conform/data/poll.h-data: Likewise.
16990 * conform/data/pthread.h-data: Likewise.
16991 * conform/data/pwd.h-data: Likewise.
16992 * conform/data/regex.h-data: Likewise.
16993 * conform/data/sched.h-data: Likewise.
16994 * conform/data/search.h-data: Likewise.
16995 * conform/data/semaphore.h-data: Likewise.
16996 * conform/data/setjmp.h-data: Likewise.
16997 * conform/data/signal.h-data: Likewise.
16998 * conform/data/spawn.h-data: Likewise.
16999 * conform/data/stdarg.h-data: Likewise.
17000 * conform/data/stdio.h-data: Likewise.
17001 * conform/data/stdlib.h-data: Likewise.
17002 * conform/data/string.h-data: Likewise.
17003 * conform/data/strings.h-data: Likewise.
17004 * conform/data/stropts.h-data: Likewise.
17005 * conform/data/sys/ipc.h-data: Likewise.
17006 * conform/data/sys/mman.h-data: Likewise.
17007 * conform/data/sys/msg.h-data: Likewise.
17008 * conform/data/sys/resource.h-data: Likewise.
17009 * conform/data/sys/select.h-data: Likewise.
17010 * conform/data/sys/sem.h-data: Likewise.
17011 * conform/data/sys/shm.h-data: Likewise.
17012 * conform/data/sys/socket.h-data: Likewise.
17013 * conform/data/sys/stat.h-data: Likewise.
17014 * conform/data/sys/statvfs.h-data: Likewise.
17015 * conform/data/sys/time.h-data: Likewise.
17016 * conform/data/sys/timeb.h-data: Likewise.
17017 * conform/data/sys/times.h-data: Likewise.
17018 * conform/data/sys/types.h-data: Likewise.
17019 * conform/data/sys/uio.h-data: Likewise.
17020 * conform/data/sys/un.h-data: Likewise.
17021 * conform/data/sys/utsname.h-data: Likewise.
17022 * conform/data/sys/wait.h-data: Likewise.
17023 * conform/data/syslog.h-data: Likewise.
17024 * conform/data/tar.h-data: Likewise.
17025 * conform/data/termios.h-data: Likewise.
17026 * conform/data/utime.h-data: Likewise.
17027 * conform/data/utmpx.h-data: Likewise.
17028 * conform/data/varargs.h-data: Likewise.
17029 * conform/data/wchar.h-data: Likewise.
17030 * conform/data/wctype.h-data: Likewise.
17031 * conform/data/wordexp.h-data: Likewise.
17033 * include/stropts.h: New file.
17034 * include/uchar.h: New file.
17035 * include/aio.h: Changes to allow conformtest.pl to use the headers.
17036 * include/assert.h: Likewise.
17037 * include/ctype.h: Likewise.
17038 * include/dirent.h: Likewise.
17039 * include/dlfcn.h: Likewise.
17040 * include/fcntl.h: Likewise.
17041 * include/fnmatch.h: Likewise.
17042 * include/glob.h: Likewise.
17043 * include/grp.h: Likewise.
17044 * include/libio.h: Likewise.
17045 * include/locale.h: Likewise.
17046 * include/math.h: Likewise.
17047 * include/net/if.h: Likewise.
17048 * include/netdb.h: Likewise.
17049 * include/netinet/in.h: Likewise.
17050 * include/pthread.h: Likewise.
17051 * include/pwd.h: Likewise.
17052 * include/regex.h: Likewise.
17053 * include/sched.h: Likewise.
17054 * include/search.h: Likewise.
17055 * include/setjmp.h: Likewise.
17056 * include/signal.h: Likewise.
17057 * include/stdio.h: Likewise.
17058 * include/stdlib.h: Likewise.
17059 * include/string.h: Likewise.
17060 * include/sys/cdefs.h: Likewise.
17061 * include/sys/mman.h: Likewise.
17062 * include/sys/msg.h: Likewise.
17063 * include/sys/resource.h: Likewise.
17064 * include/sys/select.h: Likewise.
17065 * include/sys/socket.h: Likewise.
17066 * include/sys/stat.h: Likewise.
17067 * include/sys/statvfs.h: Likewise.
17068 * include/sys/time.h: Likewise.
17069 * include/sys/times.h: Likewise.
17070 * include/sys/uio.h: Likewise.
17071 * include/sys/utsname.h: Likewise.
17072 * include/sys/wait.h: Likewise.
17073 * include/termios.h: Likewise.
17074 * include/time.h: Likewise.
17075 * include/ulimit.h: Likewise.
17076 * include/unistd.h: Likewise.
17077 * include/utime.h: Likewise.
17078 * include/wchar.h: Likewise.
17079 * include/wctype.h: Likewise.
17080 * include/wordexp.h: Likewise.
17082 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
17084 * time/time.h: TIME_UTC must be a macro.
17085 Make timespec_get available for ISO C11 only as well.
17087 2012-02-24 Ulrich Drepper <drepper@gmail.com>
17089 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
17090 Reported by Peng Haitao <penght@cn.fujitsu.com>.
17092 2012-02-24 Joseph Myers <joseph@codesourcery.com>
17094 * configure.in: Use -o not -a in test for unsupported multi-arch.
17096 2012-02-24 Joseph Myers <joseph@codesourcery.com>
17098 * manual/texinfo.tex: Update to version 2012-01-19.16.
17100 2012-02-24 Joseph Myers <joseph@codesourcery.com>
17102 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
17104 2012-02-24 Roland McGrath <roland@hack.frob.com>
17107 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
17108 * manual/fdl-1.3.texi: New file.
17109 * manual/fdl-1.1.texi: File removed.
17112 * manual/libc.texinfo (FDL_VERSION): New @set.
17113 Use it for mention of FDL in cover text.
17114 (Documentation License): Use it in @include file name.
17116 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17117 Roland McGrath <roland@hack.frob.com>
17120 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
17121 not LONG_LONG_MAX and LONG_LONG_MIN.
17122 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
17123 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
17125 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
17127 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17131 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
17132 manipulate bits before adding and subtracting TWO23[sx].
17133 * math/libm-test.inc (nearbyint_test): Add more tests.
17135 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17138 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
17139 bits before adding and subtracting TWO23[sx].
17140 * math/libm-test.inc (rint_test): Add more tests.
17141 (rint_test_tonearest): Likewise.
17142 (rint_test_towardzero): Likewise.
17143 (rint_test_downward): Likewise.
17144 (rint_test_upward: Likewise.
17146 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17149 * include/stdc-predef.h: New file. Extracted from features.h.
17150 * include/features.h: Include stdc-predef.h.
17151 * Makefile (headers): Add stdc-predef.h.
17152 * CONFORMANCE (Compiler limitations): Update.
17154 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17156 * manual/libc.texinfo (VERSION, UPDATED): Revert.
17158 2012-02-21 David S. Miller <davem@davemloft.net>
17160 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
17161 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17163 2012-02-20 David S. Miller <davem@davemloft.net>
17165 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
17166 using a normal save/restore sequence, rather than allocating a
17167 dummy stack frame just to store a frame pointer and restore.
17168 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17170 2012-02-21 Joseph Myers <joseph@codesourcery.com>
17172 * manual/install.texi: Fix stray word in line-wrapped comment.
17174 2012-02-20 David S. Miller <davem@davemloft.net>
17176 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
17177 both binutils and gcc support GOTDATA.
17179 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
17180 "rd %pc" in the PIC register setup sequences.
17182 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
17183 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
17184 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17185 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
17186 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17187 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17188 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17189 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17190 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
17191 (SYSCALL_ERROR_HANDLER): Likewise.
17192 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17193 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17194 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
17195 (SYSCALL_ERROR_HANDLER): Likewise.
17197 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
17198 (HAVE_GCC_GOTDATA): New.
17199 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
17200 relocation support in both binutils and gcc.
17201 * sysdeps/sparc/elf/configure: Regenerate.
17203 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
17204 * sysdeps/sparc/sparc32/elf/configure: Delete.
17205 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
17206 * sysdeps/sparc/sparc64/elf/configure: Delete.
17207 * sysdeps/sparc/elf/configure.in: New file.
17208 * sysdeps/sparc/elf/configure: Generate.
17210 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
17211 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
17212 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17213 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
17214 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
17216 2012-02-21 Joseph Myers <joseph@codesourcery.com>
17218 * manual/install.texi: Do not mention specific glibc version
17220 * manual/libc.texinfo (VERSION, UPDATED): Update.
17221 (@copying): Use @copyright{} and range of years.
17223 2012-02-21 Joseph Myers <joseph@codesourcery.com>
17226 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
17227 [crti.S not in sysdirs] (generated): Do not append.
17228 [crti.S not in sysdirs] (omit-deps): Likewise.
17229 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
17230 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
17231 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
17232 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
17233 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
17235 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
17236 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
17237 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
17238 * csu/defs.awk: Remove file.
17239 * sysdeps/generic/initfini.c: Likewise.
17240 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
17242 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
17245 2012-02-20 Joseph Myers <joseph@codesourcery.com>
17247 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
17248 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
17249 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
17250 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
17251 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17252 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
17254 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
17255 (__EPOLL_PACKED): Define to empty if not defined by
17257 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
17258 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17261 2012-02-20 Joseph Myers <joseph@codesourcery.com>
17263 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
17264 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
17265 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
17266 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
17268 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
17269 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17272 2012-02-20 Joseph Myers <joseph@codesourcery.com>
17274 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
17276 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17277 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17278 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
17279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17281 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
17283 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17284 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17286 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
17288 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
17289 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
17291 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
17293 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
17296 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
17298 * math/w_acos.c: Use non-signaling floating-point comparisons.
17299 * math/w_acosf.c: Likewise.
17300 * math/w_acosh.c: Likewise.
17301 * math/w_acoshf.c: Likewise.
17302 * math/w_acoshl.c: Likewise.
17303 * math/w_acosl.c: Likewise.
17304 * math/w_asin.c: Likewise.
17305 * math/w_asinf.c: Likewise.
17306 * math/w_asinl.c: Likewise.
17307 * math/w_atanh.c: Likewise.
17308 * math/w_atanhf.c: Likewise.
17309 * math/w_atanhl.c: Likewise.
17310 * math/w_exp2.c: Likewise.
17311 * math/w_exp2f.c: Likewise.
17312 * math/w_exp2l.c: Likewise.
17313 * math/w_j0.c: Likewise.
17314 * math/w_j0f.c: Likewise.
17315 * math/w_j0l.c: Likewise.
17316 * math/w_j1.c: Likewise.
17317 * math/w_j1f.c: Likewise.
17318 * math/w_j1l.c: Likewise.
17319 * math/w_jn.c: Likewise.
17320 * math/w_jnf.c: Likewise.
17321 * math/w_log.c: Likewise.
17322 * math/w_log10.c: Likewise.
17323 * math/w_log10f.c: Likewise.
17324 * math/w_log10l.c: Likewise.
17325 * math/w_log2.c: Likewise.
17326 * math/w_log2f.c: Likewise.
17327 * math/w_log2l.c: Likewise.
17328 * math/w_logf.c: Likewise.
17329 * math/w_logl.c: Likewise.
17330 * math/w_sqrt.c: Likewise.
17331 * math/w_sqrtf.c: Likewise.
17332 * math/w_sqrtl.c: Likewise.
17333 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17334 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
17335 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17336 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17337 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17339 2012-02-19 Joseph Myers <joseph@codesourcery.com>
17342 * manual/string.texi (strnlen): Use correct parameter name in
17343 equivalent expression.
17345 2012-02-19 Joseph Myers <joseph@codesourcery.com>
17348 * manual/users.texi (seteuid): Consistently use neweuid for
17351 2012-02-19 Joseph Myers <joseph@codesourcery.com>
17354 * manual/nss.texi (Services in the NSS configuration): Correct
17355 list of services in example configuration file.
17357 2012-02-19 Nick Bowler <nbowler@draconx.ca>
17360 * manual/arith.texi: Remove statements about negative zero
17361 behaving identically to zero.
17363 2012-02-18 Joseph Myers <joseph@codesourcery.com>
17366 * manual/install.texi: Do not document upgrading from libc5.
17368 2012-02-18 Joseph Myers <joseph@codesourcery.com>
17371 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
17373 2012-02-18 David S. Miller <davem@davemloft.net>
17375 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
17376 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
17377 %o7 across the call.
17378 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
17380 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
17381 SETUP_PIC_REG_LEAF.
17382 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17383 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
17384 * sysdeps/sparc/crtn.S: Likewise.
17386 2012-02-17 Ulrich Drepper <drepper@gmail.com>
17388 * aout/Makefile: Remove.
17390 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
17393 * manual/examples/argp-ex1.c (main): Format definition in GNU
17395 * manual/examples/argp-ex2.c (main): Likewise.
17396 * manual/examples/argp-ex3.c (main): Likewise.
17397 * manual/examples/argp-ex4.c (main): Likewise.
17398 * manual/examples/longopt.c (main): Use new-style prototype
17400 * manual/examples/strncat.c (main): Specify return type and use
17401 (void) for arguments.
17402 * manual/examples/subopt.c (main): Use char **argv argument.
17404 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17407 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
17410 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
17413 * manual/string.texi (strchr): Change when strchrnul is
17416 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
17419 * manual/locale.texi (setlocale): Document LOCPATH.
17421 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17424 * manual/process.texi (execle): Move @dots{} before last argument.
17426 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
17429 * manual/charset.texi (Generic Charset Conversion): Fix typo
17430 (LC_TYPE -> LC_CTYPE).
17432 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
17435 * manual/arith.texi (scalbn): Use @var{} on parameter names.
17436 (scalbnf): Likewise.
17437 (scalbnl): Likewise.
17438 (scalbln): Likewise.
17439 (scalblnf): Likewise.
17440 (scalblnl): Likewise.
17441 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
17442 (vwarnx): Likewise.
17445 * manual/filesys.texi (telldir): Use braces around return type.
17446 * manual/llio.texi (mmap): Add space after comma.
17447 (mmap64): Likewise.
17448 * manual/math.texi (jn): Use @var{} on parameter names.
17454 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
17456 * manual/resource.texi (ulimit): Use @dots{} instead of literal
17458 (sched_get_priority_min): Remove semicolon on @deftypefun line.
17459 (sched_get_priority_max): Likewise.
17460 * manual/signal.texi (sigvec): Add space after comma.
17461 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
17463 (if_indextoname): Likewise.
17464 (if_freenameindex): Likewise.
17465 (sendto): Use ',' instead of '.' in prototype.
17466 * manual/startup.texi (syscall): Use @dots{} instead of literal
17468 * manual/stdio.texi (__fpending): Separate initial words of
17469 paragraph from @deftypefun line.
17470 * manual/syslog.texi (syslog): Use @dots{} instead of literal
17472 (vsyslog): Use @var{} on parameter names.
17473 * manual/terminal.texi (stty): Use @var{} on parameter names.
17474 * manual/users.texi (getutmp): Use @var{} on parameter names.
17475 (getutmpx): Likewise.
17477 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17480 * manual/stdio.texi (fopen): Fix typos in description of
17483 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
17486 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
17487 get clock_id definition.
17489 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
17492 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
17493 (madvise): Cast every argument to void on its own.
17495 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17498 * manual/startup.texi (Exit Status): Fix typo.
17500 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17503 * manual/examples/argp-ex1.c: Include <stdlib.h>.
17504 * manual/examples/argp-ex2.c: Likewise.
17505 * manual/examples/argp-ex3.c: Likewise.
17507 2012-02-16 Richard Henderson <rth@redhat.com>
17509 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
17510 * sysdeps/s390/s390-32/initfini.c: Remove.
17511 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
17512 * sysdeps/s390/s390-64/initfini.c: Remove.
17514 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17516 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
17517 compiler output for sysdeps/generic/initfini.c.
17518 * sysdeps/sh/elf/initfini.c: Remove file.
17520 2012-02-16 David S. Miller <davem@davemloft.net>
17523 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
17525 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
17526 * sysdeps/sparc/crti.S: New file.
17527 * sysdeps/sparc/crtn.S: New file.
17528 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
17529 * sysdeps/sparc/sparc64/Makefile: Likewise.
17531 2012-02-15 Mike Frysinger <vapier@gentoo.org>
17534 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
17536 2012-02-15 Roland McGrath <roland@hack.frob.com>
17539 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
17541 * mach/devstream.c (cookie_io_functions_t): Macro removed.
17542 (write, read, close): Likewise.
17543 Patch by Aurelien Jarno <aurelien@aurel32.net>.
17545 2012-02-15 Joseph Myers <joseph@codesourcery.com>
17547 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
17548 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
17549 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
17550 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
17552 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
17553 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17556 2012-02-14 Marek Polacek <polacek@redhat.com>
17558 * sysdeps/x86_64/crti.S: New file.
17559 * sysdeps/x86_64/crtn.S: New file.
17560 * sysdeps/x86_64/elf/initfini.c: Remove file.
17562 2012-02-13 Joseph Myers <joseph@codesourcery.com>
17564 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
17565 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
17566 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
17567 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
17569 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
17570 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17573 2012-02-13 Joseph Myers <joseph@codesourcery.com>
17575 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
17576 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
17577 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
17578 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
17580 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
17581 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17584 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
17586 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
17587 __feraiseexcept instead of feraiseexcept.
17589 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
17590 nanosleep invocations.
17591 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
17592 strings, and add error checking for a nanosleep invocations.
17594 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
17596 Replace FSF snail mail address with URLs, as per GNU coding standards.
17597 Most of the snail mail addresses were wrong anyway, and omitting
17598 them makes the source code easier to maintain. Almost all of the
17599 changes are to license notices and to locale LC_IDENTIFICATION
17600 addresses, except for this one:
17601 * manual/libc.texinfo: In "Published by", give the FSF's URL,
17602 not its snail mail address.
17604 2012-02-09 Richard Henderson <rth@twiddle.net>
17606 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
17607 of kernel-features.h.
17609 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
17611 2012-02-08 Marek Polacek <polacek@redhat.com>
17613 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
17614 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
17615 * sysdeps/gnu/_G_config.h: Likewise.
17616 * sysdeps/generic/_G_config.h: Likewise.
17618 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
17620 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
17622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17624 * sysdeps/powerpc/powerpc32/crti.S: New file.
17625 * sysdeps/powerpc/powerpc32/crtn.S: New file.
17626 * sysdeps/powerpc/powerpc64/crti.S: New file.
17627 * sysdeps/powerpc/powerpc64/crtn.S: New file.
17629 * Makeconfig (have-initfini): Don't set.
17630 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
17631 * configure.in (nopic_initfini): Don't substitute.
17632 * config.h.in (HAVE_INITFINI): Don't #undef.
17633 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
17634 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
17636 2012-02-08 Joseph Myers <joseph@codesourcery.com>
17638 Support crti.S and crtn.S provided directly by architectures.
17639 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
17640 [crti.S in sysdirs] (omit-deps): Likewise.
17641 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
17642 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
17643 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
17644 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
17645 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
17646 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
17647 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
17648 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
17649 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
17650 compiler output for sysdeps/generic/initfini.c.
17651 * sysdeps/i386/elf/Makefile: Remove file.
17652 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
17654 2012-02-07 Marek Polacek <polacek@redhat.com>
17656 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
17657 * sysdeps/gnu/_G_config.h: Likewise.
17658 * sysdeps/mach/hurd/_G_config.h: Likewise.
17660 2012-02-07 Marek Polacek <polacek@redhat.com>
17662 * math/Makefile (tests): Add tst-CMPLX2.
17663 * math/tst-CMPLX2.c: New file.
17665 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
17667 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17669 * math/libm-test.inc (jn_test): Add missing L suffix.
17671 2012-02-06 Marek Polacek <polacek@redhat.com>
17673 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
17674 * sysdeps/i386/fpu/e_powf.S: Likewise.
17675 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17676 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17677 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17678 * sysdeps/i386/fpu/e_pow.S: Likewise.
17679 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17680 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17681 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17682 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17683 * sysdeps/i386/fpu/e_log2.S: Likewise.
17684 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17685 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17686 * sysdeps/i386/fpu/e_powl.S: Likewise.
17687 * sysdeps/i386/fpu/s_log1p.S: Likewise.
17688 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17689 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17690 * sysdeps/i386/fpu/e_logl.S: Likewise.
17691 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17692 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
17693 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17694 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17695 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17696 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17697 * sysdeps/i386/fpu/e_log.S: Likewise.
17698 * sysdeps/i386/fpu/s_cexp.S: Likewise.
17699 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17700 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
17701 * sysdeps/i386/fpu/e_logf.S: Likewise.
17702 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17703 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17704 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
17705 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17706 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17707 * sysdeps/i386/fpu/e_log10.S: Likewise.
17708 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17709 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17710 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17711 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17712 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17713 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17714 * sysdeps/i386/asm-syntax.h: Likewise.
17715 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17716 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17717 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17718 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
17719 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
17720 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17721 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17722 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17723 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17724 * sysdeps/powerpc/sysdep.h: Likewise.
17725 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
17726 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17728 2012-02-06 Joseph Myers <joseph@codesourcery.com>
17731 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
17733 2012-02-06 Joseph Myers <joseph@codesourcery.com>
17735 * sysdeps/i386/sysdep.h: Include <features.h>.
17736 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
17739 2012-02-05 Joseph Myers <joseph@codesourcery.com>
17741 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
17743 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
17746 2012-02-03 Joseph Myers <joseph@codesourcery.com>
17748 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
17749 (SETUP_PIC_REG): Use GET_PC_THUNK.
17750 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
17753 2012-02-03 Joseph Myers <joseph@codesourcery.com>
17755 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
17756 for non-PIC compilation.
17757 (SETUP_PIC_REG): Add .p2align directive.
17758 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
17759 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
17760 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17761 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17762 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17763 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17764 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
17765 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17766 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17767 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17768 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17769 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17770 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17771 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17772 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17773 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17774 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17775 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17776 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17777 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17778 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17779 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17780 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17781 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17782 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17783 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17784 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17785 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17786 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17787 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17788 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17789 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17790 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17791 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17792 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17793 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17794 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17795 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17796 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17797 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17798 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17800 2012-02-03 Joseph Myers <joseph@codesourcery.com>
17802 * math/tst-CMPLX.c: Include <stdio.h>.
17804 2012-01-31 Joseph Myers <joseph@codesourcery.com>
17806 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
17808 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17809 * sysdeps/sparc/bits/mathdef.h: Likewise.
17811 2012-01-31 Marek Polacek <polacek@redhat.com>
17813 * libio/libio.h: Don't define _PARAMS.
17814 * locale/programs/config.h: Don't define PARAMS.
17815 * stdlib/strtol_l.c: Likewise.
17816 (__strtol_l): Remove PARAMS from the prototype.
17818 2012-01-31 Ulrich Drepper <drepper@gmail.com>
17820 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
17821 names. Just use the correct names. Remove unnecessary wrapper
17823 * malloc/arena.c: Likewise.
17824 * malloc/hooks.c: Likewise.
17826 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
17827 ARENA_TEST says not to. Simplify test for creation of a new arena.
17828 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
17830 2012-01-30 Ulrich Drepper <drepper@gmail.com>
17832 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
17834 (update_get_addr): New function.
17835 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
17836 GET_ADDR_MODULE parameter.
17838 2012-01-30 Joseph Myers <joseph@codesourcery.com>
17840 * crypt/cert.c: Remove __STDC__ conditionals.
17841 * crypt/crypt-entry.c: Likewise.
17842 * crypt/crypt_util.c: Likewise.
17843 * libio/filedoalloc.c: Likewise.
17844 * libio/fileops.c: Likewise.
17845 * libio/genops.c: Likewise.
17846 * libio/iofclose.c: Likewise.
17847 * libio/iofdopen.c: Likewise.
17848 * libio/iofopen.c: Likewise.
17849 * libio/iofopen64.c: Likewise.
17850 * libio/iogetdelim.c: Likewise.
17851 * libio/iopopen.c: Likewise.
17852 * libio/obprintf.c: Likewise.
17853 * libio/oldfileops.c: Likewise.
17854 * libio/oldiofclose.c: Likewise.
17855 * libio/oldiofdopen.c: Likewise.
17856 * libio/oldiofopen.c: Likewise.
17857 * libio/oldiopopen.c: Likewise.
17858 * libio/wfiledoalloc.c: Likewise.
17859 * libio/wgenops.c: Likewise.
17860 * locale/programs/xmalloc.c: Likewise.
17861 * misc/syslog.c: Likewise.
17862 * stdio-common/xbug.c: Likewise.
17863 * string/memchr.c: Likewise.
17864 * string/memcmp.c: Likewise.
17865 * string/memrchr.c: Likewise.
17866 * string/rawmemchr.c: Likewise.
17867 * sysdeps/posix/getcwd.c: Likewise.
17868 * time/strftime_l.c: Likewise.
17870 2012-01-30 Joseph Myers <joseph@codesourcery.com>
17872 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
17873 * config.make.in (config-cflags-sse2avx): Define.
17874 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
17877 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
17879 * scripts/config.guess: Update from upstream config git repository.
17880 * scripts/config.sub: Likewise.
17882 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
17884 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
17886 (R_TILEPRO_*, R_TILEGX_*): New macros.
17888 * scripts/firstversions.awk: Fix bug in version range handling.
17890 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
17892 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
17894 * include/sys/epoll.h: New file.
17895 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
17898 2012-01-28 Ulrich Drepper <drepper@gmail.com>
17900 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
17901 Avoid unnecessary __WORDSIZE == 64 test.
17902 (fmaxf): Use VEX format if possible.
17907 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
17908 * math/math_private.h: Remove libc_fegetround* and
17910 * sysdeps/i386/configure.in: Check for -msse2avx.
17911 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
17912 also if SSE2AVX is defined.
17913 Remove libc_fegetround* and libc_fesetround*.
17914 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
17915 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
17916 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
17918 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17919 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17920 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17921 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17922 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17924 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
17926 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17928 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
17930 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17932 2012-01-27 Ulrich Drepper <drepper@gmail.com>
17935 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
17937 * Makeconfig (libm): Define.
17938 * elf/Makefile: Add rules to build and run tst-relsort1.
17939 * elf/tst-relsort1.c: New file.
17940 * elf/tst-relsort1mod1.c: New file.
17941 * elf/tst-relsort1mod2.c: New file.
17943 2012-01-27 Joseph Myers <joseph@codesourcery.com>
17945 * math/s_ldexp.c: Remove __STDC__ conditionals.
17946 * math/s_ldexpf.c: Likewise.
17947 * math/s_ldexpl.c: Likewise.
17948 * math/s_nextafter.c: Likewise.
17949 * math/s_nexttowardf.c: Likewise.
17950 * math/s_significand.c: Likewise.
17951 * math/s_significandf.c: Likewise.
17952 * math/s_significandl.c: Likewise.
17953 * math/w_jnl.c: Likewise.
17954 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17955 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17956 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17957 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17958 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17959 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17960 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
17961 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17962 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17963 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17964 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17965 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17966 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17967 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17968 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17969 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17970 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17971 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17972 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17973 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17974 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17975 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17976 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17977 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17978 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17979 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17980 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17981 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17982 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17983 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17984 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17985 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17986 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17987 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17988 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17989 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17990 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17991 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17992 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17993 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17994 * sysdeps/ieee754/k_standard.c: Likewise.
17995 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17996 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17997 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17998 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17999 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18000 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18001 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18002 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18003 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18004 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18005 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18006 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18007 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18008 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18009 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18010 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18011 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18012 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18013 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18014 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18015 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18016 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18017 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18018 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18019 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18020 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18021 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18022 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18023 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18024 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18025 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18026 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
18027 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18028 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18029 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18030 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18031 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
18032 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18033 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18034 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
18035 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
18036 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18037 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18038 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
18039 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18040 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18041 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18042 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18043 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18044 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18045 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
18046 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18047 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18048 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18049 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18050 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18051 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
18052 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18053 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18054 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18055 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18056 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18057 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18058 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18059 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18060 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18061 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18062 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18063 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18064 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18065 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18066 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18067 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18068 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18069 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18070 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18071 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18072 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18073 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18074 * sysdeps/ieee754/s_matherr.c: Likewise.
18075 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18076 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18077 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18078 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18080 2012-01-26 Joseph Myers <joseph@codesourcery.com>
18082 * crypt/md5.h: Remove __STDC__ conditionals.
18083 * libio/libioP.h: Likewise.
18084 * locale/programs/config.h: Likewise.
18085 * sysdeps/generic/sysdep.h: Likewise.
18086 * sysdeps/i386/asm-syntax.h: Likewise.
18087 * sysdeps/s390/asm-syntax.h: Likewise.
18088 * sysdeps/unix/sysdep.h: Likewise.
18089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18092 2012-01-26 Joseph Myers <joseph@codesourcery.com>
18094 * libio/libio.h: Remove __STDC__ conditionals.
18095 * malloc/obstack.h: Likewise.
18096 * math/complex.h: Likewise.
18097 * math/math.h: Likewise.
18098 * sysdeps/generic/_G_config.h: Likewise.
18099 * sysdeps/gnu/_G_config.h: Likewise.
18100 * sysdeps/mach/hurd/_G_config.h: Likewise.
18101 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18102 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18103 * sysdeps/sparc/bits/mathdef.h: Likewise.
18105 2012-01-26 Ulrich Drepper <drepper@gmail.com>
18108 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
18109 Clean up HAS_* macros.
18110 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
18111 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
18113 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
18115 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18116 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18117 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18118 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18119 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18121 2012-01-25 Joseph Myers <joseph@codesourcery.com>
18123 * elf/tst-unique3.cc (gets): Remove declaration.
18124 * elf/tst-unique3lib.cc (gets): Likewise.
18125 * elf/tst-unique3lib2.cc (gets): Likewise.
18126 * elf/tst-unique4.cc (gets): Likewise.
18128 2012-01-24 Ulrich Drepper <drepper@gmail.com>
18130 * include/stdio.h: Add C++ protection. Add gets declarations and
18132 * debug/tst-chk1.c: Don't declare gets here.
18133 * stdio-common/tst-gets.c: Likewise.
18135 2012-01-24 Joseph Myers <joseph@codesourcery.com>
18137 * posix/glob: Remove directory.
18139 2012-01-24 Joseph Myers <joseph@codesourcery.com>
18141 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
18143 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
18145 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
18146 of the non-standard EPFNOSUPPORT.
18148 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
18150 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
18151 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
18152 ANYWHERE set to 1 only on KERN_NO_SPACE error.
18154 2012-01-21 Ulrich Drepper <drepper@gmail.com>
18156 * wcsmbs/uchar.h: Test __STDC_VERSION__.
18158 2012-01-20 Ulrich Drepper <drepper@gmail.com>
18160 * nscd/aicache.c (addhstaiX): Do not cache negative results of
18162 * nscd/grpcache.c (cache_addgr): Likewise.
18163 * nscd/hstcache.c (cache_addhst): Likewise.
18164 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18165 * nscd/pwdcache.c (cache_addpw): Likewise.
18166 * nscd/servicescache.c (cache_addserv): Likewise.
18168 2012-01-16 Ulrich Drepper <drepper@gmail.com>
18170 * malloc/malloc.c: Various cleanups.
18171 * malloc/hooks.c: Likewise.
18173 * stdlib/Makefile (tests): Add bug-fmtmsg1.
18174 * stdlib/bug-fmtmsg1.c: New file.
18176 * stdlib/fmtmsg.c (init): Add missing unlock.
18177 Patch by Peng Haitao <penght@cn.fujitsu.com>.
18179 2012-01-12 Marek Polacek <polacek@redhat.com>
18181 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
18184 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18186 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
18187 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
18188 macro to ensure uniqueness of label name.
18189 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18190 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18192 2012-01-11 Ulrich Drepper <drepper@gmail.com>
18194 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
18196 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
18197 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18198 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18199 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
18201 2012-01-10 Ulrich Drepper <drepper@gmail.com>
18203 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
18205 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
18206 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18207 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18209 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
18211 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
18212 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18213 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18214 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
18216 * math/bits/math-finite.h: Add ldexp support.
18218 2012-01-10 Marek Polacek <polacek@redhat.com>
18220 * locale/programs/localedef.h (show_archive_content): Add noreturn
18223 2012-01-09 Ulrich Drepper <drepper@gmail.com>
18225 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
18227 2012-01-08 Ulrich Drepper <drepper@gmail.com>
18229 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
18231 * io/Makefile (headers): Add bits/poll2.h.
18233 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
18235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
18236 typo #include statement.
18238 2012-01-08 Ulrich Drepper <drepper@gmail.com>
18240 * include/sys/cdefs.h: Define __attribute_alloc_size.
18241 * catgets/gencat.c: Add alloc_size attribute and apply consistently
18242 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
18243 * elf/pldd.c: Likewise.
18244 * iconv/iconv_charmap.c: Likewise.
18245 * iconv/iconvconfig.c: Likewise.
18246 * iconv/strtab.c: Likewise.
18247 * locale/programs/locale.c: Likewise.
18248 * locale/programs/localedef.h: Likewise.
18249 * locale/programs/simple-hash.c: Likewise.
18250 * nscd/nscd.h: Likewise.
18251 * nss/makedb.c: Likewise.
18252 * sysdeps/generic/ldconfig.h: Likewise.
18253 * locale/programs/localedef.c: Remove xmalloc prototype.
18254 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
18256 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18258 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
18261 2012-01-08 Ulrich Drepper <drepper@gmail.com>
18263 * math/Makefile (tests): Add tst-CMPLX.
18264 * math/tst-CMPLX.c: New file.
18266 * math/complex.h (CMPLXL): Fix typo.
18268 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
18269 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
18271 * debug/tst-chk1.c: Add poll and ppoll tests.
18272 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
18273 * include/sys/poll.h: Add hidden proto for ppoll.
18274 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
18275 * sysdeps/mach/hurd/ppoll.c: Likewise.
18276 * io/ppoll.c: Likewise.
18277 * debug/poll_chk.c: New file.
18278 * debug/ppoll_chk.c: New file.
18279 * include/bits/poll2.h: New file.
18280 * io/bits/poll2.h: New file.
18283 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
18285 * configure.in: static is always set to yes. Remove.
18286 * config.make.in: Don't set build-static.
18287 * Makeconfig: Remove use of build-static.
18288 * dlfcn/Makefile: Likewise.
18289 * elf/Makefile: Likewise.
18290 * math/Makefile: Likewise.
18291 * misc/Makefile: Likewise.
18292 * nptl/Makefile: Likewise.
18293 * sysdeps/mach/hurd/Makefile: Likewise.
18295 * configure.in: PWD_P is not used anymore.
18296 * config.make.in: Remove PWD_P entry.
18298 * configure.in: Remove last remnants of RANLIB.
18299 No need to check for signed size_t anymore.
18300 Don't set libc_commonpagesize and libc_relro_required here for Alpha
18302 Remove __builtin_expect test because we require at least gcc 3.4.
18303 * aclocal.m4: Likewise.
18305 * wcsmbs/mbrtoc16.c: Implement using towc function.
18306 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
18307 * wcsmbs/wcsmbsload.c: Likewise.
18308 * iconv/gconv_simple.c: Likewise.
18309 * iconv/gconv_int.h: Likewise.
18310 * iconv/gconv_builtin.h: Likewise.
18311 * iconv/iconv_prog.c: Remove CHAR16 handling.
18313 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
18315 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
18317 * configure.in: Remove --with-elf and --enable-bounded options.
18318 Dont set base_machine for ia64. More non-ELF conditions removed.
18319 Remove testing and setting of leading underscore information.
18320 * config.make.in (build-bounded): Set to no.
18321 * config.h.in: Remove NO_UNDERSCORES entry.
18322 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
18324 * csu/start.c: Remove !NO_UNDERSCORE code.
18325 * locale/localeinfo.h: Likewise.
18326 * sysdeps/generic/machine-gmon.h: Likewise.
18327 * sysdeps/generic/sysdep.h: Likewise.
18328 * sysdeps/i386/sysdep.h: Likewise.
18329 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18330 * sysdeps/mach/sysdep.h: Likewise.
18331 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18332 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18333 * sysdeps/sh/sysdep.h: Likewise.
18334 * sysdeps/sparc/sparc32/alloca.S: Likewise.
18335 * sysdeps/unix/i386/sysdep.S: Likewise.
18336 * sysdeps/unix/sparc/start.c: Likewise.
18337 * sysdeps/unix/sparc/sysdep.S: Likewise.
18338 * sysdeps/unix/sparc/sysdep.h: Likewise.
18339 * sysdeps/unix/start.c: Likewise.
18340 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18341 * sysdeps/x86_64/sysdep.h: Likewise.
18343 2012-01-07 Ulrich Drepper <drepper@gmail.com>
18346 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
18348 * argp/argp-fmtstream.h: Use const instead __const.
18349 * argp/argp.h: Likewise.
18350 * assert/assert.h: Likewise.
18351 * bits/fenv.h: Likewise.
18352 * bits/sched.h: Likewise.
18353 * bits/sigset.h: Likewise.
18354 * bits/sigthread.h: Likewise.
18355 * catgets/nl_types.h: Likewise.
18356 * conform/data/pthread.h-data: Likewise.
18357 * crypt/crypt-private.h: Likewise.
18358 * crypt/crypt.h: Likewise.
18359 * crypt/crypt_util.c: Likewise.
18360 * ctype/ctype.h: Likewise.
18361 * debug/execinfo.h: Likewise.
18362 * debug/mbsnrtowcs_chk.c: Likewise.
18363 * debug/mbsrtowcs_chk.c: Likewise.
18364 * debug/wcsnrtombs_chk.c: Likewise.
18365 * debug/wcsrtombs_chk.c: Likewise.
18366 * debug/wcstombs_chk.c: Likewise.
18367 * dirent/dirent.h: Likewise.
18368 * dlfcn/dlfcn.h: Likewise.
18369 * elf/neededtest4.c: Likewise.
18370 * grp/grp.h: Likewise.
18371 * gshadow/gshadow.h: Likewise.
18372 * iconv/gconv.h: Likewise.
18373 * iconv/gconv_int.h: Likewise.
18374 * iconv/gconv_simple.c: Likewise.
18375 * iconv/iconv.h: Likewise.
18376 * iconv/loop.c: Likewise.
18377 * iconv/skeleton.c: Likewise.
18378 * include/aio.h: Likewise.
18379 * include/aliases.h: Likewise.
18380 * include/argz.h: Likewise.
18381 * include/arpa/inet.h: Likewise.
18382 * include/assert.h: Likewise.
18383 * include/dirent.h: Likewise.
18384 * include/dlfcn.h: Likewise.
18385 * include/execinfo.h: Likewise.
18386 * include/fcntl.h: Likewise.
18387 * include/fenv.h: Likewise.
18388 * include/glob.h: Likewise.
18389 * include/grp.h: Likewise.
18390 * include/libintl.h: Likewise.
18391 * include/mntent.h: Likewise.
18392 * include/netdb.h: Likewise.
18393 * include/pwd.h: Likewise.
18394 * include/rpc/netdb.h: Likewise.
18395 * include/sched.h: Likewise.
18396 * include/search.h: Likewise.
18397 * include/shadow.h: Likewise.
18398 * include/signal.h: Likewise.
18399 * include/stdio.h: Likewise.
18400 * include/stdlib.h: Likewise.
18401 * include/string.h: Likewise.
18402 * include/sys/socket.h: Likewise.
18403 * include/sys/stat.h: Likewise.
18404 * include/sys/statfs.h: Likewise.
18405 * include/sys/statvfs.h: Likewise.
18406 * include/sys/syslog.h: Likewise.
18407 * include/sys/time.h: Likewise.
18408 * include/sys/uio.h: Likewise.
18409 * include/time.h: Likewise.
18410 * include/unistd.h: Likewise.
18411 * include/utmp.h: Likewise.
18412 * include/wchar.h: Likewise.
18413 * include/wctype.h: Likewise.
18414 * inet/aliases.h: Likewise.
18415 * inet/arpa/inet.h: Likewise.
18416 * inet/netinet/ether.h: Likewise.
18417 * inet/netinet/in.h: Likewise.
18418 * intl/libintl.h: Likewise.
18419 * io/bits/fcntl2.h: Likewise.
18420 * io/fcntl.h: Likewise.
18421 * io/ftw.h: Likewise.
18422 * io/sys/poll.h: Likewise.
18423 * io/sys/stat.h: Likewise.
18424 * io/sys/statfs.h: Likewise.
18425 * io/sys/statvfs.h: Likewise.
18426 * io/utime.h: Likewise.
18427 * libio/bits/stdio.h: Likewise.
18428 * libio/bits/stdio2.h: Likewise.
18429 * libio/libio.h: Likewise.
18430 * libio/libioP.h: Likewise.
18431 * libio/stdio.h: Likewise.
18432 * locale/lc-ctype.c: Likewise.
18433 * locale/locale.h: Likewise.
18434 * login/utmp.h: Likewise.
18435 * malloc/arena.c: Likewise.
18436 * malloc/malloc.c: Likewise.
18437 * malloc/malloc.h: Likewise.
18438 * malloc/mcheck.c: Likewise.
18439 * malloc/mtrace.c: Likewise.
18440 * math/bits/mathcalls.h: Likewise.
18441 * math/fenv.h: Likewise.
18442 * math/math_private.h: Likewise.
18443 * misc/bits/error.h: Likewise.
18444 * misc/bits/syslog.h: Likewise.
18445 * misc/err.h: Likewise.
18446 * misc/error.h: Likewise.
18447 * misc/fstab.h: Likewise.
18448 * misc/mntent.h: Likewise.
18449 * misc/regexp.h: Likewise.
18450 * misc/search.h: Likewise.
18451 * misc/sgtty.h: Likewise.
18452 * misc/sys/mman.h: Likewise.
18453 * misc/sys/syslog.h: Likewise.
18454 * misc/sys/uio.h: Likewise.
18455 * misc/sys/xattr.h: Likewise.
18456 * misc/ttyent.h: Likewise.
18457 * nis/rpcsvc/ypclnt.h: Likewise.
18458 * nss/nss.h: Likewise.
18459 * posix/bits/unistd.h: Likewise.
18460 * posix/fnmatch.h: Likewise.
18461 * posix/glob.h: Likewise.
18462 * posix/sched.h: Likewise.
18463 * posix/spawn.h: Likewise.
18464 * posix/sys/wait.h: Likewise.
18465 * posix/unistd.h: Likewise.
18466 * posix/wordexp.h: Likewise.
18467 * pwd/pwd.h: Likewise.
18468 * resolv/netdb.h: Likewise.
18469 * resource/sys/resource.h: Likewise.
18470 * rt/aio.h: Likewise.
18471 * rt/bits/mqueue2.h: Likewise.
18472 * rt/mqueue.h: Likewise.
18473 * shadow/shadow.h: Likewise.
18474 * signal/signal.h: Likewise.
18475 * socket/send.c: Likewise.
18476 * socket/sendto.c: Likewise.
18477 * socket/sys/socket.h: Likewise.
18478 * stdio-common/printf.h: Likewise.
18479 * stdlib/bits/stdlib.h: Likewise.
18480 * stdlib/fmtmsg.h: Likewise.
18481 * stdlib/monetary.h: Likewise.
18482 * stdlib/stdlib.h: Likewise.
18483 * stdlib/ucontext.h: Likewise.
18484 * streams/stropts.h: Likewise.
18485 * string/argz.h: Likewise.
18486 * string/bits/string2.h: Likewise.
18487 * string/string.h: Likewise.
18488 * string/strings.h: Likewise.
18489 * sunrpc/rpc/auth.h: Likewise.
18490 * sunrpc/rpc/auth_des.h: Likewise.
18491 * sunrpc/rpc/clnt.h: Likewise.
18492 * sunrpc/rpc/netdb.h: Likewise.
18493 * sunrpc/rpc/pmap_clnt.h: Likewise.
18494 * sunrpc/rpc/xdr.h: Likewise.
18495 * sysdeps/generic/inttypes.h: Likewise.
18496 * sysdeps/generic/net/if.h: Likewise.
18497 * sysdeps/generic/sys/swap.h: Likewise.
18498 * sysdeps/gnu/net/if.h: Likewise.
18499 * sysdeps/gnu/utmpx.h: Likewise.
18500 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
18501 * sysdeps/i386/i486/bits/string.h: Likewise.
18502 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
18503 * sysdeps/s390/bits/string.h: Likewise.
18504 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
18505 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
18506 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
18507 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
18508 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18509 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
18510 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
18511 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
18512 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
18513 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
18514 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
18515 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18516 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
18517 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18518 * sysdeps/unix/sysv/linux/readv.c: Likewise.
18519 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
18520 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18521 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18522 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18523 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18524 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18525 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
18526 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
18527 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
18528 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
18529 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
18530 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
18531 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18532 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
18533 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
18534 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
18535 * sysvipc/sys/ipc.h: Likewise.
18536 * sysvipc/sys/msg.h: Likewise.
18537 * sysvipc/sys/sem.h: Likewise.
18538 * sysvipc/sys/shm.h: Likewise.
18539 * termios/termios.h: Likewise.
18540 * time/sys/time.h: Likewise.
18541 * time/time.h: Likewise.
18542 * wcsmbs/bits/wchar2.h: Likewise.
18543 * wcsmbs/uchar.h: Likewise.
18544 * wcsmbs/wchar.h: Likewise.
18545 * wctype/wctype.h: Likewise.
18548 * Makeconfig: Remove all but ELF support including AIX support.
18549 * Makerules: Likewise.
18550 * config.h.in: Likewise.
18551 * config.make.in: Likewise.
18552 * configure: Likewise.
18553 * configure.in: Likewise.
18554 * csu/Makefile: Likewise.
18555 * csu/version.c: Likewise.
18556 * debug/Makefile: Likewise.
18557 * dlfcn/Makefile: Likewise.
18558 * elf/Makefile: Likewise.
18559 * extra-lib.mk: Likewise.
18560 * iconv/Makefile: Likewise.
18561 * include/libc-symbols.h: Likewise.
18562 * include/shlib-compat.h: Likewise.
18563 * resolv/Makefile: Likewise.
18564 * resolv/res_libc.c: Likewise.
18565 * rt/Makefile: Likewise.
18566 * sysdeps/i386/asm-syntax.h: Likewise.
18567 * sysdeps/i386/sysdep.h: Likewise.
18568 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18569 * sysdeps/mach/sysdep.h: Likewise.
18570 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
18571 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
18572 * sysdeps/s390/asm-syntax.h: Likewise.
18573 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18574 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18575 * sysdeps/sh/sysdep.h: Likewise.
18576 * sysdeps/unix/sparc/sysdep.h: Likewise.
18577 * sysdeps/wordsize-32/divdi3.c: Likewise.
18578 * sysdeps/x86_64/sysdep.h: Likewise.
18580 * argp/Versions: Remove _argp_unlock_xxx.
18583 * abilist/ld.abilist: Update. Adjust for removal of tls option.
18584 * abilist/libBrokenLocale.abilist: Likewise.
18585 * abilist/libanl.abilist: Likewise.
18586 * abilist/libc.abilist: Likewise.
18587 * abilist/libcrypt.abilist: Likewise.
18588 * abilist/libdl.abilist: Likewise.
18589 * abilist/libm.abilist: Likewise.
18590 * abilist/libnsl.abilist: Likewise.
18591 * abilist/libpthread.abilist: Likewise.
18592 * abilist/libresolv.abilist: Likewise.
18593 * abilist/librt.abilist: Likewise.
18594 * abilist/libthread_db.abilist: Likewise.
18595 * abilist/libutil.abilist: Likewise.
18596 * abilist/libnss_db.abilist: New file.
18598 * scripts/abilist.awk: Add support for indirect functions.
18600 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
18602 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
18604 * shlib-versions: Remove entries for ports architectures.
18606 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
18608 * elf/stackguard-macros.h: Remove support for IA-64.
18609 * elf/tst-auditmod1.c: Likewise.
18610 * sysdeps/generic/ldsodefs.h: Likewise.
18612 * sysdeps/unix/sysv/linux/configure.in: Ports should define
18613 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
18617 * configure.in: Remove --enable-omitfp support.
18619 * config.make.in: Likewise.
18620 * Makeconfig: Likewise.
18621 * manual/install.texi: Likewise.
18623 In case anyone cares, the IA-64 architecture could move to ports.
18624 * sysdeps/ia64/*: Removed.
18625 * sysdeps/unix/sysv/linux/ia64/*: Removed.
18626 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
18629 * configure.in: Remove entries for unsupported architectures.
18632 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
18633 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
18635 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
18636 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
18637 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
18638 fall back to using wcrtomb.
18639 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
18640 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
18642 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
18643 * wcsmbs/tst-c16c32-1.c: New file.
18645 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
18648 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
18650 * elf/tst-unique3.cc: Add explicit declaration of gets.
18651 * elf/tst-unique3lib.cc: Likewise.
18652 * elf/tst-unique3lib2.cc: Likewise.
18653 * elf/tst-unique4.cc: Likewise.
18655 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
18657 2012-01-06 Joseph Myers <joseph@codesourcery.com>
18660 * assert/assert.h (static_assert): Don't define for C++.
18661 * libio/stdio.h (gets): Do declare for C++ <= C++11.
18662 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
18664 2012-01-03 Ulrich Drepper <drepper@gmail.com>
18666 * iconv/loop.c (single loop): Fix assertion in storing of
18669 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
18671 2012-01-01 Ulrich Drepper <drepper@gmail.com>
18673 * posix/getconf.c: Update copyright year.
18674 * nss/getent.c: Likewise.
18675 * nss/makedb.c: Likewise.
18676 * iconv/iconvconfig.c: Likewise.
18677 * iconv/iconv_prog.c: Likewise.
18678 * elf/ldconfig.c: Likewise.
18679 * elf/pldd.c: Likewise.
18680 * elf/sotruss.ksh: Likewise.
18681 * catgets/gencat.c: Likewise.
18682 * csu/version.c: Likewise.
18683 * elf/ldd.bash.in: Likewise.
18684 * elf/sprof.c (print_version): Likewise.
18685 * locale/programs/locale.c: Likewise.
18686 * locale/programs/localedef.c: Likewise.
18687 * login/programs/pt_chown.c: Likewise.
18688 * nscd/nscd.c (print_version): Likewise.
18689 * debug/xtrace.sh: Likewise.
18690 * malloc/memusage.sh: Likewise.
18691 * malloc/mtrace.pl: Likewise.
18692 * debug/catchsegv.sh: Likewise.
18694 2011-12-30 Jakub Jelinek <jakub@redhat.com>
18696 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
18699 2011-12-24 Ulrich Drepper <drepper@gmail.com>
18702 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
18703 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
18705 * iconv/gconv_int.h: Likewise.
18706 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
18707 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
18708 from libc for GLIBC_2.16.
18709 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
18710 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
18711 * wcsmbs/uchar.h: Really define mbstate_t.
18712 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
18713 * wcsmbs/c16rtomb.c: New file.
18714 * wcsmbs/mbrtoc16.c: New file.
18715 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
18716 for C/POSIX locale.
18717 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
18718 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
18720 * wcsmbs/wchar.h: Add missing __restrict.
18722 2011-12-23 Ulrich Drepper <drepper@gmail.com>
18725 * time/Makefile (routines): Add timespec_get.
18726 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
18727 * time/time.h: Define TIME_UTC and declare timespec_get. Define
18728 timespec for ISO C11.
18729 * time/timespec_get.c: New file.
18730 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
18731 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
18734 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
18735 * stdlib/stdlib.h: Declare aligned_alloc.
18736 * Versions.def: Add GLIBC_2.16 for libc.
18737 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
18740 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
18743 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
18747 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
18750 * assert/assert.h (static_assert): Define.
18752 * version.h: Update for 2.16 development version.
18755 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
18758 * version.h (RELEASE): Bump for 2.15 release.
18759 * include/features.h (__GLIBC_MINOR__): Bump to 15.
18761 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
18762 Patch by Marek Polacek <mpolacek@redhat.com>.
18764 * bits/byteswap.h: Protect long long constants with __extension__.
18765 * sysdeps/i386/bits/byteswap.h: Likewise.
18766 * sysdeps/ia64/bits/byteswap.h: Likewise.
18767 * sysdeps/s390/bits/byteswap.h: Likewise.
18768 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18770 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18773 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
18774 destination buffer.
18775 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
18777 2011-12-23 Marek Polacek <polacek@redhat.com>
18779 * elf/dl-addr.c (determine_info): Add inline keyword.
18780 * elf/tst-auditmod4b.c (check_avx): Likewise.
18781 * elf/tst-auditmod6b.c (check_avx): Likewise.
18782 * elf/tst-auditmod6c.c (check_avx): Likewise.
18783 * elf/tst-auditmod7b.c (check_avx): Likewise.
18785 2011-12-23 Ulrich Drepper <drepper@gmail.com>
18787 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
18790 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18793 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
18794 processing for last bytes.
18796 2011-08-06 Bruno Haible <bruno@clisp.org>
18799 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
18800 U+0385, not to U+1FEE.
18803 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
18804 entry for U+00A5 U+0301.
18806 2011-12-22 Ulrich Drepper <drepper@gmail.com>
18809 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
18810 buffer for the output is too small.
18812 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
18816 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
18817 SSE flags if possible.
18819 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18822 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
18823 processing for last bytes.
18825 2011-12-22 Joseph Myers <joseph@codesourcery.com>
18827 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
18828 (syscall-list-default-options, syscall-list-default-condition)
18829 (syscall-list-includes): Define.
18830 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
18831 list of ABIs and options and #if conditions for each ABI. Do not
18832 handle common syscalls between ABIs specially.
18833 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
18835 (syscall-list-variants, syscall-list-32bit-options)
18836 (syscall-list-32bit-condition, syscall-list-64bit-options)
18837 (syscall-list-64bit-condition): Define.
18838 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
18839 (syscall-list-variants, syscall-list-32bit-options)
18840 (syscall-list-32bit-condition, syscall-list-64bit-options)
18841 (syscall-list-64bit-condition): Define.
18842 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
18844 (syscall-list-variants, syscall-list-32bit-options)
18845 (syscall-list-32bit-condition, syscall-list-64bit-options)
18846 (syscall-list-64bit-condition): Define.
18847 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
18849 (syscall-list-variants, syscall-list-32bit-options)
18850 (syscall-list-32bit-condition, syscall-list-64bit-options)
18851 (syscall-list-64bit-condition): Define.
18853 2011-12-22 Ulrich Drepper <drepper@gmail.com>
18855 * locale/iso-639.def: Add brx entry.
18858 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
18859 Proposed by Mariusz_Cukr <marcukr@op.pl>.
18861 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
18862 __feraiseexcept_renamed.
18864 2011-12-21 Ulrich Drepper <drepper@gmail.com>
18867 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
18868 EPOLLET with unsigned values.
18869 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18870 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18872 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
18873 to large cancellation.
18874 * math/s_cacoshf.c: Likewise.
18875 * math/s_cacoshl.c: Likewise.
18877 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
18881 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
18882 * math/s_cacoshf.c: Likewise.
18883 * math/s_cacoshl.c: Likewise.
18885 2011-12-21 Ulrich Drepper <drepper@gmail.com>
18888 * iconv/gconv.h: Define __GCONV_SWAP.
18889 * iconvdata/unicode.c: The swap bit must be stored in __flags.
18890 * iconvdata/utf-16.c: Likewise.
18891 * iconvdata/utf-32.c: Likewise.
18893 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
18896 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
18897 numerator after shifting it by one limb.
18899 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
18901 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
18902 under [__USE_EXTERN_INLINES].
18904 2011-12-17 Ulrich Drepper <drepper@gmail.com>
18907 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
18909 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18911 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
18912 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
18914 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
18915 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
18916 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
18917 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
18918 for strncasecmp/strncasecmp_l compilation.
18919 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
18920 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
18922 2011-12-08 Marek Polacek <mpolacek@redhat.com>
18925 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
18928 2011-12-17 Ulrich Drepper <drepper@gmail.com>
18931 * time/tzfile.c (__tzfile_read): Check values from file header.
18933 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18935 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
18936 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
18937 * powerpc/powerpc32/dl-start.S: Likewise.
18938 * powerpc/powerpc32/elf/start.S: Likewise.
18939 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18940 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
18941 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
18942 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
18943 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18944 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
18945 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
18946 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18947 * powerpc/powerpc32/fpu/s_round.S: Likewise.
18948 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18949 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18950 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18951 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
18952 * powerpc/powerpc32/memset.S: Likewise.
18953 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18954 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18955 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18956 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18957 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18958 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18959 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18960 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18961 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
18962 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
18963 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
18964 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18965 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18967 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18969 * math/libm-test.inc: Added more nearbyint tests.
18970 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
18971 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
18972 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
18973 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
18975 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
18977 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
18980 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18982 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
18983 Add wcscpy-ssse3 wcscpy-c.
18984 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
18985 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
18986 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
18987 * sysdeps/x86_64/wcschr.S: New file.
18988 * sysdeps/x86_64/wcsrchr.S: New file.
18989 * string/test-strcmp.c: Remove checking of wcscmp function for
18991 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
18992 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
18993 wcsrchr-sse2 wcsrchr-c.
18994 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
18995 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
18996 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
18997 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
18998 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
18999 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
19000 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
19001 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
19002 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
19003 * wcsmbc/wcschr.c (WCSCHR): New macro.
19005 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19007 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
19008 * wcsmbs/test-wcsrchr.c: New file.
19009 * string/test-strrchr.c: Add wcsrchr support.
19011 * wcsmbs/test-wcscpy.c: New file.
19012 * string/test-strcpy.c: Add wcscpy support.
19015 2011-12-10 Ulrich Drepper <drepper@gmail.com>
19017 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
19020 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
19023 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
19025 2011-12-04 Ulrich Drepper <drepper@gmail.com>
19027 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
19028 Minor optimizations.
19030 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
19031 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
19032 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
19034 2011-12-03 Ulrich Drepper <drepper@gmail.com>
19036 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
19037 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
19038 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
19039 for gcc to avoid warnings.
19040 * inet/Makefile (tests): Add tst-checks.
19041 * inet/tst-checks.c: New file.
19043 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
19046 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
19049 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
19050 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
19052 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
19054 2011-12-02 Ulrich Drepper <drepper@gmail.com>
19056 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
19059 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
19061 2011-11-29 Joseph Myers <joseph@codesourcery.com>
19063 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
19064 conditional on GCC version.
19065 (__arch_compare_and_exchange_val_8_acq)
19066 (__arch_compare_and_exchange_val_16_acq)
19067 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
19068 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
19069 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
19071 2011-12-02 Joseph Myers <joseph@codesourcery.com>
19073 * sysdeps/sh/backtrace.c: New file.
19075 2011-12-02 Andreas Schwab <schwab@redhat.com>
19077 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
19080 2011-12-01 Andreas Schwab <schwab@redhat.com>
19082 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
19083 falling back to utime.
19085 2011-11-30 Andreas Schwab <schwab@redhat.com>
19087 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
19088 expectations for float.
19090 2011-11-29 Andreas Schwab <schwab@redhat.com>
19092 * locale/weight.h (findidx): Add parameter len.
19093 * locale/weightwc.h (findidx): Likewise.
19094 * posix/fnmatch_loop.c (FCT): Adjust caller.
19095 * posix/regcomp.c (build_equiv_class): Likewise.
19096 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
19097 * posix/regexec.c (check_node_accept_bytes): Likewise.
19098 * string/strcoll_l.c (STRCOLL): Likewise.
19099 * string/strxfrm_l.c (STRXFRM): Likewise.
19101 2011-11-17 Ulrich Drepper <drepper@gmail.com>
19103 * Makefile.in: Remove CVSOPT handling.
19104 * configure.in: Remove use of AC_REVISION.
19105 * iconvdata/Makefile (distribute): No need to filter out CVS.
19106 * scripts/list-sources.sh: Remove CVS, subversion and monotone
19109 2011-11-16 Andreas Schwab <schwab@redhat.com>
19111 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
19112 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
19113 [USE_AS_STRNCASECMP_L]: Likewise.
19114 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
19115 NO_TLS_DIRECT_SEG_REFS.
19116 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
19117 Fix argument offsets for non-PIC.
19118 [USE_AS_STRNCASECMP_L]: Likewise.
19119 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
19120 NO_TLS_DIRECT_SEG_REFS.
19122 2011-11-15 Ulrich Drepper <drepper@gmail.com>
19124 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
19126 * locale/loadlocale.c (_nl_load_locale): Likewise.
19128 2011-11-15 Andreas Schwab <schwab@redhat.com>
19130 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
19131 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
19132 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
19133 (SYSCALL_GETTIME): Set errno on error.
19135 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
19136 count references to noai6ai_cached.
19138 2011-11-15 Ulrich Drepper <drepper@gmail.com>
19140 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
19142 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
19143 FD_CLOEXEC for /proc/self/maps.
19145 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
19146 FD_CLOEXEC for /proc/meminfo.
19148 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
19151 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
19152 FD_CLOEXEC for given file.
19154 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
19156 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
19157 FD_CLOEXEC for /etc/hosts.
19158 (_gethtent): Likewise.
19160 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
19162 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
19163 cancellation and set FD_CLOEXEC for /etc/netgroup.
19165 * nss/nss_files/files-key.c (search): Don't allow cancellation when
19166 reading /etc/publickey.
19168 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
19169 allow cancellation when reading /etc/group.
19171 * nss/nss_files/files-alias.c (internal_setent): Don't allow
19173 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
19175 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
19176 when using data file.
19178 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
19180 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
19181 (write_nis_obj): Use "c" and "e" in fopen.
19183 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
19185 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
19187 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
19189 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
19191 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
19194 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
19196 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
19198 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
19200 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
19201 file parsing and set FD_CLOEXEC.
19203 2011-11-14 Ulrich Drepper <drepper@gmail.com>
19205 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
19207 2011-11-14 Andreas Schwab <schwab@redhat.com>
19209 * malloc/arena.c (arena_get2): Don't call reused_arena when
19210 _int_new_arena failed.
19212 2011-11-14 Ulrich Drepper <drepper@gmail.com>
19214 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
19215 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
19216 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
19217 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19218 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19219 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
19220 to compile strcasecmp and strncasecmp.
19221 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
19222 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
19224 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
19226 2011-11-13 Ulrich Drepper <drepper@gmail.com>
19228 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
19229 locale-defines.sym to gen-as-const-headers.
19230 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
19231 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
19232 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
19233 to compile strcasecmp and strncasecmp.
19234 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
19235 strcasecmp_l and strncasecmp_l.
19236 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
19237 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
19238 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
19239 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
19240 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
19241 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
19242 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
19243 * sysdeps/i386/i686/multiarch/strncase.S: New file.
19244 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
19245 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
19246 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
19248 2011-11-12 Ulrich Drepper <drepper@gmail.com>
19250 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
19251 result of SYSDEP_GETTIME_CPU to retval.
19252 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
19253 parameter list to macro. Remove trailing semicolon. Adjust users.
19255 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
19258 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
19260 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19262 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
19263 from unused variable.
19265 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
19267 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
19270 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
19273 * sunrpc/rpc_prot.c (rejected): Fix case value.
19275 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
19276 unsigned long long int to avoid warnings in shift.
19278 * posix/regex_internal.c (re_string_reconstruct): Actually use result
19280 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
19283 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
19284 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
19285 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
19287 * nis/nis_table.c (nis_list): Use variable of correct type for
19288 result of __follow_path call.
19290 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19292 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
19293 of math functions ceil, trunc, floor, round, and sqrt, when
19294 avaliable on the platform.
19295 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
19297 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19298 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19299 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19301 2011-10-30 Marek Polacek <mpolacek@redhat.com>
19303 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
19304 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19306 2011-11-11 Roland McGrath <roland@hack.frob.com>
19308 * include/unistd.h: Fix __readlink return type.
19309 Reported by Chris Metcalf <cmetcalf@tilera.com>.
19311 2011-11-11 Ulrich Drepper <drepper@gmail.com>
19313 * stdlib/ucontext.h: Undo last change for makecontext.
19315 2011-11-11 Andreas Schwab <schwab@redhat.com>
19317 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
19319 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
19320 * setjmp/setjmp.h: Mark functions as non-leaf.
19321 * setjmp/bits/setjmp2.h: Likewise.
19322 * stdlib/ucontext.h: Likewise.
19324 2011-11-10 Andreas Schwab <schwab@redhat.com>
19326 * malloc/arena.c (_int_new_arena): Don't increment narenas.
19327 (reused_arena): Don't check arena limit.
19328 (arena_get2): Atomically check arena limit.
19330 2011-11-08 Ulrich Drepper <drepper@gmail.com>
19332 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
19333 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
19335 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
19338 2011-11-07 Andreas Schwab <schwab@redhat.com>
19340 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
19341 handler when locking.
19343 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19344 Fix size of allocated buffer.
19346 2011-11-04 Andreas Schwab <schwab@redhat.com>
19349 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
19350 declarations for long double functions.
19351 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
19353 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
19355 2011-11-03 Andreas Schwab <schwab@redhat.com>
19357 * nscd/nscd.c (main): Don't start AVC thread until credentials are
19360 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
19363 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19365 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
19367 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
19369 * include/alloca.h (stackinfo_alloca_round): Define.
19370 (extend_alloca): Use it.
19371 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
19372 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
19375 * scripts/check-local-headers.sh: Ignore libaudit.h.
19377 * nscd/Makefile (extra-objs): Make recursively expanded.
19379 2011-11-01 Ulrich Drepper <drepper@gmail.com>
19381 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
19382 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19384 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
19385 * posix/tst-rfc3484-2.c: Likewise.
19386 * posix/tst-rfc3484-3.c: Likewise.
19388 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19390 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
19392 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
19393 process_vm_writev from libc using GLIBC_2.15 version.
19395 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
19397 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
19399 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
19402 2011-10-31 Ulrich Drepper <drepper@gmail.com>
19405 * nss/getent.c (initgroups_keys): Show error message in case no group
19408 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
19409 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
19410 __bump_nl_timestamp.
19411 * nscd/connections (nscd_init): When host database is served open
19412 netlink socket and request notification about configuration changes.
19413 (main_loop_poll): Track netlink file descriptor and bump timestamp
19414 in case data becomes available.
19415 (main_loop_epoll): Likewise.
19416 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
19417 (database_pers_head): Add extra_data fileds.
19418 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
19419 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
19420 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
19422 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
19423 in6ai data, call __free_in6ai.
19424 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
19425 Add -DHAVE_NETLINK.
19426 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
19427 interface information. Reuse previous data if netlink timestamp
19429 (__bump_nl_timestamp): New function.
19430 (__free_in6ai): New function.
19432 2011-10-30 Ulrich Drepper <drepper@gmail.com>
19434 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
19435 close_not_cancel_no_status here.
19436 (__check_pf): Reorganize code a bit to not call close twice if OOM.
19438 2011-10-29 Ulrich Drepper <drepper@gmail.com>
19441 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
19444 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
19445 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
19446 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
19448 2011-07-03 Andreas Jaeger <aj@suse.de>
19451 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
19452 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
19453 * math/libm-test.inc (sin_test): Add test case.
19455 2011-10-29 Ulrich Drepper <drepper@gmail.com>
19458 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
19459 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19461 * elf/chroot_canon.c (chroot_canon): Cleanups.
19463 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
19466 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
19467 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19469 * string/test-strchr.c: Make usable for strchrnul testing.
19470 * string/test-strchrnul.c: New file.
19471 * string/Makefile (strop-tests): Add strchrnul.
19473 * po/it.po: Update from translation team.
19474 * po/es.po: Likewise.
19476 2011-10-28 Ulrich Drepper <drepper@gmail.com>
19478 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
19479 the three constants needed as parameters. Drop the others.
19480 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
19481 __m128i_strloadu_tolower.
19482 Create and initialize variable zero and use it in all the places
19483 where _mm_setzero_si128 was used.
19485 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
19486 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
19487 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
19488 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
19490 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
19491 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
19492 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
19493 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
19494 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
19495 __mpranred, __mptan.
19496 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
19497 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
19498 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
19499 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
19500 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
19501 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
19502 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
19503 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
19504 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
19506 2011-10-28 Andreas Schwab <schwab@redhat.com>
19508 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
19509 redefine if SHARED.
19510 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
19512 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
19513 wide char related routines to wcsmbs subdir.
19515 2011-10-27 Andreas Schwab <schwab@redhat.com>
19518 * misc/sys/cdefs.h (__THROWNL): Define.
19519 * posix/unistd.h: Use __THREADNL instead of __THREAD
19520 for memory synchronization functions.
19522 2011-10-26 Roland McGrath <roland@hack.frob.com>
19525 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
19527 * manual/stdio.texi (Obstack Streams): Node removed.
19529 2011-10-26 Andreas Schwab <schwab@redhat.com>
19531 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
19532 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19533 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19535 * math/math_private.h (math_force_eval): Allow non-addressable
19537 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
19539 2011-10-25 Ulrich Drepper <drepper@gmail.com>
19541 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
19542 file is not needed.
19544 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
19545 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
19546 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19547 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19548 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19549 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19550 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19551 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
19553 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
19554 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
19555 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
19556 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
19557 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
19558 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
19559 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
19560 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
19561 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
19562 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
19563 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
19564 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
19565 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
19566 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
19567 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
19568 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
19569 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
19570 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
19571 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
19573 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
19574 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
19576 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
19577 place. Use VEX encoding when compiling for AVX.
19579 2011-10-25 Andreas Schwab <schwab@redhat.com>
19581 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
19582 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19584 * string/test-strchr.c (do_test): Don't generate NUL bytes.
19586 2011-10-25 Ulrich Drepper <drepper@gmail.com>
19588 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
19589 useless if() expression.
19590 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19591 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19592 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19593 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19594 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19595 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19596 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19597 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19598 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19599 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19600 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19601 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19602 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19603 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19604 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19605 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19606 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19607 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19608 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19610 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
19612 2011-10-25 Andreas Schwab <schwab@redhat.com>
19614 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
19616 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19618 2011-10-25 Ulrich Drepper <drepper@gmail.com>
19620 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
19621 .text section. Avoid duplicate constants.
19622 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19623 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19624 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19625 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19626 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19627 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19628 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19629 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19630 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19631 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
19632 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19633 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19634 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19635 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19636 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19637 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19638 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19639 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19640 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19641 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19642 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19643 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19644 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19645 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
19646 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
19647 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
19648 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
19649 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
19650 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
19651 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
19652 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
19653 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
19654 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19655 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
19656 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
19657 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
19658 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
19659 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
19660 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
19661 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
19662 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
19663 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
19664 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
19665 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19666 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
19668 2011-10-24 Ulrich Drepper <drepper@gmail.com>
19670 * sysdeps/x86_64/dla.h: Move to ...
19671 * sysdeps/x86_64/fpu/dla.h: ...here.
19672 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
19673 situations. Use __builtin_fma only for gcc 4.6 and up.
19675 * config.make.in: Add have-mfma4 entry.
19676 * configure.in: Substitute libc_cv_cc_fma4.
19677 * math/Makefile (dbl-only-routines): Add sincostab.
19678 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
19679 Use __sincostab not sincos.
19680 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
19682 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19683 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19684 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19685 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
19687 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
19688 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
19689 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
19690 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
19692 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
19693 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
19695 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
19696 define aliases when function name is a macro.
19697 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
19698 sysdeps/ieee754/dbl-64/sincos.tbl.
19699 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
19700 fma4-enabled routines.
19701 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
19702 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
19703 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
19704 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
19705 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
19706 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
19707 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
19708 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
19709 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
19710 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
19711 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
19712 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
19713 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
19714 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
19715 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
19716 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
19717 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
19718 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
19719 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
19720 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
19721 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
19722 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
19723 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
19724 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
19725 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
19726 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
19727 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
19728 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
19729 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
19730 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
19732 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
19734 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19735 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19736 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19737 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19738 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19739 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19740 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19741 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19743 2011-10-24 Andreas Schwab <schwab@redhat.com>
19745 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
19747 2011-10-23 Ulrich Drepper <drepper@gmail.com>
19749 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
19751 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
19753 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
19755 * string/strnlen.c: Don't define STRNLEN, reverse logic.
19756 Remove unused variable magic_bits.
19757 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
19759 * string/strnlen.c: Define and use STRNLEN macro.
19760 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
19761 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
19762 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
19763 * wcsmbs/wcslen.c: Define and use WCSLEN.
19764 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
19765 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
19766 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
19767 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
19768 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
19769 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
19770 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19772 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19774 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19775 strnlen-sse2-no-bsf.
19776 Rename strlen-no-bsf to strlen-sse2-no-bsf.
19777 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
19778 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
19779 Add strnlen support.
19780 (USE_AS_STRNLEN): New macro.
19781 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
19782 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
19783 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
19784 * sysdeps/x86_64/wcslen.S: New file.
19786 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
19788 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
19789 XMM-moves are used for copying on small sizes.
19791 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19793 * wcsmbs/Makefile (strop-tests): Add wcschr.
19794 * wcsmbs/test-wcschr.c: New file.
19795 * string/test-strchr.c: Update.
19796 Add wcschr support.
19799 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19801 * wcsmbs/Makefile (strop-tests): Add wcslen.
19802 * wcsmbs/test-wcslen.c: New file.
19803 * string/test-strlen.c: Update.
19804 Add wcslen support.
19807 2011-10-23 Ulrich Drepper <drepper@gmail.com>
19809 * po/it.po: Update from translation team.
19811 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19813 * sysdeps/x86_64/wcscmp.S: Update.
19814 Fix wrong comparison semantics.
19815 wcscmp shall use signed comparison not unsigned.
19816 Don't use substraction to avoid overflow bug.
19817 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
19818 * wcsmbc/wcscmp.c: Likewise.
19819 * string/test-strcmp.c: Likewise.
19820 Add new tests to check cases with negative values.
19822 2011-10-23 Ulrich Drepper <drepper@gmail.com>
19824 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
19825 * sysdeps/x86_64/dla.h: ...here. New file.
19826 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
19827 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19828 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19829 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19830 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19831 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19832 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19833 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19834 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19836 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
19838 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
19839 __ynl_finite aliases.
19841 2011-10-22 Ulrich Drepper <drepper@gmail.com>
19843 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19845 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
19847 [DLA_FMA] (EMULV): Use DLA_FMA.
19848 [DLA_FMA] (MUL12): Use EMULV.
19849 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
19850 that are not needed.
19851 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19852 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19853 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19854 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19855 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19856 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19857 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19859 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
19861 * math/s_nan.c: Undef __nan.
19862 * math/s_nanf.c: Undef __nanf.
19863 * math/s_nanl.c: Undef __nanl.
19864 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
19867 2011-10-22 Ulrich Drepper <drepper@gmail.com>
19869 * math/s_catan.c: Add branch predictions.
19870 * math/s_catanf.c: Likewise.
19871 * math/s_catanh.c: Likewise.
19872 * math/s_catanhf.c: Likewise.
19873 * math/s_catanhl.c: Likewise.
19874 * math/s_catanl.c: Likewise.
19875 * math/s_cexp.c: Likewise.
19876 * math/s_cexpf.c: Likewise.
19877 * math/s_cexpl.c: Likewise.
19878 * math/s_clog.c: Likewise.
19879 * math/s_clog10.c: Likewise.
19880 * math/s_clog10f.c: Likewise.
19881 * math/s_clog10l.c: Likewise.
19882 * math/s_clogf.c: Likewise.
19883 * math/s_clogl.c: Likewise.
19884 * math/s_csqrt.c: Likewise.
19885 * math/s_csqrtf.c: Likewise.
19886 * math/s_csqrtl.c: Likewise.
19887 * math/s_ctanf.c: Likewise.
19888 * math/s_ctanh.c: Likewise.
19889 * math/s_ctanhf.c: Likewise.
19890 * math/s_ctanhl.c: Likewise.
19891 * math/s_ctanl.c: Likewise.
19893 * math/math_private.h: Define __nan, __nanf, __nanl.
19894 * math/s_cacosh.c: Include <math_private.h>.
19895 * math/s_cacoshl.c: Likewise.
19896 * math/s_casinh.c: Likewise.
19897 * math/s_casinhf.c: Likewise.
19898 * math/s_casinhl.c: Likewise.
19899 * math/s_ccos.c: Rely entire on ccosh.
19900 * math/s_ccosf.c: Rely entire on ccoshf.
19901 * math/s_ccosl.c: Rely entirely on ccoshl.
19902 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
19903 Remove tests for FE_INVALID.
19904 * math/s_ccoshf.c: Likewise.
19905 * math/s_ccoshl.c: Likewise.
19906 * math/s_csin.c: Likewise.
19907 * math/s_csinf.c: Likewise.
19908 * math/s_csinh.c Likewise.
19909 * math/s_csinhf.c: Likewise.
19910 * math/s_csinhl.c: Likewise.
19911 * math/s_csinl.c: Likewise.
19912 * math/s_ctan.c: Likewise.
19913 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
19914 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
19915 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
19917 2011-10-21 Ulrich Drepper <drepper@gmail.com>
19919 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
19920 compilation problems.
19922 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
19925 2011-10-20 Ulrich Drepper <drepper@gmail.com>
19927 * sysdeps/i386/configure.in: Test for -mfma4 option.
19928 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
19929 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
19930 COMMON_CPUID_INDEX_80000001.
19931 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
19932 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
19933 use it if FMA3 is not supported.
19934 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
19936 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
19937 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19939 2011-10-20 Andreas Schwab <schwab@redhat.com>
19942 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
19943 it would create a cycle with a link time dependency.
19945 2011-10-19 Ulrich Drepper <drepper@gmail.com>
19947 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
19949 * string/Makefile (strop-tests): Add rawmemchr.
19950 * string/test-rawmemchr.c: New file.
19952 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
19953 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
19954 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
19955 when compiling str{,n}casecmp and when AVX is available. Hook up
19956 new optimized code in initializers.
19958 2011-10-19 Andreas Schwab <schwab@redhat.com>
19960 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
19961 __feraiseexcept instead of feraiseexcept.
19963 2011-10-18 Ulrich Drepper <drepper@gmail.com>
19965 * math/math_private.h: Define defaults for libc_fetestexcept and
19967 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
19968 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
19969 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19970 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19971 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19972 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19973 libc_fetestexcept and libc_feupdateenv.
19975 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
19976 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
19977 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
19978 * sysdeps/x86_64/fpu/math_private.h: Define special version of
19979 libc_feholdexcept_setround.
19981 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
19982 Add s_nearbyint-c and s_nearbyintf-c.
19983 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
19984 nearbyintf inlines.
19985 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
19986 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
19987 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
19988 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
19990 * math/math_private.h: Define defaults for libc_fegetround,
19991 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
19992 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
19993 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
19994 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
19995 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
19996 standard functions.
19997 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19998 Remove comments and hacks for old compiler versions.
19999 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20000 libc_fegetround, libc_fesetround, libc_feholdexcept, and
20001 libc_feholdexceptl.
20003 2011-10-18 Andreas Schwab <schwab@redhat.com>
20005 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
20006 (__feraiseexcept_renamed): Add __NTH.
20007 (feraiseexcept): Add __NTH. Rename local variables to fix
20008 namespace violations.
20010 2011-10-17 Ulrich Drepper <drepper@gmail.com>
20012 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
20014 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
20016 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
20017 recently added interfaces.
20018 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
20020 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
20021 about macro parameter expansion.
20023 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
20024 __NO_MATH_INLINES is defined. Cleanups.
20026 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
20027 and __floorf is target has SSE4.1.
20028 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
20029 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
20030 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
20031 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
20033 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
20035 (floorf): Likewise.
20037 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
20039 2011-10-17 Andreas Schwab <schwab@redhat.com>
20041 * misc/sys/cdefs.h: Fix last change.
20043 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
20046 2011-10-16 Ulrich Drepper <drepper@gmail.com>
20048 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
20050 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
20051 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20052 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20053 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20054 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20055 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20056 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20057 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20058 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20059 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
20060 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
20061 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
20062 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
20063 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
20064 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
20065 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
20066 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
20067 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
20068 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
20069 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
20070 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
20071 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
20073 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
20074 ceil, ceilf, floor, floorf.
20076 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
20077 Perform IRELATIVE relocations last.
20079 * elf/do-rel.h: Add another parameter nrelative, replacing the
20080 local variable with the same name. Change name of the function
20081 to end in Rel or Rela (uppercase).
20082 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
20083 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
20084 elf_dynamic_do_##reloc function.
20086 2011-10-15 Ulrich Drepper <drepper@gmail.com>
20088 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
20089 is sufficient, at least on modern CPUs.
20091 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
20093 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
20094 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
20096 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
20098 * math/bits/math-finite.h: Add entries for exp.
20099 * math/e_expl.c: Add __*_finite alias.
20100 * sysdeps/i386/fpu/e_exp.S: Likewise.
20101 * sysdeps/i386/fpu/e_expf.S: Likewise.
20102 * sysdeps/i386/fpu/e_expl.c: Likewise.
20103 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20104 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20105 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20106 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20107 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
20108 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20109 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20111 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
20112 is sufficient, at least on modern CPUs.
20114 * ctype/ctype-info.c (__ctype_init): Define.
20115 * include/ctype.h (__ctype_init): Declare.
20116 (__ctype_b_loc): The variable is always initialized.
20117 (__ctype_toupper_loc): Likewise.
20118 (__ctype_tolower_loc): Likewise.
20119 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
20120 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
20122 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
20124 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
20126 * configure.in: Also look in $cxxmachine/include for C++ system
20129 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20131 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
20132 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
20133 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
20134 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
20135 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
20136 (USE_AS_WMEMCMP): New macro.
20138 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
20139 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
20140 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
20141 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
20142 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20143 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
20144 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
20145 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
20146 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
20147 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
20148 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
20149 (USE_AS_WMEMCMP): New macro.
20150 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
20151 * sysdeps/string/test-memcmp.c: Update.
20152 Fix simple_wmemcmp.
20154 * wcsmbs/wmemcmp.c: Update.
20155 (WMEMCMP): New macro.
20158 2011-10-12 Andreas Jaeger <aj@suse.de>
20161 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
20163 2011-10-15 Ulrich Drepper <drepper@gmail.com>
20165 * libio/iofwide.c (do_length): Avoid warning.
20167 * ctype/ctype.h (__isctype_f): Add missing __THROW.
20169 2011-10-14 Ulrich Drepper <drepper@gmail.com>
20171 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
20173 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
20174 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
20175 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
20176 * sysdeps/i386/i686/fpu/e_log.S: New file.
20177 * sysdeps/i386/i686/fpu/e_logf.S: New file.
20178 * sysdeps/i386/i686/fpu/e_logl.S: New file.
20180 * ctype/ctype.h: Add support for inlined isXXX functions when
20181 compiling C++ code.
20183 2011-10-14 Andreas Schwab <schwab@redhat.com>
20185 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20187 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
20189 2011-10-13 Roland McGrath <roland@hack.frob.com>
20192 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
20194 2011-10-13 Andreas Schwab <schwab@redhat.com>
20196 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
20197 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
20200 * sysdeps/x86_64/memrchr.S: Check for zero size.
20202 * string/stratcliff.c: Add memrchr tests.
20204 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20206 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20207 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
20208 rawmemchr-sse2 rawmemchr-sse2-bsf.
20209 * sysdeps/i386/i686/multiarch/memchr.S: New file.
20210 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
20211 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
20212 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
20213 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
20214 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
20215 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
20216 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
20217 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
20218 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
20219 * string/memrchr.c (MEMRCHR): New macro.
20221 2011-10-12 Ulrich Drepper <drepper@gmail.com>
20223 Add integration with gcc's -ffinite-math-only and optimize wrapper
20225 * Versions.def: Define GLIBC_2.15 version for libm.
20226 * math/Makefile (headers): Add bits/math-finite.h.
20227 * math/bits/math-finite.h: New file.
20228 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
20229 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
20230 * math/e_acoshl.c: Add __*_finite alias.
20231 * math/e_acosl.c: Likewise.
20232 * math/e_asinl.c: Likewise.
20233 * math/e_atan2l.c: Likewise.
20234 * math/e_atanhl.c: Likewise.
20235 * math/e_coshl.c: Likewise.
20236 * math/e_exp10.c: Likewise.
20237 * math/e_exp10f.c: Likewise.
20238 * math/e_exp10l.c: Likewise.
20239 * math/e_exp2l.c: Likewise.
20240 * math/e_fmodl.c: Likewise.
20241 * math/e_gammal_r.c: Likewise.
20242 * math/e_hypotl.c: Likewise.
20243 * math/e_j0l.c: Likewise.
20244 * math/e_j1l.c: Likewise.
20245 * math/e_jnl.c: Likewise.
20246 * math/e_lgammal_r.c: Likewise.
20247 * math/e_log10l.c: Likewise.
20248 * math/e_log2l.c: Likewise.
20249 * math/e_logl.c: Likewise.
20250 * math/e_powl.c: Likewise.
20251 * math/e_sinhl.c: Likewise.
20252 * math/e_sqrtl.c: Likewise.
20253 * math/e_scalb.c: Completely rewritten and optimized.
20254 * math/e_scalbf.c: Likewise.
20255 * math/e_scalbl.c: Likewise.
20256 * math/w_acos.c: Likewise.
20257 * math/w_acosf.c: Likewise.
20258 * math/w_acosl.c: Likewise.
20259 * math/w_acosh.c: Likewise.
20260 * math/w_acoshf.c: Likewise.
20261 * math/w_acoshl.c: Likewise.
20262 * math/w_asin.c: Likewise.
20263 * math/w_asinf.c: Likewise.
20264 * math/w_asinl.c: Likewise.
20265 * math/w_atan2.c: Likewise.
20266 * math/w_atan2f.c: Likewise.
20267 * math/w_atan2l.c: Likewise.
20268 * math/w_atanh.c: Likewise.
20269 * math/w_atanhf.c: Likewise.
20270 * math/w_atanhl.c: Likewise.
20271 * math/w_exp10.c: Likewise.
20272 * math/w_exp10f.c: Likewise.
20273 * math/w_exp10l.c: Likewise.
20274 * math/w_fmod.c: Likewise.
20275 * math/w_fmodf.c: Likewise.
20276 * math/w_fmodl.c: Likewise.
20277 * math/w_j0.c: Likewise.
20278 * math/w_j0f.c: Likewise.
20279 * math/w_j0l.c: Likewise.
20280 * math/w_j1.c: Likewise.
20281 * math/w_j1f.c: Likewise.
20282 * math/w_j1l.c: Likewise.
20283 * math/w_jn.c: Likewise.
20284 * math/w_jnf.c: Likewise.
20285 * math/w_log.c: Likewise.
20286 * math/w_logf.c: Likewise.
20287 * math/w_logl.c: Likewise.
20288 * math/w_log10.c: Likewise.
20289 * math/w_log10f.c: Likewise.
20290 * math/w_log10l.c: Likewise.
20291 * math/w_log2.c: Likewise.
20292 * math/w_log2f.c: Likewise.
20293 * math/w_log2l.c: Likewise.
20294 * math/w_pow.c: Likewise.
20295 * math/w_powf.c: Likewise.
20296 * math/w_powl.c: Likewise.
20297 * math/w_remainder.c: Likewise.
20298 * math/w_remainderf.c: Likewise.
20299 * math/w_remainderl.c: Likewise.
20300 * math/w_scalb.c: Likewise.
20301 * math/w_scalbf.c: Likewise.
20302 * math/w_scalbl.c: Likewise.
20303 * math/w_sqrt.c: Likewise.
20304 * math/w_sqrtf.c: Likewise.
20305 * math/w_sqrtl.c: Likewise.
20306 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
20307 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
20309 * math/math_private.h: Declare __kernel_standard_f.
20310 * math/w_cosh.c: Remove cruft and optimize a bit.
20311 * math/w_coshf.c: Likewise.
20312 * math/w_coshl.c: Likewise.
20313 * math/w_exp2.c: Likewise.
20314 * math/w_exp2f.c: Likewise.
20315 * math/w_exp2l.c: Likewise.
20316 * math/w_hypot.c: Likewise.
20317 * math/w_hypotf.c: Likewise.
20318 * math/w_hypotl.c: Likewise.
20319 * math/w_lgamma.c: Likewise.
20320 * math/w_lgamma_r.c: Likewise.
20321 * math/w_lgammaf.c: Likewise.
20322 * math/w_lgammaf_r.c: Likewise.
20323 * math/w_lgammal.c: Likewise.
20324 * math/w_lgammal_r.c: Likewise.
20325 * math/w_sinh.c: Likewise.
20326 * math/w_sinhf.c: Likewise.
20327 * math/w_sinhl.c: Likewise.
20328 * math/w_tgamma.c: Likewise.
20329 * math/w_tgammaf.c: Likewise.
20330 * math/w_tgammal.c: Likewise.
20331 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20332 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20333 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
20334 Minor optimizations. Pretty printing. Remove cruft.
20335 * sysdeps/i386/fpu/e_acosf.S: Likewise.
20336 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20337 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20338 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20339 * sysdeps/i386/fpu/e_acosl.c: Likewise.
20340 * sysdeps/i386/fpu/e_asin.S: Likewise.
20341 * sysdeps/i386/fpu/e_asinf.S: Likewise.
20342 * sysdeps/i386/fpu/e_atan2.S: Likewise.
20343 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
20344 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
20345 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20346 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20347 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20348 * sysdeps/i386/fpu/e_exp10.S: Likewise.
20349 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
20350 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
20351 * sysdeps/i386/fpu/e_exp2.S: Likewise.
20352 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
20353 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
20354 * sysdeps/i386/fpu/e_fmod.S: Likewise.
20355 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
20356 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
20357 * sysdeps/i386/fpu/e_hypot.S: Likewise.
20358 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
20359 * sysdeps/i386/fpu/e_log.S: Likewise.
20360 * sysdeps/i386/fpu/e_log10.S: Likewise.
20361 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20362 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20363 * sysdeps/i386/fpu/e_log2.S: Likewise.
20364 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20365 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20366 * sysdeps/i386/fpu/e_logf.S: Likewise.
20367 * sysdeps/i386/fpu/e_logl.S: Likewise.
20368 * sysdeps/i386/fpu/e_pow.S: Likewise.
20369 * sysdeps/i386/fpu/e_powf.S: Likewise.
20370 * sysdeps/i386/fpu/e_powl.S: Likewise.
20371 * sysdeps/i386/fpu/e_remainder.S: Likewise.
20372 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
20373 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
20374 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20375 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20376 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20377 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
20378 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
20379 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
20380 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20381 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20382 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20383 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20384 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20385 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20386 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20387 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20388 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20389 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20390 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20391 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
20392 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20393 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20394 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20395 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20396 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20397 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20398 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20399 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20400 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20401 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
20402 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20403 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20404 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
20405 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
20406 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20407 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
20408 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
20409 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
20410 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20411 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20412 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20413 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
20414 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
20415 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
20416 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
20417 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
20418 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
20419 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
20420 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
20421 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
20422 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
20423 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
20424 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20425 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
20426 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
20427 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
20428 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
20429 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
20430 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
20431 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20432 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20433 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20434 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20435 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
20436 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
20437 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
20438 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
20439 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
20440 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
20441 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
20442 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20443 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20444 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
20445 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
20446 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
20447 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
20448 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
20449 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
20450 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
20451 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
20452 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
20453 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
20454 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
20455 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20456 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20457 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
20458 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20459 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
20460 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20461 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
20462 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
20463 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20464 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20465 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20466 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20467 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
20468 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20469 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
20470 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20471 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20472 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20473 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20474 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20475 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20476 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20477 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
20478 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
20479 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
20480 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
20481 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
20482 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
20483 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
20484 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20485 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20486 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20487 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20488 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
20489 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20490 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
20491 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
20492 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
20493 (__isnanf): Likewise.
20494 (__isinf_ns): Likewise.
20495 (__isinf_nsf): Likewise.
20496 (__finite): Likewise.
20497 (__finitef): Likewise.
20498 (__ieee754_sqrt): Define as macro.
20499 (__ieee754_sqrtf): Define as macro.
20500 (__ieee754_sqrtl): Define as macro.
20501 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
20503 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
20504 __FINITE_MATH_ONLY__ consistent.
20505 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
20507 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
20509 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
20512 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
20514 2011-10-09 Ulrich Drepper <drepper@gmail.com>
20516 * po/ja.po: Update from translation team.
20518 2011-10-08 Roland McGrath <roland@hack.frob.com>
20520 * locale/programs/locarchive.c (prepare_address_space): New function.
20521 (create_archive, enlarge_archive, open_archive): Use it.
20523 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
20524 inside [SHARED], where it is used.
20526 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
20528 * nss/getent.c (netgroup_keys): Remove unused variable.
20529 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20531 2011-10-08 Ulrich Drepper <drepper@gmail.com>
20533 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
20534 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
20535 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
20536 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
20537 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
20538 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
20539 * math/Makefile (libm-calls): Add s_isinf_ns.
20540 * math/divtc3.c: Use __isinf_nsl instead of isinf.
20541 * math/multc3.c: Likewise.
20542 * math/s_casin.c: Likewise.
20543 * math/s_casinf.c: Likewise.
20544 * math/s_casinl.c: Likewise.
20545 * math/s_ccos.c: Likewise.
20546 * math/s_ccosf.c: Likewise.
20547 * math/s_ccosl.c: Likewise.
20548 * math/s_ctan.c: Likewise.
20549 * math/s_ctanf.c: Likewise.
20550 * math/s_ctanh.c: Likewise.
20551 * math/s_ctanhf.c: Likewise.
20552 * math/s_ctanhl.c: Likewise.
20553 * math/s_ctanl.c: Likewise.
20554 * math/w_fmod.c: Likewise.
20555 * math/w_fmodf.c: Likewise.
20556 * math/w_fmodl.c: Likewise.
20557 * math/w_remainder.c: Likewise.
20558 * math/w_remainderf.c: Likewise.
20559 * math/w_remainderl.c: Likewise.
20560 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
20561 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
20562 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
20563 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
20564 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
20565 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
20566 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
20567 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
20569 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
20571 * stdio-common/printf_fphex.c: Likewise.
20572 * stdio-common/printf_size.c: Likewise.
20574 * math/e_exp10.c: Include math_private.h using <...> not "...".
20575 * math/e_exp10f.c: Likewise.
20576 * math/e_exp10l.c: Likewise.
20577 * math/e_exp2l.c: Likewise.
20578 * math/e_j0l.c: Likewise.
20579 * math/e_j1l.c: Likewise.
20580 * math/e_jnl.c: Likewise.
20581 * math/e_lgammal_r.c: Likewise.
20582 * math/e_rem_pio2l.c: Likewise.
20583 * math/e_scalb.c: Likewise.
20584 * math/e_scalbf.c: Likewise.
20585 * math/e_scalbl.c: Likewise.
20586 * math/k_cosl.c: Likewise.
20587 * math/k_sinl.c: Likewise.
20588 * math/k_tanl.c: Likewise.
20589 * math/s_cacoshf.c: Likewise.
20590 * math/s_catan.c: Likewise.
20591 * math/s_catanf.c: Likewise.
20592 * math/s_catanh.c: Likewise.
20593 * math/s_catanhf.c: Likewise.
20594 * math/s_catanhl.c: Likewise.
20595 * math/s_catanl.c: Likewise.
20596 * math/s_ccosh.c: Likewise.
20597 * math/s_ccoshf.c: Likewise.
20598 * math/s_ccoshl.c: Likewise.
20599 * math/s_cexp.c: Likewise.
20600 * math/s_cexpf.c: Likewise.
20601 * math/s_cexpl.c: Likewise.
20602 * math/s_clog.c: Likewise.
20603 * math/s_clog10.c: Likewise.
20604 * math/s_clog10f.c: Likewise.
20605 * math/s_clog10l.c: Likewise.
20606 * math/s_clogf.c: Likewise.
20607 * math/s_clogl.c: Likewise.
20608 * math/s_csin.c: Likewise.
20609 * math/s_csinf.c: Likewise.
20610 * math/s_csinh.c: Likewise.
20611 * math/s_csinhf.c: Likewise.
20612 * math/s_csinhl.c: Likewise.
20613 * math/s_csinl.c: Likewise.
20614 * math/s_csqrt.c: Likewise.
20615 * math/s_csqrtf.c: Likewise.
20616 * math/s_csqrtl.c: Likewise.
20617 * math/s_ctan.c: Likewise.
20618 * math/s_ctanf.c: Likewise.
20619 * math/s_ctanh.c: Likewise.
20620 * math/s_ctanhf.c: Likewise.
20621 * math/s_ctanhl.c: Likewise.
20622 * math/s_ctanl.c: Likewise.
20623 * math/s_ldexp.c: Likewise.
20624 * math/s_ldexpf.c: Likewise.
20625 * math/s_ldexpl.c: Likewise.
20626 * math/s_significand.c: Likewise.
20627 * math/s_significandf.c: Likewise.
20628 * math/s_significandl.c: Likewise.
20629 * math/w_acos.c: Likewise.
20630 * math/w_acosf.c: Likewise.
20631 * math/w_acosh.c: Likewise.
20632 * math/w_acoshf.c: Likewise.
20633 * math/w_acoshl.c: Likewise.
20634 * math/w_acosl.c: Likewise.
20635 * math/w_asin.c: Likewise.
20636 * math/w_asinf.c: Likewise.
20637 * math/w_asinl.c: Likewise.
20638 * math/w_atan2.c: Likewise.
20639 * math/w_atan2f.c: Likewise.
20640 * math/w_atan2l.c: Likewise.
20641 * math/w_atanh.c: Likewise.
20642 * math/w_atanhf.c: Likewise.
20643 * math/w_atanhl.c: Likewise.
20644 * math/w_cosh.c: Likewise.
20645 * math/w_coshf.c: Likewise.
20646 * math/w_coshl.c: Likewise.
20647 * math/w_dremf.c: Likewise.
20648 * math/w_exp10.c: Likewise.
20649 * math/w_exp10f.c: Likewise.
20650 * math/w_exp10l.c: Likewise.
20651 * math/w_exp2.c: Likewise.
20652 * math/w_exp2f.c: Likewise.
20653 * math/w_fmod.c: Likewise.
20654 * math/w_fmodf.c: Likewise.
20655 * math/w_fmodl.c: Likewise.
20656 * math/w_hypot.c: Likewise.
20657 * math/w_hypotf.c: Likewise.
20658 * math/w_hypotl.c: Likewise.
20659 * math/w_j0.c: Likewise.
20660 * math/w_j0f.c: Likewise.
20661 * math/w_j0l.c: Likewise.
20662 * math/w_j1.c: Likewise.
20663 * math/w_j1f.c: Likewise.
20664 * math/w_j1l.c: Likewise.
20665 * math/w_jn.c: Likewise.
20666 * math/w_jnf.c: Likewise.
20667 * math/w_jnl.c: Likewise.
20668 * math/w_lgamma.c: Likewise.
20669 * math/w_lgamma_r.c: Likewise.
20670 * math/w_lgammaf.c: Likewise.
20671 * math/w_lgammaf_r.c: Likewise.
20672 * math/w_lgammal.c: Likewise.
20673 * math/w_lgammal_r.c: Likewise.
20674 * math/w_log.c: Likewise.
20675 * math/w_log10.c: Likewise.
20676 * math/w_log10f.c: Likewise.
20677 * math/w_log10l.c: Likewise.
20678 * math/w_log2.c: Likewise.
20679 * math/w_log2f.c: Likewise.
20680 * math/w_log2l.c: Likewise.
20681 * math/w_logf.c: Likewise.
20682 * math/w_logl.c: Likewise.
20683 * math/w_pow.c: Likewise.
20684 * math/w_powf.c: Likewise.
20685 * math/w_powl.c: Likewise.
20686 * math/w_remainder.c: Likewise.
20687 * math/w_remainderf.c: Likewise.
20688 * math/w_remainderl.c: Likewise.
20689 * math/w_scalb.c: Likewise.
20690 * math/w_scalbf.c: Likewise.
20691 * math/w_scalbl.c: Likewise.
20692 * math/w_sinh.c: Likewise.
20693 * math/w_sinhf.c: Likewise.
20694 * math/w_sinhl.c: Likewise.
20695 * math/w_sqrt.c: Likewise.
20696 * math/w_sqrtf.c: Likewise.
20697 * math/w_sqrtl.c: Likewise.
20698 * math/w_tgamma.c: Likewise.
20699 * math/w_tgammaf.c: Likewise.
20700 * math/w_tgammal.c: Likewise.
20702 * po/ja.po: Update from translation team.
20704 2011-09-29 Andreas Jaeger <aj@suse.de>
20707 * sunrpc/netname.c (netname2host): Fix logic.
20711 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
20713 * math/w_remainder.c (__remainder): Likewise.
20714 * math/w_remainderf.c (__remainderf): Likewise.
20715 * math/libm-test.inc (remainder_test): Add test cases.
20717 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20719 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
20722 2011-10-07 Ulrich Drepper <drepper@gmail.com>
20724 * string/test-memcmp.c: Avoid unncessary #defines.
20725 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20727 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20729 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
20730 Use new sse2 version for core i3 - i7 as it's faster
20731 than sse42 version.
20732 (bit_Prefer_PMINUB_for_stringop): New.
20733 * sysdeps/x86_64/rawmemchr.S: Update.
20734 Replace with faster SSE2 version.
20735 * sysdeps/x86_64/memrchr.S: New file.
20736 * sysdeps/x86_64/memchr.S: Update.
20737 Replace with faster SSE2 version.
20739 2011-09-12 Marek Polacek <mpolacek@redhat.com>
20741 * elf/dl-load.c (lose): Add cast to avoid warning.
20743 2011-10-07 Ulrich Drepper <drepper@gmail.com>
20745 * po/ca.po: Update from translation team.
20747 * inet/getnetgrent_r.c: Hook up nscd.
20748 * nscd/Makefile (routines): Add nscd_netgroup.
20749 (nscd-modules): Add netgroupcache.
20750 (CFLAGS-netgroupcache.c): Define.
20751 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
20752 (cache_search): Add const to second parameter.
20753 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
20755 (dbs): Add netgrdb entry.
20756 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
20757 (verify_persistent_db): Handle netgrdb.
20758 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
20759 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
20761 (netgroup_response_header): Define.
20762 (innetgroup_response_header): Define.
20763 (datahead): Add netgroup_response_header and innetgroup_response_header
20765 * nscd/nscd.conf: Add entries for netgroup cache.
20766 * nscd/nscd.h (dbtype): Add netgrdb.
20767 (_PATH_NSCD_NETGROUP_DB): Define.
20768 (netgroup_iov_disabled): Declare.
20769 (xmalloc, xcalloc, xrealloc): Move declarations here.
20770 (cache_search): Adjust prototype.
20771 Add netgroup-related prototypes.
20772 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
20773 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
20774 (__nscd_innetgr): Declare.
20775 * nscd/selinux.c (perms): Use access_vector_t as element type and
20776 add netgroup-related initializers.
20777 * nscd/netgroupcache.c: New file.
20778 * nscd/nscd_netgroup.c: New file.
20779 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
20780 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
20781 For four parameters use innetgr.
20782 * nss/nss_files/files-init.c: Add definition and callback for netgr.
20783 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
20784 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
20785 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
20787 * nscd/connections.c (register_traced_file): Don't register file
20788 for disabled databases.
20790 2011-10-06 Ulrich Drepper <drepper@gmail.com>
20792 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
20794 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
20795 from tree and freeing node.
20797 2011-09-25 Jiri Olsa <jolsa@redhat.com>
20799 * nss/nsswitch.c (__nss_database_lookup): Handle
20800 nss_parse_service_list out of memory case.
20802 2011-09-15 Jiri Olsa <jolsa@redhat.com>
20804 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
20805 out of memory case.
20807 2011-10-04 Andreas Schwab <schwab@redhat.com>
20809 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
20810 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
20812 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
20813 elf_machine_rela, elf_machine_lazy_rel.
20814 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
20815 (ELF_DYNAMIC_DO_REL): Likewise.
20816 (ELF_DYNAMIC_DO_RELA): Likewise.
20817 (ELF_DYNAMIC_RELOCATE): Likewise.
20818 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
20819 to ELF_DYNAMIC_DO_REL.
20820 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
20821 (dl_main): In trace mode always set __RTLD_NOIFUNC.
20822 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
20824 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
20825 skip_ifunc, don't call ifunc function if non-zero.
20826 (elf_machine_rela): Likewise.
20827 (elf_machine_lazy_rel): Likewise.
20828 (elf_machine_lazy_rela): Likewise.
20829 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
20830 (elf_machine_lazy_rel): Likewise.
20831 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
20833 (elf_machine_lazy_rel): Likewise.
20834 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20836 (elf_machine_lazy_rel): Likewise.
20837 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
20838 (elf_machine_lazy_rel): Likewise.
20839 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
20840 (elf_machine_lazy_rel): Likewise.
20841 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20842 (elf_machine_lazy_rel): Likewise.
20843 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
20844 (elf_machine_lazy_rel): Likewise.
20845 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
20846 (elf_machine_lazy_rel): Likewise.
20847 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20848 (elf_machine_lazy_rel): Likewise.
20850 2011-09-28 Ulrich Drepper <drepper@gmail.com>
20852 * nss/nss_files/files-init.c (_nss_files_init): Use static
20853 initialization for all the *_traced_file variables.
20855 2011-09-28 Andreas Schwab <schwab@redhat.com>
20857 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20859 2011-09-27 Roland McGrath <roland@hack.frob.com>
20862 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
20864 2011-09-27 Andreas Schwab <schwab@redhat.com>
20866 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20867 Reread the line before reparsing it.
20869 2011-09-26 Andreas Schwab <schwab@redhat.com>
20871 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
20873 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
20874 Maxim Kuvyrkov <maxim@codesourcery.com>
20875 Joseph Myers <joseph@codesourcery.com>
20877 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
20878 if needed for __stack_chk_guard.
20880 2011-09-19 Roland McGrath <roland@hack.frob.com>
20882 * sysdeps/posix/spawni.c (script_execute): Always define it.
20883 It will be optimized away if unused.
20884 (maybe_script_execute): New function.
20885 (__spawni): Call it.
20887 * Makerules: Don't include tls.make.
20888 (config-tls): Always set to thread.
20889 * tls.make.c: File removed.
20891 2011-09-19 Mike Frysinger <vapier@gentoo.org>
20893 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
20894 * config.make.in (CPPFLAGS-config): New substituted variable.
20896 2011-09-15 Ulrich Drepper <drepper@gmail.com>
20898 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
20901 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
20902 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
20904 2011-09-15 Roland McGrath <roland@hack.frob.com>
20906 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
20907 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
20908 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20909 (CALL_FAIL): Likewise.
20910 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
20911 (CALL_FAIL): Macro removed.
20912 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
20914 2011-09-15 Ulrich Drepper <drepper@gmail.com>
20916 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
20917 for __FINITE_MATH_ONLY__ == 1.
20919 2011-09-15 Andreas Schwab <schwab@redhat.com>
20921 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
20922 __ieee754_sqrt instead of sqrt.
20923 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
20924 __ieee754_sqrtf instead of sqrtf.
20925 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
20926 __floorf instead of floorf.
20927 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
20928 __floorf, __truncf instead of floorf, truncf.
20930 2011-09-14 Ulrich Drepper <drepper@gmail.com>
20932 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
20934 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
20935 __extern_always_inline.
20936 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
20939 2011-09-14 Andreas Schwab <schwab@redhat.com>
20941 * elf/rtld.c (dl_main): Also relocate in dependency order when
20942 doing symbol dependency testing.
20944 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
20946 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20947 Always define `refsym'.
20949 2011-09-13 Andreas Schwab <schwab@redhat.com>
20951 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
20952 (__FD_ELT): Renamed from __FDELT.
20953 * misc/bits/select2.h (__FD_ELT): Likewise.
20954 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
20955 __FD_MASK instead of __FDELT, __FDMASK.
20956 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20958 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20961 * elf/Makefile (gen-ldd): Fix pattern.
20963 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
20964 (init_tls): Likewise.
20966 2011-09-12 Ulrich Drepper <drepper@gmail.com>
20968 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
20970 2011-09-12 Andreas Schwab <schwab@redhat.com>
20972 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
20973 `struct cmsghdr *' instead of `void *'.
20974 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
20977 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20979 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
20981 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
20982 ldd_rewrite_script.
20984 2011-09-11 Ulrich Drepper <drepper@gmail.com>
20986 * configure.in: Remove --with-tls option.
20987 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
20988 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
20989 out in case it is missing.
20990 * sysdeps/ia64/elf/configure.in: Likewise.
20991 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
20992 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
20993 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
20994 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
20995 * sysdeps/sh/elf/configure.in: Likewise.
20996 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
20997 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20998 * sysdeps/x86_64/elf/configure.in: Likewise.
20999 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
21000 * sysdeps/mach/hurd/tls.h: Likewise.
21003 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
21006 * configure.in: Fix use of AC_INIT.
21008 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
21010 2011-09-10 Ulrich Drepper <drepper@gmail.com>
21012 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
21014 * malloc/hooks.c: Likewise.
21017 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
21018 variables statically.
21019 (narenas): Initialize.
21020 (list_lock): Initialize.
21021 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
21022 initializtion of main_arena and list_lock. Small cleanups.
21023 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
21024 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
21025 Add initializers to main_arena and mp_.
21026 (malloc_state): Remove pagesize member. Change all users to use
21029 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
21030 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
21031 is always initialized.
21033 * malloc/malloc.c: Removed unused configurations and dead code.
21034 * malloc/arena.c: Likewise.
21035 * malloc/hooks.c: Likewise.
21036 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
21038 * include/tls.h: Removed. USE___THREAD must always be defined.
21039 * bits/libc-tsd.h: Don't handle !USE___THREAD.
21040 * elf/dl-libc.c: Likewise.
21041 * elf/dl-tsd.c: Likewise.
21042 * include/errno.h: Likewise.
21043 * include/netdb.h: Likewise.
21044 * include/resolv.h: Likewise.
21045 * inet/herrno-loc.c: Likewise.
21046 * inet/herrno.c: Likewise.
21047 * malloc/arena.c: Likewise.
21048 * malloc/hooks.c: Likewise.
21049 * malloc/malloc.c: Likewise.
21050 * resolv/res-state.c: Likewise.
21051 * resolv/res_libc.c: Likewise.
21052 * sysdeps/i386/dl-machine.h: Likewise.
21053 * sysdeps/ia64/dl-machine.h: Likewise.
21054 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
21055 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21056 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
21057 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
21058 * sysdeps/sh/dl-machine.h: Likewise.
21059 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21060 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21061 * sysdeps/unix/i386/sysdep.S: Likewise.
21062 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21063 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
21064 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
21065 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21066 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
21067 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21068 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21069 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21070 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21071 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21072 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21073 * sysdeps/x86_64/dl-machine.h: Likewise.
21074 * tls.make.c: Likewise.
21076 * configure.in: Remove --with-__thread option. Make tests for
21077 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
21078 tls_model attribute fail if no support is available. Remove
21080 * Makeconfig: Adjust for dropped configure option. All features are
21082 * Makerules: Likewise.
21083 * Versions.def: Likewise.
21084 * argp/argp-fmtstream.c: Likewise.
21085 * argp/argp-fmtstream.h: Likewise.
21086 * argp/argp-help.c: Likewise.
21087 * assert/assert.c: Likewise.
21088 * config.h.in: Likewise.
21089 * config.make.in: Likewise.
21090 * configure: Likewise.
21091 * configure.in: Likewise.
21092 * csu/Versions: Likewise.
21093 * csu/init.c: Likewise.
21094 * elf/tst-audit2.c: Likewise.
21095 * elf/tst-tls10.c: Likewise.
21096 * elf/tst-tls10.h: Likewise.
21097 * elf/tst-tls11.c: Likewise.
21098 * elf/tst-tls12.c: Likewise.
21099 * elf/tst-tls14.c: Likewise.
21100 * elf/tst-tlsmod11.c: Likewise.
21101 * elf/tst-tlsmod12.c: Likewise.
21102 * elf/tst-tlsmod13.c: Likewise.
21103 * elf/tst-tlsmod13a.c: Likewise.
21104 * elf/tst-tlsmod14a.c: Likewise.
21105 * elf/tst-tlsmod15b.c: Likewise.
21106 * elf/tst-tlsmod16a.c: Likewise.
21107 * elf/tst-tlsmod16b.c: Likewise.
21108 * elf/tst-tlsmod7.c: Likewise.
21109 * elf/tst-tlsmod8.c: Likewise.
21110 * elf/tst-tlsmod9.c: Likewise.
21111 * gmon/gmon.c: Likewise.
21112 * grp/fgetgrent_r.c: Likewise.
21113 * grp/putgrent.c: Likewise.
21114 * hurd/fopenport.c: Likewise.
21115 * include/libc-symbols.h: Likewise.
21116 * include/tls.h: Likewise.
21117 * intl/gettextP.h: Likewise.
21118 * intl/loadinfo.h: Likewise.
21119 * locale/global-locale.c: Likewise.
21120 * locale/localeinfo.h: Likewise.
21121 * mach/devstream.c: Likewise.
21122 * malloc/arena.c: Likewise.
21123 * malloc/set-freeres.c: Likewise.
21124 * misc/err.c: Likewise.
21125 * misc/getttyent.c: Likewise.
21126 * misc/mntent_r.c: Likewise.
21127 * posix/getopt.c: Likewise.
21128 * posix/wordexp.c: Likewise.
21129 * pwd/fgetpwent_r.c: Likewise.
21130 * resolv/Versions: Likewise.
21131 * resolv/res_hconf.c: Likewise.
21132 * shadow/fgetspent_r.c: Likewise.
21133 * shadow/putspent.c: Likewise.
21134 * stdio-common/printf_fphex.c: Likewise.
21135 * stdio-common/tmpfile.c: Likewise.
21136 * stdlib/abort.c: Likewise.
21137 * stdlib/fmtmsg.c: Likewise.
21138 * sunrpc/auth_unix.c: Likewise.
21139 * sunrpc/clnt_perr.c: Likewise.
21140 * sunrpc/clnt_tcp.c: Likewise.
21141 * sunrpc/clnt_udp.c: Likewise.
21142 * sunrpc/clnt_unix.c: Likewise.
21143 * sunrpc/openchild.c: Likewise.
21144 * sunrpc/svc_simple.c: Likewise.
21145 * sunrpc/svc_tcp.c: Likewise.
21146 * sunrpc/svc_udp.c: Likewise.
21147 * sunrpc/svc_unix.c: Likewise.
21148 * sunrpc/xdr.c: Likewise.
21149 * sunrpc/xdr_array.c: Likewise.
21150 * sunrpc/xdr_rec.c: Likewise.
21151 * sunrpc/xdr_ref.c: Likewise.
21152 * sunrpc/xdr_stdio.c: Likewise.
21154 2011-09-09 Ulrich Drepper <drepper@gmail.com>
21156 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21158 2011-07-03 Andreas Jaeger <aj@suse.de>
21160 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
21161 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
21162 regenerate with gen-libm-tests.pl.
21164 2010-05-12 Petr Baudis <pasky@suse.cz>
21167 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
21168 around j0() zero points by switching to j1().
21169 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21170 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21171 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21172 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21174 2011-09-09 Ulrich Drepper <drepper@gmail.com>
21176 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
21178 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
21180 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21181 Patch in part by Pavel Roskin <proski@gnu.org>.
21184 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
21186 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
21187 Free memory block if necessary.
21190 * libio/genops.c (INTDEF): For string streams the _lock pointer can
21191 be NULL. Don't lock in this case.
21193 2011-09-09 Roland McGrath <roland@hack.frob.com>
21195 * elf/elf.h (ELFOSABI_GNU): New macro.
21196 (ELFOSABI_LINUX): Define to that.
21198 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
21200 * string/strncat.c (strncat): Undef the symbol in case it has been
21201 defined in bits/string.h.
21203 2011-09-09 Ulrich Drepper <drepper@gmail.com>
21205 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
21207 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
21210 2011-08-17 Andreas Jaeger <aj@suse.de>
21212 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
21214 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21215 Ian Lance Taylor <iant@google.com>
21217 * math/libm-test.inc (lround_test): New testcase.
21218 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
21220 2011-09-08 Ulrich Drepper <drepper@gmail.com>
21222 * Makefile: Remove support for automatic cvs check-ins.
21223 * Makerules: Likewise.
21224 * config.make.in: Likewise.
21225 * configure.in: Likewise.
21226 * intl/Makefile: Likewise.
21227 * locale/Makefile: Likewise.
21228 * po/Makefile: Likewise.
21229 * posix/Makefile: Likewise.
21230 * sysdeps/gnu/Makefile: Likewise.
21231 * sysdeps/mach/hurd/Makefile: Likewise.
21232 * sysdeps/sparc/sparc32/Makefile: Likewise.
21235 * posix/Makefile (bug-regex32-ENV): Define.
21236 Patch by John Stanley <jpsinthemix@verizon.net>.
21238 * misc/Makefile (headers): Add bits/select2.h.
21239 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
21240 * misc/bits/select2.h: New file.
21241 * include/bits/select2.h: New file.
21242 * debug/Makefile (routines): Add fdelt_chk.
21243 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
21244 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
21246 * debug/fdelt_chk.c: New file.
21248 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
21249 * wcsmbs/test-wmemcmp.c: Likewise.
21250 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
21251 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
21253 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21255 * string/Makefile (strop-tests): Add memcmp.
21256 * string/test-wmemcmp.c: New file.
21257 * string/test-memcmp.c: Add wmemcmp support.
21259 2011-09-08 Roland McGrath <roland@hack.frob.com>
21262 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
21265 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
21266 garbage value in a __mach_port_mod_refs call in the cases of the
21267 task-self and thread-self ports.
21269 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21271 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
21273 2011-09-08 Andreas Schwab <schwab@redhat.com>
21275 * elf/dl-load.c (lose): Check for non-null L.
21277 2011-09-07 Ulrich Drepper <drepper@gmail.com>
21279 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
21281 * elf/dl-libc.c (dlerror_run): Pass back error code from
21285 * elf/dl-load.c (lose): Free l_origin if it is valid.
21287 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
21289 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
21290 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21291 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21292 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21293 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
21294 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
21296 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21298 * sysdeps/powerpc/fpu/e_hypot.c: New file.
21299 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
21300 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
21301 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
21302 * sysdeps/powerpc/fpu/k_cosf.c: New file.
21303 * sysdeps/powerpc/fpu/k_sinf.c: New file.
21304 * sysdeps/powerpc/fpu/s_cosf.c: New file.
21305 * sysdeps/powerpc/fpu/s_sinf.c: New file.
21306 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
21307 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
21309 2011-08-15 Alan Modra <amodra@gmail.com>
21312 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
21313 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
21314 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
21315 ppc_mcount to static-only-routines.
21316 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
21318 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
21319 __mcount_internal with usual JUMPTARGET. Remove useless nop.
21321 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
21323 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
21324 for finite and infinity parameters.
21326 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21328 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
21329 and add nop instructions for throughput optimization.
21330 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21332 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
21334 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
21335 aligned copy for power7 with vector-scalar instructions.
21336 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21338 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
21340 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
21343 2011-09-07 Andreas Schwab <schwab@redhat.com>
21346 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
21349 2011-09-07 Ulrich Drepper <drepper@gmail.com>
21351 * sysdeps/unix/sysv/linux/x86_64/init-first.c
21352 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
21353 syscall wrapper around clock_gettime in __vdso_clock_gettime.
21354 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
21357 2011-09-06 Ulrich Drepper <drepper@gmail.com>
21359 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
21360 Forgot to demangle the pointer.
21362 * sysdeps/i386/sysdep.h: Define atom_text_section.
21363 * sysdeps/x86_64/sysdep.h: Likewise.
21364 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
21365 section with atom_text_section.
21366 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21367 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21368 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
21369 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21370 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
21372 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
21373 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
21374 already be defined. Change to take two parameters and don't assign
21375 result to variable. Adjust all users.
21376 Define INTERNAL_GETTIME if not already defined.
21377 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
21379 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
21380 HAVE_CLOCK_GETTIME_VSYSCALL.
21381 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
21383 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
21384 gettimeofday vsyscall, just use time.
21386 2011-09-06 Andreas Schwab <schwab@redhat.com>
21388 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
21391 2011-09-06 Ulrich Drepper <drepper@gmail.com>
21393 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
21395 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
21397 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
21398 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
21399 syscall if possible.
21401 2011-09-05 Ulrich Drepper <drepper@gmail.com>
21403 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
21404 e_ident. Don't pass to find_mapsXX.
21405 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
21407 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21409 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21410 strchr-sse2-no-bsf strrchr-sse2-no-bsf
21411 * sysdeps/x86_64/multiarch/strchr.S: Update.
21412 Check bit_slow_BSF bit.
21413 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21414 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
21415 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
21417 2011-09-05 Ulrich Drepper <drepper@gmail.com>
21420 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
21422 (tryshell): Define.
21423 (__spawni): Change last parameter to be flag. Test
21424 SPAWN_XFLAGS_USE_PATH flag to use path or not.
21425 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
21426 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
21427 * posix/spawni.c: Likewise.
21428 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
21429 * posix/spawnp.c: Likewise. Change normal version to use
21430 SPAWN_XFLAGS_USE_PATH.
21431 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
21432 SPAWN_XFLAGS_TRY_SHELL.
21435 * posix/glob.h: Remove gcc 1.x support.
21438 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
21440 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21442 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21443 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
21445 * sysdeps/i386/i686/multiarch/strchr.S: New file.
21446 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
21447 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
21448 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
21449 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
21450 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
21452 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21454 * sysdeps/x86_64/wcscmp.S: New file.
21456 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
21457 wcscmp-c wcscmp-sse2
21458 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
21459 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
21460 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
21461 * wcsmbs/wcscmp.c: Allow renaming.
21463 2011-09-05 David S. Miller <davem@davemloft.net>
21465 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
21466 stack slot, rather than the struct return pointer slot.
21467 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
21468 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
21469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
21470 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
21472 2011-09-05 Ulrich Drepper <drepper@gmail.com>
21474 * po/ja.po: Update from translation team.
21477 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
21478 kernel in 64-bit binaries.
21480 2011-09-01 David S. Miller <davem@davemloft.net>
21482 * elf/elf.h (HWCAP_SPARC_*): Move to..
21483 * sysdeps/sparc/sysdep.h: this new file and add new values.
21484 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
21485 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
21486 _DL_HWCAP_COUNT to 24.
21487 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21489 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
21490 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
21491 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
21492 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
21493 instead of magic constants.
21494 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21496 2011-08-31 David S. Miller <davem@davemloft.net>
21498 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
21499 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
21500 Reimplement to do errno handling inline.
21501 (SYSCALL_ERROR_HANDLER): New macro.
21502 (__SYSCALL_STRING): Do not do errno handling in asm.
21503 (__CLONE_SYSCALL_STRING): Delete.
21504 (__INTERNAL_SYSCALL_STRING): Delete.
21505 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
21506 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
21507 (PSEUDO): Reimplement to do errno handling inline.
21508 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
21509 (SYSCALL_ERROR_HANDLER): New macro.
21510 (__SYSCALL_STRING): Do not do errno handling in asm.
21511 (__CLONE_SYSCALL_STRING): Delete.
21512 (__INTERNAL_SYSCALL_STRING): Delete.
21513 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
21514 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
21516 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
21517 (inline_syscall*): Add 'err' argument.
21518 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
21519 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
21520 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
21521 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
21523 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
21524 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21526 2011-08-30 Andreas Schwab <schwab@redhat.com>
21528 * elf/rtld.c (dl_main): Relocate objects in dependency order.
21530 2011-08-29 Jiri Olsa <jolsa@redhat.com>
21532 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
21535 2011-08-24 David S. Miller <davem@davemloft.net>
21537 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
21539 2011-08-24 Andreas Schwab <schwab@redhat.com>
21541 * elf/Makefile: Add rules to build and run unload8 test.
21542 * elf/unload8.c: New file.
21543 * elf/unload8mod1.c: New file.
21544 * elf/unload8mod1x.c: New file.
21545 * elf/unload8mod2.c: New file.
21546 * elf/unload8mod3.c: New file.
21548 * elf/dl-close.c (_dl_close_worker): Reset private search list if
21551 2011-08-23 David S. Miller <davem@davemloft.net>
21553 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
21554 subtract stack bias.
21555 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
21556 %sp not %fp in calculations.
21557 (_JMPBUF_UNWINDS_ADJ): Likewise.
21559 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
21560 (aio_suspend): Call it to force an exception region around the
21561 AIO_MISC_WAIT() invocation.
21563 2011-08-23 Andreas Schwab <schwab@redhat.com>
21565 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
21568 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
21570 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
21572 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
21573 and <dl-machine.h>.
21574 (Elf64_FuncDesc): Remove.
21576 2011-08-22 David S. Miller <davem@davemloft.net>
21578 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
21579 sigaltstack check, add missing cfi directives.
21580 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
21581 missing cfi directives, and sigaltstack handling.
21583 2011-08-16 Andreas Schwab <schwab@redhat.com>
21586 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
21587 object is seen twice.
21588 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21590 * elf/Makefile (distribute): Add tst-initorder2.c.
21591 (tests): Add tst-initorder2.
21592 (modules-names): Add tst-initorder2a tst-initorder2b
21593 tst-initorder2c tst-initorder2d. Add rules to build them.
21594 ($(objpfx)tst-initorder2.out): New rule.
21595 * elf/tst-initorder2.c: New file.
21596 * elf/tst-initorder2.exp: New file.
21598 2011-08-22 Andreas Schwab <schwab@redhat.com>
21600 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
21602 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
21603 dependencies back to end of function.
21605 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
21606 $(elfobjdir)/ld.so.
21608 2011-08-21 Ulrich Drepper <drepper@gmail.com>
21610 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
21611 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
21612 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
21613 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
21614 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
21615 of __vdso_gettimeofday.
21616 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
21617 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
21619 (_libc_vdso_platform_setup): Remove initialization of
21620 __vdso_gettimeofday and __vdso_time.
21622 2011-08-20 Ulrich Drepper <drepper@gmail.com>
21624 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
21625 and fgetc_unlocked.
21626 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
21629 * elf/dl-open.c (add_to_global): Report additions to the global scope
21630 for LD_DEBUG=scopes.
21631 (dl_open_worker): Also print scope of newly loaded dependencies.
21632 (_dl_show_scope): Indicate if there is no scope.
21635 * stdio-common/Makefile (tests): Add bug24.
21636 * stdio-common/bug24.c: New file.
21638 2011-08-19 Andreas Jaeger <aj@suse.de>
21641 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
21642 non-existant file when using close-on-exec mode.
21644 2011-08-20 Ulrich Drepper <drepper@gmail.com>
21646 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
21647 the very first instruction.
21649 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
21650 the CFI state in the end.
21651 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
21652 inclusion of dl-trampoline.h.
21653 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
21655 2011-08-19 Andreas Schwab <schwab@redhat.com>
21657 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
21658 expectations for long double.
21660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
21661 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
21663 2011-08-14 David S. Miller <davem@davemloft.net>
21665 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
21666 artificual limit depends upon the system page size.
21668 2011-08-17 Ulrich Drepper <drepper@gmail.com>
21670 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
21671 * resolv/Makefile: Define CFLAGS-libresolv.
21673 2011-08-17 Andreas Schwab <schwab@redhat.com>
21675 * nss/makedb.c (compute_tables): Make variables used in nested
21678 2011-08-17 Ulrich Drepper <drepper@gmail.com>
21680 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
21681 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
21682 if buffer was too small.
21684 * elf/pldd.c (main): Attach to all threads in the process.
21685 Rewrite /proc handling to use *at functions.
21687 2011-08-16 Ulrich Drepper <drepper@gmail.com>
21689 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
21690 specifies first scope to show.
21691 (dl_open_worker): Update callers. Move printing scope of new
21692 object to before the relocation.
21693 * elf/rtld.c (dl_main): Update _dl_show_scope call.
21694 * sysdeps/generic/ldsodefs.h: Update declaration.
21696 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
21697 string for the scope number.
21699 2011-08-14 Ulrich Drepper <drepper@gmail.com>
21701 * nscd/servicescache.c (cache_addserv): Make sure written is always
21704 2011-08-14 Roland McGrath <roland@hack.frob.com>
21706 * sysdeps/i386/i486/bits/atomic.h
21707 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
21708 statement expression, so as to suppress "set but not used" warning.
21709 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
21711 * string/strncat.c (STRNCAT): Use prototype definition.
21713 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
21714 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
21716 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
21717 (localedef-modules): Add localedef.
21718 (locale-modules): Add locale.
21720 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
21721 * elf/rtld.c (dl_main): Invert order of assignment in last change,
21722 to avoid a warning.
21724 2011-08-14 David S. Miller <davem@davemloft.net>
21726 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
21727 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
21729 2011-08-13 Ulrich Drepper <drepper@gmail.com>
21731 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
21732 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
21733 * elf/rtld.c (dl_main): Set l_name of vDSO.
21734 Call _dl_show_scope when DL_DEBUG_SCOPES.
21735 (process_dl_debug): Recognize scopes flag and also set it for all.
21736 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
21737 Declare _dl_show_scope.
21739 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
21740 (do_dlopen): Pass caller_dlopen to dl_open.
21741 (__libc_dlopen_mode): Initialize caller_dlopen.
21743 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
21744 of libc. Make tolower call locale-independent. Optimize a bit by
21745 using isdigit instead of isalnum.
21746 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
21748 2011-08-12 Ulrich Drepper <drepper@gmail.com>
21750 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
21751 was a dependency or dynamically loaded.
21753 2011-08-11 Ulrich Drepper <drepper@gmail.com>
21755 * intl/l10nflist.c: Allow architecture-specific pop function.
21756 * sysdeps/x86_64/l10nflist.c: New file.
21758 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
21761 2011-08-10 Andreas Schwab <schwab@redhat.com>
21763 * include/dirent.h: Add libc_hidden_proto for scandirat and
21764 scandirat64. Don't declare __scandirat64.
21765 * dirent/scandirat.c: Add libc_hidden_def.
21766 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
21767 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
21769 2011-08-10 David S. Miller <davem@davemloft.net>
21771 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
21773 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21774 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21775 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21777 2011-08-09 Ulrich Drepper <drepper@gmail.com>
21779 * Versions.def [libc]: Add GLIBC_2.15.
21780 * dirent/Makefile (routines): Add scandirat and scandirat64.
21781 * dirent/Versions [libc]: Export scandirat and scandirat64 for
21783 * dirent/dirent.h: Declare scandirat and scandirat64.
21784 * dirent/scandirat.c: New file.
21785 * dirent/scandirat64.c: New file.
21786 * sysdeps/wordsize-64/scandirat.c: New file.
21787 * sysdeps/wordsize-64/scandirat64.c: New file.
21788 * dirent/opendir.c: Define opendirat.
21789 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
21791 * dirent/scandir64.c: Adjust for scandir.c change.
21792 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
21793 __scandirat64, and __scandir_cancel_handler.
21794 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
21795 additional parameter and use openat instead of open (outside of ld.so).
21796 Add new __opendir as wrapper around __opendirat.
21797 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
21798 here without requiring old scandirat implementation.
21800 2011-08-08 Ulrich Drepper <drepper@gmail.com>
21802 * dirent/scandir.c (cancel_handler): Renamed to
21803 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
21804 defined. Adjust users.
21805 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
21806 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
21808 2011-08-04 Ulrich Drepper <drepper@gmail.com>
21810 * string/test-string.h (IMPL): Use __STRING to expand name and then
21813 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
21816 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21818 * string/Makefile: Update.
21819 (strop-tests): Append strncat.
21820 * string/test-wcscmp.c: New file.
21821 New comprehensive test for wcscmp.
21822 * string/test-strcmp.c: Update.
21823 (WIDE): New define.
21825 2011-07-22 Andreas Schwab <schwab@redhat.com>
21827 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
21830 2011-07-26 Andreas Schwab <schwab@redhat.com>
21832 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21833 encoding to ACE if AI_IDN.
21835 2011-08-01 Jakub Jelinek <jakub@redhat.com>
21837 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
21838 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
21840 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21842 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
21843 Fix overflow bug in strncat.
21844 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
21846 * string/test-strncat.c: Update.
21847 Add new tests for checking overflow bugs.
21849 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21851 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21852 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
21853 * sysdeps/i386/i686/multiarch/strcat.S: New file.
21854 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
21855 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
21856 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
21857 * sysdeps/i386/i686/multiarch/strncat.S: New file.
21858 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
21859 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
21861 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
21862 (USE_AS_STRCAT): Define.
21863 Add strcat and strncat support.
21864 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21866 2011-07-25 Andreas Schwab <schwab@redhat.com>
21868 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
21869 __n bigger than INT_MAX+1.
21870 (__strncmp_g): Likewise.
21872 2011-07-23 Ulrich Drepper <drepper@gmail.com>
21874 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
21875 * libio/stido.h: Likewise.
21877 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
21879 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
21882 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
21883 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21884 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21885 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21886 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21889 * scripts/test-installation.pl: Don't expect libnss_test1 to be
21892 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
21894 (_dl_x86_64_save_sse): Likewise.
21896 2011-07-22 Ulrich Drepper <drepper@gmail.com>
21898 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
21900 (_dl_x86_64_save_sse): Likewise.
21902 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
21904 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
21906 2011-07-21 Andreas Schwab <schwab@redhat.com>
21908 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
21910 (_dl_x86_64_save_sse): Use correct AVX check.
21912 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21914 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
21915 bug in strncpy/strncat.
21916 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
21918 2011-07-21 Ulrich Drepper <drepper@gmail.com>
21920 * string/tester.c (test_strcat): Add tests for different alignments
21921 of source and destination.
21922 (test_strncat): Likewise.
21924 2011-07-20 Ulrich Drepper <drepper@gmail.com>
21927 * posix/glob.c (glob): Check passed in values before using them in
21928 expressions to avoid some overflows.
21929 (glob_in_dir): Likewise.
21932 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
21933 check for AVX enablement so that we don't crash with old kernels and
21935 * elf/tst-audit4.c: Add same checks here.
21936 * elf/tst-audit6.c: Likewise.
21938 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
21940 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
21942 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
21944 2011-07-20 Ulrich Drepper <drepper@gmail.com>
21946 * po/cs.po: Update from translation team.
21947 * po/bg.po: Likewise.
21949 2011-07-12 Marek Polacek <mpolacek@redhat.com>
21951 * misc/sys/cdefs.h: Add support for const attribute.
21952 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
21953 to gnu_dev_{major,minor,makedev} functions.
21955 2011-07-20 Marek Polacek <mpolacek@redhat.com>
21957 * intl/dcigettext.c (get_output_charset): Add missing bracket.
21959 2011-07-20 Andreas Schwab <schwab@redhat.com>
21961 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
21964 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21966 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
21967 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
21968 register in order to avoid conflicts with the soft frame pointer
21969 being held in r11 when necessary.
21970 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21971 (INTERNAL_VSYSCALL_NCS): Likewise.
21973 2011-07-14 Marek Polacek <mpolacek@redhat.com>
21975 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
21976 * elf/dl-fini.c (_dl_fini): Adjust caller.
21977 * elf/dl-close.c (_dl_close_worker): Likewise.
21978 * sysdeps/generic/ldsodefs.h: Adjust declaration.
21980 2011-07-15 Marek Polacek <mpolacek@redhat.com>
21982 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
21983 "aux_cache->nlibs < 0".
21985 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
21986 in the reload-count case.
21988 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21990 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21991 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
21992 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
21993 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
21994 * sysdeps/x86_64/multiarch/strcat.S: New file.
21995 * sysdeps/x86_64/multiarch/strncat.S: New file.
21996 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
21997 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
21998 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
21999 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
22000 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
22001 (USE_AS_STRCAT): Define.
22002 Add strcat and strncat support.
22003 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22004 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22005 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
22006 * string/strncat.c: Update.
22007 (USE_AS_STRNCAT): Define.
22008 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22009 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
22011 * sysdeps/x86_64/multiarch/init-arch.h
22012 (bit_Prefer_PMINUB_for_stringop): New.
22013 (index_Prefer_PMINUB_for_stringop): Likewise.
22014 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
22015 bit_Prefer_PMINUB_for_stringop.
22017 2011-07-19 Ulrich Drepper <drepper@gmail.com>
22019 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
22021 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
22022 of casting of buffer.
22023 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
22024 buffer32 and buffer64.
22025 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
22026 writes instead of casting of buffer.
22027 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
22029 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
22032 2011-07-19 Andreas Schwab <schwab@redhat.com>
22034 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
22036 2011-07-19 Ulrich Drepper <drepper@gmail.com>
22038 * nscd/nscd.c (termination_handler): Don't do anything for a database
22039 if it has not yet been initialized.
22041 2011-07-18 Ulrich Drepper <drepper@gmail.com>
22043 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22045 2011-07-15 Marek Polacek <mpolacek@redhat.com>
22047 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22049 2011-07-18 Ulrich Drepper <drepper@gmail.com>
22051 * po/nl.po: Update from translation team.
22052 * po/sv.po: Likewise.
22054 2011-07-16 Roland McGrath <roland@hack.frob.com>
22056 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
22057 now disallowed by GCC.
22059 * configure.in (use-default-link): Default to yes if a test -shared
22060 link meets our qualifications.
22061 * configure: Regenerated.
22063 * config.make.in (output-format): New variable.
22064 * configure.in: Check for ld --print-output-format support.
22065 * configure: Regenerated.
22066 * Makerules ($(common-objpfx)format.lds)
22067 [$(output-format) != unknown]: Just use $(output-format),
22068 instead of the linker-script munging.
22070 2011-07-14 Roland McGrath <roland@hack.frob.com>
22072 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
22073 of $(common-objpfx)shlib.lds.
22074 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
22076 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
22077 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
22079 * configure.in (-z relro check): Adjust test code to add a large
22080 writable data section after it.
22081 * configure: Regenerated.
22083 2011-07-11 Roland McGrath <roland@hack.frob.com>
22085 * configure.in (-z relro check): Fix test code to make the variable
22087 * configure: Regenerated.
22089 2011-07-11 Ulrich Drepper <drepper@gmail.com>
22091 * nscd/nscd.h (struct traced_file): Define.
22092 (struct database_dyn): Remove inotify_descr, reset_res, and filename
22093 elements. Add traced_files.
22094 (inotify_fd): Declare.
22095 (register_traced_file): Declare.
22096 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
22097 (inotify_fd): Export.
22098 (resolv_conf_descr): Remove.
22099 (nscd_init): Move inotify descriptor creation to main.
22100 Don't register files for notification here.
22101 (register_traced_file): New function.
22102 (invalidate_cache): Don't use reset_res to determine whether to call
22103 res_init, go through the list of registered files.
22104 (main_loop_poll): The inotify descriptors are now stored in the
22105 structures for the traced files.
22106 (main_loop_epoll): Likewise
22107 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
22108 to __nss_disable_nscd.
22109 * nscd/cache.c (prune_cache): There is no single inotify descriptor
22110 for a database anymore. Check the records for all the registered
22112 * nss/Makefile (libnss_files-routines): Add files-init.
22113 (libnss_db-routines): Add db-init.
22114 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
22115 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
22116 * nss/nss_db/db-init.c: New file.
22117 * nss/nss_files/files-init.c: New file.
22118 * nss/nsswitch.c (nss_load_library): New function. Broken out of
22119 __nss_lookup_function.
22120 (__nss_lookup_function): Call nss_load_library.
22121 (nss_load_all_libraries): New function.
22122 (__nss_disable_nscd): Take parameter with callback function for files
22123 to register. Set is_nscd. Load all the DSOs for the NSS modules
22124 used for the cached services.
22125 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
22126 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
22127 options for features to all the files in nscd.
22129 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
22131 2011-07-10 Roland McGrath <roland@hack.frob.com>
22133 * csu/elf-init.c (__libc_csu_init): Comment typo.
22135 2011-07-09 Ulrich Drepper <drepper@gmail.com>
22137 * po/pl.po: Update from translation team.
22138 * po/ja.po: Likewise.
22139 * po/ru.po: Likewise.
22140 * po/ko.po: Likewise.
22141 * po/fr.po: Likewise.
22143 2011-07-09 Roland McGrath <roland@hack.frob.com>
22145 * configure.in (.ctors/.dtors header and trailer check):
22146 Use an empirical test on a built program.
22147 * configure: Regenerated.
22149 * configure.in (-z relro check): Use an empirical test on a built DSO.
22150 Detect, but do not require, on ia64.
22151 * configure: Regenerated.
22153 * configure.in (READELF): Find it with AC_CHECK_TOOL.
22154 Update tests that use readelf to use $READELF instead.
22155 * configure: Regenerated.
22157 2011-07-08 Ulrich Drepper <drepper@gmail.com>
22159 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
22160 if the result is not used.
22162 2011-07-05 Andreas Jaeger <aj@suse.de>
22165 * stdlib/tst-strtod.c: Add testcase.
22167 2011-07-07 Ulrich Drepper <drepper@gmail.com>
22169 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
22170 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
22171 The latter has a higher limit. Take additional parameter to pass to
22173 (__pathconf): Pass file to __statfs_link_max.
22174 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
22176 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
22180 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
22181 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22183 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
22184 (__statfs_filesize_max): Likewise.
22185 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
22187 2011-07-05 Andreas Jaeger <aj@suse.de>
22189 * resolv/res_comp.c (dn_skipname): Remove unused variable.
22191 2011-07-06 Marek Polacek <mpolacek@redhat.com>
22193 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
22195 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
22198 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
22200 * Makefile (strop-tests): Add strncat.
22201 * string/test-strncat.c: New file.
22203 2011-06-30 Marek Polacek <mpolacek@redhat.com>
22205 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
22207 2011-06-21 Andreas Jaeger <aj@suse.de>
22209 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
22210 Copy rule from iconvdata/Makefile.
22212 2011-07-06 Ulrich Drepper <drepper@gmail.com>
22215 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
22216 but no long options are defined, just return 'W'.
22218 2011-06-22 Marek Polacek <mpolacek@redhat.com>
22221 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
22223 2011-07-06 Ulrich Drepper <drepper@gmail.com>
22225 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
22227 (innetgr): Likewise.
22229 2011-07-05 Roland McGrath <roland@hack.frob.com>
22231 * config.make.in (install_root): Default to $(DESTDIR).
22233 2011-07-05 Ulrich Drepper <drepper@gmail.com>
22235 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
22237 2011-07-02 Roland McGrath <roland@hack.frob.com>
22239 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
22241 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
22242 containing directory rather than embedding absolute directory names.
22244 * scripts/check-local-headers.sh: Rewritten using awk.
22245 Match by word, not by line. Print error messages for matches.
22246 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
22248 * Makerules [shlib-lds-flags empty]:
22249 ($(common-objpfx)libc_pic.opts): New target.
22250 ($(common-objpfx)libc_pic.os.clean): New target.
22251 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
22253 * config.make.in (OBJCOPY): New variable.
22254 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
22255 * configure: Regenerated.
22257 * config.make.in (use-default-link): New variable.
22258 * configure.in (use_default_link): Grok --with-default-link to set it.
22259 * configure: Regenerated.
22260 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
22261 (shlib-lds, shlib-lds-flags): Define to empty.
22263 * Makerules (shlib-lds): New variable.
22264 (shlib-lds-flags): New variable.
22265 (build-shlib, build-moduile, build-module-asneeded): Use it.
22266 ($(common-objpfx)libc.so): Use $(shlib-lds).
22267 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
22268 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
22270 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
22271 DT_FLAGS/DT_FLAGS_1 with zero flags.
22273 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
22274 linker script munging.
22276 2011-07-02 Ulrich Drepper <drepper@gmail.com>
22278 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
22280 * crypt/sha512.c (sha512_process_block): Perform total addition using
22281 128-bit if possible.
22282 (__sha512_finish_ctx): Likewise.
22283 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
22285 * crypt/sha256.c (SWAP64): Define.
22286 (sha256_process_block): Perform total addition using 64-bit if
22288 (__sha256_finish_ctx): Likewise.
22290 2011-07-01 Ulrich Drepper <drepper@gmail.com>
22292 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
22293 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22294 * nscd/hstcache.c (cache_addhst): Likewise.
22295 * nscd/grpcache.c (cache_addgr): Likewise.
22296 * nscd/aicache.c (addhstaiX): Likewise
22297 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
22299 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
22301 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
22302 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22303 * nscd/hstcache.c (cache_addhst): Likewise.
22304 * nscd/grpcache.c (cache_addgr): Likewise.
22305 * nscd/aicache.c (addhstaiX): Likewise
22307 2011-07-01 Andreas Schwab <schwab@redhat.com>
22309 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
22310 domain only when needed.
22312 2011-06-30 Andreas Schwab <schwab@redhat.com>
22314 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
22315 is always restored.
22317 2011-06-29 Ulrich Drepper <drepper@gmail.com>
22319 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
22320 are re-adding the entry.
22321 * nscd/servicescache.c (cache_addserv): Likewise.
22323 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
22325 * sysdeps/generic/dl-irel.h: fix protection against multiple
22327 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
22329 2011-06-28 Ulrich Drepper <drepper@gmail.com>
22332 * malloc/memusage.sh: Fix quoting in message.
22333 * debug/xtrace.sh: Likewise.
22335 * configure.in: Remove support for --experimental-malloc option, make
22337 * config.make.in: Likewise.
22338 * malloc/Makefile: Likewise.
22340 2011-06-27 Andreas Schwab <schwab@redhat.com>
22342 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
22343 two-byte characters.
22345 2011-06-27 Roland McGrath <roland@hack.frob.com>
22347 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
22348 AC_CACHE_CHECK invocation.
22349 * configure: Regenerated.
22351 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
22353 2011-06-27 Ulrich Drepper <drepper@gmail.com>
22356 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
22357 bit from old_res_options.
22359 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
22361 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
22362 value type for setfct.
22364 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
22366 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22367 __gettimeofday instead of gettimeofday.
22369 2011-06-26 Ulrich Drepper <drepper@gmail.com>
22371 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
22373 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
22375 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
22377 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
22380 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
22382 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22383 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
22384 strcpy-sse2-unaligned strncpy-sse2-unaligned
22385 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
22386 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
22387 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
22388 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
22389 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
22390 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
22391 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
22392 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
22393 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
22394 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
22395 (STRCPY): Support SSE2 and SSSE3 versions.
22397 2011-06-24 Ulrich Drepper <drepper@gmail.com>
22400 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
22401 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
22402 kernels which artificially limit size of requests.
22404 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
22406 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22407 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
22408 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
22409 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
22410 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
22411 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
22412 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
22413 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
22414 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
22415 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
22416 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
22417 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
22418 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
22419 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
22420 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
22421 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22422 Enable unaligned load optimization for Intel Core i3, i5 and i7
22424 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
22426 (index_Fast_Unaligned_Load): Define.
22427 (HAS_FAST_UNALIGNED_LOAD): Define.
22429 2011-06-23 Marek Polacek <mpolacek@redhat.com>
22431 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
22433 2011-06-22 Ulrich Drepper <drepper@gmail.com>
22436 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
22437 until it is clear that the information is realy needed.
22438 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
22440 2011-06-22 Andreas Schwab <schwab@redhat.com>
22442 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
22444 2011-06-22 Ulrich Drepper <drepper@gmail.com>
22446 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22447 /sys/devices/system/cpu/online if it is usable.
22449 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
22450 reading the information from the /proc filesystem to once a second.
22452 2011-06-21 Andreas Jaeger <aj@suse.de>
22454 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
22455 NULL after inclusion of kernel headers.
22457 2011-06-21 Ulrich Drepper <drepper@gmail.com>
22459 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
22460 calls to internal_setent.
22463 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
22464 addresses using gethostbyname4_r ignore IPv4 addresses.
22466 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
22467 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
22469 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
22471 2011-06-20 David S. Miller <davem@davemloft.net>
22473 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
22475 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
22477 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
22478 (elf_irel): Use it.
22479 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
22480 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
22481 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
22482 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
22483 * sysdeps/x86_64/dl-irel.h: Likewise.
22485 * elf/dl-runtime.c: Use elf_ifunc_invoke.
22486 * elf/dl-sym.c: Likewise.
22488 2011-06-15 Ulrich Drepper <drepper@gmail.com>
22490 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
22491 need to dereference resplen2.
22493 2011-06-14 Andreas Schwab <schwab@redhat.com>
22495 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
22497 2011-06-15 Ulrich Drepper <drepper@gmail.com>
22499 * Makeconfig: Define vardbdir and inst_vardbdir.
22500 * nss/Makefile: Add rules to install db-Makefile.
22502 * nss/nss_db/db-XXX.c: Cleanup.
22504 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
22505 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
22507 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
22508 * nss/makedb.c: Implement -g option to specify that value strings
22509 are generated and should not be added to table iterated over for
22511 * nss/nss_db/db-initgroups.c: New file.
22513 * nss/getent.c: Add support for initgroups lookups through getgrouplist
22516 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
22517 (internal_getgrouplist): Adjust to name change.
22518 Update use_initgroups_entry if this is not the first call.
22519 * nss/databases.def: Add initgroups entry.
22521 * nss/makedb.c (compute_tables): Check result of multiple hash table
22522 sizes to minimize maximum chain length.
22524 2011-06-14 Ulrich Drepper <drepper@gmail.com>
22526 * Versions.def: Add entry for libnss_db.
22527 * shlib-versions: Likewise.
22528 * nss/Makefile: Add rules to build libnss_db.
22529 * nss/Versions: Add libnss_db information. Organize libnss_files
22531 * nss/db-Makefile: Add gshadow support. Change rules for the new
22532 makedb progra. Some minor improvements to generate smaller files.
22533 * nss/nss_db/nss_db.h: Move NSS database header data structures to
22535 * nss/makedb.c: ...here.
22536 Improve database format to be smaller and require less memory at
22538 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
22540 * nss/nss_db/db-netgrp.c: Likewise.
22541 * nss/nss_db/db-open.c: Likewise.
22542 * nss/nss_files/flies-XXX.x: Adjust comments.
22543 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
22544 * nss/nss_files/files-grp.c: Likewise.
22545 * nss/nss_files/files-hosts.c: Likewise.
22546 * nss/nss_files/files-network.c: Likewise.
22547 * nss/nss_files/files-proto.c: Likewise.
22548 * nss/nss_files/files-pwd.c: Likewise.
22549 * nss/nss_files/files-rpc.c: Likewise.
22550 * nss/nss_files/files-service.c: Likewise.
22551 * nss/nss_files/files-sgrp.c: Likewise.
22552 * nss/nss_files/files-spwd.c: Likewise.
22553 * nss/nss_db/db-alias.c: Removed.
22554 * nss/nss_db/dummy-db.h: Removed.
22556 2011-06-02 Ulrich Drepper <drepper@gmail.com>
22558 * nss/makedb.c: Rewritten to not use database library.
22559 * nss/Makefile: Update to build new makedb program.
22561 2011-06-14 Andreas Jaeger <aj@suse.de>
22563 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
22564 memset declaration.
22566 2011-06-10 Andreas Schwab <schwab@redhat.com>
22568 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
22571 2011-06-10 Roland McGrath <roland@hack.frob.com>
22573 * Makerules (shlib.lds): Fail if the linker script comes out empty.
22574 * elf/Makefile ($(objpfx)ld.so): Likewise.
22576 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
22577 Don't list ld.so twice in dependencies.
22579 * posix/bug-regex31.c: Include <stdlib.h>.
22581 * nscd/hstcache.c (cache_addhst): Remove unused variable.
22583 * nis/nss_compat/compat-spwd.c
22584 (getspent_next_nss_netgr): Remove unused variable.
22585 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
22587 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
22588 nonmembers" output to use the right array.
22590 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
22592 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
22594 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
22595 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
22596 * catgets/gencat.c (read_input_file): Likewise.
22597 * locale/programs/locarchive.c (enlarge_archive): Likewise.
22599 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
22600 variable definition inside #if's controlling its use.
22602 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
22604 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
22606 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
22608 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
22611 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
22613 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
22614 * configure: Regenerated.
22616 * Makerules: Revert last change.
22617 * elf/Makefile: Likewise.
22619 2011-06-09 Roland McGrath <roland@hack.frob.com>
22621 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
22622 * elf/Makefile ($(objpfx)librtld.os): Likewise.
22623 (reloc-link): Likewise.
22625 2011-06-09 Ulrich Drepper <drepper@gmail.com>
22627 * elf/Makefile: Add rules to build pldd.
22628 * elf/pldd.c: New file.
22629 * elf/pldd-xx.c: New file.
22631 2011-06-07 Ulrich Drepper <drepper@gmail.com>
22633 * version.h: Update for 2.15 development version.
22635 2011-06-07 David S. Miller <davem@davemloft.net>
22637 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
22639 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
22640 elf_machine_lazy_rel): Likewise.
22641 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22642 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
22643 elf_machine_lazy_rel): Likewise.
22644 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
22645 dl_hwcap via passed in argument.
22646 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
22649 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22651 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
22653 2011-06-06 Roland McGrath <roland@hack.frob.com>
22656 * manual/fdl-1.1.texi: New file, verbatim from:
22657 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
22658 * manual/lgpl-2.1.texi: New file, verbatim from:
22659 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
22660 * manual/Makefile (licenses): New variable, list those new file names.
22662 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
22664 * manual/fdl.texi: File removed.
22665 * manual/lesser.texi: File removed.
22666 * manual/libc.texinfo (Copying, Documentation License):
22667 Use new @include file names, put @appendix directive before @include.
22669 2011-06-04 Jakub Jelinek <jakub@redhat.com>
22672 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
22673 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
22674 (mq_open): Add __NTH.
22676 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
22678 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22679 Assume Intel Core i3/i5/i7 processor if AVX is available.
22681 2011-05-31 Ulrich Drepper <drepper@gmail.com>
22683 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22686 2011-05-31 Andreas Schwab <schwab@redhat.com>
22688 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
22689 memory. Use alloca_account. Fix memory leak when retrying.
22691 2011-05-31 Ulrich Drepper <drepper@gmail.com>
22693 * version.h (RELEASE): Bump for 2.14 release.
22694 * include/features.h (__GLIBC_MINOR__): Bump to 14.
22696 * config.make.in (RANLIB): Remove entry.
22698 2011-05-30 Ulrich Drepper <drepper@gmail.com>
22700 * po/Makefile (po-sed-cmd): Add ksh to extensions.
22701 (libc.pot): Work around missing support for .ksh extension in xgettext.
22704 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
22705 if both request failed.
22706 (send_dg): In case of server errors clear resplen or *resplen2.
22709 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
22710 when there are multiple maps.
22711 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
22712 (_dl_fini): Remove test here.
22714 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
22716 2011-05-29 Ulrich Drepper <drepper@gmail.com>
22719 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
22720 bit from old_res_options.
22721 (gaih_inet): Likewise.
22724 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
22727 * resolv/res_init.c (res_setoptions): Make the code more compact.
22730 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
22734 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
22736 * malloc/malloc.h: Mark malloc hook variables as deprecated.
22739 * malloc/malloc.h: Declare malloc hook variables as volatile.
22741 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
22745 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
22746 raise in the comment.
22747 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22748 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22749 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
22751 2011-05-28 Ulrich Drepper <drepper@gmail.com>
22754 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
22755 grow the buffers more if it already has to be sufficient.
22756 (build_wcs_upper_buffer): Likewise.
22757 * posix/regexec.c (check_matching): Likewise.
22758 (clean_state_log_if_needed): Likewise.
22759 (extend_buffers): Don't enlarge buffers beyond size of the input
22761 Patches mostly by Emil Wojak <emil@wojak.eu>.
22762 * posix/bug-regex32.c: New file.
22763 * posix/Makefile (tests): Add bug-regex32.
22765 * locale/findlocale.c (_nl_find_locale): Return right away if
22766 _nl_explode_name failed.
22767 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
22769 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
22771 * debug/xtrace.sh: Unify messages.
22772 * malloc/memusage.sh: Likewise.
22775 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
22776 time symbol from vDSO. Substitute with vsyscall if not available.
22777 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
22780 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
22781 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
22782 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
22783 Add sendmmsg and internal_sendmmsg.
22784 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
22785 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
22786 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
22788 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
22789 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
22790 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
22792 2011-05-27 Ulrich Drepper <drepper@gmail.com>
22795 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
22796 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
22798 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
22802 * iconvdata/Makefile (tests): Add bug-iconv9.
22803 * iconvdata/bug-iconv9.c: New file.
22805 2011-05-27 Andreas Schwab <schwab@redhat.com>
22808 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
22810 2011-05-25 Jakub Jelinek <jakub@redhat.com>
22812 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22813 (struct user_regs_struct): Change intcs field back to cs.
22815 2011-05-25 Ulrich Drepper <drepper@gmail.com>
22817 * po/ja.po: Update from translation team.
22819 2011-05-23 Ulrich Drepper <drepper@gmail.com>
22822 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
22823 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
22825 2011-05-20 Andreas Schwab <schwab@redhat.com>
22827 * stdlib/longlong.h: Update from GCC.
22829 2011-05-23 Andreas Schwab <schwab@redhat.com>
22831 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
22833 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
22834 Add parameter name.
22835 (__sysconf): Pass it down.
22837 2011-05-22 Ulrich Drepper <drepper@gmail.com>
22840 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
22842 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22843 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
22844 add in in __libc_use_alloca calls. Adjust callers.
22845 (glob): Use malloc in some situations.
22847 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
22848 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
22851 2011-05-21 Ulrich Drepper <drepper@gmail.com>
22853 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
22854 and CLOCK_BOOTTIME_ALARM.
22857 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
22860 * string/_strerror.c (__strerror_r): Print negative errors as signed
22864 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
22865 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
22866 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
22868 * configure.in: Fix typo in redirection and correct removal of test
22869 files in two cases.
22872 * locale/setlocale.c (new_composite_name): Fix test to check for
22873 identical name of all categories.
22876 * libio/filedoalloc.c (local_isatty): New function.
22877 (_IO_file_doallocate): Use local_isatty.
22878 * stdio-common/perror.c (perror): In case a new stream is used
22879 forward the stream error.
22880 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
22883 2011-05-20 Ulrich Drepper <drepper@gmail.com>
22886 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
22888 * include/alloca.h (extend_alloca_account): Define.
22891 * posix/regex.h: Fix comments with documentation of user-accessible
22892 fields after compilation and describe correct free'ing of pattern
22893 after re_compile_pattern.
22894 Patch by Reuben Thomas <rrt@sc3d.org>.
22896 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
22898 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
22899 and -mno-altivec to prevent the compiler from using Altivec and/or
22900 VSX instructions when the corresponding registers are not available.
22902 2011-05-19 Andreas Schwab <schwab@redhat.com>
22904 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
22906 2011-05-19 Ulrich Drepper <drepper@gmail.com>
22908 * libio/freopen.c (freopen): Use __dup2, not dup2.
22909 * libio/freopen64.c (freopen64): Likewise.
22911 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
22914 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
22915 * math/Makefile (tests): Add test-powl.
22916 (CFLAGS-test-powl.c): Define.
22917 * math/test-powl.c: New file.
22919 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
22921 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
22923 2011-05-17 Ulrich Drepper <drepper@gmail.com>
22926 * iconvdata/gb18030.c: Update to GB18020-2005.
22928 2011-05-16 Ulrich Drepper <drepper@gmail.com>
22930 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
22931 RE_SYNTAX_POSIX_AWK): Update to match recent development.
22932 Patch by Aharon Robbins <arnold@skeeve.com>.
22935 * stdlib/putenv.c (putenv): Don't always create copy of the variable
22939 * misc/pselect.c (__pselect): Handle timeout value errors hidden
22940 through underflows.
22943 * misc/error.c (error_at_line): Ensure file_name and old_file_name
22944 point to strings before performing equality test for error_one_per_line
22948 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
22951 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22952 (struct user_fpregs_struct): Avoid __uint*_t types.
22955 * malloc/mtrace.c (tr_where): Add additional parameter to point to
22956 symbol info. Use it instead of calling _dl_addr locally.
22957 (lock_and_info): New function.
22958 (tr_freehook): Call lock_and_info and pass symbol info as additional
22959 parameter to tr_where.
22960 (tr_mallochook): Likewise.
22961 (tr_reallochook): Likewise.
22962 (tr_memalignhook): Likewise.
22964 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
22965 used and couldn't be at all thread-safe.
22967 2011-05-15 Ulrich Drepper <drepper@gmail.com>
22969 * libio/freopen.c (freopen): Don't close old file descriptor
22970 before the new one is opened. Instead dup the new file descriptor
22971 to the old one after the new stream is created.
22972 * libio/freopen64.c (freopen64): Likewise.
22973 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
22974 * libio/fileops.c (_IO_new_file_close_it): Handle new
22975 _IO_FLAGS2_NOCLOSE flag.
22976 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
22977 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
22978 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
22979 _IO_FLAGS2_NOCLOSE flag.
22980 * include/unistd.h: Add hidden_proto for dup3.
22981 Define __have_dup3.
22982 * io/dup3.c: Define hidden symbol.
22983 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
22986 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
22987 when an incomplete long option is used.
22988 * posix/tst-getopt_long1.c: New file.
22989 * posix/Makefile (tests): Add tst-getopt_long1.
22992 * scripts/config.guess: Update from autoconf-2.68.
22993 * scripts/config.sub: Likewise.
22996 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
22998 (has_cpuclock): ...this. New function.
22999 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
23000 macro here based on has_cpuclock code.
23003 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23004 First byte (not low byte) is now always NUL.
23005 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
23007 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23008 Use non-cancelable interfaces.
23011 * locale/iso-639.def: Add entry for Sorani.
23014 * include/stdlib.h: Move include protection to the right place.
23015 Define abort_msg_s. Declare __abort_msg with it.
23016 * stdlib/abort.c (__abort_msg): Adjust type.
23017 * assert/assert.c (__assert_fail_base): New function. Majority
23018 of code from __assert_fail. Allocate memory for __abort_msg with
23020 (__assert_fail): Now call __assert_fail_base.
23021 * assert/assert-perr.c: Remove bulk of implementation. Use
23022 __assert_fail_base.
23023 * include/assert.hL Declare __assert_fail_base.
23024 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
23026 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
23028 2011-05-14 Ulrich Drepper <drepper@gmail.com>
23032 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
23033 until all modules are registered in the DTV.
23034 * elf/Makefile: Add rules to build and run tst-tls19.
23035 * elf/tst-tls19.c: New file.
23036 * elf/tst-tls19mod1.c: New file.
23037 * elf/tst-tls19mod2.c: New file.
23038 * elf/tst-tls19mod3.c: New file.
23039 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
23042 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
23046 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
23047 two-byte sequence errors.
23048 * iconvdata/Makefile (tests): Add bug-iconv8.
23049 * iconvdata/bug-iconv8.c: New file.
23052 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
23055 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
23058 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
23059 (dummy_getcfa): New function.
23060 (init): Get _Unwind_GetCFA address, use dummy if not found.
23061 (backtrace_helper): In recursion check, also check whether CFA changes.
23062 (__backtrace): Completely initialize arg.
23064 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
23065 storing incomplete byte sequence in state object. Avoid testing for
23066 guaranteed too small input if we know there is enough data available.
23068 2011-05-11 Andreas Schwab <schwab@redhat.com>
23070 * Makeconfig (+link-pie): Indent.
23071 * Rules (binaries-pie): Define if $(have-fpie) and
23073 (binaries-shared): Also filter out $(binaries-pie).
23074 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
23075 * nscd/Makefile (others-pie): Add nscd.
23076 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
23077 ($(objpfx)nscd): Remove command override.
23078 * login/Makefile (others-pie): Add pt_chown.
23079 ($(objpfx)pt_chown): Remove command override.
23080 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
23081 remove command overrides.
23083 2011-05-13 Ulrich Drepper <drepper@gmail.com>
23085 * libio/tst_putwc.c: Fix error messages.
23088 * libio/fileops.c (_IO_new_file_close_it): Always flush when
23089 currently writing and seek to current position when not.
23090 * libio/Makefile (tests): Add bug-fclose1.
23091 * libio/bug-fclose1.c: New file.
23093 2011-05-12 Ulrich Drepper <drepper@gmail.com>
23096 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
23097 don't set DF_1_NODELETE here.
23098 (do_lookup_x): When entering new entry test for copy relocation
23099 and if necessary set DF_1_NODELETE flag.
23100 * elf/tst-unique4.cc: New file.
23101 * elf/tst-unique4.h: New file.
23102 * elf/tst-unique4lib.cc: New file.
23103 * elf/Makefile: Add rules to build and run tst-unique4.
23104 Patch by Piotr Bury <pbury@goahead.com>.
23106 2011-05-11 Ulrich Drepper <drepper@gmail.com>
23109 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
23112 * misc/mntent_r.c (addmntent): Flush the stream after the output
23115 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
23116 (is_trusted_path_normalize): Skip initial colon. Append slash
23117 to empty buffer. Duplicate is_trusted_path code but allow
23118 constructed patch to be prefix.
23119 (is_dst): Allow $ORIGIN followed by /.
23120 (_dl_dst_substitute): Correct clearing of check_for_trusted.
23121 Correct testing of result of is_trusted_path_normalize
23122 (decompose_rpath): Fix warning.
23124 2011-05-10 Ulrich Drepper <drepper@gmail.com>
23127 * grp/initgroups.c (internal_getgrouplist): When we found the service
23128 list through the initgroups entry in nsswitch.conf do not always
23129 continue on a successful lookup. Don't always use the
23130 __nss_group_database value if it is set.
23131 * nss/nsswitch.conf (initgroups): Change action for successful db
23132 lookup to continue for compatibility.
23134 2011-05-09 Ulrich Drepper <drepper@gmail.com>
23137 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
23139 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
23141 * iconvdata/tst-tables.sh: Likewise.
23142 * iconvdata/cp770.c: New file.
23143 * iconvdata/cp771.c: New file.
23144 * iconvdata/cp772.c: New file.
23145 * iconvdata/cp773.c: New file.
23146 * iconvdata/cp774.c: New file.
23147 * iconvdata/testdata/CP770: New file.
23148 * iconvdata/testdata/CP770..UTF8: New file.
23149 * iconvdata/testdata/CP771: New file.
23150 * iconvdata/testdata/CP771..UTF8: New file.
23151 * iconvdata/testdata/CP772: New file.
23152 * iconvdata/testdata/CP772..UTF8: New file.
23153 * iconvdata/testdata/CP773: New file.
23154 * iconvdata/testdata/CP773..UTF8: New file.
23155 * iconvdata/testdata/CP774: New file.
23156 * iconvdata/testdata/CP774..UTF8: New file.
23158 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
23160 * iconvdata/gen-8bit-gap.sh: Likewise.
23161 * iconvdata/gen-8bit.sh: Likewise.
23163 * locale/iso-639.def: Add ary entry.
23166 * locale/C-translit.h.in: Add U20A1 transliteration.
23169 * locale/iso-639.def: Add wae entry.
23170 Patch by Kevin Bortis <bortis@translate-wae.ch>.
23173 * locale/programs/localedef.c (construct_output_path): Use ssize_t
23177 * locale/C-translit.h.in: Add entry for U20B9.
23178 Patch by pravin.d.s@gmail.com.
23180 2011-05-08 Ulrich Drepper <drepper@gmail.com>
23183 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
23184 ENAMETOOLONG use generic getcwd.
23185 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
23186 in rtld. Use *stat64.
23187 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
23188 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
23189 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
23190 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
23191 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
23192 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
23193 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
23194 __fstatat64 macros.
23195 * include/dirent.h: Add libc_hidden_proto for rewinddir.
23196 * dirent/rewinddir.c: Add libc_hidden_def.
23197 * sysdeps/mach/hurd/rewinddir.c: Likewise.
23198 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
23200 * include/dirent.h (__alloc_dir): Add flags parameter.
23201 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
23202 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
23204 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
23205 from fdopendir if O_CLOEXEC is already set.
23207 2011-03-15 Alan Modra <amodra@gmail.com>
23209 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
23210 l_tls_firstbyte_offset non-zero. Save padding offset in
23211 l_tls_firstbyte_offset for later use.
23212 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
23213 freeing static tls block.
23215 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
23217 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
23218 where #ifdef was intended. The intent is to prevent ARG_MAX from
23219 being defined by the kernel headers.
23221 2011-05-07 Ulrich Drepper <drepper@gmail.com>
23224 * resolv/resolv.h: Define RES_NOTLDQUERY.
23225 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
23226 no-tld-query and set RES_NOTLDQUERY.
23227 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
23228 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
23229 modern BIND to search name as TLD unless forbidden.
23231 2011-05-07 Petr Baudis <pasky@suse.cz>
23232 Ulrich Drepper <drepper@gmail.com>
23235 * elf/dl-load.c (fillin_rpath): Move trusted path check...
23236 (is_trusted_path): ...to here.
23237 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
23238 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
23239 using is_trusted_path_normalize() in setuid scripts.
23241 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23243 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
23244 __BEGIN/__END_DECLS.
23246 2011-05-06 Ulrich Drepper <drepper@gmail.com>
23248 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
23249 NSS_STATUS_NOTFOUND if no record was found.
23251 2011-05-05 Andreas Schwab <schwab@redhat.com>
23253 * sunrpc/Makefile (headers): Add rpc/netdb.h.
23254 (headers-not-in-tirpc): Remove rpc/netdb.h
23255 * resolv/netdb.h: Revert last change.
23257 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23259 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
23260 circular dependency between libgcc.a and libc.a.
23262 2011-05-05 Andreas Schwab <schwab@redhat.com>
23264 * resolv/netdb.h: Don't include <rpc/netdb.h>.
23265 * nis/Makefile: Don't install rpcsvc/*.
23266 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
23267 instead of <rpc/types.h>.
23268 (MAXHOSTNAMELEN): Define.
23270 2011-05-03 Andreas Schwab <schwab@redhat.com>
23272 * elf/ldconfig.c (add_dir): Don't crash on empty path.
23274 2011-04-28 Maciej Babinski <mbabinski@google.com>
23277 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
23278 gethostbyname4_r when IPv6 results are possible.
23280 2011-05-02 Ulrich Drepper <drepper@gmail.com>
23283 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
23284 _PC_PIPE_BUF handling.
23286 2011-04-30 Bruno Haible <bruno@clisp.org>
23289 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
23290 * resolv/netdb.h (getnameinfo): Change type of flags parameter
23292 * inet/getnameinfo.c (getnameinfo): Likewise.
23294 2011-04-29 Ulrich Drepper <drepper@gmail.com>
23296 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
23297 to groups setting in database lookup.
23298 * nss/nsswitch.conf: Add initgroups entry.
23300 2011-04-22 Ulrich Drepper <drepper@gmail.com>
23303 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
23305 Patch by Eric Blake <eblake@redhat.com>.
23307 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
23309 * sunrpc/Makefile (need-export-routines): Add svc_run.
23310 (routines): Remove svc_run.
23311 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
23312 * sunrpc/clnt_perr.c (clnt_perrno): Export.
23313 * sunrpc/svc_run.c (svc_run): Likewise.
23314 * sunrpc/svc_udp.c (svcudp_create): Likewise.
23316 2011-04-21 Ulrich Drepper <drepper@gmail.com>
23318 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
23319 problem in reallocation in last patch.
23321 2011-04-20 Ulrich Drepper <drepper@gmail.com>
23323 * sunrpc/Makefile: Move inclusion of Rules.
23325 2011-04-19 Ulrich Drepper <drepper@gmail.com>
23327 * nss/nss_files/files-initgroups.c: New file.
23328 * nss/Makefile (libnss_files-routines): Add files-initgroups.
23329 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
23330 _nss_files_initgroups_dyn.
23332 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
23334 * elf/elf.h (R_ARM_IRELATIVE): Define.
23336 2011-04-19 Ulrich Drepper <drepper@gmail.com>
23338 * po/ru.po: Update from translation team.
23340 2011-04-17 Ulrich Drepper <drepper@gmail.com>
23342 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
23345 2011-02-06 Mike Frysinger <vapier@gentoo.org>
23348 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
23349 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
23350 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23351 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23352 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23354 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
23356 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
23358 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23359 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23360 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23362 2011-04-17 Ulrich Drepper <drepper@gmail.com>
23365 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
23367 * stdlib/bug-getcontext.c: New file.
23368 * stdlib/Makefile: Add rules to build and run bug-getcontext.
23370 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23372 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
23373 instructions into .machine "z9-109".
23374 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
23375 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
23377 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23379 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
23380 between environment variables and auxiliary vector.
23382 2011-04-16 Ulrich Drepper <drepper@gmail.com>
23384 * Makefile: Add rules to build linkobj/libc.so.
23385 * include/libc-symbols.h: Define libc_hidden_nolink.
23386 * include/rpc/auth.h: Mark functions which are to be hidden.
23387 * include/rpc/auth_des.h: Likewise.
23388 * include/rpc/auth_unix.h: Likewise.
23389 * include/rpc/clnt.h: Likewise.
23390 * include/rpc/des_crypt.h: Likewise.
23391 * include/rpc/key_prot.h: Likewise.
23392 * include/rpc/pmap_clnt.h: Likewise.
23393 * include/rpc/pmap_prot.h: Likewise.
23394 * include/rpc/pmap_rmt.h: Likewise.
23395 * include/rpc/rpc_msg.h: Likewise.
23396 * include/rpc/svc.h: Likewise.
23397 * include/rpc/svc_auth.h: Likewise.
23398 * include/rpc/xdr.h: Likewise.
23399 * nis/Makefile: Link all DSOs against linkobj/libc.so.
23400 * nss/Makefile: Likewise.
23401 * sunrpc/Makefile: Don't install headers. Build library with normal
23402 entry points. Don't build rpcinfo. Link RPC tests appropriately.
23403 * sunrpc/auth_des.c: Hide exported symbols by default, export some
23404 for the compat linking library. Remove use of INTDEF/INTUSE.
23405 * sunrpc/auth_none.c: Likewise.
23406 * sunrpc/auth_unix.c: Likewise.
23407 * sunrpc/authdes_prot.c: Likewise.
23408 * sunrpc/authuxprot.c: Likewise.
23409 * sunrpc/clnt_gen.c: Likewise.
23410 * sunrpc/clnt_perr.c: Likewise.
23411 * sunrpc/clnt_raw.c: Likewise.
23412 * sunrpc/clnt_simp.c: Likewise.
23413 * sunrpc/clnt_tcp.c: Likewise.
23414 * sunrpc/clnt_udp.c: Likewise.
23415 * sunrpc/clnt_unix.c: Likewise.
23416 * sunrpc/des_crypt.c: Likewise.
23417 * sunrpc/des_soft.c: Likewise.
23418 * sunrpc/get_myaddr.c: Likewise.
23419 * sunrpc/key_call.c: Likewise.
23420 * sunrpc/key_prot.c: Likewise.
23421 * sunrpc/netname.c: Likewise.
23422 * sunrpc/pm_getmaps.c: Likewise.
23423 * sunrpc/pm_getport.c: Likewise.
23424 * sunrpc/pmap_clnt.c: Likewise.
23425 * sunrpc/pmap_prot.c: Likewise.
23426 * sunrpc/pmap_prot2.c: Likewise.
23427 * sunrpc/pmap_rmt.c: Likewise.
23428 * sunrpc/publickey.c: Likewise.
23429 * sunrpc/rpc_cmsg.c: Likewise.
23430 * sunrpc/rpc_common.c: Likewise.
23431 * sunrpc/rpc_dtable.c: Likewise.
23432 * sunrpc/rpc_prot.c: Likewise.
23433 * sunrpc/rpc_thread.c: Likewise.
23434 * sunrpc/rtime.c: Likewise.
23435 * sunrpc/svc.c: Likewise.
23436 * sunrpc/svc_auth.c: Likewise.
23437 * sunrpc/svc_authux.c: Likewise.
23438 * sunrpc/svc_raw.c: Likewise.
23439 * sunrpc/svc_run.c: Likewise.
23440 * sunrpc/svc_simple.c: Likewise.
23441 * sunrpc/svc_tcp.c: Likewise.
23442 * sunrpc/svc_udp.c: Likewise.
23443 * sunrpc/svc_unix.c: Likewise.
23444 * sunrpc/svcauth_des.c: Likewise.
23445 * sunrpc/xcrypt.c: Likewise.
23446 * sunrpc/xdr.c: Likewise.
23447 * sunrpc/xdr_array.c: Likewise.
23448 * sunrpc/xdr_float.c: Likewise.
23449 * sunrpc/xdr_intXX_t.c: Likewise.
23450 * sunrpc/xdr_mem.c: Likewise.
23451 * sunrpc/xdr_rec.c: Likewise.
23452 * sunrpc/xdr_ref.c: Likewise.
23453 * sunrpc/xdr_sizeof.c: Likewise.
23454 * sunrpc/xdr_stdio.c: Likewise.
23456 2011-04-10 Ulrich Drepper <drepper@gmail.com>
23459 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
23460 * sysdeps/ia64/dl-tls.h: Likewise.
23461 * sysdeps/powerpc/dl-tls.h: Likewise.
23462 * sysdeps/s390/dl-tls.h: Likewise.
23463 * sysdeps/sh/dl-tls.h: Likewise.
23464 * sysdeps/sparc/dl-tls.h: Likewise.
23465 * sysdeps/x86_64/dl-tls.h: Likewise.
23466 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
23468 2011-03-14 Andreas Schwab <schwab@redhat.com>
23470 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
23471 rpath element also skip the following colon.
23472 (expand_dynamic_string_token): Add is_path parameter and pass
23473 down to DL_DST_REQUIRED and _dl_dst_substitute.
23474 (decompose_rpath): Call expand_dynamic_string_token with
23475 non-zero is_path. Ignore empty rpaths.
23476 (_dl_map_object_from_fd): Call expand_dynamic_string_token
23479 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
23481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23484 2011-04-09 Ulrich Drepper <drepper@gmail.com>
23487 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
23488 Patch by Filipe David Manana <fdmanana@apache.org>.
23490 2011-04-07 Andreas Schwab <schwab@redhat.com>
23492 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
23493 Maintain aligned stack.
23494 (CHECK_RSP): Remove unused macro.
23496 2011-04-03 Ulrich Drepper <drepper@gmail.com>
23498 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
23499 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
23501 2011-04-02 Ulrich Drepper <drepper@gmail.com>
23503 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
23505 * include/features.h: Mention __USE_XOPEN2K8 in comment.
23507 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
23510 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
23511 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
23512 * sysdeps/x86_64/memmove.c: New file.
23513 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
23514 (memcpy): Renamed to ...
23515 (__new_memcpy): This.
23516 (memcpy): Provide GLIBC_2_14 memcpy.
23517 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
23518 (memcpy): Provide GLIBC_2_2_5 memcpy.
23520 2011-04-01 Ulrich Drepper <drepper@gmail.com>
23523 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
23525 2011-03-30 Andreas Schwab <schwab@redhat.com>
23527 * misc/syncfs.c: New file.
23528 * misc/Makefile (routines): Add syncfs.
23529 * posix/unistd.h: Declare syncfs.
23530 * sysdeps/unix/syscalls.list: Add syncfs.
23532 2011-04-01 Andreas Schwab <schwab@redhat.com>
23534 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
23536 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23537 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23538 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23539 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23540 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23541 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
23542 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23544 2011-04-01 Ulrich Drepper <drepper@gmail.com>
23546 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
23547 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23548 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
23549 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23550 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23551 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23552 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23554 * io/Makefile: Compile fallocate.c, fallocate64.c, and
23555 sync_file_range.c with -fexceptions.
23556 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
23557 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
23558 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
23559 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
23560 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
23561 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23562 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
23563 sync_file_range as cancellation point
23564 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
23565 now a wrapper around __call_sync_file_range with cancellation handling.
23566 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
23567 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
23568 function name to __call_sync_file_range.
23569 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
23570 Add call_sync_file_range.
23572 2011-04-01 Andreas Schwab <schwab@redhat.com>
23574 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23577 2011-04-01 Ulrich Drepper <drepper@gmail.com>
23579 * iconv/iconv.h: Fix typo in comment.
23580 * io/fcntl.h: Likewise.
23581 * libio/stdio.h: Likewise.
23582 * posix/spawn.h: Likewise.
23583 * posix/unistd.h: Likewise.
23584 * stdlib/stdlib.h: Likewise.
23585 * time/time.h: Likewise.
23586 * wcsmbs/wchar.h: Likewise.
23588 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
23589 open_by_handle): Add.
23590 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
23591 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
23592 Augment a few comments.
23593 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23594 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23595 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23596 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23597 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23598 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
23601 * io/fcntl.h (AT_EMPTY_PATH): Define.
23603 2011-03-30 Ulrich Drepper <drepper@gmail.com>
23605 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
23606 * sysdeps/unix/sysv/linux/bits/time.h: New file.
23607 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
23609 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
23610 * Versions.def: Add GLIBC_2.14.
23611 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
23614 2011-03-22 Ulrich Drepper <drepper@gmail.com>
23616 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
23618 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23620 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
23623 * string/test-strncmp.c (do_page_test): New function.
23624 (check2): Likewise.
23625 (test_main): Call check2.
23626 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
23628 2011-03-20 Ulrich Drepper <drepper@gmail.com>
23631 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
23632 Handle cache information in CPU leaf 4.
23633 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23635 2011-03-18 Ulrich Drepper <drepper@gmail.com>
23638 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
23639 character representation.
23640 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
23642 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
23644 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
23645 END(__isnan) to END(__isnanf) to match function entry point/label
23646 EALIGN(__isnanf,...).
23648 2011-03-10 Jakub Jelinek <jakub@redhat.com>
23650 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
23652 2011-03-10 Ulrich Drepper <drepper@gmail.com>
23655 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
23656 copy from the symbol referenced in the relocation to initialize the
23658 Patch by Piotr Bury <pbury@goahead.com>.
23659 * elf/Makefile: Add rules to build and tst-unique3.
23660 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
23661 * elf/tst-unique3.cc: New file.
23662 * elf/tst-unique3.h: New file.
23663 * elf/tst-unique3lib.cc: New file.
23664 * elf/tst-unique3lib2.cc: New file.
23666 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
23668 2011-03-10 Mike Frysinger <vapier@gentoo.org>
23670 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
23671 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
23674 2011-03-06 Ulrich Drepper <drepper@gmail.com>
23676 * elf/dl-load.c (_dl_map_object): If we are looking for the first
23677 to-be-loaded object along a path to loader is ld.so.
23679 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23680 Ulrich Drepper <drepper@gmail.com>
23682 * sysdeps/x86_64/memset.S: After aligning destination, code
23683 branches to different locations depending on the value of
23684 misalignment, when multiarch is enabled. Fix this.
23686 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23688 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
23689 Set _x86_64_preferred_memory_instruction for AMD processsors.
23690 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23691 Set bit_Prefer_SSE_for_memop for AMD processors.
23693 2011-03-04 Ulrich Drepper <drepper@gmail.com>
23695 * libio/fmemopen.c (fmemopen): Optimize a bit.
23697 2011-03-03 Andreas Schwab <schwab@redhat.com>
23699 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
23701 2011-03-03 Roland McGrath <roland@redhat.com>
23703 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
23705 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
23707 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
23708 __bzero_ultra1 instead of __memset_ultra1.
23710 2011-02-23 Andreas Schwab <schwab@redhat.com>
23711 Ulrich Drepper <drepper@gmail.com>
23714 * include/link.h (struct link_map): Add l_orig_initfini.
23715 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
23716 returning unsuccessfully.
23717 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
23718 close of a file loaded at startup, restore the original l_initfini
23720 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
23721 list, store the pointer.
23722 * elf/Makefile ($(objpfx)noload-mem): New rule.
23723 (noload-ENV): Define.
23724 (tests): Add $(objpfx)noload-mem.
23725 * elf/noload.c: Include <memcheck.h>.
23726 (main): Call mtrace. Close all opened handles.
23728 2011-02-17 Andreas Schwab <schwab@redhat.com>
23731 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
23732 dependencies are missing.
23734 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
23736 Fix __if_freereq crash: Unlike the generic version which uses free,
23738 * sysdeps/mach/hurd/ifreq.h: New file.
23740 2011-01-27 Petr Baudis <pasky@suse.cz>
23741 Ulrich Drepper <drepper@gmail.com>
23744 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
23745 to extend_alloca().
23746 * stdio-common/bug23.c: New file.
23747 * stdio-common/Makefile (tests): Add bug23.
23749 2010-09-28 Andreas Schwab <schwab@redhat.com>
23750 Ulrich Drepper <drepper@gmail.com>
23753 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
23754 before performing relro protection. At old place add assertion
23755 to make sure nothing changed.
23757 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
23758 Glauber de Oliveira Costa <glommer@gmail.com>
23760 * elf/elf.h: Add new ARM TLS relocs.
23762 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
23764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
23765 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
23767 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
23769 * sysdeps/wordsize-64/tst-writev.c: New file.
23771 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
23773 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
23774 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
23775 insns in _dl_start to prevent a TOC reference before relocs are
23778 2011-02-15 Ulrich Drepper <drepper@gmail.com>
23781 * Makeconfig: Remove RANLIB definition.
23782 * Makerules: Don't use RANLIB.
23783 * aclocal.m4: Remove ranlib test.
23784 * configure.in: No need to check for ranlib.
23785 * elf/rtld-Rules: Don't use RANLIB.
23787 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23789 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
23791 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
23792 inclusion protection macro.
23794 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
23795 SIGRTMIN and SIGRTMAX and print information in that case only when
23796 SIGRTMIN is defined.
23798 2011-02-11 Jakub Jelinek <jakub@redhat.com>
23800 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
23801 arginfo fn returning -1.
23803 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
23804 and thousands string is zero terminated.
23806 2011-02-03 Andreas Schwab <schwab@redhat.com>
23808 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
23809 sysdeps/unix/sysv/linux/bits/socket.h.
23811 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
23813 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
23814 (__CPU_COUNT): Remove old macros.
23815 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
23816 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
23817 (__CPU_ALLOC, __CPU_FREE): Add macros.
23818 (__sched_cpualloc, __sched_cpufree): Add declarations.
23820 2011-02-05 Ulrich Drepper <drepper@gmail.com>
23822 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
23823 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
23824 * nscd/aicache.c (addhstaiX): Return timeout of added value.
23825 (readdhstai): Return value of addhstaiX call.
23826 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
23827 (addgrbyX): Return value returned by cache_addgr.
23828 (readdgrbyname): Return value returned by addgrbyX.
23829 (readdgrbygid): Likewise.
23830 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
23831 (addpwbyX): Return value returned by cache_addpw.
23832 (readdpwbyname): Return value returned by addhstbyX.
23833 (readdpwbyuid): Likewise.
23834 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
23835 (addservbyX): Return value returned by cache_addserv.
23836 (readdservbyname): Return value returned by addservbyX:
23837 (readdservbyport): Likewise.
23838 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
23839 (addhstbyX): Return value returned by cache_addhst.
23840 (readdhstbyname): Return value returned by addhstbyX.
23841 (readdhstbyaddr): Likewise.
23842 (readdhstbynamev6): Likewise.
23843 (readdhstbyaddrv6): Likewise.
23844 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
23845 (readdinitgroups): Return value returned by addinitgroupsX.
23846 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
23847 (prune_cache): Keep track of timeout value of re-added entries.
23848 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
23849 * nscd/nscd.h: Adjust prototypes of readd* functions.
23851 2011-02-04 Roland McGrath <roland@redhat.com>
23853 * nis/nis_server.c (nis_servstate): Use the right name for 0.
23854 (nis_stats): Likewise.
23855 * nis/nis_modify.c (nis_modify): Likewise.
23856 * nis/nis_remove.c (nis_remove): Likewise.
23857 * nis/nis_add.c (nis_add): Likewise.
23859 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
23861 * posix/fnmatch_loop.c: Add some consts.
23863 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
23865 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
23868 * config.make.in (config-cflags-novzeroupper): Define.
23869 * configure.in: Substitute libc_cv_cc_novzeroupper.
23870 * elf/Makefile (AVX-CFLAGS): Define.
23871 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
23872 (CFLAGS-tst-auditmod4a.c): Likewise.
23873 (CFLAGS-tst-auditmod4b.c): Likewise.
23874 (CFLAGS-tst-auditmod6b.c): Likewise.
23875 (CFLAGS-tst-auditmod6c.c): Likewise.
23876 (CFLAGS-tst-auditmod7b.c): Likewise.
23877 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
23879 2011-02-02 Ulrich Drepper <drepper@gmail.com>
23881 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
23882 function to the callback.
23883 Patch partly by Jiri Olsa <jolsa@redhat.com>.
23885 2011-02-02 Andreas Schwab <schwab@redhat.com>
23887 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
23890 2011-01-19 Ulrich Drepper <drepper@gmail.com>
23893 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
23895 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
23897 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
23900 * elf/Makefile: Add rules to build and run new test.
23901 * elf/tst-initorder.c: New file.
23902 * elf/tst-initorder.exp: New file.
23903 * elf/tst-initordera1.c: New file.
23904 * elf/tst-initordera2.c: New file.
23905 * elf/tst-initordera3.c: New file.
23906 * elf/tst-initordera4.c: New file.
23907 * elf/tst-initorderb1.c: New file.
23908 * elf/tst-initorderb2.c: New file.
23909 * elf/tst-order-a1.c: New file.
23910 * elf/tst-order-a2.c: New file.
23911 * elf/tst-order-a3.c: New file.
23912 * elf/tst-order-a4.c: New file.
23913 * elf/tst-order-b1.c: New file.
23914 * elf/tst-order-b2.c: New file.
23915 * elf/tst-order-main.c: New file.
23916 New test case by George Gensure <werkt0@gmail.com>.
23918 2010-10-01 Andreas Schwab <schwab@redhat.com>
23920 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23921 decoding ACE if AI_CANONIDN.
23923 2011-01-18 Ulrich Drepper <drepper@gmail.com>
23925 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
23927 2011-01-17 Ulrich Drepper <drepper@gmail.com>
23929 * version.h (RELEASE): Bump for 2.13 release.
23930 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
23932 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
23934 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
23936 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
23937 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23938 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23939 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23940 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23941 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23943 * posix/getconf.c: Update copyright year.
23944 * catgets/gencat.c: Likewise.
23945 * csu/version.c: Likewise.
23946 * debug/catchsegv.sh: Likewise.
23947 * debug/xtrace.sh: Likewise.
23948 * elf/ldconfig.c: Likewise.
23949 * elf/ldd.bash.in: Likewise.
23950 * elf/sprof.c (print_version): Likewise.
23951 * iconv/iconv_prog.c: Likewise.
23952 * iconv/iconvconfig.c: Likewise.
23953 * locale/programs/locale.c: Likewise.
23954 * locale/programs/localedef.c: Likewise.
23955 * malloc/memusage.sh: Likewise.
23956 * malloc/mtrace.pl: Likewise.
23957 * nscd/nscd.c (print_version): Likewise.
23958 * nss/getent.c: Likewise.
23960 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
23961 PF_CAIF, and PF_ALG.
23962 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23964 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
23966 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
23967 (modules-names): Use them.
23968 (ifunc-test-modules, ifunc-pie-tests): Define.
23969 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
23970 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
23971 (test-extras): Likewise.
23972 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
23973 $(compile-command.c).
23974 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
23975 (all-built-dso): Define.
23976 (check-textrel.out, check-execstack.out): Depend on it.
23978 * configure.in: Don't override --enable-multi-arch.
23980 2011-01-15 Ulrich Drepper <drepper@gmail.com>
23983 * nscd/hstcache.c (tryagain): Define.
23984 (cache_addhst): Return tryagain not notfound for temporary errors.
23985 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
23988 2011-01-14 Ulrich Drepper <drepper@gmail.com>
23991 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
23992 to make the syscall.
23993 * sysdeps/unix/sysv/linux/setgroups.c: New file.
23996 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
23997 and fall back to matching as normal character if the string ends before
23998 the matching ']' is found. This is what POSIX requires.
23999 * posix/testfnm.c: Adjust test result.
24000 * posix/globtest.sh: Adjust test result. Add new test.
24001 * posix/tst-fnmatch.input: Likewise.
24002 * posix/tst-fnmatch2.c: Add new test.
24004 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
24006 * elf/Makefile (check-execstack): Revert last change. Depend on
24008 (check-execstack.h): New target.
24009 (generated): Add check-execstack.h.
24010 * elf/check-execstack.c: Include "check-execstack.h".
24011 (main): Revert last change.
24012 (handle_file): Return zero if GNU_STACK is absent and
24013 DEFAULT_STACK_PERMS doesn't include PF_X.
24015 2011-01-13 Ulrich Drepper <drepper@gmail.com>
24017 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
24018 in child fails because the descriptor is already closed.
24019 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
24020 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
24021 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
24024 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
24028 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
24029 temporary buffer used to handle multi lookups locally.
24030 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
24032 2011-01-12 Ulrich Drepper <drepper@gmail.com>
24034 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
24037 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
24039 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
24040 alignment for SSE2.
24042 2011-01-12 Ulrich Drepper <drepper@gmail.com>
24045 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
24046 characters. When rounding increased number of integer digits recompute
24048 * stdio-common/tst-grouping.c: New file.
24049 * stdio-common/Makefile: Add rules to build and run tst-grouping.
24051 2011-01-09 Ulrich Drepper <drepper@gmail.com>
24053 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
24054 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
24056 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
24058 * bits/select.h: Likewise.
24060 2011-01-08 Ulrich Drepper <drepper@gmail.com>
24062 * po/ja.po: Update from translation team.
24064 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
24067 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
24068 implementation just like for lxstat, fxstatat, et al.
24070 2010-12-27 Jim Meyering <meyering@redhat.com>
24073 * posix/regexec.c (build_trtable): Return failure indication upon
24074 calloc failure. Otherwise, re_search_internal could infloop on OOM.
24076 2010-12-25 Ulrich Drepper <drepper@gmail.com>
24079 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
24080 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
24081 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
24082 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
24085 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
24088 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
24089 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
24091 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
24093 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
24094 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
24095 script has SORT_BY_INIT_PRIORITY.
24096 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
24097 NO_CTORS_DTORS_SECTIONS is defined.
24098 * elf/soinit.c: Likewise.
24099 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
24100 NO_CTORS_DTORS_SECTIONS is defined.
24101 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
24102 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
24103 * sysdeps/sh/init-first.c: Likewise.
24104 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
24106 2010-12-24 Ulrich Drepper <drepper@gmail.com>
24108 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
24109 always use the slow path.
24111 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
24113 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
24114 similar rule which adds the sysdep directories to the header search in
24115 order to pick up the correct platform stackinfo.h.
24116 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
24117 perform test if it is, otherwise return successfully without testing.
24118 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
24119 DEFAULT_STACK_PERMS define in stackinfo.h.
24120 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
24121 defined in stackinfo.h.
24122 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
24123 DEFAULT_STACK_PERMS defined in stackinfo.h.
24124 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
24125 * sysdeps/ia64/stackinfo.h: Likewise.
24126 * sysdeps/s390/stackinfo.h: Likewise.
24127 * sysdeps/sh/stackinfo.h: Likewise.
24128 * sysdeps/sparc/stackinfo.h: Likewise.
24129 * sysdeps/x86_64/stackinfo.h: Likewise.
24130 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
24131 PF_X for powerpc64. Retain PF_X for powerpc32.
24133 2010-12-19 Ulrich Drepper <drepper@gmail.com>
24135 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
24137 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
24138 GETDENTS_64BIT_ALIGNED.
24140 2010-12-14 Ulrich Drepper <dreper@gmail.com>
24142 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
24144 2010-12-10 Andreas Schwab <schwab@redhat.com>
24146 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
24149 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
24150 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
24152 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
24153 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
24155 2010-12-09 Ulrich Drepper <drepper@gmail.com>
24158 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
24161 2010-12-09 Jakub Jelinek <jakub@redhat.com>
24163 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
24165 2010-12-03 Ulrich Drepper <drepper@gmail.com>
24167 * po/it.po: Update from translation team.
24169 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
24171 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
24174 2010-11-30 Ulrich Drepper <drepper@gmail.com>
24176 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
24178 2010-11-24 Andreas Schwab <schwab@redhat.com>
24180 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
24182 (gaih_getanswer_slice): Likewise.
24184 2010-10-20 Jakub Jelinek <jakub@redhat.com>
24186 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
24188 2010-05-31 Petr Baudis <pasky@suse.cz>
24191 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
24192 silently even in the chroot mode.
24194 2010-11-22 Ulrich Drepper <drepper@gmail.com>
24196 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
24197 last patch a bit. Pretty printing
24199 2010-05-31 Petr Baudis <pasky@suse.cz>
24202 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
24203 initialization of skip_initgroups_dyn.
24205 2010-11-19 Ulrich Drepper <drepper@gmail.com>
24207 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
24208 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24210 2010-11-16 Ulrich Drepper <drepper@gmail.com>
24212 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
24214 2010-11-11 Andreas Schwab <schwab@redhat.com>
24216 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
24217 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
24218 (tst-fnmatch-ENV): Set MALLOC_TRACE.
24219 ($(objpfx)tst-fnmatch-mem): New rule.
24220 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
24221 * posix/tst-fnmatch.c (main): Call mtrace.
24223 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
24225 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24226 Support Intel processor model 6 and model 0x2c.
24228 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
24230 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
24233 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
24236 * string/test-strncasecmp.c (check_result): New function.
24237 (do_one_test): Use it.
24238 (check1): New function.
24239 (test_main): Use it.
24240 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
24241 Support strcasecmp and strncasecmp.
24243 2010-11-08 Ulrich Drepper <drepper@gmail.com>
24246 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
24247 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24249 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
24251 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
24253 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24255 * sysdeps/x86_64/multiarch/bzero.S: New file.
24256 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
24257 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
24258 * sysdeps/x86_64/multiarch/memset.S: New file.
24259 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
24260 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24261 Set bit_Prefer_SSE_for_memop for Intel processors.
24262 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
24264 (index_Prefer_SSE_for_memop): Define.
24265 (HAS_PREFER_SSE_FOR_MEMOP): Define.
24267 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
24269 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
24270 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
24272 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
24275 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
24276 (__x86_64_raw_data_cache_size_half): Likewise.
24277 (__x86_64_raw_shared_cache_size): Likewise.
24278 (__x86_64_raw_shared_cache_size_half): Likewise.
24280 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
24281 (__x86_64_raw_data_cache_size_half): Likewise.
24282 (__x86_64_raw_shared_cache_size): Likewise.
24283 (__x86_64_raw_shared_cache_size_half): Likewise.
24284 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
24285 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
24286 and __x86_64_raw_shared_cache_size_half. Round
24287 __x86_64_data_cache_size_half, __x86_64_data_cache_size
24288 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
24289 to multiple of 256 bytes.
24291 2010-11-03 Ulrich Drepper <drepper@gmail.com>
24294 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
24295 of inacessible symlinks. Verify result of symlink before returning it.
24296 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24297 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
24299 2010-10-28 Erich Ritz <erichritz@gmail.com>
24301 * math/math.h (isinf): Fix typo in comment.
24303 2010-11-01 Ulrich Drepper <drepper@gmail.com>
24305 * po/da.po: Update from translation team.
24307 2010-10-26 Ulrich Drepper <drepper@gmail.com>
24309 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
24310 is added to the list.
24312 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24313 Ulrich Drepper <drepper@gmail.com>
24315 * elf/dl-object.c (_dl_new_object): Don't append the new object to
24316 the global list here. Move code to...
24317 (_dl_add_to_namespace_list): ...here. New function.
24318 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
24319 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
24320 * elf/dl-load.c (lose): Don't remove the element from the list.
24321 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
24322 (_dl_map_object): Likewise.
24324 2010-10-25 Ulrich Drepper <drepper@gmail.com>
24327 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
24328 into all bytes of SSE register.
24329 Patch by Richard Li <richardpku@gmail.com>.
24331 2010-10-24 Ulrich Drepper <drepper@gmail.com>
24334 * malloc/malloc.c (_int_free): Fill correct number of bytes when
24337 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
24339 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
24340 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
24341 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
24342 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
24345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
24347 2010-10-22 Andreas Schwab <schwab@redhat.com>
24349 * include/dlfcn.h (__RTLD_SECURE): Define.
24350 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
24351 mode & __RTLD_SECURE instead.
24352 (open_path): Rename preloaded parameter to secure.
24353 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
24354 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
24355 * elf/dl-deps.c (openaux): Likewise.
24356 * elf/rtld.c (struct map_args): Remove is_preloaded.
24357 (map_doit): Don't use it.
24358 (dl_main): Likewise.
24359 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
24360 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
24362 2010-09-09 Andreas Schwab <schwab@redhat.com>
24364 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
24365 (sysd-rules-targets): Remove duplicates.
24366 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
24367 rtld-%.$o dependency.
24369 2010-10-18 Andreas Schwab <schwab@redhat.com>
24371 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
24372 _dl_map_object do it.
24374 2010-10-19 Ulrich Drepper <drepper@gmail.com>
24376 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
24377 fast fma builtins, define the macros in the C99 standard.
24378 (FP_FAST_FMAF): Likewise.
24379 (FP_FAST_FMAL): Likewise.
24380 * sysdeps/x86_64/bits/mathdef.h: Likewise.
24382 * bits/mathdef.h: Update copyright year.
24383 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24385 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
24387 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
24388 builtins, define the macros in the C99 standard.
24389 (FP_FAST_FMAF): Likewise.
24390 (FP_FAST_FMAL): Likewise.
24391 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
24393 (FP_FAST_FMAF): Likewise.
24395 2010-10-15 Jakub Jelinek <jakub@redhat.com>
24398 * math/libm-test.inc (fma_test): Some new testcases.
24399 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
24400 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
24401 y and infinite z. Do multiplication by C already in long double.
24402 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
24403 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
24404 y and infinite z. Do bitwise or of inexact bit into u.d.
24405 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
24406 * sysdeps/i386/fpu/s_fmaf.S: Removed.
24407 * sysdeps/i386/fpu/s_fma.S: Removed.
24408 * sysdeps/i386/fpu/s_fmal.S: Removed.
24410 2010-10-16 Jakub Jelinek <jakub@redhat.com>
24413 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
24414 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
24415 computation is not scheduled after fetestexcept. Fix value
24416 of minimum denormal long double.
24418 2010-10-14 Jakub Jelinek <jakub@redhat.com>
24421 * math/libm-test.inc (fma_test): Add some more tests.
24422 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
24425 2010-10-15 Andreas Schwab <schwab@redhat.com>
24427 * scripts/data/localplt-s390-linux-gnu.data: New file.
24428 * scripts/data/localplt-s390x-linux-gnu.data: New file.
24430 2010-10-13 Jakub Jelinek <jakub@redhat.com>
24433 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
24434 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
24436 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
24438 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
24439 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
24440 if one of x and y is very large and the other is subnormal.
24441 * sysdeps/s390/fpu/s_fmaf.c: New file.
24442 * sysdeps/s390/fpu/s_fma.c: New file.
24443 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
24444 * sysdeps/powerpc/fpu/s_fma.S: New file.
24445 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
24446 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
24447 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
24449 2010-10-12 Jakub Jelinek <jakub@redhat.com>
24452 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
24454 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
24455 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
24456 * sysdeps/i386/i686/multiarch/s_fma.c: Include
24457 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
24458 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
24459 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
24460 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
24462 2010-10-12 Ulrich Drepper <drepper@redhat.com>
24465 * posix/regcomp.c (parse_branch): One more memory leak plugged.
24466 * posix/bug-regex31.input: Add test case.
24468 2010-10-11 Ulrich Drepper <drepper@gmail.com>
24470 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
24471 * posix/bug-regex31.input: New file.
24474 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
24475 (parse_sub_exp): Fix last change, use postorder.
24477 * posix/bug-regex31.c: New file.
24478 * posix/Makefile: Add rules to build and run bug-regex31.
24480 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
24483 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
24486 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
24487 to have entries in sys_siglist.
24490 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
24493 2010-10-07 Jakub Jelinek <jakub@redhat.com>
24496 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
24497 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
24498 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
24499 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
24500 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
24501 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
24502 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
24503 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
24504 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
24505 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
24506 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
24507 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
24508 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24509 * math/ftestexcept.c (fetestexcept): Likewise.
24510 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
24511 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
24512 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
24513 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
24514 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
24515 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
24516 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24518 2010-10-11 Ulrich Drepper <drepper@gmail.com>
24521 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
24524 2010-10-06 Ulrich Drepper <drepper@gmail.com>
24526 * string/bug-strstr1.c: New file.
24527 * string/Makefile: Add rules to build and run bug-strstr1.
24529 2010-10-05 Eric Blake <eblake@redhat.com>
24532 * string/str-two-way.h (two_way_long_needle): Always clear memory
24533 when skipping input due to the shift table.
24535 2010-10-03 Ulrich Drepper <drepper@gmail.com>
24538 * malloc/mcheck.c: Handle large requests.
24541 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
24542 for strncmp and strncasecmp.
24543 * string/stratcliff.c: Add tests for strcmp and strncmp.
24544 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
24546 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24548 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
24551 2010-09-30 Andreas Jaeger <aj@suse.de>
24553 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
24554 (CGROUP_SUPER_MAGIC): Define.
24555 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24556 Handle btrfs and cgroup file systems.
24557 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24560 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
24562 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
24563 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
24565 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24568 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
24569 trying to locate the ELF header.
24571 2010-09-27 Andreas Schwab <schwab@redhat.com>
24574 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
24575 Mask out sign-bit copies when constructing f_fsid.
24577 2010-09-24 Petr Baudis <pasky@suse.cz>
24579 * debug/stack_chk_fail_local.c: Add missing licence exception.
24580 * debug/warning-nop.c: Likewise.
24582 2010-09-15 Joseph Myers <joseph@codesourcery.com>
24584 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
24585 implementing getdents64 using getdents syscall, set d_type if
24586 __ASSUME_GETDENTS32_D_TYPE.
24588 2010-09-16 Andreas Schwab <schwab@redhat.com>
24590 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
24591 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
24593 2010-09-21 Ulrich Drepper <drepper@redhat.com>
24596 * posix/unistd.h: Undo change of feature selection for ftruncate from
24599 2010-09-20 Ulrich Drepper <drepper@redhat.com>
24601 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
24604 2010-09-20 Andreas Schwab <schwab@redhat.com>
24606 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
24608 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24610 2010-09-14 Andreas Schwab <schwab@redhat.com>
24612 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
24613 variables after CHECK_SP call.
24614 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
24616 2010-09-13 Andreas Schwab <schwab@redhat.com>
24617 Ulrich Drepper <drepper@redhat.com>
24619 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
24620 re-relocationg ld.so.
24621 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
24622 _dl_init_paths call.
24623 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
24626 2010-09-14 Ulrich Drepper <drepper@redhat.com>
24628 * resolv/res_init.c (__res_vinit): Count the default server we added.
24630 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
24631 Ulrich Drepper <drepper@redhat.com>
24634 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24635 (____longjmp_chk): Use %ebx for saving value across system call.
24638 2010-09-06 Andreas Schwab <schwab@redhat.com>
24640 * manual/Makefile: Don't mix pattern rules with normal rules.
24642 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
24644 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
24646 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
24647 * libio/iofopncook.c (_IO_cookie_init): Likewise.
24648 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
24649 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24650 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24653 2010-09-04 Ulrich Drepper <drepper@redhat.com>
24656 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
24657 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
24659 2010-09-02 Ulrich Drepper <drepper@redhat.com>
24661 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
24662 * sysdeps/x86_64/addmul_1.S: Likewise.
24663 * sysdeps/x86_64/lshift.S: Likewise.
24664 * sysdeps/x86_64/mul_1.S: Likewise.
24665 * sysdeps/x86_64/rshift.S: Likewise.
24666 * sysdeps/x86_64/sub_n.S: Likewise.
24667 * sysdeps/x86_64/submul_1.S: Likewise.
24669 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
24671 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
24672 Define __sched_param instead of SCHED_* and sched_param when
24673 <bits/sched.h> is included with __need_schedparam defined.
24674 * bits/sched.h [__need_schedparam]
24675 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
24676 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
24677 (__defined_schedparam): Define to 1.
24678 (__sched_param): New structure, identical to sched_param.
24679 (__need_schedparam): Undefine.
24681 2010-08-31 Mike Frysinger <vapier@gentoo.org>
24683 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
24684 (epoll_create1): Declare.
24686 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
24688 2010-08-31 Andreas Schwab <schwab@redhat.com>
24691 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
24692 shifting retval into place.
24694 2010-09-01 Ulrich Drepper <drepper@redhat.com>
24696 * nis/rpcsvc/nis.h: Update copyright notice.
24697 * nis/rpcsvc/nis.x: Likewise.
24698 * nis/rpcsvc/nis_callback.h: Likewise.
24699 * nis/rpcsvc/nis_callback.x: Likewise.
24700 * nis/rpcsvc/nis_object.x: Likewise.
24701 * nis/rpcsvc/nis_tags.h: Likewise.
24702 * nis/rpcsvc/yp.h: Likewise.
24703 * nis/rpcsvc/yp.x: Likewise.
24704 * nis/rpcsvc/ypupd.h: Likewise.
24705 * nis/yp_xdr.c: Likewise.
24706 * nis/ypupdate_xdr.c: Likewise.
24708 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
24709 mainly the body of pmap_getport. Add parameters to specify timeouts.
24710 (pmap_getport): Use __libc_rpc_getport.
24711 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
24712 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
24713 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
24715 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
24717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
24720 2010-08-27 Roland McGrath <roland@redhat.com>
24722 * sysdeps/i386/i686/multiarch/Makefile
24723 (CFLAGS-varshift.c): New variable.
24725 2010-08-27 Ulrich Drepper <drepper@redhat.com>
24727 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
24728 * sysdeps/i386/i686/multiarch/varshift.c: New file.
24730 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
24732 * sysdeps/x86_64/strlen.S: Minimal code improvement.
24734 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
24736 * sysdeps/x86_64/strlen.S: Unroll the loop.
24737 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24738 strlen-sse2 strlen-sse2-bsf.
24739 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
24740 __strlen_no_bsf if bit_Slow_BSF is set.
24741 (__strlen_sse42): Removed.
24742 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
24743 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
24745 2010-08-25 Roland McGrath <roland@redhat.com>
24747 * sysdeps/x86_64/multiarch/varshift.S: File removed.
24748 * sysdeps/x86_64/multiarch/varshift.c: New file.
24749 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
24750 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
24751 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
24752 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24754 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
24756 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24757 strlen-sse2 strlen-sse2-bsf.
24758 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
24759 __strlen_sse2_bsf if bit_Slow_BSF is unset.
24760 (__strlen_sse2): Removed.
24761 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
24762 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
24763 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24764 bit_Slow_BSF for Atom.
24765 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
24766 (index_Slow_BSF): Define.
24767 (HAS_SLOW_BSF): Define.
24769 2010-08-25 Ulrich Drepper <drepper@redhat.com>
24772 * resolv/res_init.c (__res_vinit): When no server address at all
24773 is given default to loopback.
24775 2010-08-24 Roland McGrath <roland@redhat.com>
24777 * configure.in: Remove config-name.h generation.
24778 * configure: Regenerated.
24779 * config-name.in: File removed.
24780 * scripts/config-uname.sh: New file.
24781 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
24782 ($(objdir)config-name.h): New target.
24784 * sunrpc/rpc_parse.h: Avoid nested comment.
24786 2010-08-24 Richard Henderson <rth@redhat.com>
24787 Ulrich Drepper <drepper@redhat.com>
24788 H.J. Lu <hongjiu.lu@intel.com>
24790 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
24791 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
24792 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
24793 Replace _mm_srli_si128 with __m128i_shift_right. Replace
24794 _mm_alignr_epi8 with _mm_loadu_si128.
24795 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
24796 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
24797 (__m128i_shift_right): Removed.
24798 * sysdeps/i386/i686/multiarch/varshift.h: New file.
24799 * sysdeps/i386/i686/multiarch/varshift.S: New file.
24800 * sysdeps/x86_64/multiarch/varshift.h: New file.
24801 * sysdeps/x86_64/multiarch/varshift.S: New file.
24803 2010-08-21 Mike Frysinger <vapier@gentoo.org>
24805 * configure.in: Move assembler checks to before sysdep dir checking.
24807 2010-08-20 Petr Baudis <pasky@suse.cz>
24809 * LICENSES: Sync the sunrpc license.
24811 2010-08-19 Ulrich Drepper <drepper@redhat.com>
24813 * sunrpc/auth_des.c: Update copyright notice once again.
24814 * sunrpc/auth_none.c: Likewise.
24815 * sunrpc/auth_unix.c: Likewise.
24816 * sunrpc/authdes_prot.c: Likewise.
24817 * sunrpc/authuxprot.c: Likewise.
24818 * sunrpc/bindrsvprt.c: Likewise.
24819 * sunrpc/clnt_gen.c: Likewise.
24820 * sunrpc/clnt_perr.c: Likewise.
24821 * sunrpc/clnt_raw.c: Likewise.
24822 * sunrpc/clnt_simp.c: Likewise.
24823 * sunrpc/clnt_tcp.c: Likewise.
24824 * sunrpc/clnt_udp.c: Likewise.
24825 * sunrpc/clnt_unix.c: Likewise.
24826 * sunrpc/des_crypt.c: Likewise.
24827 * sunrpc/des_soft.c: Likewise.
24828 * sunrpc/get_myaddr.c: Likewise.
24829 * sunrpc/getrpcport.c: Likewise.
24830 * sunrpc/key_call.c: Likewise.
24831 * sunrpc/key_prot.c: Likewise.
24832 * sunrpc/openchild.c: Likewise.
24833 * sunrpc/pm_getmaps.c: Likewise.
24834 * sunrpc/pm_getport.c: Likewise.
24835 * sunrpc/pmap_clnt.c: Likewise.
24836 * sunrpc/pmap_prot.c: Likewise.
24837 * sunrpc/pmap_prot2.c: Likewise.
24838 * sunrpc/pmap_rmt.c: Likewise.
24839 * sunrpc/rpc/auth.h: Likewise.
24840 * sunrpc/rpc/auth_unix.h: Likewise.
24841 * sunrpc/rpc/clnt.h: Likewise.
24842 * sunrpc/rpc/des_crypt.h: Likewise.
24843 * sunrpc/rpc/key_prot.h: Likewise.
24844 * sunrpc/rpc/netdb.h: Likewise.
24845 * sunrpc/rpc/pmap_clnt.h: Likewise.
24846 * sunrpc/rpc/pmap_prot.h: Likewise.
24847 * sunrpc/rpc/pmap_rmt.h: Likewise.
24848 * sunrpc/rpc/rpc.h: Likewise.
24849 * sunrpc/rpc/rpc_des.h: Likewise.
24850 * sunrpc/rpc/rpc_msg.h: Likewise.
24851 * sunrpc/rpc/svc.h: Likewise.
24852 * sunrpc/rpc/svc_auth.h: Likewise.
24853 * sunrpc/rpc/types.h: Likewise.
24854 * sunrpc/rpc/xdr.h: Likewise.
24855 * sunrpc/rpc_clntout.c: Likewise.
24856 * sunrpc/rpc_cmsg.c: Likewise.
24857 * sunrpc/rpc_common.c: Likewise.
24858 * sunrpc/rpc_cout.c: Likewise.
24859 * sunrpc/rpc_dtable.c: Likewise.
24860 * sunrpc/rpc_hout.c: Likewise.
24861 * sunrpc/rpc_main.c: Likewise.
24862 * sunrpc/rpc_parse.c: Likewise.
24863 * sunrpc/rpc_parse.h: Likewise.
24864 * sunrpc/rpc_prot.c: Likewise.
24865 * sunrpc/rpc_sample.c: Likewise.
24866 * sunrpc/rpc_scan.c: Likewise.
24867 * sunrpc/rpc_scan.h: Likewise.
24868 * sunrpc/rpc_svcout.c: Likewise.
24869 * sunrpc/rpc_tblout.c: Likewise.
24870 * sunrpc/rpc_util.c: Likewise.
24871 * sunrpc/rpc_util.h: Likewise.
24872 * sunrpc/rpcinfo.c: Likewise.
24873 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
24874 * sunrpc/rpcsvc/key_prot.x: Likewise.
24875 * sunrpc/rpcsvc/klm_prot.x: Likewise.
24876 * sunrpc/rpcsvc/mount.x: Likewise.
24877 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
24878 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
24879 * sunrpc/rpcsvc/rex.x: Likewise.
24880 * sunrpc/rpcsvc/rstat.x: Likewise.
24881 * sunrpc/rpcsvc/rusers.x: Likewise.
24882 * sunrpc/rpcsvc/sm_inter.x: Likewise.
24883 * sunrpc/rpcsvc/spray.x: Likewise.
24884 * sunrpc/rpcsvc/yppasswd.x: Likewise.
24885 * sunrpc/rtime.c: Likewise.
24886 * sunrpc/svc.c: Likewise.
24887 * sunrpc/svc_auth.c: Likewise.
24888 * sunrpc/svc_authux.c: Likewise.
24889 * sunrpc/svc_raw.c: Likewise.
24890 * sunrpc/svc_run.c: Likewise.
24891 * sunrpc/svc_simple.c: Likewise.
24892 * sunrpc/svc_tcp.c: Likewise.
24893 * sunrpc/svc_udp.c: Likewise.
24894 * sunrpc/svc_unix.c: Likewise.
24895 * sunrpc/svcauth_des.c: Likewise.
24896 * sunrpc/xcrypt.c: Likewise.
24897 * sunrpc/xdr.c: Likewise.
24898 * sunrpc/xdr_array.c: Likewise.
24899 * sunrpc/xdr_float.c: Likewise.
24900 * sunrpc/xdr_mem.c: Likewise.
24901 * sunrpc/xdr_rec.c: Likewise.
24902 * sunrpc/xdr_ref.c: Likewise.
24903 * sunrpc/xdr_sizeof.c: Likewise.
24904 * sunrpc/xdr_stdio.c: Likewise.
24906 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
24909 2010-08-19 Andreas Schwab <schwab@redhat.com>
24911 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
24913 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
24915 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
24916 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
24917 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
24918 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
24919 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
24920 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
24921 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
24922 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
24923 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
24924 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
24925 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
24926 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
24927 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
24928 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
24930 2010-07-26 Anton Blanchard <anton@samba.org>
24932 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
24933 * malloc/arena.c (heap_trim): Likewise.
24935 2010-08-16 Ulrich Drepper <drepper@redhat.com>
24937 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
24939 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
24940 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
24942 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
24944 * sysdeps/i386/elf/Makefile: New file.
24946 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24948 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
24949 from fanotify_init.
24950 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
24951 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24953 2010-08-15 Ulrich Drepper <drepper@redhat.com>
24955 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
24957 * sysdeps/multiarch/strcmp.S: Likewise.
24959 2010-08-14 Ulrich Drepper <drepper@redhat.com>
24961 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24962 strncase_l-nonascii.
24963 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24964 Add strncase_l-ssse3.
24965 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
24966 * sysdeps/x86_64/strcmp.S: Likewise.
24967 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
24968 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
24969 * sysdeps/x86_64/strncase.S: New file.
24970 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
24971 * sysdeps/x86_64/strncase_l.S: New file.
24972 * string/Makefile (strop-tests): Add strncasecmp.
24973 * string/test-strncasecmp.c: New file.
24975 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
24978 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
24979 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
24981 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24983 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
24985 2010-08-12 Ulrich Drepper <drepper@redhat.com>
24987 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
24988 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
24989 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
24991 2010-05-01 Alan Modra <amodra@gmail.com>
24993 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
24994 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
24995 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
24996 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
24997 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
24998 tidying. Don't tail-call __sigjmp_save for static lib.
24999 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
25001 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
25002 (CALL_MCOUNT): Add eh info, and nop after bl.
25003 (TAIL_CALL_SYSCALL_ERROR): New macro.
25004 (PSEUDO_RET): Use it.
25005 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25006 Correct save location of integer regs and cr.
25007 (_dl_profile_resolve): Correct cr save location. Delete nops
25008 after bl when SHARED. Reduce cfi size a little by better
25009 placement of cfi directives.
25010 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
25011 make a stack frame. Instead use parm save area as a temp.
25012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
25013 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
25014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25015 Don't make a stack frame for parent, use parm save area.
25016 Increase child stack frame to 112 bytes. Don't save unused reg,
25017 and adjust reg usage. Set up cfi on error recovery and
25018 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
25019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25020 (__makecontext): Add dummy nop after jump to exit.
25021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
25022 Use correct parm save area and cr save, reduce stack frame.
25023 Correct cfi for possible PSEUDO_RET frame setup.
25024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
25025 Branch to local label emitted by PSEUDO_RET rather than
25028 2010-08-12 Andreas Schwab <schwab@redhat.com>
25031 * locale/programs/locale.c (print_assignment): New function.
25032 (show_locale_vars): Use it.
25034 2010-08-11 Ulrich Drepper <drepper@redhat.com>
25036 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
25038 (struct statfs64): Likewise.
25039 (_STATFS_F_FLAGS): Define.
25040 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
25041 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25042 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
25043 (ST_VALID): Define locally.
25044 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
25045 __statvfs_getflags, use the provided value.
25046 * sysdeps/unix/sysv/linux/kernel-features.h: Define
25047 __ASSUME_STATFS_F_FLAGS.
25049 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
25051 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
25052 Add sys/fanotify.h.
25053 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
25054 fanotify_mask for GLIBC_2.13.
25055 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
25056 fanotify_init and fanotify_mark.
25057 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25058 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
25060 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
25062 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
25063 prlimit64 for GLIBC_2.13.
25064 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
25066 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
25068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
25069 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25070 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
25071 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
25072 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
25074 * sysdeps/unix/sysv/linux/prlimit.c: New file.
25077 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
25078 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
25080 * nss/Makefile: Add rules to build and run tst-nss-test1.
25081 * shlib-versions: Add entry for libnss_test1.
25082 * nss/nss_test1.c: New file.
25083 * nss/tst-nss-test1.c: New file.
25085 * nss/nsswitch.c (__nss_database_custom): Define new variable.
25086 (__nss_configure_lookup): Set appropriate entry in
25087 __nss_configure_lookup to true.
25088 * nss/nsswitch.h: Define enum with indeces of databases in
25089 databases and __nss_database_custom arrays. Declare
25090 __nss_database_custom.
25091 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
25092 to avoid using nscd when custom rules are installed.
25093 * nss/getXXbyYY_r.c: Likewise.
25094 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25096 * nss/nss_files/files-parse.c: Whitespace fixes.
25098 2010-08-09 Ulrich Drepper <drepper@redhat.com>
25101 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
25102 * posix/fnmatch_loop.c: Likewise.
25104 2010-07-17 Andi Kleen <ak@linux.intel.com>
25106 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
25107 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
25108 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
25109 * Versions.def [GLIBC_2.13]: Add.
25111 2010-08-06 Ulrich Drepper <drepper@redhat.com>
25113 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25114 Also fail if tpwd after pwuid call is NULL.
25116 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
25118 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
25119 when converting to ms.
25121 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
25123 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
25124 EOPNOTSUPP errors with ENOTTY.
25125 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
25126 EOPNOTSUPP errors with ENOTTY.
25128 2010-07-31 Ulrich Drepper <drepper@redhat.com>
25130 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25131 Add strcasecmp_l-ssse3.
25132 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
25134 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
25135 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
25136 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
25138 2010-07-30 Ulrich Drepper <drepper@redhat.com>
25140 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
25142 * string/Makefile (strop-tests): Add strcasecmp.
25143 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25144 strcasecmp_l-nonascii.
25145 (gen-as-const-headers): Add locale-defines.sym.
25146 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
25147 * sysdeps/x86_64/strcasecmp.S: New file.
25148 * sysdeps/x86_64/strcasecmp_l.S: New file.
25149 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
25150 * sysdeps/x86_64/locale-defines.sym: New file.
25151 * string/test-strcasecmp.c: New file.
25153 * string/test-strcasestr.c: Test both ends of the range of characters.
25154 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
25156 2010-07-29 Roland McGrath <roland@redhat.com>
25159 * manual/locale.texi (Yes-or-No Questions): Fix example code.
25161 2010-07-27 Ulrich Drepper <drepper@redhat.com>
25163 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
25166 2010-07-27 Andreas Schwab <schwab@redhat.com>
25168 * manual/memory.texi (Malloc Tunable Parameters): Document
25171 2010-07-26 Roland McGrath <roland@redhat.com>
25174 * configure.in (-fgnu89-inline check): Set and substitute
25175 gnu89_inline, not libc_cv_gnu89_inline.
25176 * configure: Regenerated.
25177 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
25179 2010-07-26 Ulrich Drepper <drepper@redhat.com>
25181 * string/test-strnlen.c: New file.
25182 * string/Makefile (strop-tests): Add strnlen.
25183 * string/tester.c (test_strnlen): Add a few more test cases.
25184 * string/tst-strlen.c: Better error reporting.
25186 * sysdeps/x86_64/strnlen.S: New file.
25188 2010-07-24 Ulrich Drepper <drepper@redhat.com>
25190 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
25191 lower-latency instructions.
25193 2010-07-23 Ulrich Drepper <drepper@redhat.com>
25195 * string/test-strcasestr.c: New file.
25196 * string/test-strstr.c: New file.
25197 * string/Makefile (strop-tests): Add strstr and strcasestr.
25198 * string/str-two-way.h: Don't undefine MAX.
25199 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
25201 2010-07-21 Andreas Schwab <schwab@redhat.com>
25203 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25204 strcasestr-nonascii.
25205 (CFLAGS-strcasestr-nonascii.c): Define.
25206 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
25207 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
25208 Remove unused attribute.
25210 2010-07-20 Roland McGrath <roland@redhat.com>
25212 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
25213 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
25214 ld.so.cache was broken. With it, there is no way to disable dsocaps
25215 like LD_HWCAP_MASK can disable hwcaps.
25217 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25219 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
25221 2010-07-16 Ulrich Drepper <drepper@redhat.com>
25223 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
25224 call in strcasestr.
25225 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
25226 __strcasestr_sse42_nonascii.
25227 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
25228 strcasestr-nonascii.c.
25229 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
25231 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
25233 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
25234 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
25235 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
25236 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
25238 2010-07-09 Ulrich Drepper <drepper@redhat.com>
25240 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
25243 2010-07-06 Andreas Schwab <schwab@redhat.com>
25246 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
25249 2010-07-06 Ulrich Drepper <drepper@redhat.com>
25251 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
25252 _PC_PIPE_BUF using F_GETPIPE_SZ.
25254 2010-07-05 Roland McGrath <roland@redhat.com>
25256 * manual/arith.texi (Rounding Functions): Fix rint description
25257 implicit in round description.
25259 2010-07-02 Ulrich Drepper <drepper@redhat.com>
25261 * elf/Makefile: Fix linking for a few tests to make recent linker
25264 2010-06-30 Andreas Schwab <schwab@redhat.com>
25266 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
25267 $(common-objpfx)libc_nonshared.a.
25269 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
25271 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
25272 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
25273 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
25274 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
25275 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
25276 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
25277 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
25278 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
25279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
25280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
25281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
25282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
25283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
25284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
25285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
25286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
25287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
25288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
25289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
25290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
25291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
25292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
25293 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
25294 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
25295 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
25296 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
25297 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
25298 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
25299 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
25300 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
25301 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
25302 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
25303 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
25304 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
25305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
25306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
25307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
25308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
25309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
25310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
25311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
25312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
25313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
25314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
25315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
25316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
25317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
25318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
25320 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
25322 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
25323 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
25324 * string/memmove.c (memmove): Renamed to ...
25325 (MEMMOVE): ...this. Default to memmove.
25326 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
25327 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
25329 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25330 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
25331 mempcpy-ssse3-back memmove-ssse3-back.
25332 * sysdeps/x86_64/multiarch/bcopy.S: New file .
25333 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
25334 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
25335 * sysdeps/x86_64/multiarch/memcpy.S: New file.
25336 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
25337 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
25338 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
25339 * sysdeps/x86_64/multiarch/memmove.c: New file.
25340 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
25341 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
25342 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
25343 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
25344 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
25345 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
25347 (index_Fast_Copy_Backward): Define.
25348 (HAS_ARCH_FEATURE): Define.
25349 (HAS_FAST_REP_STRING): Define.
25350 (HAS_FAST_COPY_BACKWARD): Define.
25352 2010-06-21 Andreas Schwab <schwab@redhat.com>
25354 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25355 Restore proper fallback handling.
25357 2010-06-19 Ulrich Drepper <drepper@redhat.com>
25360 * posix/group_member.c (__group_member): Correct checking loop.
25362 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
25363 OOM in getpwuid_r correctly. Return error number when the caller
25364 should return, otherwise -1.
25365 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
25366 call returning > 0 value.
25367 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
25369 2010-06-07 Andreas Schwab <schwab@redhat.com>
25371 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
25372 libc_nonshared.a from targets in modules-names.
25374 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
25376 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
25379 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
25381 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
25382 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
25383 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
25384 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
25386 2010-06-02 Andreas Schwab <schwab@redhat.com>
25388 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
25390 2010-06-14 Ulrich Drepper <drepper@redhat.com>
25392 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
25394 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25395 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25396 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25397 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25398 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25399 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
25401 2010-06-14 Roland McGrath <roland@redhat.com>
25403 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
25405 2010-06-07 Jakub Jelinek <jakub@redhat.com>
25407 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
25408 __REDIRECT followed by __THROW.
25409 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
25410 * posix/getopt.h (getopt): Likewise.
25412 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25414 * hurd/lookup-at.c (__file_name_lookup_at): Accept
25415 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
25416 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
25418 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
25419 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
25421 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
25423 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
25425 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
25428 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25429 Properly check family and model.
25431 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
25433 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
25435 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
25437 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
25439 2010-05-21 Ulrich Drepper <drepper@redhat.com>
25441 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
25444 2010-05-19 Andreas Schwab <schwab@redhat.com>
25446 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
25449 2010-05-21 Andreas Schwab <schwab@redhat.com>
25451 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
25452 and internal_recvmmsg.
25453 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
25454 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
25455 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
25456 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
25458 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
25459 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25460 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25462 2010-05-20 Andreas Schwab <schwab@redhat.com>
25464 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
25466 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
25468 POWER7 optimizations.
25469 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
25470 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
25472 2010-05-19 Ulrich Drepper <drepper@redhat.com>
25474 * version.h: Update for 2.13 development version.
25476 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
25478 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
25479 exceptions. Return 0.
25481 2010-05-07 Roland McGrath <roland@redhat.com>
25483 * elf/ldconfig.c (main): Add a const.
25485 2010-05-06 Ulrich Drepper <drepper@redhat.com>
25487 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
25488 (args_options): Add no-idn option.
25489 (ahosts_keys_int): Add idn_flags to ai_flags.
25490 (parse_option): Handle 'i' option to clear idn_flags.
25492 * malloc/malloc.c (_int_free): Possible race in the most recently
25493 added check. Only act on the data if no current modification
25496 See ChangeLog.17 for earlier changes.