1 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
4 the lower precision input.
6 2013-02-15 Joseph Myers <joseph@codesourcery.com>
9 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
10 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
11 (run-via-rtld-prefix): Do not handle %-bp tests.
12 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13 (all-object-suffixes): Remove .ob.
14 (bppfx): Remove variable.
15 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
16 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
18 [$(build-bounded) = yes] (libtype.ob): Likewise.
19 * Makerules (elide-routines.ob): Remove variable.
20 (do-tests-clean): Do not handle *-bp.out.
21 (common-mostlyclean): Do not handle *-bp and *-bp.out.
22 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24 (tests): Do not include $(tests-bp.out).
25 (xtests): Do not include $(xtests-bp.out).
26 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
27 [$(build-bounded) = yes] ($(addprefix
28 $(objpfx),$(binaries-bounded))): Remove rule.
29 ($(objpfx)%-bp.out): Remove rule.
30 * config.make.in (build-bounded): Remove variable.
31 * crypt/Makefile [$(build-bounded) = yes]
32 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
33 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
35 [$(build-bounded) = yes] (install-lib): Likewise.
36 [$(build-bounded) = yes] (generated): Likewise.
37 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
39 * intl/Makefile [$(build-bounded) = yes]
40 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
41 * math/Makefile [$(build-bounded) = yes]
42 ($(tests:%=$(objpfx)%-bp): Likewise.
43 * misc/Makefile [$(build-bounded) = yes]
44 ($(objpfx)tst-tsearch-bp): Likewise.
45 * nptl/Makeconfig (bounded-thread-library): Remove variable.
46 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
48 * string/Makefile (o-objects.ob): Remove variable.
49 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
50 (CFLAGS-.ob): Remove variable.
51 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
52 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
53 both definitions of variable.
54 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
55 (ASFLAGS-.ob): Remove variable.
57 2013-02-14 Joseph Myers <joseph@codesourcery.com>
60 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
61 Remove __BOUNDED_POINTERS__ from condition.
62 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
63 * string/bits/string2.h [!__NO_STRING_INLINES &&
64 !__BOUNDED_POINTERS__]: Likewise.
65 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
67 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
68 Remove conditional code.
69 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
70 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
71 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
75 * csu/libc-start.c: Do not include <bp-sym.h>.
76 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
77 * elf/dl-open.c: Do not include <bp-sym.h>.
78 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
79 * math/fegetenv.c: Do not include <bp-sym.h>.
80 (fegetenv): Do not use BP_SYM in versioned symbols.
81 * nptl/sysdeps/pthread/bits/libc-lockP.h
82 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
84 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
85 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
86 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
87 (__pthread_mutex_destroy): Likewise.
88 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
89 (__pthread_mutex_lock): Likewise.
90 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
91 (__pthread_mutex_trylock): Likewise.
92 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
93 (__pthread_mutex_unlock): Likewise.
94 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
95 (__pthread_mutexattr_init): Likewise.
96 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
97 (__pthread_mutexattr_destroy): Likewise.
98 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
99 (__pthread_mutexattr_settype): Likewise.
100 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
101 (__pthread_rwlock_init): Likewise.
102 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
103 (__pthread_rwlock_destroy): Likewise.
104 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
105 (__pthread_rwlock_rdlock): Likewise.
106 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
107 (__pthread_rwlock_tryrdlock): Likewise.
108 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
109 (__pthread_rwlock_wrlock): Likewise.
110 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
111 (__pthread_rwlock_trywrlock): Likewise.
112 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
113 (__pthread_rwlock_unlock): Likewise.
114 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
115 (__pthread_key_create): Likewise.
116 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
117 (__pthread_setspecific): Likewise.
118 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
119 (__pthread_getspecific): Likewise.
120 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
122 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
123 (_pthread_cleanup_push_defer): Likewise.
124 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
125 (_pthread_cleanup_pop_restore): Likewise.
126 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
127 (pthread_setcancelstate): Likewise.
128 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
130 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
131 (memchr): Do not use BP_SYM in weak_alias.
132 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
133 (fegetenv): Do not use BP_SYM in versioned symbols.
134 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
135 (fesetenv): Do not use BP_SYM in versioned symbols.
136 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
137 (feupdateenv): Do not use BP_SYM in versioned symbols.
138 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
139 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
140 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
141 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
142 (open64): Do not use BP_SYM in weak_alias.
143 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
144 (fegetenv): Do not use BP_SYM in versioned symbols.
145 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
146 (fesetenv): Do not use BP_SYM in versioned symbols.
147 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
148 (feupdateenv): Do not use BP_SYM in versioned symbols.
149 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
150 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
151 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
152 (feraiseexcept): Do not use BP_SYM in versioned symbols.
153 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
154 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
155 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
157 (__libc_start_main): Do not use BP_SYM.
159 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
161 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
162 redundant return line.
166 (sub_magnitudes): Likewise.
172 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
176 (sub_magnitudes): Likewise.
183 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
185 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
186 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
189 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
190 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
191 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
192 of __mul for squares.
193 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
195 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
197 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
198 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
200 2013-02-13 Joseph Myers <joseph@codesourcery.com>
203 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
205 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
206 prototype or function definition. Rename ubp_* variables and
207 parameters. Remove argv definitions conditional on
208 [__BOUNDED_POINTERS__].
209 * debug/backtrace.c (__backtrace): Do not use __unbounded.
210 * elf/dl-runtime.c (_dl_fixup): Likewise.
211 * include/set-hooks.h (RUN_HOOK): Likewise.
212 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
214 * string/strcpy.c (strcpy): Do not use __unbounded.
215 * sysdeps/generic/frame.h (struct layout): Likewise.
216 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
217 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
218 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
219 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
220 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
221 (__backtrace): Likewise.
222 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
224 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
225 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
226 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
228 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
229 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
230 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
231 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
232 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
233 Do not use __unbounded.
234 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
235 Rename __unboundedrlimits parameter to rlimits in prototype.
236 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
237 Do not use __unbounded.
238 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
240 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
241 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
242 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
243 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
244 __ptrvalue or __unbounded.
245 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
246 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
248 (__new_msgctl): Do not use __ptrvalue.
249 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
251 (__libc_msgrcv): Do not use __ptrvalue.
252 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
253 startup_info): Do not use __unbounded.
254 (__libc_start_main): Likewise. Rename ubp_* variables and
255 parameters. Remove argv definitions conditional on
256 [__BOUNDED_POINTERS__].
257 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
259 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
261 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
263 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
265 (__new_shmctl): Do not use __ptrvalue.
266 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
267 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
269 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
270 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
271 (__libc_sigaction): Likewise.
272 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
273 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
275 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
277 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
279 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
281 * string/mempcpy.c: Implement by calling memcpy.
283 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
285 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
287 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
290 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
291 values in the mantissa.
293 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
294 minimize writes to Z.
295 (sub_magnitudes): Simplify code a bit.
297 2013-02-12 Roland McGrath <roland@hack.frob.com>
299 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
300 from the message. The linker prefixes all warnings with that already.
302 2013-02-12 Andreas Schwab <schwab@suse.de>
305 * posix/regexec.c (extend_buffers): Add parameter min_len.
306 (check_matching): Pass minimum needed length.
307 (clean_state_log_if_needed): Likewise.
308 (get_subexp): Likewise.
309 * posix/Makefile (tests): Add bug-regex34.
310 (bug-regex34-ENV): Define.
311 * posix/bug-regex34.c: New file.
314 * posix/regcomp.c (parse_bracket_exp): When looking up collating
315 elements compare against the byte sequence of it, not its name.
316 * posix/Makefile (tests): Add bug-regex35.
317 (bug-regex35-ENV): Define.
318 * posix/bug-regex35.c: New file.
320 2013-02-11 Tom de Vries <tom@codesourcery.com>
322 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
324 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
325 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
326 (CHECK_EOL): Add undef.
328 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
330 * bits/stdlib-bsearch.h: New file.
331 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
332 * stdlib/stdlib.h: Likewise.
334 2013-02-11 Roland McGrath <roland@hack.frob.com>
336 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
337 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
339 * manual/search.texi (Array Search Function): Add missing const in
341 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
342 declaration to use rlim_t.
343 (Basic Scheduling Functions): Remove erroneous const from
344 sched_getparam prototype. Remove erroneous * from
345 sched_get_priority_max and sched_get_priority_min prototypes.
346 (Resource Usage): Fix summary @comment on vtimes to refer to
347 sys/vtimes.h rather than vtimes.h.
348 Add missing *s in vtimes prototype.
349 (Limits on Resources): Fix ulimit prototype to return long int.
350 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
351 prototypes to use long int rather than double.
352 (BSD Random): Fix initstate and setstate to use char *, not void *.
353 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
354 prototype to make second argument 'struct aiocb64 *const[]'.
355 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
356 (Status of AIO Operations): Remove erroneous const in aio_return and
357 aio_return64 prototypes.
358 (Synchronizing I/O): Fix sync prototype to return void.
359 * manual/startup.texi (Suboptions): Remove an erroneous const in
361 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
362 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
363 use size_t rather than int.
364 (Scanning All Users): Likewise for getpwent_r.
365 (Setting Groups): Add missing const to setgroups prototype.
366 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
367 * manual/socket.texi (Host Names): Fix gethostbyaddr and
368 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
369 'const void *' rather than 'const char *'.
370 (Host Address Functions): Likewise for inet_ntop.
371 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
372 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
373 ssize_t for return value.
374 (Sending Data): Likewise for send, sendto, sendmsg.
375 (Socket Option Functions): Add a missing const in setsockopt prototype.
376 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
377 use wchar_t for the argument.
378 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
379 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
381 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
382 double/float/long double for second argument.
383 Fix return types of significand, significandf, significandl.
384 * manual/filesys.texi (Setting Permissions): Use mode_t for second
385 argument in fchmod prototype.
386 (File Owner): Use uid_t and gid_t in fchown prototype.
387 (File Times): Add const to utimes, futimes, and lutimes prototypes.
388 (Making Special Files): Use mode_t and dev_t in mknod prototype.
389 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
390 use 'const struct dirent **' as argument types to CMP function pointer
392 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
393 (File Times): Fix summary magic @comment for struct utimbuf and utime
394 to refer to utime.h, not time.h.
395 * manual/string.texi (Argz Functions): Add missing const in
396 argz_extract and argz_next prototypes.
397 (Finding Tokens in a String): Likewise for basename.
398 (String/Array Comparison): Fix typo in wcscasecmp prototype.
399 (Copying and Concatenation): Fix typo in wmemmove prototype.
400 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
401 (Signal Stack): Remove erroneous const in sigstack prototype.
402 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
404 (Simple Calendar Time): Likewise for stime.
405 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
407 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
408 say sys/sysctl.h instead.
409 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
410 and vsyslog prototypes.
412 2013-02-11 Tom de Vries <tom@codesourcery.com>
414 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
417 2013-02-11 Roland McGrath <roland@hack.frob.com>
419 * misc/sys/mman.h: Fix typo in mremap comment.
421 2013-02-08 Roland McGrath <roland@hack.frob.com>
423 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
426 2013-02-08 Joseph Myers <joseph@codesourcery.com>
429 * debug/segfault.c: Don't include <bp-checks.h>.
430 * sysdeps/generic/bp-checks.h: Remove file.
431 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
432 (__GETDENTS): Don't use CHECK_N.
433 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
434 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
435 (__getgroups): Don't use CHECK_N.
436 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
437 (setgroups): Don't use CHECK_N.
438 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
439 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
440 (__libc_msgrcv): Don't use CHECK_N.
441 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
442 (__libc_msgsnd): Don't use CHECK_N.
443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
445 (__libc_pread): Don't use CHECK_N.
446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
447 include <bp-checks.h>.
448 (__libc_pread64): Don't use CHECK_N.
449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
450 include <bp-checks.h>.
451 (__libc_pwrite): Don't use CHECK_N.
452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
453 include <bp-checks.h>.
454 (__libc_pwrite64): Don't use CHECK_N.
455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
457 (__libc_pread): Don't use CHECK_N.
458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
459 include <bp-checks.h>.
460 (__libc_pread64): Don't use CHECK_N.
461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
462 include <bp-checks.h>.
463 (__libc_pwrite): Don't use CHECK_N.
464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
465 include <bp-checks.h>.
466 (__libc_pwrite64): Don't use CHECK_N.
467 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
468 (do_pread): Don't use CHECK_N.
469 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
470 (do_pread64): Don't use CHECK_N.
471 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
472 (do_pwrite): Don't use CHECK_N.
473 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
474 (do_pwrite64): Don't use CHECK_N.
475 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
476 (__libc_readv): Don't use CHECK_N.
477 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
478 (semop): Don't use CHECK_N.
479 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
481 (semtimedop): Don't use CHECK_N.
482 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
483 (__libc_pread): Don't use CHECK_N.
484 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
486 (__libc_pread64): Don't use CHECK_N.
487 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
489 (__libc_pwrite): Don't use CHECK_N.
490 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
492 (__libc_pwrite64): Don't use CHECK_N.
493 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
495 (__libc_msgrcv): Don't use CHECK_N.
496 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
497 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
498 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
499 (__libc_writev): Don't use CHECK_N.
501 2013-02-08 Roland McGrath <roland@hack.frob.com>
503 * string/strcpy.c: Removed unused variable.
505 * Makeconfig (+sysdep-includes): Define with := rather than =.
506 Use an existing include/ subdir of each sysdeps dir before it.
508 2013-02-08 Carlos O'Donell <carlos@redhat.com>
510 * nscd/connection.c (register_traced_file): Comment function.
511 [HAVE_INOTIFY] (union __inev): Define.
512 [HAVE_INOTIFY] (inotify_check_files): New function.
513 [HAVE_INOTIFY] (clear_db_cache): Likewise.
514 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
516 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
518 2013-02-08 Carlos O'Donell <carlos@redhat.com>
520 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
521 loaded if not already and that a failure is permanent.
523 2013-02-08 Carlos O'Donell <carlos@redhat.com>
526 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
527 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
529 2013-02-08 Joseph Myers <joseph@codesourcery.com>
532 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
533 (CHECK_1_NULL_OK): Likewise.
534 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
535 (__fxstat): Do not use CHECK_1.
536 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
538 (___fxstat64): Do not use CHECK_1.
539 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
541 (__fxstatat): Do not use CHECK_1.
542 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
544 (__fxstatat64): Do not use CHECK_1.
545 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
547 (__fxstat): Do not use CHECK_1.
548 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
550 (__fxstatat): Do not use CHECK_1.
551 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
553 (__getresgid): Do not use CHECK_1.
554 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
556 (__getresuid): Do not use CHECK_1.
557 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
559 (__lxstat): Do not use CHECK_1.
560 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
562 (__old_msgctl): Do not use CHECK_1.
563 (__new_msgctl): Likewise.
564 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
566 (__new_setrlimit): Do not use CHECK_1.
567 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
569 (__old_shmctl): Do not use CHECK_1.
570 (__new_shmctl): Likewise.
571 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
573 (__xstat): Do not use CHECK_1.
574 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
575 (__lxstat): Do not use CHECK_1.
576 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
578 (___lxstat64): Do not use CHECK_1.
579 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
580 (__old_msgctl): Do not use CHECK_1.
581 (__new_msgctl): Likewise.
582 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
584 (__gettimeofday): Do not use CHECK_1.
585 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
586 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
587 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
589 (__gettimeofday): Do not use CHECK_1.
590 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
591 (__old_shmctl): Do not use CHECK_1_NULL_OK.
592 (__new_shmctl): Do not use CHECK_1.
593 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
595 (do_sigtimedwait): Do not use CHECK_1.
596 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
598 (do_sigwaitinfo): Do not use CHECK_1.
599 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
601 (msgctl): Do not use CHECK_1.
602 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
604 (shmctl): Do not use CHECK_1.
605 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
606 (ustat): Do not use CHECK_1.
607 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
609 (__fxstat): Do not use CHECK_1.
610 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
612 (__fxstatat): Do not use CHECK_1.
613 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
615 (__lxstat): Do not use CHECK_1.
616 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
618 (__xstat): Do not use CHECK_1.
619 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
620 (__xstat): Do not use CHECK_1.
621 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
622 (___xstat64): Do not use CHECK_1.
625 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
627 (CHECK_BOUNDS_HIGH): Likewise.
628 * string/strcpy.c: Do not include <bp-checks.h>.
629 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
631 2013-02-07 Roland McGrath <roland@hack.frob.com>
633 * nscd/nscd-client.h (__nscd_drop_map_ref):
634 Add __attribute__ ((unused)).
635 * nis/nss-nisplus.h (niserr2nss): Likewise.
637 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
638 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
640 * csu/libc-tls.c (init_static_tls, init_slotinfo):
641 Remove inline keyword.
642 * include/rounding-mode.h (round_away): Likewise.
643 * libio/wfileops.c (adjust_wide_data): Likewise.
644 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
645 (__m128i_strloadu_tolower): Likewise.
646 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
647 (__m128i_strloadu_tolower): Likewise.
648 * time/mktime.c (ydhms_diff): Likewise.
649 * locale/elem-hash.h (elem_hash): Likewise.
650 * locale/setlocale.c (setdata): Likewise.
651 * posix/regex_internal.h (re_string_char_size_at): Likewise.
652 (re_string_wchar_at): Likewise.
653 (bitset_not, bitset_merge, bitset_mask): Likewise.
654 [!(__GNUC__ > 3)] (inline): Remove macro.
655 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
656 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
657 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
658 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
659 * string/memcmp.c (memcmp_bytes): Likewise.
660 * locale/programs/locarchive.c (compute_hashval): Likewise.
661 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
662 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
663 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
664 * nss/getent.c (print_rpc, print_protocols): Likewise.
665 (print_passwd, print_group, print_aliases): Likewise.
666 * nis/nss-nisplus.h (niserr2nss): Likewise.
667 * nscd/connections.c (restart_p): Likewise.
668 Change return type to bool.
670 2013-02-05 Roland McGrath <roland@hack.frob.com>
672 * Makeconfig (all-Depend-files): Add existing
673 $(sorted-subdirs:=/Depend) files.
674 (all-subdirs): Remove nss.
675 * sysdeps/unix/inet/Subdirs: Add it here instead.
676 * hesiod/Depend: New file.
678 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
679 instead of calling alloca.
681 * io/lseek.c (__lseek): Rename to __libc_lseek.
682 Define __lseek as an alias.
684 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
686 2013-02-04 Carlos O'Donell <carlos@redhat.com>
688 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
689 else clause and remove check for non-standard endianness.
691 2013-02-04 David S. Miller <davem@davemloft.net>
693 * sysdeps/sparc/fpu/libm-test-ulps: Update.
695 2013-02-04 Joseph Myers <joseph@codesourcery.com>
698 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
699 (__ubp_memchr): Remove prototype.
700 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
701 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
702 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
703 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
704 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
706 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
707 (__ubp_memchr): Likewise.
708 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
709 (__ubp_memchr): Likewise.
710 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
711 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
712 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
713 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
715 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
716 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
717 (__getcwd): Do not use CHECK_STRING.
718 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
720 (__real_chown): Do not use CHECK_STRING.
721 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
723 (fchownat): Do not use CHECK_STRING.
724 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
726 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
728 (__lchown): Do not use CHECK_STRING.
729 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
730 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
731 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
732 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
734 include <bp-checks.h>.
735 (truncate64): Do not use CHECK_STRING.
736 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
738 (__real_chown): Do not use CHECK_STRING.
739 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
741 (__lchown): Do not use CHECK_STRING.
742 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
744 (__chown): Do not use CHECK_STRING.
745 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
747 (truncate64): Do not use CHECK_STRING.
748 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
750 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
751 (__xmknod): Do not use CHECK_STRING.
752 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
754 (__xmknodat): Do not use CHECK_STRING.
755 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
756 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
758 2013-02-04 Andreas Schwab <schwab@suse.de>
761 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
762 * include/netdb.h: Likewise for h_errno.
763 * elf/tst-stackguard1.c: Include <tls.h>.
765 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
767 * elf/link.h (struct link_map): Extend the l_addr comment.
768 * include/link.h (struct link_map): Likewise.
770 2013-02-01 Joseph Myers <joseph@codesourcery.com>
773 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
774 (BOUNDED_1): Remove macro.
775 * debug/backtrace.c: Don't include <bp-checks.h>.
776 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
777 (__backtrace): Likewise.
778 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
780 (__backtrace): Don't use BOUNDED_1.
781 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
783 (__backtrace): Don't use BOUNDED_1.
784 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
785 (__backtrace): Don't use BOUNDED_1.
786 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
787 (shmat): Don't use BOUNDED_N.
789 2013-01-31 Joseph Myers <joseph@codesourcery.com>
792 * sysdeps/generic/bp-start.h: Remove file.
793 * csu/libc-start.c: Don't include <bp-start.h>.
794 (LIBC_START_MAIN): Set up __environ directly instead of using
795 INIT_ARGV_and_ENVIRON.
796 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
800 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
802 (CHECK_FCNTL): Likewise.
803 (CHECK_N_PAGES): Likewise.
806 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
808 (CHECK_SIGSET_NULL_OK): Likewise.
809 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
811 (sigpending): Don't use CHECK_SIGSET.
812 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
814 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
815 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
817 (do_sigsuspend): Don't use CHECK_SIGSET.
818 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
820 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
821 (do_sigwait): Don't use CHECK_SIGSET.
822 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
824 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
825 include <bp-checks.h>.
826 (sigpending): Don't use CHECK_SIGSET.
827 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
828 include <bp-checks.h>.
829 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
830 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
832 (sigpending): Don't use CHECK_SIGSET.
833 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
835 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
838 * sysdeps/generic/bp-semctl.h: Remove file.
839 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
840 <bp-checks.h> and <bp-semctl.h>.
841 (__old_semctl): Don't use CHECK_SEMCTL.
842 (__new_semctl): Likewise.
843 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
845 (__old_semctl): Don't use CHECK_SEMCTL.
846 (__new_semctl): Likewise.
847 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
848 <bp-checks.h> and <bp-semctl.h>.
849 (__old_semctl): Don't use CHECK_SEMCTL.
850 (__new_semctl): Likewise.
851 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
852 <bp-checks.h> and <bp-semctl.h>.
853 (semctl): Don't use CHECK_SEMCTL.
856 * Makerules (elide-bp-thunks): Remove variable.
857 (elide-routines.oS): Don't use $(elide-bp-thunks).
858 (elide-routines.os): Likewise.
859 (elide-routines.o): Likewise.
860 (elide-routines.op): Likewise.
861 (elide-routines.og): Likewise.
862 (objects): Don't use $(bp-thunks).
863 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
865 (common-generated): Do not add s-proto-bp.d.
866 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
869 Do not generate makefile rules for bounded-pointer thunks.
870 * sysdeps/generic/bp-thunks.h: Remove file.
871 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
872 * sysdeps/unix/s-proto-bp.S: Likewise.
875 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
876 parts of result separately when argument is not close to line from
877 -i to i and one part of argument is small.
878 * math/k_casinhf.c (__kernel_casinhf): Likewise.
879 * math/k_casinhl.c (__kernel_casinhl): Likewise.
880 * math/libm-test.inc (cacos_test): Add more tests.
881 (casin_test): Likewise.
882 (casinh_test): Likewise.
883 * sysdeps/i386/fpu/libm-test-ulps: Update.
884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
886 2013-01-31 David S. Miller <davem@davemloft.net>
888 * po/de.po: Update from translation team.
890 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
892 * time/tzfile.c: Include stdint.h for SIZE_MAX.
894 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
896 * configure.in (_AC_PROG_CC_C89): New definition.
897 * configure: Regenerate.
899 * configure.in (AC_PROG_CPP): New definition.
900 * configure: Regenerate.
902 2013-01-23 Joseph Myers <joseph@codesourcery.com>
904 * debug/tst-backtrace.h: New file.
905 * debug/tst-backtrace2.c: Include tst-backtrace.h.
906 (ret): Remove variable.
908 (FAIL): Remove macro.
909 (NO_INLINE): Likewise.
910 (fn1): Use match function instead of strstr.
911 * debug/tst-backtrace3.c: Include tst-backtrace.h.
912 (ret): Remove variable.
914 (FAIL): Remove macro.
915 (NO_INLINE): Likewise.
916 (fn): Use match function instead of strstr.
917 * debug/tst-backtrace4.c: Include tst-backtrace.h.
918 (ret): Remove variable.
920 (FAIL): Remove macro.
921 (NO_INLINE): Likewise.
922 (handle_signal): Use match function instead of strstr.
923 * debug/tst-backtrace5.c: Include tst-backtrace.h.
924 (ret): Remove variable.
926 (FAIL): Remove macro.
927 (NO_INLINE): Likewise.
928 (handle_signal): Use match function instead of strstr.
930 2013-01-23 Roland McGrath <roland@hack.frob.com>
932 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
934 2013-01-23 David S. Miller <davem@davemloft.net>
936 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
937 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
938 argument of CAS if possible.
939 * sysdeps/sparc/sparc64/bits/atomic.h
940 (__arch_compare_and_exchange_val_32_acq): Likewise.
941 (__arch_compare_and_exchange_val_64_acq): Likewise.
943 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
945 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
946 * sysdeps/posix/ulimit.c: ... this.
948 * sysdeps/unix/bsd/ulimit.c: Remove file.
950 2013-01-23 Adam Conrad <adconrad@0c3.net>
952 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
953 (LDFLAGS-tst-array5): Likewise.
955 2013-01-23 Joseph Myers <joseph@codesourcery.com>
958 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
959 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
960 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
961 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
963 2013-01-21 David S. Miller <davem@davemloft.net>
965 * sysdeps/sparc/backtrace.c: New file.
966 * sysdeps/sparc/sparc32/backtrace.h: New file.
967 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
968 * sysdeps/sparc/sparc64/backtrace.h: New file.
969 * sysdeps/sparc/sparc64/backtrace.c: Delete.
970 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
973 2013-01-21 Andreas Schwab <schwab@suse.de>
976 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
979 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
981 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
983 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
985 2013-01-18 Joseph Myers <joseph@codesourcery.com>
986 Mark Mitchell <mark@codesourcery.com>
987 Tom de Vries <tom@codesourcery.com>
988 Paul Pluzhnikov <ppluzhnikov@google.com>
990 * debug/tst-backtrace2.c: New file.
991 * debug/tst-backtrace3.c: Likewise.
992 * debug/tst-backtrace4.c: Likewise.
993 * debug/tst-backtrace5.c: Likewise.
994 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
995 (CFLAGS-tst-backtrace3.c): Likewise.
996 (CFLAGS-tst-backtrace4.c): Likewise.
997 (CFLAGS-tst-backtrace5.c): Likewise.
998 (LDFLAGS-tst-backtrace2): Likewise.
999 (LDFLAGS-tst-backtrace3): Likewise.
1000 (LDFLAGS-tst-backtrace4): Likewise.
1001 (LDFLAGS-tst-backtrace5): Likewise.
1002 (tests): Add new tests tst-backtrace2, tst-backtrace3,
1003 tst-backtrace4 and tst-backtrace5.
1005 2013-01-18 Anton Blanchard <anton@samba.org>
1006 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1008 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
1009 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
1010 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
1011 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
1012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1013 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
1014 "+r" and remove output regs list as redundant. Add explicit inline
1015 asm to specify register of return val to work around compiler codegen
1016 bug. Remove (int) cast on return value. Add return type parameter to
1017 use in macro so that this macro does not truncate return value for
1019 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
1020 pass to INTERNAL_VSYSCALL_NCS.
1021 (INLINE_VSYSCALL): Add 'long int' as return type to
1022 INTERNAL_VSYSCALL_NCS macro invocation.
1023 (INTERNAL_VSYSCALL): Add 'long int' as return type to
1024 INTERNAL_VSYSCALL_NCS macro invocation.
1025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1027 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1030 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
1031 Fix application of SIMD FP exception mask.
1033 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
1034 mp_no from a power of two.
1035 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
1036 __mpexp_twomm1. Use __pow_mp.
1038 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
1041 2013-01-17 David S. Miller <davem@davemloft.net>
1043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1045 2013-01-17 Joseph Myers <joseph@codesourcery.com>
1048 * include/complex.h: Condition contents on [!_COMPLEX_H].
1049 (__kernel_casinhf): New prototype.
1050 (__kernel_casinh): Likewise.
1051 (__kernel_casinhl): Likewise.
1052 * math/Makefile (libm_calls): Add k_casinh.
1053 * math/k_casinh.c: New file.
1054 * math/k_casinhf.c: Likewise.
1055 * math/k_casinhl.c: Likewise.
1056 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
1057 finite nonzero arguments.
1058 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
1059 finite nonzero arguments.
1060 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
1061 finite nonzero arguments.
1062 * math/s_casinh.c: Do not include <float.h>.
1063 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
1064 * math/s_casinhf.c: Do not include <float.h>.
1065 (__casinhf): Move code for finite nonzero arguments to
1067 * math/s_casinhl.c: Do not include <float.h>.
1068 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
1070 (__casinhl): Move code for finite nonzero arguments to
1072 * math/libm-test.inc (cacos_test): Add more tests.
1073 * sysdeps/i386/fpu/libm-test-ulps: Update.
1074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1076 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
1078 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
1079 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
1080 [!HAVE_MREMAP]: Remove [defined linux] case.
1081 * malloc/arena.c: Do not include <malloc-sysdep.h>.
1083 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1085 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
1087 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
1089 * elf/elf.h (R_386_SIZE32): New relocation.
1090 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
1092 (elf_machine_rela): Likewise.
1093 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1094 R_X86_64_SIZE64 and R_X86_64_SIZE32.
1096 2013-01-17 Joseph Myers <joseph@codesourcery.com>
1098 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
1099 (FP_FAST_FMA): Do not define.
1100 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
1101 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
1102 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
1103 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
1104 !_SOFT_FLOAT]: Likewise.
1105 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
1106 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
1108 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
1109 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
1110 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
1111 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
1112 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
1113 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
1116 2013-01-16 Andreas Schwab <schwab@suse.de>
1119 * include/stdlib.h (__mktemp): Add declaration.
1120 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
1121 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
1123 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1125 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
1127 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1128 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
1129 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
1131 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
1132 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
1134 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
1136 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
1137 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
1138 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
1140 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
1141 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
1143 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1145 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
1147 2013-01-15 David S. Miller <davem@davemloft.net>
1149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1150 trunc{,f} to libm-sysdep_routes.
1151 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
1154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
1155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
1157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
1159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
1160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
1161 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
1162 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
1163 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
1164 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
1165 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
1166 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
1168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1169 nearbyint{,f} to libm-sysdep_routes.
1170 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
1173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
1175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
1177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
1179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
1180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
1181 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
1183 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
1184 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
1186 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
1187 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
1188 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
1190 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1191 libc_feholdexcept and libc_fesetenv.
1193 2013-01-15 Mike Frysinger <vapier@gentoo.org>
1195 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
1197 2013-01-14 David S. Miller <davem@davemloft.net>
1199 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
1200 (SPARC_ASM_VIS2_IFUNC): Likewise.
1201 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
1202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
1203 use of 'siam' instruction.
1204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
1206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
1208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
1210 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
1211 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1212 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
1213 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
1214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
1216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
1218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
1220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
1222 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
1223 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
1224 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
1225 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
1226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
1228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1232 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1233 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1234 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1235 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
1237 routines to libm-sysdep_routines.
1238 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1241 fdim/fdimf to libm-sysdep_routines.
1242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
1244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
1245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
1247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
1248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
1249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
1250 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
1251 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
1252 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
1253 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
1255 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1257 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
1260 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
1261 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1262 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1264 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
1265 local variable MPTWO.
1266 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1269 2013-01-13 Mike Frysinger <vapier@gentoo.org>
1271 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
1274 2013-01-13 Mike Frysinger <vapier@gentoo.org>
1276 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
1278 2013-01-13 Mike Frysinger <vapier@gentoo.org>
1280 * manual/pattern.texi (glob_t): Document gl_flags.
1281 (glob64_t): Likewise.
1283 2013-01-11 David S. Miller <davem@davemloft.net>
1285 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
1286 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
1287 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
1288 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
1289 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
1290 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
1291 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
1292 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
1293 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
1294 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
1295 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
1296 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
1297 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
1299 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
1300 sparc V9 rather than using V8 code.
1301 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1302 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1304 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1306 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
1309 2013-01-11 Roland McGrath <roland@hack.frob.com>
1311 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
1312 not in the main loop.
1313 * configure: Regenerated.
1315 2013-01-11 Joseph Myers <joseph@codesourcery.com>
1317 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
1318 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
1320 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
1321 [!__GLIBC_HAVE_LONG_LONG] case.
1322 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
1323 condition to just #else.
1324 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
1325 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
1326 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
1327 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
1329 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
1330 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
1331 #elif condition to just #else.
1332 * sysdeps/unix/sysv/linux/sys/sysmacros.h
1333 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
1334 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
1335 #elif condition to just #else.
1337 2013-01-11 Steve Ellcey <sellcey@mips.com>
1339 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
1340 (EF_MIPS_ARCH_64): Fix value.
1341 (EF_MIPS_ARCH_32R2): New.
1342 (EF_MIPS_ARCH_64R2): New.
1344 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
1346 * Makeconfig (+link-pie-before-libc): New.
1347 (+link-pie-after-libc): Likewise.
1348 (+link-pie-tests): Likewise.
1349 (+link-pie): Rewritten.
1350 (link-before-libc): Remove $(config-LDFLAGS).
1351 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
1352 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
1353 (config-LDFLAGS): Renamed to ...
1354 (rtld-LDFLAGS): This.
1355 (rtld-tests-LDFLAGS): New macro.
1356 (link-libc-rpath-link): Likewise.
1357 (link-libc-tests-rpath-link): Likewise.
1358 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
1359 (link-libc): Prepand $(link-libc-rpath-link).
1360 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
1361 (test-program-prefix): New macro.
1362 (test-via-rtld-prefix): Likewise.
1363 (test-program-cmd): Likewise.
1364 (host-test-program-cmd): Likewise.
1365 * Makefile ($(common-objpfx)testrun.sh): Replace
1366 $(run-program-prefix) with $(test-program-prefix).
1367 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
1369 ($(common-objpfx)shlib.lds): Likewise.
1370 (build-module-helper): Likewise.
1371 ($(common-objpfx)format.lds): Likewise.
1372 * Rules (binaries-pie-tests): New.
1373 (binaries-pie-notests): Likewise.
1374 (binaries-pie): Rewritten.
1375 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
1376 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
1377 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
1378 (make-test-out): Replace $(host-built-program-cmd) with
1379 $(host-test-program-cmd).
1380 * config.make.in (build-hardcoded-path-in-tests): New variable.
1381 * configure.in (--enable-hardcoded-path-in-tests): New configure
1383 (hardcoded_path_in_tests): New AC_SUBST.
1384 * configure: Regenerated.
1385 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
1386 $(built-program-cmd) with $(test-program-cmd).
1387 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
1388 (test_program_cmd): This.
1389 * elf/Makefile ($(objpfx)order.out): Run test with
1390 $(test-program-prefix).
1391 ($(objpfx)order2.out): Likewise.
1392 ($(objpfx)tst-initorder.out): Likewise.
1393 ($(objpfx)tst-initorder2.out): Likewise.
1394 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
1395 $(test-program-cmd).
1396 ($(objpfx)tst-array1-static.out): Likewise.
1397 ($(objpfx)tst-array2.out): Likewise.
1398 ($(objpfx)tst-array3.out): Likewise.
1399 ($(objpfx)tst-array4.out): Likewise.
1400 ($(objpfx)tst-array5.out): Likewise.
1401 ($(objpfx)tst-array5-static.out): Likewise.
1402 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
1403 $(test-program-cmd).
1404 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
1405 $(run-program-prefix) with $(test-program-prefix).
1406 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
1407 (test_program_prefix): This.
1408 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
1409 $(run-program-prefix) with $(test-program-prefix).
1410 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
1411 (test_program_prefix): This.
1412 * iconvdata/tst-tables.sh: Likewise.
1413 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
1414 $(run-program-prefix) with $(test-program-prefix).
1415 ($(objpfx)tst-translit.out): Likewise.
1416 ($(objpfx)tst-gettext2.out): Likewise.
1417 ($(objpfx)tst-gettext4.out): Likewise.
1418 ($(objpfx)tst-gettext6.out): Likewise.
1419 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
1420 (test_program_prefix): This.
1421 * intl/tst-gettext2.sh: Likewise.
1422 * intl/tst-gettext4.sh Likewise.
1423 * intl/tst-gettext6.sh: Likewise.
1424 * intl/tst-translit.sh: Likewise.
1425 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
1426 with $(test-program-cmd).
1427 * libio/Makefile ($(objpfx)test-freopen.out): Replace
1428 $(run-program-prefix) with $(test-program-prefix).
1429 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
1430 (test_program_prefix): This.
1431 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
1432 $(run-program-prefix) with $(test-program-prefix).
1433 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
1434 (test_program_prefix): This.
1435 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
1436 * posix/Makefile ($(objpfx)globtest.out): Replace
1437 $(run-via-rtld-prefix) and $(test-wrapper) with
1438 $(test-program-prefix) and $(test-via-rtld-prefix).
1439 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
1440 $(test-program-prefix).
1441 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
1442 $(host-test-program-cmd).
1443 (tst-spawn-ARGS): Likewise.
1444 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
1445 $(test-program-prefix).
1446 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
1447 (test_via_rtld_prefix): This.
1448 (test_wrapper): Renamed to ...
1449 (test_program_prefix): This.
1450 (run_program_prefix): Replaced by test_program_prefix.
1451 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
1452 (test_program_prefix): This.
1453 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
1454 with $(host-test-program-cmd).
1455 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
1456 $(run-program-prefix) with $(test-program-prefix).
1457 ($(objpfx)tst-printf.out): Likewise.
1458 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
1459 $(test-program-cmd).
1460 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
1461 (test_program_prefix): This.
1462 * stdio-common/tst-unbputc.sh: Likewise.
1463 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
1464 $(run-program-prefix) with $(test-program-prefix).
1465 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
1466 (test_program_prefix): This.
1467 * string/Makefile ($(objpfx)tst-svc.out): Replace
1468 $(built-program-cmd) with $(test-program-cmd).
1470 2013-01-11 Andreas Jaeger <aj@suse.de>
1473 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
1474 value. Sync with Linux 3.7.
1476 2013-01-10 David S. Miller <davem@davemloft.net>
1478 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
1479 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1480 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1482 2013-01-10 Roland McGrath <roland@hack.frob.com>
1484 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
1486 * configure: Regenerated.
1488 2013-01-10 David S. Miller <davem@davemloft.net>
1490 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
1491 sparc V9 rather than using V8 code.
1492 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1493 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1495 2013-01-10 Roland McGrath <roland@hack.frob.com>
1497 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
1498 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
1499 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
1500 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
1501 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
1502 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
1503 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
1504 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
1505 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
1506 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
1507 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
1508 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
1509 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
1510 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
1511 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
1512 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
1513 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
1514 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
1515 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
1516 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
1517 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
1518 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
1519 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
1520 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
1521 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
1522 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
1523 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
1525 2013-01-10 David S. Miller <davem@davemloft.net>
1527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1529 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1531 * posix/Makefile (tests-static): New variable.
1532 (tests): Add $(tests-static).
1533 (tst-exec-static-ARGS): New variable.
1534 (tst-spawn-static-ARGS): Likewise.
1535 * posix/tst-exec-static.c: New file.
1536 * posix/tst-spawn-static.c: Likewise.
1537 * posix/tst-exec.c: Support run directly.
1538 * posix/tst-spawn.c: Likewise.
1540 2013-01-10 Joseph Myers <joseph@codesourcery.com>
1542 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
1544 * math/bits/mathcalls.h (llrint): Likewise.
1545 (llround): Likewise.
1546 * stdlib/stdlib.h (struct drand48_data): Likewise.
1547 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
1548 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
1549 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
1551 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
1553 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
1554 (elf_greg_t): Likewise.
1555 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
1556 (__jmp_buf): Likewise.
1557 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
1559 (llrint): Likewise, for all definitions.
1560 (llrintl): Likewise.
1562 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
1563 Remove [__GNUC__] condition.
1564 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
1565 condition to just [__USE_ISOC99].
1566 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
1568 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1571 * sysdeps/unix/sysv/linux/x86/bits/environments.h
1572 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
1574 (_POSIX_V6_ILP32_OFF32): Likewise.
1575 (_XBS5_ILP32_OFF32): Likewise.
1576 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
1577 (__ILP32_OFFBIG_LDFLAGS): Likewise.
1579 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1581 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
1583 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
1584 doubles __mpexp_twomm1. Adjust usage.
1585 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
1588 2013-01-10 Andreas Schwab <schwab@suse.de>
1591 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
1592 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
1594 2013-01-09 David S. Miller <davem@davemloft.net>
1597 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
1598 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
1599 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
1600 TCP_FASTOPEN): Define.
1601 (tcp_repair_opt): New structure.
1602 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
1604 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
1605 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
1606 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
1607 (tcp_cookie_transactions): New structure.
1609 2013-01-09 Anton Blanchard <anton@samba.org>
1611 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
1612 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
1613 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
1614 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
1616 2013-01-09 Joseph Myers <joseph@codesourcery.com>
1618 * include/features.h (__USE_ANSI): Remove.
1620 2013-01-09 Roland McGrath <roland@hack.frob.com>
1622 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
1624 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
1626 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1628 * sysdeps/s390/fpu/libm-test-ulps: Update.
1630 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1632 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
1637 (__mp_dbl): Likewise.
1638 (__dbl_mp): Likewise.
1639 (add_magnitudes): Likewise.
1640 (sub_magnitudes): Likewise.
1646 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
1651 (__mp_dbl): Likewise.
1652 (__dbl_mp): Likewise.
1653 (add_magnitudes): Likewise.
1654 (sub_magnitudes): Likewise.
1660 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
1665 (__mp_dbl): Likewise.
1666 (__dbl_mp): Likewise.
1667 (add_magnitudes): Likewise.
1668 (sub_magnitudes): Likewise.
1675 2013-01-08 Joseph Myers <joseph@codesourcery.com>
1677 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
1678 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
1679 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
1680 2 && __USE_EXTERN_INLINES]: Likewise.
1682 2013-01-08 Andreas Jaeger <aj@suse.de>
1685 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
1687 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1688 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1690 2013-01-07 Anton Blanchard <anton@samba.org>
1692 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
1693 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1694 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
1695 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1696 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1697 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1698 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
1699 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1700 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1701 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1702 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1703 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1704 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1705 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1706 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1707 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1708 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1709 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1710 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1711 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1712 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1713 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
1714 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1715 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1716 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
1717 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1718 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1719 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1720 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
1721 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1722 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1723 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1724 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1725 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1726 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1727 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1728 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1729 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1730 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
1731 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1732 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
1733 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1734 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1736 2013-01-07 Joseph Myers <joseph@codesourcery.com>
1738 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
1739 (__MALLOC_PMT): Likewise.
1740 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
1741 [__GNUC__], only on [_LIBC].
1742 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1743 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
1744 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1745 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
1746 forward declaration.
1747 (realloc_hook_ini): Likewise.
1748 (memalign_hook_ini): Likewise.
1749 (__libc_memalign): Do not use __MALLOC_PMT in variable
1751 (__libc_valloc): Likewise.
1752 (__libc_pvalloc): Likewise.
1753 (__libc_calloc): Likewise.
1754 (__posix_memalign): Likewise.
1757 * math/s_casinh.c: Include <float.h>.
1758 (__casinh): Do not do computation with squaring and square root
1759 for large arguments.
1760 * math/s_casinhf.c: Include <float.h>.
1761 (__casinhf): Do not do computation with squaring and square root
1762 for large arguments.
1763 * math/s_casinhl.c: Include <float.h>.
1764 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
1765 (__casinhl): Do not do computation with squaring and square root
1766 for large arguments.
1767 * math/libm-test.inc (casin_test): Add more tests.
1768 (casinh_test): Likewise.
1769 * sysdeps/i386/fpu/libm-test-ulps: Update.
1770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1772 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
1774 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
1775 (__x86_64_raw_data_cache_size): Likewise.
1776 (__x86_64_data_cache_size_half): Likewise.
1777 (__x86_64_raw_data_cache_size_half): Likewise.
1778 (__x86_64_shared_cache_size): Likewise.
1779 (__x86_64_raw_shared_cache_size): Likewise.
1780 (__x86_64_shared_cache_size_half): Likewise.
1781 (__x86_64_raw_shared_cache_size_half): Likewise.
1782 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
1784 (__x86_data_cache_size): This.
1785 (__x86_64_raw_data_cache_size): Renamed to ...
1786 (__x86_raw_data_cache_size): This.
1787 (__x86_64_data_cache_size_half): Renamed to ...
1788 (__x86_data_cache_size_half): This.
1789 (__x86_64_raw_data_cache_size_half): Renamed to ...
1790 (__x86_raw_data_cache_size_half): This.
1791 (__x86_64_shared_cache_size): Renamed to ...
1792 (__x86_shared_cache_size): This.
1793 (__x86_64_raw_shared_cache_size): Renamed to ...
1794 (__x86_raw_shared_cache_size): This.
1795 (__x86_64_shared_cache_size_half): Renamed to ...
1796 (__x86_shared_cache_size_half): This.
1797 (__x86_64_raw_shared_cache_size_half): Renamed to ...
1798 (__x86_raw_shared_cache_size_half): This.
1799 * sysdeps/x86_64/memcpy.S: Updated.
1800 * sysdeps/x86_64/memset.S: Likewise.
1801 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1802 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1803 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1805 2013-01-04 David S. Miller <davem@davemloft.net>
1807 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1809 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
1811 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
1812 1 to avoid redefinition warning.
1813 (__USE_GNU): Don't define.
1814 (init_signaling_nan): Protoize.
1816 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1818 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1820 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
1821 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
1822 (__cpymn): Likewise.
1823 (norm): Remove commented code.
1825 (__mp_dbl): Likewise.
1827 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
1828 (__cpymn): Likewise.
1829 (norm): Remove commented code.
1831 (__mp_dbl): Likewise.
1834 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
1835 mp_no value for 1.0 and 2.0.
1836 (norm): Use RADIXI instead of radixi.d.
1838 (__mul): Use 0.0 instead of zero.d.
1839 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
1840 mp_no value for 1.0 and 2.0.
1841 (norm): Use RADIXI instead of radixi.d.
1843 (__mul): Use 0.0 instead of zero.d.
1845 2013-01-04 Joseph Myers <joseph@codesourcery.com>
1848 * math/s_casinh.c (__casinh): Reduce finite argument to first
1849 quadrant then set signs of results at the end.
1850 * math/s_casinhf.c (__casinhf): Likewise.
1851 * math/s_casinhl.c (__casinhl): Likewise.
1852 * math/libm-test.inc (casin_test): Add more tests.
1853 (casinh_test): Likewise.
1854 * sysdeps/i386/fpu/libm-test-ulps: Update.
1855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1857 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1859 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
1861 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
1863 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
1866 (__mp_dbl): Likewise.
1869 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
1870 and adjust the header comment.
1872 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
1873 variable name from declaration.
1875 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
1877 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1878 Initialize COMMON_CPUID_INDEX_7 element.
1879 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
1880 (CPUID_RTM): Likewise.
1881 (HAS_RTM): Likewise.
1882 (COMMON_CPUID_INDEX_7): New enum.
1884 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
1887 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
1888 size is zero, record memory as freed.
1890 2013-01-03 Andreas Jaeger <aj@suse.de>
1892 * po/ia.po: Add new Interlingua translation.
1894 2012-01-03 Allan McRae <allan@archlinux.org>
1896 * locale/programs/localedef.c: Fix description of '--posix' flag.
1898 2013-01-02 Joseph Myers <joseph@codesourcery.com>
1900 * NEWS: Update dates in second copyright notice.
1901 * README: Update copyright dates in example.
1902 * manual/libc.texinfo: Update copyright dates.
1903 * scripts/test-installation.pl: Update copyright date in --version
1906 * hurd/ctty-input.c: Fix copyright notice formatting.
1907 * hurd/ctty-output.c: Likewise.
1908 * hurd/dtable.c: Likewise.
1909 * hurd/hurd-raise.c: Likewise.
1910 * hurd/hurdprio.c: Likewise.
1911 * hurd/msgportdemux.c: Likewise.
1912 * misc/sys/file.h: Likewise.
1913 * misc/sys/ioctl.h: Likewise.
1914 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1915 * sysdeps/mach/hurd/chdir.c: Likewise.
1916 * sysdeps/mach/hurd/fchdir.c: Likewise.
1917 * sysdeps/mach/hurd/rename.c: Likewise.
1918 * sysdeps/mach/hurd/rmdir.c: Likewise.
1919 * sysdeps/mach/hurd/seekdir.c: Likewise.
1920 * sysdeps/mach/hurd/setsid.c: Likewise.
1921 * sysdeps/posix/wait3.c: Likewise.
1923 * All files with FSF copyright notices: Update copyright dates
1924 using scripts/update-copyrights.
1925 * intl/plural.c: Regenerated.
1926 * locale/programs/charmap-kw.h: Likewise.
1927 * locale/programs/locfile-kw.h: Likewise.
1929 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1931 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
1934 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
1935 calculation loop and add branch prediction.
1937 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
1938 check access beyond bounds of m1np.
1940 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1942 (__inv): Remove local variable MPTWO to use the global
1944 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
1945 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1947 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
1948 MP3HALFS static const.
1950 2013-01-01 David S. Miller <davem@davemloft.net>
1952 * po/ca.po: Update from translation team.
1954 2013-01-01 Joseph Myers <joseph@codesourcery.com>
1956 * scripts/update-copyrights: New file.
1957 * Makeconfig: Reformat copyright notice.
1958 * ctype/ctype.h: Likewise.
1959 * debug/swprintf_chk.c: Likewise.
1960 * elf/dl-cache.c: Likewise.
1961 * elf/dl-debug.c: Likewise.
1962 * elf/dl-object.c: Likewise.
1963 * grp/initgroups.c: Likewise.
1964 * hurd/Makefile: Likewise.
1965 * hurd/hurd/signal.h: Likewise.
1966 * hurd/hurdfault.c: Likewise.
1967 * hurd/hurdioctl.c: Likewise.
1968 * hurd/hurdlookup.c: Likewise.
1969 * hurd/intr-msg.c: Likewise.
1970 * iconv/gconv_open.c: Likewise.
1971 * libio/swprintf.c: Likewise.
1972 * locale/lc-ctype.c: Likewise.
1973 * locale/nl_langinfo.c: Likewise.
1974 * mach/Machrules: Likewise.
1975 * mach/Makefile: Likewise.
1976 * malloc/obstack.h: Likewise.
1977 * manual/Makefile: Likewise.
1978 * manual/tsort.awk: Likewise.
1979 * misc/bits/stab.def: Likewise.
1980 * nis/nis_print_group_entry.c: Likewise.
1981 * nis/nis_table.c: Likewise.
1982 * nis/nss_compat/compat-pwd.c: Likewise.
1983 * nis/nss_compat/compat-spwd.c: Likewise.
1984 * po/Makefile: Likewise.
1985 * posix/fnmatch.c: Likewise.
1986 * posix/regex.h: Likewise.
1987 * resolv/Makefile: Likewise.
1988 * resolv/nss_dns/dns-network.c: Likewise.
1989 * resolv/res_hconf.c: Likewise.
1990 * scripts/gen-sorted.awk: Likewise.
1991 * soft-fp/soft-fp.h: Likewise.
1992 * stdio-common/printf.h: Likewise.
1993 * stdlib/monetary.h: Likewise.
1994 * stdlib/random.c: Likewise.
1995 * stdlib/random_r.c: Likewise.
1996 * sysdeps/generic/Makefile: Likewise.
1997 * sysdeps/gnu/Makefile: Likewise.
1998 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1999 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2000 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2001 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2002 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2003 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2004 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2005 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2006 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2007 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2008 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2009 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2010 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
2011 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
2012 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
2013 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
2014 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2015 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2016 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2017 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2018 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2019 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2020 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2021 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2022 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
2023 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
2024 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2025 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
2026 * sysdeps/mach/hurd/errnos.awk: Likewise.
2027 * sysdeps/mach/hurd/fork.c: Likewise.
2028 * sysdeps/mach/hurd/getcwd.c: Likewise.
2029 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
2030 * sysdeps/mach/hurd/mmap.c: Likewise.
2031 * sysdeps/mach/hurd/utimes.c: Likewise.
2032 * sysdeps/mach/hurd/xmknod.c: Likewise.
2033 * sysdeps/posix/profil.c: Likewise.
2034 * sysdeps/posix/readdir_r.c: Likewise.
2035 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2036 * sysdeps/powerpc/bits/setjmp.h: Likewise.
2037 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
2038 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2039 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2040 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2041 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2042 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2043 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2044 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2045 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2046 * sysdeps/pthread/lio_listio.c: Likewise.
2047 * sysdeps/sparc/dl-procinfo.h: Likewise.
2048 * sysdeps/unix/i386/sysdep.S: Likewise.
2049 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2050 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
2051 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2052 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
2053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2054 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2055 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2056 * sysdeps/unix/sysv/linux/speed.c: Likewise.
2057 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2058 * sysdeps/wordsize-32/divdi3.c: Likewise.
2059 * time/sys/time.h: Likewise.
2060 * wcsmbs/Makefile: Likewise.
2062 2013-01-01 David S. Miller <davem@davemloft.net>
2064 * po/fr.po: Update from translation team.
2066 * catgets/gencat.c: Update copyright year.
2067 * csu/version.c: Likewise.
2068 * debug/catchsegv.sh: Likewise.
2069 * debug/pcprofiledump.c: Likewise.
2070 * debug/xtrace.sh: Likewise.
2071 * elf/ldconfig.c: Likewise.
2072 * elf/ldd.bash.in: Likewise.
2073 * elf/pldd.c: Likewise.
2074 * elf/sotruss.ksh: Likewise.
2075 * elf/sprof.c: Likewise.
2076 * iconv/iconv_prog.c: Likewise.
2077 * iconv/iconvconfig.c: Likewise.
2078 * locale/programs/locale.c: Likewise.
2079 * locale/programs/localedef.c: Likewise.
2080 * login/programs/pt_chown.c: Likewise.
2081 * malloc/memusage.sh: Likewise.
2082 * malloc/memusagestat.c: Likewise.
2083 * malloc/mtrace.pl: Likewise.
2084 * nscd/nscd.c: Likewise.
2085 * nss/getent.c: Likewise.
2086 * nss/makedb.c: Likewise.
2087 * posix/getconf.c: Likewise.
2089 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2091 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
2094 2012-12-30 Mike Frysinger <vapier@gentoo.org>
2096 * math/bits/mathcalls.h (modf): Use __nonnull.
2098 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2100 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
2101 (split): Use macro CN instead of the bare value.
2102 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
2104 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
2105 instead of the bare value.
2108 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2110 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
2112 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2114 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
2116 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2117 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2118 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
2119 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2121 2012-12-28 Andreas Jaeger <aj@suse.de>
2123 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
2124 values are from Linux 3.7.
2126 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
2127 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
2129 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2131 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
2134 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
2136 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
2137 variables with preprocessor constants.
2138 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2139 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
2140 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
2142 2012-12-27 Bruno Haible <bruno@clisp.org>
2145 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
2148 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2150 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
2151 and use variable directly.
2152 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
2154 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2156 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
2157 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2159 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2160 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2161 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
2162 include directive. Remove local variable MPONE.
2163 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
2164 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
2165 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2167 2012-12-25 David S. Miller <davem@davemloft.net>
2169 * version.h (RELEASE): Set to "development".
2170 (VERSION): Set to "2.17.90".
2171 * NEWS: Add 2.18 section.
2173 2012-12-21 David S. Miller <davem@davemloft.net>
2175 * po/hr.po: Update from translation team.
2177 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2179 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
2181 2012-12-19 Steve Ellcey <sellcey@mips.com>
2183 * NEWS: Mention new memcpy for MIPS.
2185 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2187 * manual/contrib.texi (Contributors): Spelling correction.
2189 2012-12-15 David S. Miller <davem@davemloft.net>
2191 * po/ru.po: Update from translation team.
2193 2012-12-13 David S. Miller <davem@davemloft.net>
2195 * NEWS: Mention IFUNC testsuite enhancements.
2197 * po/pl.po: Update from translation team.
2198 * po/bg.po: Likewise.
2200 * manual/contrib.texi (Contributors): Update entries for Hongjiu
2201 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
2203 2012-12-11 David S. Miller <davem@davemloft.net>
2205 * po/sv.po: Update from translation team.
2207 * po/vi.po: Update from translation team.
2209 * po/cs.po: Update from translation team.
2211 * po/de.po: Update from translation team.
2212 * po/eo.po: Likewise.
2213 * po/nl.po: Likewise.
2215 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2218 * manual/argp.texi (Argp Helper Functions): Move node to follow
2222 * manual/conf.texi (Limits on File System Capacity): Mention if
2223 terminating null is included in the max size.
2225 2012-12-10 Andreas Jaeger <aj@suse.de>
2227 * po/cs.po: Update from translation team.
2229 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2231 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
2232 void pointer and cast to uintptr_t.
2233 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
2235 * sysdeps/s390/s390-64/memcpy.S: Likewise.
2236 * sysdeps/s390/s390-64/memset.S: Likewise.
2238 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
2241 * menual/message.texi (Message Translation): Fix typos.
2242 (Helper programs for gettext): Likewise.
2244 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
2247 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
2250 2012-12-07 David S. Miller <davem@davemloft.net>
2252 * po/libc.pot: Update.
2254 2012-12-07 Richard Henderson <rth@redhat.com>
2257 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
2258 normal/normal case to before the switch.
2259 (_FP_DIV): Likewise.
2261 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
2262 Mike Frysinger <vapier@gentoo.org>
2264 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
2265 check for __NR_fadvise64_64.
2267 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
2269 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
2270 0, not just to plain "0" as a statement.
2271 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
2274 2012-12-06 Joseph Myers <joseph@codesourcery.com>
2276 * NEWS: Use sourceware.org in Bugzilla URL.
2278 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2281 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2283 * stdio-common/tst-put-error.c (do_test): Add newline to the
2284 padded test to ensure flush.
2286 2012-12-05 Jeff Law <law@redhat.com>
2288 * sunrpc/etc.rpc (fedfs_admin): Add entry.
2290 2012-12-05 Joseph Myers <joseph@codesourcery.com>
2292 * README: Don't refer to ports add-on as distributed separately.
2293 Mention AArch64 in list of systems supported in the ports add-on.
2295 * LICENSES: Add more non-FSF copyright and license notices.
2297 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
2300 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
2302 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
2303 10000 as width of padded output.
2305 2012-12-04 Joseph Myers <joseph@codesourcery.com>
2307 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
2309 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
2310 variable LX with __attribute__ ((unused)).
2311 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2313 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2314 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2315 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
2316 with __attribute__ ((unused)).
2318 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
2320 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
2322 2012-12-04 Joseph Myers <joseph@codesourcery.com>
2324 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
2325 (CFLAGS-nldbl-acos.c): New variable.
2326 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
2327 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
2328 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
2329 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
2330 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
2331 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
2332 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
2333 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
2334 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
2335 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
2336 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
2337 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
2338 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
2339 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
2340 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
2341 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
2342 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
2343 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
2344 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
2345 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
2346 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
2347 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
2348 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
2349 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
2350 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
2351 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
2352 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
2353 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
2354 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
2355 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
2356 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
2357 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
2358 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
2359 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
2360 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
2361 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
2362 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
2363 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
2364 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
2365 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
2366 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
2367 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
2368 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
2369 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
2370 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
2371 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
2372 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
2373 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
2374 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
2375 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
2376 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
2377 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
2378 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
2379 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
2380 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
2381 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
2382 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
2383 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
2384 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
2385 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
2386 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
2387 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
2388 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
2389 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
2390 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
2391 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
2392 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
2393 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
2394 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
2395 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
2396 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
2397 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
2398 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
2399 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
2400 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
2401 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
2402 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
2403 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
2404 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
2405 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
2406 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
2407 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
2408 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
2409 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
2410 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
2411 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
2412 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
2413 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
2414 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
2415 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
2416 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
2417 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
2418 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
2419 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
2420 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
2421 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
2422 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
2424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2425 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2428 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
2429 whole low double instead of just low 47 bits when splitting values
2432 2012-12-03 Allan McRae <allan@archlinux.org>
2434 * manual/stdio.texi (Predefined Printf Handlers): Remove
2435 @hsep and @vsep usage.
2437 2012-12-03 Mike Frysinger <vapier@gentoo.org>
2439 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
2440 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
2442 2012-12-03 Jeff Law <law@redhat.com>
2444 * time/sys/time.h (settimeofday): Do not mark TV argument
2447 2012-12-01 Mike Frysinger <vapier@gentoo.org>
2449 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
2450 when currently writing and seek to current position when not.
2451 * libio/Makefile (tests): Remove bug-fclose1.
2452 * libio/bug-fclose1.c: Delete.
2454 2012-12-01 Joseph Myers <joseph@codesourcery.com>
2456 * manual/arith.texi (feenableexcept): Fix typo.
2457 (fedisableexcept): Likewise.
2459 2012-11-30 Roland McGrath <roland@hack.frob.com>
2461 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
2462 second, differently-typed declaration, rather than a cast.
2464 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2466 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
2467 * include/rpc/svc.h: ... here.
2469 2012-11-30 Aurelien Jarno <aurel32@debian.org>
2472 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
2473 depending n and resplen2 to catch cases where answer
2476 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
2478 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
2479 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
2481 2012-11-29 Mike Frysinger <vapier@gentoo.org>
2483 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
2485 2012-11-29 Roland McGrath <roland@hack.frob.com>
2487 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
2489 2012-11-28 Jeff Law <law@redhat.com>
2492 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
2493 dataset_temporary. Track alloca usage into alloca_used.
2494 If dataset is large allocate and release it via malloc/free.
2496 2012-06-04 Florian Weimer <fweimer@redhat.com>
2499 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
2501 2012-11-28 David S. Miller <davem@davemloft.net>
2503 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2505 2012-11-28 Joseph Myers <joseph@codesourcery.com>
2508 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
2509 of pi/2 rounded to nearest to 64 bits.
2510 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
2512 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
2515 2012-11-28 Jeff Law <law@redhat.com>
2516 Martin Osvald <mosvald@redhat.com>
2519 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
2520 * sunrpc/svc.c: Include time.h.
2521 (__svc_accept_failed): New function.
2522 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
2523 any reason other than EINTR, call __svc_accept_failed.
2524 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
2525 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
2527 2012-11-28 Andreas Schwab <schwab@suse.de>
2529 * scripts/abilist.awk: Also handle indirect functions in .opd
2532 2012-11-28 Joseph Myers <joseph@codesourcery.com>
2535 * sysdeps/x86/fpu/powl_helper.c: New file.
2536 * sysdeps/x86/fpu/Makefile: Likewise.
2537 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
2539 (__ieee754_powl): Use __powl_helper for finite arguments except
2540 integer exponents below 8.
2541 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
2543 (__ieee754_powl): Use __powl_helper for finite arguments except
2544 integer exponents below 8.
2545 * math/libm-test.inc (pow_test): Add more tests and enable some
2546 previously disabled tests.
2547 * sysdeps/i386/fpu/libm-test-ulps: Update.
2548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2550 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2551 Carlos O'Donell <carlos_odonell@mentor.com>
2553 * nss/makedb.c (is_prime): Assert that input is odd and greater
2554 than 4. Note that fact in a comment too.
2555 (next_prime): Add 4 to input.
2557 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2560 * libio/Makefile (tests): Add test case tst-fwrite-error.
2561 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
2562 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
2563 * libio/tst-fwrite-error.c: New test case.
2565 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
2567 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
2568 before casting to void *.
2569 * include/libc-internal.h (__pointer_type): New macro.
2570 (__integer_if_pointer_type_sub): Likewise.
2571 (__integer_if_pointer_type): Likewise.
2572 (cast_to_integer): Likewise.
2573 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
2574 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
2575 before casting to atomic64_t.
2576 (atomic_exchange_acq): Likewise.
2577 (__arch_exchange_and_add_body): Likewise.
2578 (__arch_add_body): Likewise.
2579 (atomic_add_negative): Likewise.
2580 (atomic_add_zero): Likewise.
2582 2012-11-26 Joseph Myers <joseph@codesourcery.com>
2584 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
2585 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
2586 (add_fdes): Likewise.
2587 (linear_search_fdes): Likewise.
2588 (binary_search_unencoded_fdes): Likewise.
2590 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
2592 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
2594 2012-11-24 Adam Conrad <adconrad@0c3.net>
2596 * configure.in: Autodetect C++ header directories.
2597 * configure: Regenerated.
2599 2012-11-23 Mike Frysinger <vapier@gentoo.org>
2601 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
2603 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
2605 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2607 2012-11-22 Joseph Myers <joseph@codesourcery.com>
2609 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
2610 LDBL_MANT_DIG == 106]: Disable some tests.
2611 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2613 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2617 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
2618 input for small inputs. Return +/- pi/2 for large inputs.
2619 * math/libm-test.inc (atan_test): Add more tests.
2621 * sysdeps/generic/unwind-dw2-fde-glibc.c
2622 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
2623 __attribute__ ((unused)).
2626 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
2627 x * y if x and y are nonzero and z is zero.
2630 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
2631 nonzero exponents with absolute value below 0x1p-117 to +/-
2635 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
2636 up arguments below 2**-450, not just those below 2**-500.
2637 * math/libm-test.inc (hypot_test): Add another test.
2640 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2641 Return a+b for ratio over 2**120, not 2**60.
2642 * math/libm-test.inc (hypot_test): Add another test.
2644 * math/libm-test.inc (clog_test): Use
2645 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
2646 (clog10_test): Likewise.
2649 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
2651 2012-11-22 Andreas Schwab <schwab@suse.de>
2653 * sysdeps/i386/fpu/libm-test-ulps: Update.
2655 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
2657 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
2658 printf output with newline.
2660 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
2663 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
2664 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
2665 -z nodlopen, -z initfirst and -z execstack support.
2666 * configure: Regenerated.
2668 * elf/elf.h (DF_1_NODIRECT): New macro.
2669 (DF_1_IGNMULDEF): Likewise.
2670 (DF_1_NOKSYMS): Likewise.
2671 (DF_1_NOHDR): Likewise.
2672 (DF_1_EDITED): Likewise.
2673 (DF_1_NORELOC): Likewise.
2674 (DF_1_SYMINTPOSE): Likewise.
2675 (DF_1_GLOBAUDIT): Likewise.
2676 (DF_1_SINGLETON): Likewise.
2677 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
2678 DT_1_SUPPORTED_MASK bits.
2679 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
2681 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
2683 * sysdeps/unix/make-syscalls.sh: Document prefixes.
2685 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
2687 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
2690 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
2691 (sendmmsg): Move declarations...
2692 * socket/sys/socket.h: ... here.
2693 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
2694 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
2696 * socket/recvmmsg.c: ... this new file.
2697 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
2698 (sendmmsg): Rename to __sendmmsg, create weak alias and make
2699 definition of __sendmmsg hidden.
2700 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2701 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
2702 Move ENOSYS stub into and include it from...
2703 * socket/sendmmsg.c: ... this new file.
2704 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
2705 (sysdep_routines): Move recvmmsg and sendmmsg...
2706 * socket/Makefile (routines): ... here.
2707 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
2708 (GLIBC_PRIVATE): Add __sendmmsg.
2709 * include/sys/socket.h (__sendmmsg): Add declarations.
2710 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
2713 2012-11-20 Joseph Myers <joseph@codesourcery.com>
2715 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
2716 variable I1 with __attribute__ ((unused)).
2717 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2719 2012-11-19 Joseph Myers <joseph@codesourcery.com>
2721 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
2722 DUMMY variables with __attribute__ ((unused)).
2724 * bits/byteswap.h: Include <bits/types.h>.
2725 (__bswap_64): Use __uint64_t instead of unsigned long long int.
2727 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2729 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
2730 string_t. Do not manually set errno.
2731 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
2732 length with __strnlen. Make sure to both set errno and return it on
2735 2012-11-19 David S. Miller <davem@davemloft.net>
2737 With help from Joseph Myers.
2738 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
2739 very large arguments properly.
2740 * math/libm-test.inc (atan_test): New tests.
2741 (atan2_test): New tests.
2742 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2743 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2745 2012-11-19 Joseph Myers <joseph@codesourcery.com>
2748 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
2751 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
2752 [POSIX] (EADDRNOTAVAIL): Likewise.
2753 [POSIX] (EAFNOSUPPORT): Likewise.
2754 [POSIX] (EALREADY): Likewise.
2755 [POSIX] (ECONNABORTED): Likewise.
2756 [POSIX] (ECONNREFUSED): Likewise.
2757 [POSIX] (ECONNRESET): Likewise.
2758 [POSIX] (EDESTADDRREQ): Likewise.
2759 [POSIX] (EDQUOT): Likewise.
2760 [POSIX] (EHOSTUNREACH): Likewise.
2761 [POSIX] (EIDRM): Likewise.
2762 [POSIX] (EISCONN): Likewise.
2763 [POSIX] (ELOOP): Likewise.
2764 [POSIX] (EMULTIHOP): Likewise.
2765 [POSIX] (ENETDOWN): Likewise.
2766 [POSIX] (ENETUNREACH): Likewise.
2767 [POSIX] (ENOBUFS): Likewise.
2768 [POSIX] (ENODATA): Likewise.
2769 [POSIX] (ENOLINK): Likewise.
2770 [POSIX] (ENOMSG): Likewise.
2771 [POSIX] (ENOPROTOOPT): Likewise.
2772 [POSIX] (ENOSR): Likewise.
2773 [POSIX] (ENOSTR): Likewise.
2774 [POSIX] (ENOTCONN): Likewise.
2775 [POSIX] (ENOTSOCK): Likewise.
2776 [POSIX] (EOPNOTSUPP): Likewise.
2777 [POSIX] (EOVERFLOW): Likewise.
2778 [POSIX] (EPROTO): Likewise.
2779 [POSIX] (EPROTONOSUPPORT): Likewise.
2780 [POSIX] (EPROTOTYPE): Likewise.
2781 [POSIX] (ESTALE): Likewise.
2782 [POSIX] (ETIME): Likewise.
2783 [POSIX] (ETXTBSY): Likewise.
2784 [POSIX] (EWOULDBLOCK): Likewise.
2785 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
2786 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
2787 [POSIX] (SEEK_CUR): Likewise.
2788 [POSIX] (SEEK_END): Likewise.
2789 [POSIX || UNIX98] (mode_t): Do not require.
2790 [POSIX] (off_t): Likewise.
2791 [POSIX] (pid_t): Likewise.
2792 [POSIX] (sys/stat.h): Do not allow header.
2793 [POSIX] (unistd.h): Likewise.
2794 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
2795 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
2796 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
2797 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
2799 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
2800 sigevent): Specify elements.
2801 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
2803 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
2804 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
2806 * conform/data/cpio.h-data [POSIX]: Disable whole file.
2807 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
2808 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
2809 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
2810 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
2811 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
2812 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
2813 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
2814 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
2815 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
2816 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
2817 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
2818 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
2819 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
2821 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
2823 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
2825 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
2827 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
2828 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
2829 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
2830 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
2831 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
2832 Specify lower bound on value.
2833 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
2834 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
2835 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
2836 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
2837 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
2838 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
2839 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
2840 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
2842 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
2844 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
2845 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
2846 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
2847 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
2848 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
2849 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
2850 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
2851 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
2852 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
2853 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
2854 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
2855 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
2856 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
2857 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
2858 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
2859 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
2861 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
2863 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
2864 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
2865 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
2866 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
2867 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
2868 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
2870 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
2871 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
2872 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
2873 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
2874 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
2875 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
2876 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
2878 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
2879 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
2880 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
2881 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
2882 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
2883 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
2884 specify as optional.
2885 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
2886 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
2887 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
2888 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
2889 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
2890 [XPG3] (NL_LANGMAX): Likewise.
2891 [POSIX || XPG3] (NL_MSGMAX): Likewise.
2892 [POSIX || XPG3] (NL_NMAX): Likewise.
2893 [POSIX || XPG3] (NL_SETMAX): Likewise.
2894 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
2895 [XPG3] (NZERO): Likewise.
2896 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
2897 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
2898 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
2899 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
2900 (REG_ERANGE): Expect.
2901 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
2903 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
2904 Use (void) in prototype.
2905 [POSIX] (*_t): Allow.
2906 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
2907 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
2908 (WRDE_BADVAL): Expect.
2910 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
2912 [XPG3 || XPG4] (O_RSYNC): Likewise.
2913 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
2915 [XPG3 || XPG4] (pthread_sigmask): Likewise.
2916 [XPG3 || XPG4] (sigqueue): Likewise.
2917 [XPG3 || XPG4] (sigtimedwait): Likewise.
2918 [XPG3 || XPG4] (sigwaitinfo): Likewise.
2919 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
2920 [XPG3 || XPG4] (vsnprintf): Likewise.
2921 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
2923 [XPG3 || XPG4] (blksize_t): Likewise.
2924 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
2926 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
2927 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2928 [XPG3 || XPG4] (struct itimerspec): Likewise.
2929 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
2930 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
2931 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
2932 [XPG3 || XPG4] (clockid_t): Likewise.
2933 [XPG3 || XPG4] (timer_t): Likewise.
2934 [XPG3 || XPG4] (clock_getres): Likewise.
2935 [XPG3 || XPG4] (clock_gettime): Likewise.
2936 [XPG3 || XPG4] (clock_settime): Likewise.
2937 [XPG3 || XPG4] (nanosleep): Likewise.
2938 [XPG3 || XPG4] (timer_create): Likewise.
2939 [XPG3 || XPG4] (timer_delete): Likewise.
2940 [XPG3 || XPG4] (timer_gettime): Likewise.
2941 [XPG3 || XPG4] (timer_getoverrun): Likewise.
2942 [XPG3 || XPG4] (timer_settime): Likewise.
2943 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
2944 [XPG3 || XPG4] (getlogin_r): Likewise.
2945 [XPG3 || XPG4] (pread): Likewise.
2946 [XPG3 || XPG4] (pthread_atfork): Likewise.
2947 [XPG3 || XPG4] (pwrite): Likewise.
2950 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
2953 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2955 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
2956 finalizing MALLSTREAM.
2958 * sysdeps/mach/hurd/syncfs.c: New file.
2960 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2963 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
2964 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
2965 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
2966 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
2967 (_nss_dns_gethostbyname4_r): Likewise.
2968 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
2969 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
2971 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
2974 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
2976 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
2978 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
2979 * elf/cache.c (print_entry): Print ",AArch64" for
2982 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
2983 * elf/cache.c (print_entry): Print ",hard-float" for
2986 2012-11-18 David S. Miller <davem@davemloft.net>
2988 With help from Joseph Myers.
2989 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
2991 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
2993 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
2994 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
2996 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2997 * math/libm-test.inc (y0_test): New tests.
2998 (y1_test): New tests.
2999 * sysdeps/i386/fpu/libm-test-ulps: Update.
3000 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3003 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
3005 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
3007 * configure: Regenerated.
3009 2012-11-17 David S. Miller <davem@davemloft.net>
3012 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
3013 nonzero exponents with absolute value below 0x1p-128 to +/-
3016 2012-11-17 Joseph Myers <joseph@codesourcery.com>
3018 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
3020 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
3022 * posix/getconf-speclist.c: New file.
3023 * posix/posix-envs.def: Likewise.
3024 * posix/confstr.c (START_ENV_GROUP): New macro.
3025 (END_ENV_GROUP): Likewise.
3026 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3027 (KNOWN_PRESENT_ENV_STRING): Likewise.
3028 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3029 (UNKNOWN_ENVIRONMENT): Likewise.
3030 (confstr): Include posix-envs.def instead of handling
3031 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
3032 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
3033 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
3034 (END_ENV_GROUP): Likewise.
3035 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3036 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3037 (UNKNOWN_ENVIRONMENT): Likewise.
3038 (__sysconf): Include posix-envs.def instead of handling associated
3039 cases directly here.
3040 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
3041 preprocessing getconf-speclist.c rather than running getconf or
3042 generating empty file.
3044 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
3046 * scripts/check-local-headers.sh: Ignore 'mach' headers.
3048 2012-11-16 Andrej Lajovic <natrij@gmail.com>
3051 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
3053 2012-11-16 David S. Miller <davem@davemloft.net>
3055 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
3056 smaller than LDBL_EPSILON/2.0L, just return xm1.
3058 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
3060 * elf/tst-array1.c (init): Set constructor priority to 1000.
3061 (fini): Set destructor priority to 1000.
3062 * elf/tst-array2dep.c: Likewise.
3064 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3067 * libio/fileops.c (_IO_new_file_write): Correctly return error.
3068 (_IO_new_file_xsputn): Also return EOF if none of the input
3069 data was written when overflow failed.
3070 * libio/iopadn.c (_IO_padn): Likewise.
3071 * libio/iowpadn.c (_IO_wpadn): Likewise.
3072 * stdio-common/tst-put-error.c: Add copyright notice.
3073 (do_test): Add case for printing padded string.
3074 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
3075 _IO_padn returned error.
3076 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
3077 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
3080 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3082 * libio/libioP.h: Add comment note that the references to C++
3083 bits are now obsolete.
3085 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3087 * math/libm-test.inc (check_complex): Use asprintf.
3089 2012-11-14 Joseph Myers <joseph@codesourcery.com>
3091 * debug/pcprofiledump.c (print_version): Update copyright year.
3092 * malloc/memusagestat.c (print_version): Likewise.
3094 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
3097 * elf/Makefile (tests): Add tst-audit8.
3098 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
3099 ($(objpfx)tst-audit8.out): New target.
3100 (tst-audit8-ENV): New variable.
3101 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
3102 audit if l_reloc_result is NULL.
3103 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
3104 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
3105 * elf/tst-audit8.c: New file.
3107 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3109 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
3110 * misc/Makefile (CFLAGS-select.c): Define.
3111 * posix/Makefile (CFLAGS-pause.c): Define.
3113 2012-11-13 David S. Miller <davem@davemloft.net>
3115 * crypt/Makefile: Move test targets after toplevel Rules
3116 inclusion. Grab any necessary sysdep routines when linking.
3117 * crypt/md5.c (md5_process_block): Remove define, we will always
3118 name it __md5_process_block.
3119 (md5_finish_ctx): Update md5_process_block call.
3120 (md5_stream): Likewise.
3121 (md5_process_bytes): Likewise.
3122 (md5_process_block): Rename to __md5_process_block and move to ...
3123 * crypt/md5-block.c: ... here.
3124 * crypt/sha256.c (sha256_process_block): Move to ...
3125 * crypt/sha256-block.c: ... here.
3126 * crypt/sha512.c (sha512_process_block): Move to ...
3127 * crypt/sha512-block.c: ... here.
3128 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
3130 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
3131 * sysdeps/sparc/sparc64/multiarch/Makefile
3132 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
3134 (localedef-aux): Add md5 crypto assembler when in locale subdir.
3135 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
3137 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
3138 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
3139 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
3140 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
3141 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
3142 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
3143 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
3144 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
3145 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
3147 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
3148 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
3150 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
3152 2012-11-13 Joseph Myers <joseph@codesourcery.com>
3154 * timezone/tzselect.ksh: Update from tzcode git revision
3155 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
3156 * timezone/zdump.c: Likewise.
3157 * timezone/zic.c: Likewise.
3158 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
3159 in TZVERSION setting, not $(PKGVERSION).
3160 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
3161 REPORT_BUGS_TO settings.
3164 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
3167 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3169 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
3170 detection to immediately after _FP_ROUND().
3171 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
3174 2012-11-11 David S. Miller <davem@davemloft.net>
3176 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
3178 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
3179 __close rather than their public counterparts.
3181 2012-11-10 Joseph Myers <joseph@codesourcery.com>
3183 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
3185 [UNIX98] (sem_timedwait): Do not expect.
3186 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
3187 [XPG4 || UNIX98] (sockatmark): Do not expect.
3188 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
3189 (clock_getcpuclockid): Do not expect.
3190 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
3191 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
3193 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
3194 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
3195 [UNIX98] (vwscanf): Likewise.
3196 [UNIX98] (vswscanf): Likewise.
3198 2012-11-09 Joseph Myers <joseph@codesourcery.com>
3200 * timezone/version.h: Remove file.
3201 * timezone/README: Do not refer to version.h.
3202 * timezone/Makefile ($(objpfx)zic.o): New dependency on
3204 ($(objpfx)zdump.o): Likewise.
3205 ($(objpfx)version.h): New target.
3207 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
3209 * timezone/README: Don't mention modification to tzselect.ksh.
3210 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
3211 work on unmodified tzselect.ksh. Substitute version numbers in
3214 * Makefile (format-me): Remove.
3215 (INSTALL): Adjust indentation. Use commands directly instead of
3218 * aclocal.m4 (ACX_PKGVERSION): New macro.
3219 (ACX_BUGURL): Likewise.
3220 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
3221 (PKGVERSION): New AC_DEFINE_UNQUOTED.
3222 (REPORT_BUGS_TO): Likewise.
3223 * configure: Regenerated.
3224 * config.h.in (PKGVERSION): New macro.
3225 (REPORT_BUGS_TO): Likewise.
3226 * config.make.in (PKGVERSION): New variable.
3227 (PKGVERSION_TEXI): Likewise.
3228 (REPORT_BUGS_TO): Likewise.
3229 (REPORT_BUGS_TEXI): Likewise.
3230 * Makefile (format-me): Use -I$(common-objpfx)manual.
3231 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
3232 ($(common-objpfx)manual/%): New target.
3233 (manual/%): Remove target.
3234 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
3235 (print_version): Use PKGVERSION.
3236 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
3237 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
3239 ($(objpfx)xtrace): Likewise.
3240 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
3241 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
3242 (print_version): Use PKGVERSION.
3243 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
3244 (do_version): Use PKGVERSION.
3245 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
3247 (common-ldd-rewrite): Likewise.
3248 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
3249 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
3250 (print_version): Use PKGVERSION.
3251 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
3252 * elf/pldd.c (argp_program_bug_address): Remove variable.
3253 (more_help): New function.
3254 (argp): Use more_help.
3255 (print_version): Use PKGVERSION.
3256 * elf/sln.c (main): Use PKGVERSION.
3257 (usage): Use REPORT_BUGS_TO.
3258 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
3259 (top level): Use PKGVERSION.
3260 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
3261 (print_version): Use PKGVERSION.
3262 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
3263 (print_version): Use PKGVERSION.
3264 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
3265 (print_version): Use PKGVERSION.
3266 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
3267 (print_version): Use PKGVERSION.
3268 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
3269 (print_version): Use PKGVERSION.
3270 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
3271 (print_version): Use PKGVERSION.
3272 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
3274 ($(objpfx)memusage): Likewise.
3275 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
3276 (do_version): Use PKGVERSION.
3277 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
3278 (print_version): Use PKGVERSION.
3279 * malloc/mtrace.pl ($PACKAGE): Remove variable.
3280 ($PKGVERSION): New variable.
3281 ($REPORT_BUGS_TO): Likewise.
3282 (usage): Use $REPORT_BUGS_TO.
3283 (top level): Use $PKGVERSION.
3284 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
3285 ($(objpfx)pkgvers.texi): New rule.
3286 ($(objpfx)stamp-pkgvers): Likewise.
3287 * manual/install.texi: Include pkgvers.texi.
3288 (--with-pkgversion): Document new configure option.
3289 (--with-bugurl): Likewise.
3290 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
3291 than necessarily for this particular distribution. Use
3292 REPORT_BUGS_TO for where to report bugs.
3293 * INSTALL: Regenerated.
3294 * manual/libc.texinfo: Include pkgvers.texi.
3295 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
3296 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
3297 (print_version): Use PKGVERSION.
3298 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
3299 (print_version): Use PKGVERSION.
3300 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
3301 (print_version): Use PKGVERSION.
3302 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
3303 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
3305 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
3306 (print_version): Use PKGVERSION.
3307 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
3308 (print_version): Use PKGVERSION.
3309 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
3312 * timezone/checktab.awk: Update from tzcode 2012i.
3313 * timezone/ialloc.c: Likewise.
3314 * timezone/private.h: Likewise.
3315 * timezone/scheck.c: Likewise.
3316 * timezone/tzfile.h: Likewise.
3317 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
3318 (TZVERSION): Hardcode tzcode version number.
3319 * timezone/zdump.c: Update from tzcode 2012i.
3320 * timezone/zic.c: Likewise.
3321 * timezone/version.h: New file.
3322 * timezone/README: Describe version.h. Update upstream location.
3325 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
3326 (mktemp): Enable declaration.
3327 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
3328 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
3329 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
3330 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
3332 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
3334 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
3336 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
3338 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
3340 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
3344 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
3345 offset in buffer as u_int32_t not u_long. Consistently use memcpy
3346 for copies of such integer values.
3347 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
3348 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
3350 2012-11-09 Andreas Jaeger <aj@suse.de>
3352 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
3353 definitions and declarations that are provided by
3354 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3356 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3358 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
3359 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
3360 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
3363 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3365 * elf/elf.h: Update comment before AArch64 relocations.
3367 2012-11-07 David S. Miller <davem@davemloft.net>
3369 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
3370 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3371 (__start_context): Declare.
3372 (__makecontext_ret): Delete.
3373 (__makecontext): Hook up __start_context instead of
3375 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
3376 (sysdep_routines): Add __start_context when in stdlib.
3378 2012-11-07 Joseph Myers <joseph@codesourcery.com>
3380 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
3381 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
3382 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
3384 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
3385 (READELF): New variable. Use it instead of hardcoded "readelf".
3387 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
3389 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
3390 * sysdeps/x86/Makefile: Here.
3391 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
3392 * sysdeps/x86/tst-xmmymm.sh: This.
3394 2012-11-07 Joseph Myers <joseph@codesourcery.com>
3396 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
3398 [UNIX98] (pthread_barrier_t): Do not expect.
3399 [UNIX98] (pthread_barrierattr_t): Likewise.
3400 [UNIX98] (pthread_spinlock_t): Likewise.
3401 [UNIX98] (pthread_barrier_destroy): Likewise.
3402 [UNIX98] (pthread_barrier_init): Likewise.
3403 [UNIX98] (pthread_barrier_wait): Likewise.
3404 [UNIX98] (pthread_barrierattr_destroy): Likewise.
3405 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
3406 [UNIX98] (pthread_barrierattr_init): Likewise.
3407 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
3408 [UNIX98] (pthread_getcpuclockid): Likewise.
3409 [UNIX98] (pthread_mutex_timedlock): Likewise.
3410 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
3411 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
3412 [UNIX98] (pthread_sigmask): Likewise.
3413 [UNIX98] (pthread_spin_destroy): Likewise.
3414 [UNIX98] (pthread_spin_init): Likewise.
3415 [UNIX98] (pthread_spin_lock): Likewise.
3416 [UNIX98] (pthread_spin_trylock): Likewise.
3417 [UNIX98] (pthread_spin_unlock): Likewise.
3418 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
3420 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
3421 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
3422 [XPG3 || XPG4] (pthread_cond_t): Likewise.
3423 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
3424 [XPG3 || XPG4] (pthread_key_t): Likewise.
3425 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
3426 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
3427 [XPG3 || XPG4] (pthread_once_t): Likewise.
3428 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
3429 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
3430 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
3431 [XPG3 || XPG4] (pthread_t): Likewise.
3433 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
3435 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
3437 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
3438 Change function return type to int.
3440 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
3441 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
3442 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
3443 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
3444 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
3445 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
3446 [!POSIX] (posix_madvise): Likewise.
3447 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
3449 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
3450 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
3452 (posix_mem_offset): Likewise.
3453 (posix_typed_mem_get_info): Likewise.
3454 (posix_typed_mem_open): Likewise.
3456 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
3457 Change condition to [XOPEN2K8].
3459 * conform/conformtest.pl: Preprocess allow-header data with -x c
3460 instead of from stdin.
3461 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
3462 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
3463 [C99-based standards] (cerfc): Likewise.
3464 [C99-based standards] (cexp2): Likewise.
3465 [C99-based standards] (cexpm1): Likewise.
3466 [C99-based standards] (clog10): Likewise.
3467 [C99-based standards] (clog1p): Likewise.
3468 [C99-based standards] (clog2): Likewise.
3469 [C99-based standards] (clgamma): Likewise.
3470 [C99-based standards] (ctgamma): Likewise.
3471 [C99-based standards] (cerff): Likewise.
3472 [C99-based standards] (cerfcf): Likewise.
3473 [C99-based standards] (cexp2f): Likewise.
3474 [C99-based standards] (cexpm1f): Likewise.
3475 [C99-based standards] (clog10f): Likewise.
3476 [C99-based standards] (clog1pf): Likewise.
3477 [C99-based standards] (clog2f): Likewise.
3478 [C99-based standards] (clgammaf): Likewise.
3479 [C99-based standards] (ctgammaf): Likewise.
3480 [C99-based standards] (cerfl): Likewise.
3481 [C99-based standards] (cerfcl): Likewise.
3482 [C99-based standards] (cexp2l): Likewise.
3483 [C99-based standards] (cexpm1l): Likewise.
3484 [C99-based standards] (clog10l): Likewise.
3485 [C99-based standards] (clog1pl): Likewise.
3486 [C99-based standards] (clog2l): Likewise.
3487 [C99-based standards] (clgammal): Likewise.
3488 [C99-based standards] (ctgammal): Likewise.
3489 * conform/data/inttypes.h-data [C99-based standards]: Include
3490 stdint.h-data. Remove all expectations for stdint.h contents.
3491 [C99-based standards] (PRI*): Do not allow.
3492 [C99-based standards] (SCN*): Likewise.
3493 [C99-based standards] (*_t): Likewise.
3494 [C99-based-standards] (PRId8): Expect macro.
3495 [C99-based-standards] (PRIi8): Likewise.
3496 [C99-based-standards] (PRIo8): Likewise.
3497 [C99-based-standards] (PRIu8): Likewise.
3498 [C99-based-standards] (PRIx8): Likewise.
3499 [C99-based-standards] (PRIX8): Likewise.
3500 [C99-based-standards] (SCNd8): Likewise.
3501 [C99-based-standards] (SCNi8): Likewise.
3502 [C99-based-standards] (SCNo8): Likewise.
3503 [C99-based-standards] (SCNu8): Likewise.
3504 [C99-based-standards] (SCNx8): Likewise.
3505 [C99-based-standards] (PRIdLEAST8): Likewise.
3506 [C99-based-standards] (PRIiLEAST8): Likewise.
3507 [C99-based-standards] (PRIoLEAST8): Likewise.
3508 [C99-based-standards] (PRIuLEAST8): Likewise.
3509 [C99-based-standards] (PRIxLEAST8): Likewise.
3510 [C99-based-standards] (PRIXLEAST8): Likewise.
3511 [C99-based-standards] (SCNdLEAST8): Likewise.
3512 [C99-based-standards] (SCNiLEAST8): Likewise.
3513 [C99-based-standards] (SCNoLEAST8): Likewise.
3514 [C99-based-standards] (SCNuLEAST8): Likewise.
3515 [C99-based-standards] (SCNxLEAST8): Likewise.
3516 [C99-based-standards] (PRIdFAST8): Likewise.
3517 [C99-based-standards] (PRIiFAST8): Likewise.
3518 [C99-based-standards] (PRIoFAST8): Likewise.
3519 [C99-based-standards] (PRIuFAST8): Likewise.
3520 [C99-based-standards] (PRIxFAST8): Likewise.
3521 [C99-based-standards] (PRIXFAST8): Likewise.
3522 [C99-based-standards] (SCNdFAST8): Likewise.
3523 [C99-based-standards] (SCNiFAST8): Likewise.
3524 [C99-based-standards] (SCNoFAST8): Likewise.
3525 [C99-based-standards] (SCNuFAST8): Likewise.
3526 [C99-based-standards] (SCNxFAST8): Likewise.
3527 [C99-based-standards] (PRId16): Likewise.
3528 [C99-based-standards] (PRIi16): Likewise.
3529 [C99-based-standards] (PRIo16): Likewise.
3530 [C99-based-standards] (PRIu16): Likewise.
3531 [C99-based-standards] (PRIx16): Likewise.
3532 [C99-based-standards] (PRIX16): Likewise.
3533 [C99-based-standards] (SCNd16): Likewise.
3534 [C99-based-standards] (SCNi16): Likewise.
3535 [C99-based-standards] (SCNo16): Likewise.
3536 [C99-based-standards] (SCNu16): Likewise.
3537 [C99-based-standards] (SCNx16): Likewise.
3538 [C99-based-standards] (PRIdLEAST16): Likewise.
3539 [C99-based-standards] (PRIiLEAST16): Likewise.
3540 [C99-based-standards] (PRIoLEAST16): Likewise.
3541 [C99-based-standards] (PRIuLEAST16): Likewise.
3542 [C99-based-standards] (PRIxLEAST16): Likewise.
3543 [C99-based-standards] (PRIXLEAST16): Likewise.
3544 [C99-based-standards] (SCNdLEAST16): Likewise.
3545 [C99-based-standards] (SCNiLEAST16): Likewise.
3546 [C99-based-standards] (SCNoLEAST16): Likewise.
3547 [C99-based-standards] (SCNuLEAST16): Likewise.
3548 [C99-based-standards] (SCNxLEAST16): Likewise.
3549 [C99-based-standards] (PRIdFAST16): Likewise.
3550 [C99-based-standards] (PRIiFAST16): Likewise.
3551 [C99-based-standards] (PRIoFAST16): Likewise.
3552 [C99-based-standards] (PRIuFAST16): Likewise.
3553 [C99-based-standards] (PRIxFAST16): Likewise.
3554 [C99-based-standards] (PRIXFAST16): Likewise.
3555 [C99-based-standards] (SCNdFAST16): Likewise.
3556 [C99-based-standards] (SCNiFAST16): Likewise.
3557 [C99-based-standards] (SCNoFAST16): Likewise.
3558 [C99-based-standards] (SCNuFAST16): Likewise.
3559 [C99-based-standards] (SCNxFAST16): Likewise.
3560 [C99-based-standards] (PRId32): Likewise.
3561 [C99-based-standards] (PRIi32): Likewise.
3562 [C99-based-standards] (PRIo32): Likewise.
3563 [C99-based-standards] (PRIu32): Likewise.
3564 [C99-based-standards] (PRIx32): Likewise.
3565 [C99-based-standards] (PRIX32): Likewise.
3566 [C99-based-standards] (SCNd32): Likewise.
3567 [C99-based-standards] (SCNi32): Likewise.
3568 [C99-based-standards] (SCNo32): Likewise.
3569 [C99-based-standards] (SCNu32): Likewise.
3570 [C99-based-standards] (SCNx32): Likewise.
3571 [C99-based-standards] (PRIdLEAST32): Likewise.
3572 [C99-based-standards] (PRIiLEAST32): Likewise.
3573 [C99-based-standards] (PRIoLEAST32): Likewise.
3574 [C99-based-standards] (PRIuLEAST32): Likewise.
3575 [C99-based-standards] (PRIxLEAST32): Likewise.
3576 [C99-based-standards] (PRIXLEAST32): Likewise.
3577 [C99-based-standards] (SCNdLEAST32): Likewise.
3578 [C99-based-standards] (SCNiLEAST32): Likewise.
3579 [C99-based-standards] (SCNoLEAST32): Likewise.
3580 [C99-based-standards] (SCNuLEAST32): Likewise.
3581 [C99-based-standards] (SCNxLEAST32): Likewise.
3582 [C99-based-standards] (PRIdFAST32): Likewise.
3583 [C99-based-standards] (PRIiFAST32): Likewise.
3584 [C99-based-standards] (PRIoFAST32): Likewise.
3585 [C99-based-standards] (PRIuFAST32): Likewise.
3586 [C99-based-standards] (PRIxFAST32): Likewise.
3587 [C99-based-standards] (PRIXFAST32): Likewise.
3588 [C99-based-standards] (SCNdFAST32): Likewise.
3589 [C99-based-standards] (SCNiFAST32): Likewise.
3590 [C99-based-standards] (SCNoFAST32): Likewise.
3591 [C99-based-standards] (SCNuFAST32): Likewise.
3592 [C99-based-standards] (SCNxFAST32): Likewise.
3593 [C99-based-standards] (PRId64): Likewise.
3594 [C99-based-standards] (PRIi64): Likewise.
3595 [C99-based-standards] (PRIo64): Likewise.
3596 [C99-based-standards] (PRIu64): Likewise.
3597 [C99-based-standards] (PRIx64): Likewise.
3598 [C99-based-standards] (PRIX64): Likewise.
3599 [C99-based-standards] (SCNd64): Likewise.
3600 [C99-based-standards] (SCNi64): Likewise.
3601 [C99-based-standards] (SCNo64): Likewise.
3602 [C99-based-standards] (SCNu64): Likewise.
3603 [C99-based-standards] (SCNx64): Likewise.
3604 [C99-based-standards] (PRIdLEAST64): Likewise.
3605 [C99-based-standards] (PRIiLEAST64): Likewise.
3606 [C99-based-standards] (PRIoLEAST64): Likewise.
3607 [C99-based-standards] (PRIuLEAST64): Likewise.
3608 [C99-based-standards] (PRIxLEAST64): Likewise.
3609 [C99-based-standards] (PRIXLEAST64): Likewise.
3610 [C99-based-standards] (SCNdLEAST64): Likewise.
3611 [C99-based-standards] (SCNiLEAST64): Likewise.
3612 [C99-based-standards] (SCNoLEAST64): Likewise.
3613 [C99-based-standards] (SCNuLEAST64): Likewise.
3614 [C99-based-standards] (SCNxLEAST64): Likewise.
3615 [C99-based-standards] (PRIdFAST64): Likewise.
3616 [C99-based-standards] (PRIiFAST64): Likewise.
3617 [C99-based-standards] (PRIoFAST64): Likewise.
3618 [C99-based-standards] (PRIuFAST64): Likewise.
3619 [C99-based-standards] (PRIxFAST64): Likewise.
3620 [C99-based-standards] (PRIXFAST64): Likewise.
3621 [C99-based-standards] (SCNdFAST64): Likewise.
3622 [C99-based-standards] (SCNiFAST64): Likewise.
3623 [C99-based-standards] (SCNoFAST64): Likewise.
3624 [C99-based-standards] (SCNuFAST64): Likewise.
3625 [C99-based-standards] (SCNxFAST64): Likewise.
3626 [C99-based-standards] (PRIdMAX): Likewise.
3627 [C99-based-standards] (PRIiMAX): Likewise.
3628 [C99-based-standards] (PRIoMAX): Likewise.
3629 [C99-based-standards] (PRIuMAX): Likewise.
3630 [C99-based-standards] (PRIxMAX): Likewise.
3631 [C99-based-standards] (PRIXMAX): Likewise.
3632 [C99-based-standards] (SCNdMAX): Likewise.
3633 [C99-based-standards] (SCNiMAX): Likewise.
3634 [C99-based-standards] (SCNoMAX): Likewise.
3635 [C99-based-standards] (SCNuMAX): Likewise.
3636 [C99-based-standards] (SCNxMAX): Likewise.
3637 [C99-based-standards] (PRIdPTR): Likewise.
3638 [C99-based-standards] (PRIiPTR): Likewise.
3639 [C99-based-standards] (PRIoPTR): Likewise.
3640 [C99-based-standards] (PRIuPTR): Likewise.
3641 [C99-based-standards] (PRIxPTR): Likewise.
3642 [C99-based-standards] (PRIXPTR): Likewise.
3643 [C99-based-standards] (SCNdPTR): Likewise.
3644 [C99-based-standards] (SCNiPTR): Likewise.
3645 [C99-based-standards] (SCNoPTR): Likewise.
3646 [C99-based-standards] (SCNuPTR): Likewise.
3647 [C99-based-standards] (SCNxPTR): Likewise.
3648 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
3650 * conform/data/stdint.h-data: Update comments to clarify
3652 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
3654 [C99-based standards] (INT8_MAX): Likewise.
3655 [C99-based standards] (INT16_MIN): Likewise.
3656 [C99-based standards] (INT16_MAX): Likewise.
3657 [C99-based standards] (INT32_MIN): Likewise.
3658 [C99-based standards] (INT32_MAX): Likewise.
3659 [C99-based standards] (INT64_MIN): Likewise.
3660 [C99-based standards] (INT64_MAX): Likewise.
3661 [C99-based standards] (UINT8_MAX): Likewise.
3662 [C99-based standards] (UINT16_MAX): Likewise.
3663 [C99-based standards] (UINT32_MAX): Likewise.
3664 [C99-based standards] (UINT64_MAX): Likewise.
3665 [C99-based standards] (INT_LEAST8_MIN): Likewise.
3666 [C99-based standards] (INT_LEAST8_MAX): Likewise.
3667 [C99-based standards] (INT_LEAST16_MIN): Likewise.
3668 [C99-based standards] (INT_LEAST16_MAX): Likewise.
3669 [C99-based standards] (INT_LEAST32_MIN): Likewise.
3670 [C99-based standards] (INT_LEAST32_MAX): Likewise.
3671 [C99-based standards] (INT_LEAST64_MIN): Likewise.
3672 [C99-based standards] (INT_LEAST64_MAX): Likewise.
3673 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
3674 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
3675 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
3676 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
3677 [C99-based standards] (INT_FAST8_MIN): Likewise.
3678 [C99-based standards] (INT_FAST8_MAX): Likewise.
3679 [C99-based standards] (INT_FAST16_MIN): Likewise.
3680 [C99-based standards] (INT_FAST16_MAX): Likewise.
3681 [C99-based standards] (INT_FAST32_MIN): Likewise.
3682 [C99-based standards] (INT_FAST32_MAX): Likewise.
3683 [C99-based standards] (INT_FAST64_MIN): Likewise.
3684 [C99-based standards] (INT_FAST64_MAX): Likewise.
3685 [C99-based standards] (UINT_FAST8_MAX): Likewise.
3686 [C99-based standards] (UINT_FAST16_MAX): Likewise.
3687 [C99-based standards] (UINT_FAST32_MAX): Likewise.
3688 [C99-based standards] (UINT_FAST64_MAX): Likewise.
3689 [C99-based standards] (INTPTR_MIN): Likewise.
3690 [C99-based standards] (INTPTR_MAX): Likewise.
3691 [C99-based standards] (UINTPTR_MAX): Likewise.
3692 [C99-based standards] (INTMAX_MIN): Likewise.
3693 [C99-based standards] (INTMAX_MAX): Likewise.
3694 [C99-based standards] (UINTMAX_MAX): Likewise.
3695 [C99-based standards] (PTRDIFF_MIN): Likewise.
3696 [C99-based standards] (PTRDIFF_MAX): Likewise.
3697 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
3698 [C99-based standards] (SIZE_MAX): Likewise.
3699 [C99-based standards] (WCHAR_MAX): Likewise.
3700 [C99-based standards] (WINT_MAX): Likewise.
3701 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
3702 constraint on value.
3703 [C99-based standards] (WCHAR_MIN): Likewise.
3704 [C99-based standards] (WINT_MIN): Likewise.
3705 [C99-based standards] (*_t): Allow.
3706 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
3707 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
3708 Include math.h-data and complex.h-data. Remove all expectations
3709 of math.h and complex.h contents.
3710 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
3712 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
3713 (struct tm): Expect tag.
3714 [C99-based-standards] (wcstof): Expect function.
3715 [C99-based-standards] (wcstold): Likewise.
3716 [C99-based-standards] (wcstoll): Likewise.
3717 [C99-based-standards] (wcstoull): Likewise.
3718 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
3719 macro-int-constant. Specify type.
3720 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
3721 constraint on value.
3722 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3724 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
3726 [ISO C standards]: Do not allow headers.
3727 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
3728 wcs[abcdefghijklmnopqrstuvwxyz]*.
3729 [ISO C standards] (*_t): Do not allow.
3730 * conform/data/wctype.h-data [C99-based standards] (iswblank):
3732 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
3733 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3735 [ISO C standards]: Do not allow headers.
3736 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
3737 is[abcdefghijklmnopqrstuvwxyz]*.
3738 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
3739 to[abcdefghijklmnopqrstuvwxyz]*.
3740 [ISO C standards] (*_t): Do not allow.
3741 * conform/data/stdalign.h-data: New file.
3742 * conform/data/stdbool.h-data: Likewise.
3743 * conform/data/stdnoreturn.h-data: Likewise.
3745 2012-11-07 Roland McGrath <roland@hack.frob.com>
3748 * manual/filesys.texi (Directory Entries): Typo fix.
3749 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
3751 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3753 * elf/elf.h (EM_AARCH64): New macro.
3754 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
3755 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
3756 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
3757 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
3758 (R_AARCH64_TLSDESC): Likewise.
3759 (NT_ARM_TLS): Likewise.
3760 (NT_ARM_HW_BREAK): Likewise.
3761 (NT_ARM_HW_WATCH): Likewise.
3763 2012-11-07 Joseph Myers <joseph@codesourcery.com>
3766 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
3767 (__ieee754_powl): Saturate nonzero exponents with absolute value
3768 below 0x1p-79 to +/- 0x1p-79.
3769 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
3770 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
3771 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
3772 nonzero exponents with absolute value below 0x1p-32 to +/-
3774 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
3775 (__ieee754_powl): Saturate nonzero exponents with absolute value
3776 below 0x1p-79 to +/- 0x1p-79.
3777 * math/libm-test.inc (pow_test): Add more tests.
3779 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3781 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
3782 _dl_s390_cap_flags with kernel. Increase string length.
3783 (_dl_s390_platforms): Add z196 and zEC12.
3785 2012-11-07 Joseph Myers <joseph@codesourcery.com>
3787 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
3788 Change XOPEN21K to XOPEN2K.
3790 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
3792 * string/memmove.c: Use memcpy when possible.
3794 2012-11-06 Andreas Jaeger <aj@suse.de>
3796 * po/eo.po: Update from translation team.
3798 2012-11-06 Joseph Myers <joseph@codesourcery.com>
3801 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
3802 exponent and small x and y exponents, scale x or y up. Increase
3803 by 2 the exponent used in scaling up.
3804 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3805 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3806 * math/libm-test.inc (fma_test): Add more tests.
3807 (fma_test_towardzero): Likewise.
3808 (fma_test_downward): Likewise.
3809 (fma_test_upward): Likewise.
3811 2012-11-05 Joseph Myers <joseph@codesourcery.com>
3814 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
3818 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
3819 namespace for names of struct fields.
3820 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
3822 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3823 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
3825 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3828 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
3830 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3832 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
3836 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
3839 2012-11-04 Joseph Myers <joseph@codesourcery.com>
3842 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
3843 definitely overflow as x * y not x * y + z.
3844 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3845 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3846 * math/libm-test.inc (fma_test): Add more tests.
3847 (fma_test_towardzero): Likewise.
3848 (fma_test_downward): Likewise.
3849 (fma_test_upward): Likewise.
3851 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3855 * include/stub-tag.h: Remove file.
3856 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
3858 * manual/maint.texi (Porting): Don't reference it.
3859 * Makerules ($(objpfx)stubs): Likewise.
3860 * dirent/closedir.c: Don't include <stub-tag.h>.
3861 * dirent/dirfd.c: Likewise.
3862 * dirent/fdopendir.c: Likewise.
3863 * dirent/getdents.c: Likewise.
3864 * dirent/getdents64.c: Likewise.
3865 * dirent/opendir.c: Likewise.
3866 * dirent/readdir.c: Likewise.
3867 * dirent/readdir64.c: Likewise.
3868 * dirent/readdir64_r.c: Likewise.
3869 * dirent/readdir_r.c: Likewise.
3870 * dirent/rewinddir.c: Likewise.
3871 * dirent/seekdir.c: Likewise.
3872 * dirent/telldir.c: Likewise.
3873 * gmon/profil.c: Likewise.
3874 * grp/setgroups.c: Likewise.
3875 * inet/if_index.c: Likewise.
3876 * io/access.c: Likewise.
3877 * io/chdir.c: Likewise.
3878 * io/chmod.c: Likewise.
3879 * io/chown.c: Likewise.
3880 * io/close.c: Likewise.
3881 * io/dup.c: Likewise.
3882 * io/dup2.c: Likewise.
3883 * io/dup3.c: Likewise.
3884 * io/euidaccess.c: Likewise.
3885 * io/faccessat.c: Likewise.
3886 * io/fchdir.c: Likewise.
3887 * io/fchmod.c: Likewise.
3888 * io/fchmodat.c: Likewise.
3889 * io/fchown.c: Likewise.
3890 * io/fchownat.c: Likewise.
3891 * io/fcntl.c: Likewise.
3892 * io/flock.c: Likewise.
3893 * io/fstatfs.c: Likewise.
3894 * io/fstatfs64.c: Likewise.
3895 * io/fstatvfs.c: Likewise.
3896 * io/fstatvfs64.c: Likewise.
3897 * io/futimens.c: Likewise.
3898 * io/fxstat.c: Likewise.
3899 * io/fxstat64.c: Likewise.
3900 * io/fxstatat.c: Likewise.
3901 * io/fxstatat64.c: Likewise.
3902 * io/getcwd.c: Likewise.
3903 * io/isatty.c: Likewise.
3904 * io/lchmod.c: Likewise.
3905 * io/lchown.c: Likewise.
3906 * io/link.c: Likewise.
3907 * io/linkat.c: Likewise.
3908 * io/lseek.c: Likewise.
3909 * io/lseek64.c: Likewise.
3910 * io/lxstat64.c: Likewise.
3911 * io/mkdir.c: Likewise.
3912 * io/mkdirat.c: Likewise.
3913 * io/mkfifo.c: Likewise.
3914 * io/mkfifoat.c: Likewise.
3915 * io/open.c: Likewise.
3916 * io/open64.c: Likewise.
3917 * io/openat.c: Likewise.
3918 * io/openat64.c: Likewise.
3919 * io/pipe.c: Likewise.
3920 * io/pipe2.c: Likewise.
3921 * io/poll.c: Likewise.
3922 * io/posix_fadvise.c: Likewise.
3923 * io/posix_fadvise64.c: Likewise.
3924 * io/posix_fallocate.c: Likewise.
3925 * io/posix_fallocate64.c: Likewise.
3926 * io/read.c: Likewise.
3927 * io/readlink.c: Likewise.
3928 * io/readlinkat.c: Likewise.
3929 * io/rmdir.c: Likewise.
3930 * io/sendfile.c: Likewise.
3931 * io/sendfile64.c: Likewise.
3932 * io/statfs.c: Likewise.
3933 * io/statfs64.c: Likewise.
3934 * io/statvfs.c: Likewise.
3935 * io/statvfs64.c: Likewise.
3936 * io/symlink.c: Likewise.
3937 * io/symlinkat.c: Likewise.
3938 * io/ttyname.c: Likewise.
3939 * io/ttyname_r.c: Likewise.
3940 * io/umask.c: Likewise.
3941 * io/unlink.c: Likewise.
3942 * io/unlinkat.c: Likewise.
3943 * io/utime.c: Likewise.
3944 * io/utimensat.c: Likewise.
3945 * io/write.c: Likewise.
3946 * io/xmknod.c: Likewise.
3947 * io/xmknodat.c: Likewise.
3948 * io/xstat.c: Likewise.
3949 * io/xstat64.c: Likewise.
3950 * login/getpt.c: Likewise.
3951 * login/grantpt.c: Likewise.
3952 * login/unlockpt.c: Likewise.
3953 * math/e_acoshl.c: Likewise.
3954 * math/e_acosl.c: Likewise.
3955 * math/e_asinl.c: Likewise.
3956 * math/e_atan2l.c: Likewise.
3957 * math/e_atanhl.c: Likewise.
3958 * math/e_coshl.c: Likewise.
3959 * math/e_expl.c: Likewise.
3960 * math/e_fmodl.c: Likewise.
3961 * math/e_gammal_r.c: Likewise.
3962 * math/e_hypotl.c: Likewise.
3963 * math/e_j0l.c: Likewise.
3964 * math/e_j1l.c: Likewise.
3965 * math/e_jnl.c: Likewise.
3966 * math/e_lgammal_r.c: Likewise.
3967 * math/e_log10l.c: Likewise.
3968 * math/e_log2l.c: Likewise.
3969 * math/e_logl.c: Likewise.
3970 * math/e_powl.c: Likewise.
3971 * math/e_rem_pio2l.c: Likewise.
3972 * math/e_sinhl.c: Likewise.
3973 * math/e_sqrtl.c: Likewise.
3974 * math/fclrexcpt.c: Likewise.
3975 * math/fedisblxcpt.c: Likewise.
3976 * math/feenablxcpt.c: Likewise.
3977 * math/fegetenv.c: Likewise.
3978 * math/fegetexcept.c: Likewise.
3979 * math/fegetround.c: Likewise.
3980 * math/feholdexcpt.c: Likewise.
3981 * math/fesetenv.c: Likewise.
3982 * math/fesetround.c: Likewise.
3983 * math/feupdateenv.c: Likewise.
3984 * math/fgetexcptflg.c: Likewise.
3985 * math/fraiseexcpt.c: Likewise.
3986 * math/fsetexcptflg.c: Likewise.
3987 * math/ftestexcept.c: Likewise.
3988 * math/k_cosl.c: Likewise.
3989 * math/k_rem_pio2l.c: Likewise.
3990 * math/k_sinl.c: Likewise.
3991 * math/k_tanl.c: Likewise.
3992 * math/s_asinhl.c: Likewise.
3993 * math/s_atanl.c: Likewise.
3994 * math/s_cbrtl.c: Likewise.
3995 * math/s_erfl.c: Likewise.
3996 * math/s_expm1l.c: Likewise.
3997 * math/s_log1pl.c: Likewise.
3998 * math/s_tanhl.c: Likewise.
3999 * misc/acct.c: Likewise.
4000 * misc/brk.c: Likewise.
4001 * misc/chflags.c: Likewise.
4002 * misc/chroot.c: Likewise.
4003 * misc/fchflags.c: Likewise.
4004 * misc/fgetxattr.c: Likewise.
4005 * misc/flistxattr.c: Likewise.
4006 * misc/fremovexattr.c: Likewise.
4007 * misc/fsetxattr.c: Likewise.
4008 * misc/fsync.c: Likewise.
4009 * misc/ftruncate.c: Likewise.
4010 * misc/futimes.c: Likewise.
4011 * misc/futimesat.c: Likewise.
4012 * misc/getdomain.c: Likewise.
4013 * misc/getdtsz.c: Likewise.
4014 * misc/gethostid.c: Likewise.
4015 * misc/gethostname.c: Likewise.
4016 * misc/getloadavg.c: Likewise.
4017 * misc/getpagesize.c: Likewise.
4018 * misc/getsysstats.c: Likewise.
4019 * misc/getxattr.c: Likewise.
4020 * misc/gtty.c: Likewise.
4021 * misc/ioctl.c: Likewise.
4022 * misc/lgetxattr.c: Likewise.
4023 * misc/listxattr.c: Likewise.
4024 * misc/llistxattr.c: Likewise.
4025 * misc/lremovexattr.c: Likewise.
4026 * misc/lsetxattr.c: Likewise.
4027 * misc/lutimes.c: Likewise.
4028 * misc/madvise.c: Likewise.
4029 * misc/mincore.c: Likewise.
4030 * misc/mlock.c: Likewise.
4031 * misc/mlockall.c: Likewise.
4032 * misc/mmap.c: Likewise.
4033 * misc/mprotect.c: Likewise.
4034 * misc/msync.c: Likewise.
4035 * misc/munlock.c: Likewise.
4036 * misc/munlockall.c: Likewise.
4037 * misc/munmap.c: Likewise.
4038 * misc/preadv.c: Likewise.
4039 * misc/preadv64.c: Likewise.
4040 * misc/ptrace.c: Likewise.
4041 * misc/pwritev.c: Likewise.
4042 * misc/pwritev64.c: Likewise.
4043 * misc/readv.c: Likewise.
4044 * misc/reboot.c: Likewise.
4045 * misc/remap_file_pages.c: Likewise.
4046 * misc/removexattr.c: Likewise.
4047 * misc/revoke.c: Likewise.
4048 * misc/select.c: Likewise.
4049 * misc/setdomain.c: Likewise.
4050 * misc/setegid.c: Likewise.
4051 * misc/seteuid.c: Likewise.
4052 * misc/sethostid.c: Likewise.
4053 * misc/sethostname.c: Likewise.
4054 * misc/setregid.c: Likewise.
4055 * misc/setreuid.c: Likewise.
4056 * misc/setxattr.c: Likewise.
4057 * misc/sstk.c: Likewise.
4058 * misc/stty.c: Likewise.
4059 * misc/swapoff.c: Likewise.
4060 * misc/swapon.c: Likewise.
4061 * misc/sync.c: Likewise.
4062 * misc/syncfs.c: Likewise.
4063 * misc/syscall.c: Likewise.
4064 * misc/truncate.c: Likewise.
4065 * misc/ualarm.c: Likewise.
4066 * misc/usleep.c: Likewise.
4067 * misc/ustat.c: Likewise.
4068 * misc/utimes.c: Likewise.
4069 * misc/vhangup.c: Likewise.
4070 * misc/writev.c: Likewise.
4071 * posix/_exit.c: Likewise.
4072 * posix/alarm.c: Likewise.
4073 * posix/execve.c: Likewise.
4074 * posix/fexecve.c: Likewise.
4075 * posix/fork.c: Likewise.
4076 * posix/fpathconf.c: Likewise.
4077 * posix/getaddrinfo.c: Likewise.
4078 * posix/getegid.c: Likewise.
4079 * posix/geteuid.c: Likewise.
4080 * posix/getgid.c: Likewise.
4081 * posix/getgroups.c: Likewise.
4082 * posix/getlogin.c: Likewise.
4083 * posix/getlogin_r.c: Likewise.
4084 * posix/getpgid.c: Likewise.
4085 * posix/getpid.c: Likewise.
4086 * posix/getppid.c: Likewise.
4087 * posix/getresgid.c: Likewise.
4088 * posix/getresuid.c: Likewise.
4089 * posix/getsid.c: Likewise.
4090 * posix/getuid.c: Likewise.
4091 * posix/glob64.c: Likewise.
4092 * posix/nanosleep.c: Likewise.
4093 * posix/pathconf.c: Likewise.
4094 * posix/pause.c: Likewise.
4095 * posix/posix_madvise.c: Likewise.
4096 * posix/pread.c: Likewise.
4097 * posix/pread64.c: Likewise.
4098 * posix/pwrite.c: Likewise.
4099 * posix/pwrite64.c: Likewise.
4100 * posix/sched_getaffinity.c: Likewise.
4101 * posix/sched_getp.c: Likewise.
4102 * posix/sched_gets.c: Likewise.
4103 * posix/sched_primax.c: Likewise.
4104 * posix/sched_primin.c: Likewise.
4105 * posix/sched_rr_gi.c: Likewise.
4106 * posix/sched_setaffinity.c: Likewise.
4107 * posix/sched_setp.c: Likewise.
4108 * posix/sched_sets.c: Likewise.
4109 * posix/sched_yield.c: Likewise.
4110 * posix/setgid.c: Likewise.
4111 * posix/setlogin.c: Likewise.
4112 * posix/setpgid.c: Likewise.
4113 * posix/setresgid.c: Likewise.
4114 * posix/setresuid.c: Likewise.
4115 * posix/setsid.c: Likewise.
4116 * posix/setuid.c: Likewise.
4117 * posix/sleep.c: Likewise.
4118 * posix/spawni.c: Likewise.
4119 * posix/sysconf.c: Likewise.
4120 * posix/times.c: Likewise.
4121 * posix/wait.c: Likewise.
4122 * posix/wait3.c: Likewise.
4123 * posix/wait4.c: Likewise.
4124 * posix/waitpid.c: Likewise.
4125 * resolv/gai_sigqueue.c: Likewise.
4126 * resource/getpriority.c: Likewise.
4127 * resource/getrlimit.c: Likewise.
4128 * resource/getrusage.c: Likewise.
4129 * resource/nice.c: Likewise.
4130 * resource/setpriority.c: Likewise.
4131 * resource/setrlimit.c: Likewise.
4132 * resource/ulimit.c: Likewise.
4133 * rt/aio_cancel.c: Likewise.
4134 * rt/aio_fsync.c: Likewise.
4135 * rt/aio_read.c: Likewise.
4136 * rt/aio_sigqueue.c: Likewise.
4137 * rt/aio_suspend.c: Likewise.
4138 * rt/aio_write.c: Likewise.
4139 * rt/clock_getres.c: Likewise.
4140 * rt/clock_gettime.c: Likewise.
4141 * rt/clock_nanosleep.c: Likewise.
4142 * rt/clock_settime.c: Likewise.
4143 * rt/lio_listio.c: Likewise.
4144 * rt/mq_close.c: Likewise.
4145 * rt/mq_getattr.c: Likewise.
4146 * rt/mq_notify.c: Likewise.
4147 * rt/mq_open.c: Likewise.
4148 * rt/mq_receive.c: Likewise.
4149 * rt/mq_send.c: Likewise.
4150 * rt/mq_setattr.c: Likewise.
4151 * rt/mq_timedreceive.c: Likewise.
4152 * rt/mq_timedsend.c: Likewise.
4153 * rt/mq_unlink.c: Likewise.
4154 * rt/shm_open.c: Likewise.
4155 * rt/shm_unlink.c: Likewise.
4156 * rt/timer_create.c: Likewise.
4157 * rt/timer_delete.c: Likewise.
4158 * rt/timer_getoverr.c: Likewise.
4159 * rt/timer_gettime.c: Likewise.
4160 * rt/timer_settime.c: Likewise.
4161 * setjmp/__longjmp.c: Likewise.
4162 * setjmp/setjmp.c: Likewise.
4163 * signal/kill.c: Likewise.
4164 * signal/killpg.c: Likewise.
4165 * signal/raise.c: Likewise.
4166 * signal/sigaction.c: Likewise.
4167 * signal/sigaltstack.c: Likewise.
4168 * signal/sigblock.c: Likewise.
4169 * signal/sigignore.c: Likewise.
4170 * signal/sigintr.c: Likewise.
4171 * signal/signal.c: Likewise.
4172 * signal/sigpause.c: Likewise.
4173 * signal/sigpending.c: Likewise.
4174 * signal/sigqueue.c: Likewise.
4175 * signal/sigreturn.c: Likewise.
4176 * signal/sigset.c: Likewise.
4177 * signal/sigsetmask.c: Likewise.
4178 * signal/sigstack.c: Likewise.
4179 * signal/sigsuspend.c: Likewise.
4180 * signal/sigtimedwait.c: Likewise.
4181 * signal/sigvec.c: Likewise.
4182 * signal/sigwait.c: Likewise.
4183 * signal/sigwaitinfo.c: Likewise.
4184 * signal/sysv_signal.c: Likewise.
4185 * socket/accept.c: Likewise.
4186 * socket/accept4.c: Likewise.
4187 * socket/bind.c: Likewise.
4188 * socket/connect.c: Likewise.
4189 * socket/getpeername.c: Likewise.
4190 * socket/getsockname.c: Likewise.
4191 * socket/getsockopt.c: Likewise.
4192 * socket/isfdtype.c: Likewise.
4193 * socket/listen.c: Likewise.
4194 * socket/recv.c: Likewise.
4195 * socket/recvfrom.c: Likewise.
4196 * socket/recvmsg.c: Likewise.
4197 * socket/send.c: Likewise.
4198 * socket/sendmsg.c: Likewise.
4199 * socket/sendto.c: Likewise.
4200 * socket/setsockopt.c: Likewise.
4201 * socket/shutdown.c: Likewise.
4202 * socket/sockatmark.c: Likewise.
4203 * socket/socket.c: Likewise.
4204 * socket/socketpair.c: Likewise.
4205 * stdio-common/ctermid.c: Likewise.
4206 * stdio-common/cuserid.c: Likewise.
4207 * stdio-common/remove.c: Likewise.
4208 * stdio-common/rename.c: Likewise.
4209 * stdio-common/renameat.c: Likewise.
4210 * stdio-common/tempname.c: Likewise.
4211 * stdlib/getcontext.c: Likewise.
4212 * stdlib/makecontext.c: Likewise.
4213 * stdlib/setcontext.c: Likewise.
4214 * stdlib/swapcontext.c: Likewise.
4215 * stdlib/system.c: Likewise.
4216 * streams/fattach.c: Likewise.
4217 * streams/fdetach.c: Likewise.
4218 * streams/getmsg.c: Likewise.
4219 * streams/getpmsg.c: Likewise.
4220 * streams/putmsg.c: Likewise.
4221 * streams/putpmsg.c: Likewise.
4222 * sysdeps/unix/bsd/getpt.c: Likewise.
4223 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
4224 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
4225 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
4228 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
4229 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
4230 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4231 * sysvipc/msgctl.c: Likewise.
4232 * sysvipc/msgget.c: Likewise.
4233 * sysvipc/msgrcv.c: Likewise.
4234 * sysvipc/msgsnd.c: Likewise.
4235 * sysvipc/semctl.c: Likewise.
4236 * sysvipc/semget.c: Likewise.
4237 * sysvipc/semop.c: Likewise.
4238 * sysvipc/semtimedop.c: Likewise.
4239 * sysvipc/shmat.c: Likewise.
4240 * sysvipc/shmctl.c: Likewise.
4241 * sysvipc/shmdt.c: Likewise.
4242 * sysvipc/shmget.c: Likewise.
4243 * termios/tcdrain.c: Likewise.
4244 * termios/tcflow.c: Likewise.
4245 * termios/tcflush.c: Likewise.
4246 * termios/tcgetattr.c: Likewise.
4247 * termios/tcgetpgrp.c: Likewise.
4248 * termios/tcsendbrk.c: Likewise.
4249 * termios/tcsetattr.c: Likewise.
4250 * termios/tcsetpgrp.c: Likewise.
4251 * time/adjtime.c: Likewise.
4252 * time/clock.c: Likewise.
4253 * time/getitimer.c: Likewise.
4254 * time/gettimeofday.c: Likewise.
4255 * time/setitimer.c: Likewise.
4256 * time/settimeofday.c: Likewise.
4257 * time/stime.c: Likewise.
4258 * time/time.c: Likewise.
4260 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
4262 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
4265 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
4267 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
4269 2012-11-03 Joseph Myers <joseph@codesourcery.com>
4272 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
4273 FE_TONEAREST before applying Dekker multiplication and Knuth
4274 addition. Clear inexact exceptions and check for exact zero
4276 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4277 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4278 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4279 * math/libm-test.inc (fma_test): Add more tests.
4280 (fma_test_towardzero): Likewise.
4281 (fma_test_downward): Likewise.
4282 (fma_test_upward): Likewise.
4283 * sysdeps/generic/math_private.h (default_libc_fesetround): New
4285 (libc_fesetround): New macro.
4286 (libc_fesetroundf): Likewise.
4287 (libc_fesetroundl): Likewise.
4288 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
4290 (libc_fesetround_387): Likewise.
4291 (libc_fesetroundf): New macro.
4292 (libc_fesetround): Likewise.
4293 (libc_fesetroundl): Likewise.
4294 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
4296 (libc_fesetroundf): New macro.
4297 (libc_fesetround): Likewise.
4298 (libc_fesetroundl): Likewise.
4299 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
4300 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
4301 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
4303 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
4304 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
4306 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
4307 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
4309 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
4313 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
4314 integer constant usable in #if and use that to give value to enum
4316 (FE_DIVBYZERO): Likewise.
4317 (FE_UNDERFLOW): Likewise.
4318 (FE_OVERFLOW): Likewise.
4319 (FE_INVALID): Likewise.
4320 (FE_INVALID_SNAN): Likewise.
4321 (FE_INVALID_ISI): Likewise.
4322 (FE_INVALID_IDI): Likewise.
4323 (FE_INVALID_ZDZ): Likewise.
4324 (FE_INVALID_IMZ): Likewise.
4325 (FE_INVALID_COMPARE): Likewise.
4326 (FE_INVALID_SOFTWARE): Likewise.
4327 (FE_INVALID_SQRT): Likewise.
4328 (FE_INVALID_INTEGER_CONVERSION): Likewise.
4329 (FE_TONEAREST): Likewise.
4330 (FE_TOWARDZERO): Likewise.
4331 (FE_UPWARD): Likewise.
4332 (FE_DOWNWARD): Likewise.
4333 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
4334 (FE_DIVBYZERO): Likewise.
4335 (FE_OVERFLOW): Likewise.
4336 (FE_UNDERFLOW): Likewise.
4337 (FE_INEXACT): Likewise.
4338 (FE_TONEAREST): Likewise.
4339 (FE_DOWNWARD): Likewise.
4340 (FE_UPWARD): Likewise.
4341 (FE_TOWARDZERO): Likewise.
4342 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
4343 (FE_UNDERFLOW): Likewise.
4344 (FE_OVERFLOW): Likewise.
4345 (FE_DIVBYZERO): Likewise.
4346 (FE_INVALID): Likewise.
4347 (FE_TONEAREST): Likewise.
4348 (FE_TOWARDZERO): Likewise.
4349 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
4350 (FE_OVERFLOW): Likewise.
4351 (FE_UNDERFLOW): Likewise.
4352 (FE_DIVBYZERO): Likewise.
4353 (FE_INEXACT): Likewise.
4354 (FE_TONEAREST): Likewise.
4355 (FE_TOWARDZERO): Likewise.
4356 (FE_UPWARD): Likewise.
4357 (FE_DOWNWARD): Likewise.
4358 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
4359 (FE_DIVBYZERO): Likewise.
4360 (FE_OVERFLOW): Likewise.
4361 (FE_UNDERFLOW): Likewise.
4362 (FE_INEXACT): Likewise.
4363 (FE_TONEAREST): Likewise.
4364 (FE_DOWNWARD): Likewise.
4365 (FE_UPWARD): Likewise.
4366 (FE_TOWARDZERO): Likewise.
4368 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
4370 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
4372 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
4374 * scripts/cross-test-ssh.sh (command): Use newlines to separate
4375 commands. Quote $PWD.
4376 (blacklist_exports): Don't use remove_newlines. Replace "declare
4378 (remove_newlines): Remove.
4380 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
4382 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
4383 * stdlib/stdlib.h (atof): Moved to ...
4384 * include/bits/stdlib-float.h: Here. New file.
4385 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
4386 * stdlib/bits/stdlib-float.h: New file.
4387 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
4389 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
4392 2012-11-02 Joseph Myers <joseph@codesourcery.com>
4394 * conform/conformtest.pl (@headers): Add fenv.h.
4395 * conform/data/fenv.h-data: New file.
4396 * include/fenv.h [_ISOMAC]: Disable all contents of file except
4397 include of <math/fenv.h>.
4399 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
4400 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
4401 && !UNIX98]. Enables tests for XOPEN2K8.
4402 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
4403 POSIX2008]: Likewise.
4405 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
4406 (struct rusage): Do not expect type or its members.
4409 * math/math.h (FP_NAN): Define macro to integer constant usable in
4410 #if and use that to give value to enum constant.
4411 (FP_INFINITE): Likewise.
4412 (FP_ZERO): Likewise.
4413 (FP_SUBNORMAL): Likewise.
4414 (FP_NORMAL): Likewise.
4416 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
4418 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
4419 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
4422 2012-11-02 Roland McGrath <roland@hack.frob.com>
4424 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
4425 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
4426 autoconf-time if not.
4427 * configure.in: Remove AC_PREREQ.
4429 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4431 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
4432 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
4433 of the internal implementation.
4435 2012-11-02 Joseph Myers <joseph@codesourcery.com>
4437 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
4438 except include of <misc/sys/syslog.h>.
4440 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
4443 function returns with a NULL context exit with zero.
4445 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4447 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
4449 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
4451 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
4452 (run_program_cmd): This.
4453 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
4454 (tst_langinfo): New variable. Use it.
4456 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
4458 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
4459 floating point opcodes.
4461 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4463 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
4466 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
4468 * sysdeps/mach/hurd/powerpc: Remove directory.
4469 * sysdeps/mach/powerpc: Likewise.
4471 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4473 * scripts/check-local-headers.sh: Ignore c++ headers.
4475 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4477 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
4478 __libc_cleanup_region_start argument.
4480 2012-11-01 Joseph Myers <joseph@codesourcery.com>
4484 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
4485 x * y using scaling, not as x * y + z.
4486 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4487 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4488 * math/libm-test.inc (fma_test): Add more tests.
4489 (fma_test_towardzero): Likewise.
4490 (fma_test_downward): Likewise.
4491 (fma_test_upward): Likewise.
4493 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4495 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
4497 2012-10-31 Joseph Myers <joseph@codesourcery.com>
4499 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
4502 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
4504 * rt/tst-shm.c (worker): Correct checking for mmap failure.
4506 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4513 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4516 Fix the order of the list for glibc 2.17.
4517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4520 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4522 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4524 2012-10-31 Joseph Myers <joseph@codesourcery.com>
4527 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
4528 for low part of x being zero before using __atanl (y).
4529 * math/libm-test.inc (atan2_test): Add another test.
4531 * manual/install.texi (Configuring and compiling): Document
4532 general use of test-wrapper and test-wrapper-env.
4533 * INSTALL: Regenerated.
4535 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
4536 (__fma): Do not extract and scale down low bits on after-rounding
4537 systems when result rounded to normal precision would have normal
4539 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
4540 (__fmal): Do not extract and scale down low bits on after-rounding
4541 systems when result rounded to normal precision would have normal
4543 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
4544 (__fmal): Do not extract and scale down low bits on after-rounding
4545 systems when result rounded to normal precision would have normal
4547 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
4549 (fma_test): Add more tests.
4550 (fma_test_towardzero): Likewise.
4551 (fma_test_downward): Likewise.
4552 (fma_test_upward): Likewise.
4554 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
4556 * sysdeps/i386/tininess.h: Renamed to ...
4557 * sysdeps/x86/tininess.h: This.
4558 * sysdeps/x86_64/tininess.h: Removed.
4560 2012-10-30 Joseph Myers <joseph@codesourcery.com>
4562 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
4563 input. Use $(build-program-cmd).
4564 ($(objpfx)tst-array1-static.out): Likewise.
4565 ($(objpfx)tst-array2.out): Likewise.
4566 ($(objpfx)tst-array3.out): Likewise.
4567 ($(objpfx)tst-array4.out): Likewise.
4568 ($(objpfx)tst-array5.out): Likewise.
4569 ($(objpfx)tst-array5-static.out): Likewise.
4571 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
4573 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
4576 * nss/nsswitch.h (nss_interface_function): Provide new
4577 macro for use with NSS functions.
4578 * grp/initgroups.c: Use new macro.
4579 * nss/getXXbyYY.c: Likewise.
4580 * nss/getXXbyYY_r.c: Likewise.
4581 * nss/getXXent.c: Likewise.
4582 * nss/getXXent_r.c: Likewise.
4583 * sysdeps/posix/getaddrinfo.c: Likewise.
4585 2012-10-30 Andreas Jaeger <aj@suse.de>
4587 * po/ru.po: Update Russion translation from translation project.
4589 2012-10-30 Joseph Myers <joseph@codesourcery.com>
4593 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
4594 result and shift together with sticky bit instead of replicating
4595 round-to-nearest rounding.
4596 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4597 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4598 * math/libm-test.inc (fma_test): Add more tests. Do not permit
4599 missing underflow exceptions.
4600 (fma_test_towardzero): Add more tests.
4601 (fma_test_downward): Likewise.
4602 (fma_test_upward): Likewise.
4605 * sysdeps/generic/tininess.h: New file.
4606 * sysdeps/i386/tininess.h: Likewise.
4607 * sysdeps/sh/tininess.h: Likewise.
4608 * sysdeps/x86_64/tininess.h: Likewise.
4609 * stdlib/tst-strtod-underflow.c: Likewise.
4610 * stdlib/tst-tininess.c: Likewise.
4611 * stdlib/strtod_l.c: Include <tininess.h>.
4612 (round_and_return): Do not set errno for exact underflow cases.
4613 Force an underflow exception when setting errno for underflow.
4614 Determine underflow based on rounding to normal precision if
4615 TININESS_AFTER_ROUNDING.
4616 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
4617 ERANGE for exact underflow cases.
4618 * stdlib/Makefile (tests): Add tst-tininess and
4619 tst-strtod-underflow.
4620 ($(objpfx)tst-tininess): Use $(link-libm).
4621 ($(objpfx)tst-strtod-underflow): Likewise.
4623 2012-10-30 Andreas Jaeger <aj@suse.de>
4626 * elf/Makefile (tests): Remove conditional for have-initfini-array
4627 since this is now always required and the variable does not exist
4629 (tests-static): Likewise.
4630 (modules-names): Likewise.
4632 * po/eo.po: Add Esperanto translation from translation project.
4634 * elf/tst-array1.c (fini_array): Make writeable so that it can be
4635 merged with constructor/destructor.
4636 (init_array): Likewise.
4637 * elf/tst-array2dep.c (fini_array): Likewise.
4638 (init_array): Likewise.
4640 2012-10-29 Mike Frysinger <vapier@gentoo.org>
4642 * manual/message.texi: Delete @cartouche tags.
4644 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
4646 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
4648 * sysdeps/mach/hurd/fsync.c: Likewise.
4650 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
4651 [_POSIX_REALTIME_SIGNALS]: Change condition to
4652 [_POSIX_REALTIME_SIGNALS > 0].
4654 2012-10-27 Andreas Jaeger <aj@suse.de>
4656 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
4657 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
4658 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
4659 [__WORDSIZE != 64]: Likewise.
4661 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
4663 * iconvdata/tst-table.sh: Remove ${SHELL}.
4664 * iconvdata/tst-tables.sh: Likewise.
4666 2012-10-25 David S. Miller <davem@davemloft.net>
4668 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4669 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
4672 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
4674 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4675 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
4676 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
4679 2012-10-25 Roland McGrath <roland@hack.frob.com>
4681 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4682 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
4685 2012-10-25 Joseph Myers <joseph@codesourcery.com>
4686 Jim Blandy <jimb@codesourcery.com>
4688 * scripts/cross-test-ssh.sh: New file.
4689 * manual/install.texi (Configuring and compiling): Document use of
4691 * INSTALL: Regenerated.
4693 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
4695 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
4698 2012-10-25 Joseph Myers <joseph@codesourcery.com>
4700 * Makeconfig (run-program-prefix): Fix comment.
4702 2012-10-24 Joseph Myers <joseph@codesourcery.com>
4703 Jim Blandy <jimb@codesourcery.com>
4705 * Makeconfig (test-wrapper): New variable,
4706 (test-wrapper-env): Likewise.
4707 [$(cross-compiling) = yes && $(test-wrapper) != ""]
4708 (run-built-tests): Define to yes.
4709 (run-program-prefix): Use $(test-wrapper).
4710 (built-program-cmd): Likewise.
4711 * Rules (make-test-out): Use $(test-wrapper-env) and
4712 $(host-built-program-cmd).
4713 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
4714 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
4716 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
4717 $(test-wrapper-env) to tst-rtld-load-self.sh.
4718 ($(objpfx)order2.out): Use $(test-wrapper).
4719 ($(objpfx)tst-initorder.out): Likewise.
4720 ($(objpfx)tst-initorder2.out): Likewise.
4721 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
4722 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
4723 (test_wrapper_env): New variable. Use it to run ld.so.
4724 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
4725 Use it to run ld.so.
4726 (test_wrapper_env): Likewise.
4727 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
4728 $(test-wrapper) to run-iconv-test.sh.
4729 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
4730 (ICONV): Use $test_wrapper.
4731 * posix/Makefile ($(objpfx)globtest.out): Pass
4732 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
4733 globtest.sh, not $(run-program-prefix).
4734 * posix/globtest.sh (run_via_rtld_prefix): New variable.
4735 (test_wrapper): Likewise.
4736 (test_wrapper_env): Likewise. Use it to run globtest with HOME
4737 set together with run_via_rtld_prefix.
4738 (run_program_prefix): Define in terms of test_wrapper and
4739 run_via_rtld_prefix.
4741 2012-10-24 Roland McGrath <roland@hack.frob.com>
4743 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
4744 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
4748 * include/time.h: Remove librt_hidden_proto (clock_gettime).
4749 Declare __clock_getres, __clock_gettime, __clock_settime,
4750 __clock_nanosleep, and __clock_getcpuclockid.
4751 * rt/clock_gettime.c: Define __clock_gettime as an alias.
4752 Remove librt_hidden_def (clock_gettime).
4753 * sysdeps/unix/clock_gettime.c: Likewise.
4754 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
4755 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4756 * rt/clock_getres.c: Define __clock_getres as an alias.
4757 * sysdeps/posix/clock_getres.c: Likewise.
4758 * rt/clock_settime.c: Define __clock_settime as an alias.
4759 * sysdeps/unix/clock_settime.c: Likewise.
4760 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
4761 * sysdeps/unix/clock_nanosleep.c: Likewise.
4762 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4763 * rt/clock-compat.c: New file.
4764 * rt/Makefile (librt-routines): Add clock-compat and move
4765 $(clock-routines) to ...
4766 (routines): ... here, new variable.
4767 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
4768 Don't add get_clockfreq here.
4769 * rt/Versions (libc: GLIBC_2.17): New version set.
4770 Add clock_* symbols here.
4771 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
4772 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
4773 (GLIBC_2.17): Add clock_* symbols.
4774 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
4775 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
4776 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4782 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
4783 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
4784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
4785 * NEWS: Mention the move.
4787 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4788 Use __open, __read, __close rather than their public counterparts.
4789 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4790 (__get_clockfreq_via_cpuinfo): Likewise.
4791 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
4792 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
4794 * config.h.in (HAVE_IFUNC): New #undef.
4795 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
4797 * configure: Regenerated.
4799 2012-10-24 Mike Frysinger <vapier@gentoo.org>
4801 * configure.in: Move READELF check to start of file.
4802 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
4803 libc_cv_asm_gnu_indirect_function in the process.
4804 * configure: Regenerated.
4806 2012-10-24 Mike Frysinger <vapier@gentoo.org>
4808 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
4809 send the output to /dev/null.
4810 (libc_cv_cc_with_libunwind): Likewise.
4811 (libc_cv_as_noexecstack): Likewise.
4812 * configure: Regenerate.
4814 2012-10-24 Joseph Myers <joseph@codesourcery.com>
4816 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
4818 * posix/globtest.sh (TMPDIR): Do not set.
4819 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
4820 (testout): Likewise.
4822 2012-10-24 Andreas Jaeger <aj@suse.de>
4824 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
4825 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
4826 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
4827 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
4828 posix_fadvise64, posix_fallocate64.
4830 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
4831 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
4832 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
4834 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
4836 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
4838 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
4839 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
4840 <bits/fcntl-linux.h>.
4841 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
4843 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
4844 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
4845 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
4846 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
4847 [__WORDSIZE != 64]: Likewise.
4849 2012-10-23 Joseph Myers <joseph@codesourcery.com>
4851 * Makeconfig (run-built-tests): New variable.
4852 * Rules [$(cross-compiling) = yes]: Change condition to
4853 [$(run-built-tests) = no].
4854 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
4855 to [$(run-built-tests) = yes].
4856 * elf/Makefile [$(cross-compiling) = no]: Likewise
4857 * grp/Makefile [$(cross-compiling) = no]: Likewise.
4858 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
4859 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
4860 * intl/Makefile [$(cross-compiling) = no]: Likewise.
4861 * io/Makefile [$(cross-compiling) = no]: Likewise.
4862 * libio/Makefile [$(cross-compiling) = no]: Likewise.
4863 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
4864 * misc/Makefile [$(cross-compiling) = no]: Likewise.
4865 * posix/Makefile [$(cross-compiling) = no]: Likewise.
4866 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
4867 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
4868 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
4869 * string/Makefile [$(cross-compiling) = no]: Likewise.
4871 * posix/Makefile ($(objpfx)globtest.out): Pass
4872 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
4873 $(rtld-installed-name).
4874 * posix/globtest.sh (elf_objpfx): Remove variable.
4875 (rtld_installed_name): Likewise.
4876 (library_path): Likewise.
4877 (run_program_prefix): New variable. Use for running globtest
4880 2012-10-23 Jim Blandy <jimb@codesourcery.com>
4881 Joseph Myers <joseph@codesourcery.com>
4883 * Makeconfig (host-built-program-cmd): New variable.
4884 * elf/Makefile (tst-stackguard1-ARGS): Use
4885 $(host-built-program-cmd).
4886 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
4887 (tst-spawn-ARGS): Likewise.
4888 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
4890 2012-10-23 Joseph Myers <joseph@codesourcery.com>
4891 Jim Blandy <jimb@codesourcery.com>
4893 * Makeconfig (run-via-rtld-prefix): New variable.
4894 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
4895 (built-program-cmd): Likewise.
4897 2012-10-22 Andreas Jaeger <aj@suse.de>
4899 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
4900 __O_RSYNC if it exists, otherwise to O_SYNC.
4902 2012-10-22 Jim Blandy <jimb@codesourcery.com>
4903 Joseph Myers <joseph@codesourcery.com>
4905 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
4907 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
4909 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
4912 2012-10-22 Andreas Jaeger <aj@suse.de>
4914 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
4916 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
4918 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4921 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
4922 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
4924 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
4926 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
4929 2012-10-21 Jim Blandy <jimb@codesourcery.com>
4930 Joseph Myers <joseph@codesourcery.com>
4932 * config.make.in (NM): New variable.
4934 2012-10-21 Andreas Jaeger <aj@suse.de>
4936 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
4937 definitions and declarations that are provided by
4938 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4940 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4943 * elf/Makefile (tests-static): Add tst-leaks1-static.
4944 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
4945 ($(objpfx)tst-leaks1-static): New rule.
4946 ($(objpfx)tst-leaks1-static-mem): Likewise.
4947 (tst-leaks1-static-ENV): New macro.
4948 * elf/dl-open.c (dl_open_worker): Check the main application
4949 only if SHARED is defined.
4950 * elf/tst-leaks1-static.c: New file.
4952 2012-10-20 Andreas Jaeger <aj@suse.de>
4954 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
4955 generic values for Linux.
4956 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
4957 and declarations that are provided by <bits/fcntl-linux.h> and
4958 include <bits/fcntl-linux.h>.
4959 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4960 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
4962 2012-10-20 Roland McGrath <roland@hack.frob.com>
4964 * io/fcntl.h: Move include of <bits/types.h> to the top and
4965 include it unconditionally.
4967 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4969 * wcsmbs/Makefile (tests-ifunc): New variable.
4970 (tests): Add $(tests-ifunc).
4971 * wcsmbs/test-wcschr-ifunc.c: New file.
4972 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4973 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4974 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4975 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4976 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4978 * string/Makefile (tests-ifunc): New variable.
4979 (tests): Add $(tests-ifunc).
4980 * string/test-memccpy.c (TEST_NAME): New macro.
4981 * string/test-memchr.c (TEST_NAME): Likewise.
4982 * string/test-memcmp.c (TEST_NAME): Likewise.
4983 * string/test-memcpy.c (TEST_NAME): Likewise.
4984 * string/test-memmem.c (TEST_NAME): Likewise.
4985 * string/test-memmove.c (TEST_NAME): Likewise.
4986 * string/test-memset.c (TEST_NAME): Likewise.
4987 * string/test-rawmemchr.c (TEST_NAME): Likewise.
4988 * string/test-stpcpy.c (TEST_NAME): Likewise.
4989 * string/test-stpncpy.c (TEST_NAME): Likewise.
4990 * string/test-strcasecmp.c (TEST_NAME): Likewise.
4991 * string/test-strcasestr.c (TEST_NAME): Likewise.
4992 * string/test-strcat.c (TEST_NAME): Likewise.
4993 * string/test-strchr.c (TEST_NAME): Likewise.
4994 * string/test-strcmp.c(TEST_NAME): Likewise.
4995 * string/test-strcpy.c (TEST_NAME): Likewise.
4996 * string/test-strcspn.c (TEST_NAME): Likewise.
4997 * string/test-strlen.c (TEST_NAME): Likewise.
4998 * string/test-strncasecmp.c (TEST_NAME): Likewise.
4999 * string/test-strncmp.c (TEST_NAME): Likewise.
5000 * string/test-strncpy.c (TEST_NAME): Likewise.
5001 * string/test-strnlen.c (TEST_NAME): Likewise.
5002 * string/test-strpbrk.c (TEST_NAME): Likewise.
5003 * string/test-strrchr.c (TEST_NAME): Likewise.
5004 * string/test-strspn.c (TEST_NAME): Likewise.
5005 * string/test-strstr.c (TEST_NAME): Likewise.
5006 * string/test-bcopy-ifunc.c: New file.
5007 * string/test-bzero-ifunc.c: Likewise.
5008 * string/test-memccpy-ifunc.c: Likewise.
5009 * string/test-memchr-ifunc.c: Likewise.
5010 * string/test-memcmp-ifunc.c: Likewise.
5011 * string/test-memcpy-ifunc.c: Likewise.
5012 * string/test-memmem-ifunc.c: Likewise.
5013 * string/test-memmove-ifunc.c: Likewise.
5014 * string/test-mempcpy-ifunc.c: Likewise.
5015 * string/test-memset-ifunc.c: Likewise.
5016 * string/test-rawmemchr-ifunc.c: Likewise.
5017 * string/test-stpcpy-ifunc.c: Likewise.
5018 * string/test-stpncpy-ifunc.c: Likewise.
5019 * string/test-strcasecmp-ifunc.c: Likewise.
5020 * string/test-strcasestr-ifunc.c: Likewise.
5021 * string/test-strcat-ifunc.c: Likewise.
5022 * string/test-strchr-ifunc.c: Likewise.
5023 * string/test-strchrnul-ifunc.c: Likewise.
5024 * string/test-strcmp-ifunc.c: Likewise.
5025 * string/test-strcpy-ifunc.c: Likewise.
5026 * string/test-strcspn-ifunc.c: Likewise.
5027 * string/test-strlen-ifunc.c: Likewise.
5028 * string/test-strncasecmp-ifunc.c: Likewise.
5029 * string/test-strncat-ifunc.c: Likewise.
5030 * string/test-strncmp-ifunc.c: Likewise.
5031 * string/test-strncpy-ifunc.c: Likewise.
5032 * string/test-strnlen-ifunc.c: Likewise.
5033 * string/test-strpbrk-ifunc.c: Likewise.
5034 * string/test-strrchr-ifunc.c: Likewise.
5035 * string/test-strspn-ifunc.c: Likewise.
5036 * string/test-strstr-ifunc.c: Likewise.
5038 * debug/Makefile (tests-ifunc): New variable.
5039 (tests): Add $(tests-ifunc).
5040 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
5041 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
5042 * debug/test-stpcpy_chk-ifunc.c: New file.
5043 * debug/test-strcpy_chk-ifunc.c: Likewise.
5045 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5048 * elf/dl-load.c (open_verify): Retry read if the entire ELF
5049 header is not read in.
5051 2012-10-19 Joseph Myers <joseph@codesourcery.com>
5053 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
5054 script to $(SHELL) as $<. Pass $(common-objpfx) to script
5055 directly. Pass built executable to script as
5056 $(built-program-cmd).
5057 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
5058 $testprogram without using LD_LIBRARY_PATH and $ldso.
5060 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
5061 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
5062 $(rtld-installed-name).
5063 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
5064 (rtld_installed_name): Likewise.
5065 (library_path): Likewise.
5066 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
5067 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
5068 $(run-program-prefix) to tst-tables.sh.
5069 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
5070 it to run tst-table-from and tst-table-to.
5071 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
5072 Pass it to tst-table.sh.
5073 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
5074 $(run-program-prefix) to tst-gettext.sh.
5075 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
5077 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
5079 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
5081 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
5082 to run tst-gettext2.
5083 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
5084 to run tst-translit.
5085 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
5086 $(run-program-prefix) to tst-mtrace.sh.
5087 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
5089 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
5090 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
5091 $(rtld-installed-name).
5092 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
5093 (rtld_installed_name): Likewise.
5094 (run_program_prefix): New variable. Use it to run wordexp-test.
5096 * Makeconfig (ARCH): Remove all definitions.
5097 (machine): Likewise.
5098 [ARCH]: Remove conditional code.
5099 [!objdir]: Give error.
5100 [!objdir] (objpfx): Remove.
5101 [!objdir] (common-objpfx): Likewise.
5102 [!objdir] (common-objdir): Likewise.
5103 * configure.in (config_makefile): Remove. Hardcode Makefile in
5104 AC_CONFIG_FILES call.
5105 * configure: Regenerated.
5108 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
5110 (testout): Likewise.
5112 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
5113 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
5114 $(rtld-installed-name).
5115 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
5116 (rtld_installed_name): Likwise.
5117 (runit): Remove function.
5118 (run_getconf): New variable, Use it for running getconf binary.
5120 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
5123 * string/test-memmem.c (check_result): New function.
5124 (do_one_test): Use it.
5125 (check1): New function.
5126 (test_main): Use it.
5128 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
5130 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
5132 2012-10-18 Joseph Myers <joseph@codesourcery.com>
5134 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
5135 (_G_LSEEK64): Likewise.
5136 (_G_MMAP64): Likewise.
5137 (_G_FSTAT64): Likewise.
5138 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
5139 (_G_LSEEK64): Likewise.
5140 (_G_MMAP64): Likewise.
5141 (_G_FSTAT64): Likewise.
5142 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
5143 unconditional. Call __mmap64 directly.
5144 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
5145 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
5147 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
5148 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
5150 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
5151 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
5153 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
5154 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
5156 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
5157 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
5159 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
5160 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
5161 __fxstat64 directly.
5162 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
5163 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
5165 (freopen64) [!_G_OPEN64]: Remove conditional code.
5166 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
5168 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
5169 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
5171 (ftello64) [!_G_LSEEK64]: Remove conditional code.
5172 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
5174 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5175 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
5177 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
5178 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
5180 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5181 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
5183 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5184 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
5186 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5188 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5191 * manual/memory.texi (Malloc Tunable Parameters): Add note
5192 about free list pointers overwriting some perturb bytes.
5193 Wording suggested by Roland McGrath.
5195 2012-10-17 Joseph Myers <joseph@codesourcery.com>
5197 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
5198 (lgamma_test): Likewise.
5199 (tgamma_test): Likewise.
5201 2012-10-16 Florian Weimer <fweimer@redhat.com>
5204 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
5205 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
5207 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
5209 * NEWS: Mention BZ #14716.
5210 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
5211 when removing AVAILABLE1_USES_J macro.
5213 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
5215 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
5216 (__bswap_64): __uint64_t for unsigned 64-bit int.
5218 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
5220 * include/string.h (memmem): Declare libc hidden alias.
5221 * string/memmem.c (memmem): Define libc hidden alias.
5222 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
5223 __read, __close instead of open, read, close.
5225 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
5227 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
5228 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
5230 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
5231 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
5232 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
5234 (__rawmemchr_sse2): Likewise.
5235 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
5236 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
5237 (__strchr_sse2): Likewise.
5238 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
5239 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
5240 (__strcasecmp_sse2): Likewise.
5241 (__strncasecmp_sse2): Likewise.
5242 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
5243 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
5244 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
5245 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
5246 (__strrchr_sse2): Likewise.
5247 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
5249 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5250 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5251 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5252 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5253 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5254 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5255 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5256 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5257 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
5258 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
5259 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
5260 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
5261 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
5262 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5263 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5264 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5265 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5266 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5267 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
5268 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
5269 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
5270 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
5271 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
5272 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5273 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
5274 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5275 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5276 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5277 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5278 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5280 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
5282 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
5283 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
5284 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
5285 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
5287 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
5289 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
5290 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
5291 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
5292 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
5294 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5295 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5296 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5297 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5298 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5299 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5300 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5301 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5302 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5303 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5304 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5305 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5306 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5307 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
5308 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
5309 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5310 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
5311 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
5312 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5313 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5314 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5315 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5316 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5317 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5318 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5319 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
5320 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
5321 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
5322 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
5323 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5324 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
5325 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5326 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5327 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
5328 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5329 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5330 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5331 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5332 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5333 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5334 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
5336 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
5337 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
5338 * include/ifunc-impl-list.h: New file.
5339 * misc/ifunc-impl-list.c: Likewise.
5340 * misc/Makefile (routines): Add ifunc-impl-list.
5341 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
5342 * string/test-string.h: Include <ifunc-impl-list.h>.
5343 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
5344 impl_array): New variables.
5345 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
5347 (test_init): Call __libc_ifunc_impl_list to initialize
5348 func_list if TEST_IFUNC and TEST_NAME are defined.
5350 * string/Makefile (strop-tests): Add bcopy and bzero.
5351 * string/test-bcopy.c: New file.
5352 * string/test-bzero.c: Likewise.
5353 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
5355 * string/test-memset.c: Support bzero test if TEST_BZERO is
5357 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
5359 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
5361 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
5364 2012-10-10 Joseph Myers <joseph@codesourcery.com>
5366 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
5367 * configure: Regenerated.
5369 * Makeconfig (+link-static-before-libc): Don't include
5370 $(link-static-libc).
5372 * libio/libio.h (_IO_pos_t): Remove.
5374 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
5376 * NEWS: Add note about FIPS mode. Wording suggested by Roland
5379 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
5381 * crypt/crypt-entry.c: Include fips-private.h.
5382 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
5383 * crypt/md5c-test.c (main): Tolerate disabled MD5.
5384 * sysdeps/unix/sysv/linux/fips-private.h: New file.
5385 * sysdeps/generic/fips-private.h: New file, dummy fallback.
5387 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
5389 * crypt/crypt-private.h: Include stdbool.h.
5390 (_ufc_setup_salt_r): Return bool.
5391 * crypt/crypt-entry.c: Include errno.h.
5392 (__crypt_r): Return NULL with EINVAL for bad salt.
5393 * crypt/crypt_util.c (bad_for_salt): New.
5394 (_ufc_setup_salt_r): Check that salt is long enough and within
5395 the specified alphabet.
5396 * crypt/badsalttest.c: New file.
5397 * crypt/Makefile (tests): Add it.
5398 ($(objpfx)badsalttest): New.
5400 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
5402 * NEWS: Add entry for BZ #14602.
5404 2012-10-09 Joseph Myers <joseph@codesourcery.com>
5406 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
5408 * math/libm-test.inc: Update comment listing what functions and
5410 (isgreater_test): New function.
5411 (isgreaterequal_test): Likewise.
5412 (isless_test): Likewise.
5413 (islessequal_test): Likewise.
5414 (islessgreater_test): Likewise.
5415 (isunordered_test): Likewise.
5416 (main): Call the new functions.
5418 2012-10-09 Roland McGrath <roland@hack.frob.com>
5420 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
5421 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
5422 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
5423 * sysdeps/i386/configure: Regenerated.
5424 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
5425 * sysdeps/mach/configure: Regenerated.
5426 * sysdeps/mach/hurd/configure: Regenerated.
5427 * sysdeps/powerpc/configure: Regenerated.
5428 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5429 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5430 * sysdeps/s390/s390-32/configure: Regenerated.
5431 * sysdeps/s390/s390-64/configure: Regenerated.
5432 * sysdeps/sh/configure: Regenerated.
5433 * sysdeps/sparc/configure: Regenerated.
5434 * sysdeps/unix/sysv/linux/configure: Regenerated.
5435 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5436 * sysdeps/x86_64/configure: Regenerated.
5438 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
5439 defined. Don't check if MAP is NULL.
5441 2012-10-09 Joseph Myers <joseph@codesourcery.com>
5443 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
5444 (_G_stat64): Likewise.
5445 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
5446 (_G_stat64): Likewise.
5447 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
5448 instead of struct _G_stat64.
5449 * libio/fileops.c (mmap_remap_check): Likewise.
5450 (decide_maybe_mmap): Likewise.
5451 (_IO_new_file_seekoff): Likewise.
5452 (_IO_file_stat): Likewise.
5453 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
5455 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
5456 instead of struct _G_stat64.
5457 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5459 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
5462 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5464 (CHECK_EOL): New macro.
5465 (two_way_short_needle): Check beginning of haystack for EOL. Use
5467 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5468 Replace with CHECK_EOL.
5469 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5470 Replace with CHECK_EOL.
5472 2012-10-08 Joseph Myers <joseph@codesourcery.com>
5474 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
5476 * math/libm-test.inc: Update comment listing what functions and
5478 (finite_test): New function.
5479 (isinf_test): Likewise.
5480 (isnan_test): Likewise.
5481 (fpclassify_test): Test subnormal input.
5482 (isfinite_test): Likewise.
5483 (isnormal_test): Likewise.
5484 (main): Call the new functions.
5486 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
5489 * Makerules (%.dynsym): Force C locale when running
5490 $(OBJDUMP) --dynamic-syms.
5492 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
5494 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
5497 2012-10-06 David S. Miller <davem@davemloft.net>
5499 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
5500 upper 32-bits of the length value in %o2 since we use branch-on-register
5501 tests which consider the entire 64-bit register.
5503 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
5505 * string/test-strstr.c (check2): Add a test for page boundary.
5507 2012-10-05 David S. Miller <davem@davemloft.net>
5509 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
5510 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
5512 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5514 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5515 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
5516 and bzero when HWCAP_SPARC_CRYPTO is present.
5518 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
5521 * string/test-strstr.c (check2): New function.
5522 (test_main): Call check2.
5524 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
5526 * string/bug-strcasestr1.c (do_test): Moved to ...
5527 * string/test-strcasestr.c (check1): Here. New function.
5528 (do_one_test): Break out result checking code into ...
5529 (check_result): This. New function.
5530 (do_one_test): Call check_result.
5531 (test_main): Call check1.
5532 * string/bug-strchr1.c (do_test): Moved to ...
5533 * string/test-strchr.c (check1): Here. New function.
5534 (do_one_test): Break out result checking code into ...
5535 (check_result): This. New function.
5536 (do_one_test): Call check_result.
5537 (test_main): Call check1.
5538 * string/bug-strstr1.c (main): Moved to ...
5539 * string/test-strstr.c (check1): Here. New function.
5540 (do_one_test): Break out result checking code into ...
5541 (check_result): This. New function.
5542 (do_one_test): Call check_result.
5543 (test_main): Call check1.
5544 * string/bug-strcasestr1.c: Removed.
5545 * string/bug-strchr1.c: Likewise.
5546 * string/bug-strstr1.c: Likewise.
5548 * elf/Makefile (dl-routines): Add hwcaps.
5549 * elf/dl-support.c (_dl_important_hwcaps): Removed.
5550 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
5551 (_dl_important_hwcaps): Moved to ...
5552 * elf/dl-hwcaps.c: Here. New file.
5553 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
5556 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
5557 if IS_IN_rtld isn't defined.
5559 * elf/dl-support.c (_dl_sysinfo_map): New.
5560 Include "get-dynamic-info.h" and "setup-vdso.h".
5561 (_dl_non_dynamic_init): Call setup_vdso.
5562 * elf/dynamic-link.h: Don't include <assert.h>.
5563 (elf_get_dynamic_info): Moved to ...
5564 * elf/get-dynamic-info.h: Here. New file.
5565 * elf/dynamic-link.h: Include "get-dynamic-info.h".
5566 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
5567 * elf/setup-vdso.h: Here. New file.
5568 * elf/rtld.c: Include "setup-vdso.h".
5569 (dl_main): Call setup_vdso.
5571 2012-10-05 Joseph Myers <joseph@codesourcery.com>
5573 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
5574 creal in comment listing functions tested. List finite, isinf,
5575 isnan, isless, islessequal, isgreater, isgreaterequal,
5576 islessgreater, isunordered, lgamma_r and pow10 as functions and
5577 macros not tested. Mention which functions not tested are aliases
5578 for other functions. Fix typo. Note that signs of NaNs are not
5581 * scripts/config.guess: Update from config.git.
5582 * scripts/config.sub: Likewise.
5584 2012-10-04 Roland McGrath <roland@hack.frob.com>
5586 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
5587 * misc/madvise.c (madvise): Renamed to __madvise.
5588 Make madvise a weak alias.
5589 * include/sys/mman.h: Declare __madvise.
5590 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
5591 * sysdeps/unix/syscalls.list
5592 (madvise): Make __madvise the strong name, and madvise a weak alias.
5593 * sysdeps/unix/sysv/linux/syscalls.list
5594 (madvise, mmap): Remove redundant entries.
5595 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
5596 * malloc/malloc.c (mtrim): Likewise.
5597 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
5599 2012-10-03 Roland McGrath <roland@hack.frob.com>
5601 * sysdeps/mach/hurd/dl-cache.c: File removed.
5602 * config.h.in (USE_LDCONFIG): New #undef.
5603 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
5604 * configure: Regenerated.
5605 * elf/Makefile (dl-routines): Add dl-cache only under
5606 [$(use-ldconfig) = yes].
5607 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
5608 cache on [USE_LDCONFIG].
5609 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
5611 * elf/rtld.c (dl_main): Likewise.
5613 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
5615 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
5616 _SC_LEVEL4_CACHE_LINESIZE.
5618 2012-10-03 Roland McGrath <roland@hack.frob.com>
5620 * sysdeps/unix/bsd/confstr.h: File removed.
5622 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
5624 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
5627 2012-10-02 Roland McGrath <roland@hack.frob.com>
5629 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
5630 Make 'mapoff' field ElfW(Off) rather than off_t.
5632 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
5634 * nscd/Makefile: Remove nscd-cflags and all its users.
5635 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
5636 (CFLAGS-nonlib): Add compiler flags for nscd modules.
5639 * malloc.c (malloc_printerr): Clarify error message.
5641 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
5644 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5645 Set bit_FMA_Usable if FMA is supported.
5646 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
5648 (bit_FMA4_Usable): Updated.
5649 (index_FMA_Usable): New macro.
5650 (CPUID_FMA): Likewise
5651 (HAS_FMA): Defined with bit_FMA_Usable.
5653 2012-10-01 Roland McGrath <roland@hack.frob.com>
5655 * bits/types.h (__swblk_t): Type removed.
5656 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
5657 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
5658 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5659 (__SWBLK_T_TYPE): Likewise.
5660 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5661 (__SWBLK_T_TYPE): Likewise.
5662 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5663 (__SWBLK_T_TYPE): Likewise.
5664 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5665 (__SWBLK_T_TYPE): Likewise.
5667 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
5668 Honza Horak <hhorak@redhat.com>
5670 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
5671 (xdr_mapname): Use YPMAXMAP as maxsize.
5672 (xdr_peername): Use YPMAXPEER as maxsize.
5673 (xdr_keydat): Use YPAXRECORD as maxsize.
5674 (xdr_valdat): Use YPMAXRECORD as maxsize.
5676 2012-10-01 Roland McGrath <roland@hack.frob.com>
5678 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
5680 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
5681 * csu/init-first.c: ... here.
5682 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
5683 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5684 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5685 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5686 * sysdeps/i386/init-first.c: File removed.
5687 * sysdeps/sh/init-first.c: File removed.
5689 2012-10-01 Joseph Myers <joseph@codesourcery.com>
5692 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
5693 if x * y might underflow to zero and z is zero.
5694 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5695 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5696 * math/libm-test.inc (min_subnorm_value): New variable.
5697 (fma_test): Add more tests.
5698 (fma_test_towardzero): Likewise.
5699 (fma_test_downward): Likewise
5700 (fma_test_upward): Likewise.
5701 (initialize): Set min_subnorm_value.
5703 2012-09-29 Joseph Myers <joseph@codesourcery.com>
5706 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
5708 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
5709 mode for addition resulting in exact zero.
5710 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
5711 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
5713 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5714 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5715 * math/libm-test.inc (fma_test): Add more tests.
5716 (fma_test_towardzero): New function.
5717 (fma_test_downward): Likewise.
5718 (fma_test_upward): Likewise.
5719 (main): Call the new functions.
5721 2012-09-28 David S. Miller <davem@davemloft.net>
5723 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
5725 2012-09-28 Roland McGrath <roland@hack.frob.com>
5727 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
5730 * sysdeps/gnu/_G_config.h: Moved to ...
5731 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
5732 * sysdeps/mach/hurd/_G_config.h: Moved to ...
5733 * sysdeps/generic/_G_config.h: ... here.
5735 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
5737 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
5739 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
5740 Conditionalize target on [libnss_test1.so-version].
5742 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
5744 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
5745 (elfobjdir): Move out of conditionals.
5747 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
5748 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
5749 (__nss_lookup_function): Conditionalize label remove_from_tree on
5750 [!DO_STATIC_NSS || SHARED], matching its only use.
5752 2012-09-28 David S. Miller <davem@davemloft.net>
5754 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
5755 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
5757 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5759 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5760 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
5761 when HWCAP_SPARC_CRYPTO is present.
5763 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5765 * io/tst-mknodat.c: Create a FIFO instead of a socket.
5767 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
5770 * stdio-common/vfprintf.c (process_string_arg): Revert
5773 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
5775 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
5777 * stdio-common/tst-sprintf.c: Include <locale.h>
5778 (main): Test sprintf's handling of incomplete multibyte
5781 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
5783 * elf/dl-runtime.c (VERSYMIDX): Removed.
5784 * elf/dl-version.c (VERSYMIDX): Likewise.
5785 * elf/do-rel.h (VERSYMIDX): Likewise.
5787 * elf/dynamic-link.h (VERSYMIDX): Likewise.
5788 * elf/rtld.c (VALIDX): Likewise.
5789 (ADDRIDX): Likewise.
5790 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
5791 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
5792 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
5793 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
5795 (ADDRIDX): Likewise.
5797 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5799 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
5801 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
5804 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
5806 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
5807 addresses are in the same scope as 192.0.2/24.
5808 * posix/gai.conf: Document new scope table defaults.
5810 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5813 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
5814 for ftell. Compute offsets from write pointers instead.
5815 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5817 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5820 * libio/Makefile (tests): New test case tst-fseek.
5821 * libio/tst-fseek.c: New test case to verify that fseek/ftell
5822 combination works in wide mode.
5823 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
5824 state when the external buffer state changes.
5826 2012-09-27 David S. Miller <davem@davemloft.net>
5829 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
5830 pass reloc->r_addend in as the 'high' argument to
5831 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
5833 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5835 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5837 * rt/tst-aio2.c: Include <pthread.h>.
5838 * rt/tst-aio3.c: Likewise.
5840 2012-09-27 Steve Ellcey <sellcey@mips.com>
5842 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
5844 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
5846 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
5847 contents on [SHARED].
5849 2012-09-26 Marek Polacek <polacek@redhat.com>
5853 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
5854 for C++ and GCC <4.3 as well as for non GCC compilers.
5856 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5858 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5860 2012-09-25 Roland McGrath <roland@hack.frob.com>
5862 * Makefile.in (all, install): Declare with .PHONY.
5863 Reported by Michael Hope <michael.hope@linaro.org>.
5865 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5867 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
5868 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
5870 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
5872 (sydep_routines): Add the new and the internal functions.
5873 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
5874 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
5875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
5876 (GLIBC_2.17): Add the new function.
5877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
5878 (GLIBC_2.17): Likewise.
5879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
5880 (GLIBC_2.17): Likewise.
5881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
5882 (GLIBC_2.17): Likewise.
5883 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
5885 2012-09-25 Alan Modra <amodra@gmail.com>
5887 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
5888 Add release barrier before setting once_control to say
5889 initialisation is done. Add hints on lwarx. Use macro in
5891 (clear_once_control): Add release barrier.
5893 2012-09-25 Joseph Myers <joseph@codesourcery.com>
5896 * math/s_clog.c (__clog): Handle more values close to |z| = 1
5898 * math/s_clog10.c (__clog10): Likewise.
5899 * math/s_clog10f.c (__clog10f): Likewise.
5900 * math/s_clog10l.c (__clog10l): Likewise.
5901 * math/s_clogf.c (__clogf): Likewise.
5902 * math/s_clogl.c (__clogl): Likewise.
5903 * math/Makefile (libm-calls): Add x2y2m1.
5904 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
5905 (__x2y2m1): Likewise.
5906 (__x2y2m1l): Likewise.
5907 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
5908 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
5909 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5910 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5911 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
5912 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
5913 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
5914 * sysdeps/i386/fpu/libm-test-ulps: Update.
5915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5918 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
5919 int as type of variable DEPTH.
5920 (glob): Use size_t instead of int as type of variables NEWCOUNT
5923 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5925 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5927 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
5928 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
5929 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
5930 macros for using routine as __sincosf_ia32.
5931 Use macro for function declaration and weak_alias.
5932 * sysdeps/i386/fpu/libm-test-ulps: Update.
5934 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
5935 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5937 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
5939 * math/s_cexpf.c (__cexpf): Likewise.
5940 * math/s_csinf.c (__csinf): Likewise.
5941 * math/s_csinhf.c (__csinhf): Likewise.
5942 * math/s_ctanf.c (__ctanf): Likewise.
5943 * math/s_ctanhf.c (__ctanhf): Likewise.
5944 * math/s_ccosh.c (__ccoshf): Likewise.
5945 * math/s_cexp.c (__cexpl): Likewise.
5946 * math/s_csin.c (__csin): Likewise.
5947 * math/s_csinh.c (__csinh): Likewise.
5948 * math/s_ctan.c (__ctan): Likewise.
5949 * math/s_ctanh.c (ctanh): Likewise.
5950 * math/s_ccoshl.c (__ccoshl): Likewise.
5951 * math/s_cexpl.c (__cexpl): Likewise.
5952 * math/s_csinl.c (__csinl): Likewise.
5953 * math/s_csinhl.c (__csinhl): Likewise.
5954 * math/s_ctanl.c (__ctanl): Likewise.
5955 * math/s_ctanhl.c (__ctanhl): Likewise.
5957 2012-09-25 Joseph Myers <joseph@codesourcery.com>
5959 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
5960 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
5961 (_IO_off_t): Define to __off_t, not _G_off_t.
5962 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
5963 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
5964 (_IO_wint_t): Define to wint_t, not _G_wint_t.
5965 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
5966 type of __dummy and __dummy2 fields.
5967 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
5968 (_G_ssize_t): Likewise.
5969 (_G_off_t): Likewise.
5970 (_G_pid_t): Likewise.
5971 (_G_uid_t): Likewise.
5972 (_G_wchar_t): Likewise.
5973 (_G_wint_t): Likewise.
5974 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
5975 (_G_ssize_t): Likewise.
5976 (_G_off_t): Likewise.
5977 (_G_pid_t): Likewise.
5978 (_G_uid_t): Likewise.
5979 (_G_wchar_t): Likewise.
5980 (_G_wint_t): Likewise.
5981 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
5982 (_G_ssize_t): Likewise.
5983 (_G_off_t): Likewise.
5984 (_G_pid_t): Likewise.
5985 (_G_uid_t): Likewise.
5986 (_G_wchar_t): Likewise.
5987 (_G_wint_t): Likewise.
5989 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5991 * malloc/arena.c: Include malloc-sysdep.h.
5992 (shrink_heap): Use check_may_shrink_heap to decide if madvise
5993 is sufficient to shrink the heap or an unmap is needed.
5994 * sysdeps/generic/malloc-sysdep.h: New file. Define
5995 new function check_may_shrink_heap.
5996 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
5997 new function check_may_shrink_heap.
5999 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6001 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
6004 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
6006 * catgets/test-gencat.sh: Add "set -e".
6007 * elf/tst-pathopt.sh: Likewise.
6008 * grp/tst_fgetgrent.sh: Likewise.
6009 * iconvdata/run-iconv-test.sh: Likewise.
6010 * intl/tst-gettext.sh: Likewise.
6011 * intl/tst-gettext2.sh: Likewise.
6012 * intl/tst-gettext4.sh: Likewise.
6013 * intl/tst-gettext6.sh: Likewise.
6014 * intl/tst-translit.sh: Likewise.
6015 * io/ftwtest-sh: Likewise.
6016 * libio/test-freopen.sh: Likewise.
6017 * malloc/tst-mtrace.sh: Likewise.
6018 * posix/globtest.sh: Likewise.
6019 * posix/tst-getconf.sh: Likewise.
6020 * posix/wordexp-tst.sh: Likewise.
6021 * stdio-common/tst-printf.sh: Likewise.
6022 * stdio-common/tst-unbputc.sh: Likewise.
6023 * stdlib/tst-fmtmsg.sh: Likewise.
6024 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6025 * catgets/Makefile: Do not specify -e option when running
6026 testsuite shell scripts.
6027 * elf/Makefile: Likewise.
6028 * grp/Makefile: Likewise.
6029 * iconvdata/Makefile: Likewise.
6030 * intl/Makefile: Likewise.
6031 * io/Makefile: Likewise.
6032 * libio/Makefile: Likewise.
6033 * malloc/Makefile: Likewise.
6034 * posix/Makefile: Likewise.
6035 * stdio-common/Makefile: Likewise.
6036 * stdlib/Makefile: Likewise.
6037 * sysdeps/x86_64/Makefile: Likewise.
6039 * io/ftwtest-sh: Add copyright header.
6040 * posix/globtest.sh: Likewise.
6041 * posix/tst-getconf.sh: Likewise.
6042 * posix/wordexp-tst.sh: Likewise.
6043 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6045 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
6048 * Makeconfig (+link): Defined as $(+link-static) if
6049 $(build-shared) isn't yes.
6050 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
6052 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
6054 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
6057 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
6058 new chunk size with MALLOC_ALIGN_MASK.
6060 2012-09-24 Joseph Myers <joseph@codesourcery.com>
6063 * stdio-common/printf_fphex.c: Include <stdbool.h> and
6065 (__printf_fphex): Determine rounding using get_rounding_mode and
6067 * stdio-common/tst-printf-round.c (struct hex_test): New
6069 (hex_tests): New variable.
6070 (test_hex_in_one_mode): New function.
6071 (do_test): Also run tests for hex float output.
6073 2012-09-21 Joseph Myers <joseph@codesourcery.com>
6075 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6076 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6077 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
6078 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6079 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6080 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
6081 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6082 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6084 2012-09-20 Joseph Myers <joseph@codesourcery.com>
6086 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
6087 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
6088 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
6089 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
6091 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
6094 * elf/rtld.c (dl_main): Limit the check for self loading to normal
6096 * elf/tst-rtld-load-self.sh: New test.
6097 * elf/Makefile: Run it.
6099 2012-09-18 Joseph Myers <joseph@codesourcery.com>
6101 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
6102 (tst-writev-ENV): Remove.
6103 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
6105 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
6107 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
6109 2012-09-17 Joseph Myers <joseph@codesourcery.com>
6111 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
6113 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
6115 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
6116 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
6117 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
6120 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
6123 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
6124 * config.make.in (have-cpp-asm-debuginfo): Removed.
6125 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
6126 * configure: Regenerated.
6128 2012-09-14 Joseph Myers <joseph@codesourcery.com>
6131 * stdio-common/printf_fp.c: Include <stdbool.h> and
6133 (___printf_fp): Determine rounding using get_rounding_mode and
6135 * stdio-common/tst-printf-round.c: New file.
6136 * stdio-common/Makefile (tests): Add tst-printf-round.
6137 (link-libm): New variable.
6138 ($(objpfx)tst-printf-round): Depend in $(link-libm).
6140 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
6143 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
6144 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
6146 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
6149 2012-09-13 Joseph Myers <joseph@codesourcery.com>
6151 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
6152 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6153 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6154 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6156 2012-09-12 Joseph Myers <joseph@codesourcery.com>
6159 * include/rounding-mode.h: New file.
6160 * sysdeps/generic/get-rounding-mode.h: Likewise.
6161 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
6162 * stdlib/strtod_l.c: Include <rounding-mode.h>.
6163 (MAX_VALUE): New macro.
6164 (MIN_VALUE): Likewise.
6165 (overflow_value): New function.
6166 (underflow_value): Likewise.
6167 (round_and_return): Use overflow_value and underflow_value to
6168 determine return values in overflow and underflow cases. Use
6169 round_away to determine rounding depending on rounding mode.
6170 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
6171 determine return values in overflow and underflow cases.
6172 * stdlib/tst-strtod-round.c: Include <fenv.h>.
6173 (struct test_results): New structure.
6174 (struct test): Use struct test_results to store expected results
6175 for all rounding modes.
6176 (TEST): Include expected results for all rounding modes.
6177 (test_in_one_mode): New function.
6178 (do_test): Use test_in_one_mode to compute and check results.
6179 Check results for all rounding modes.
6180 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
6183 2012-12-09 Allan McRae <allan@archlinux.org>
6185 * sysdeps/i386/fpu/libm-test-ulps: Update
6187 2012-09-11 Joseph Myers <joseph@codesourcery.com>
6189 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
6190 (_G_int32_t): Likewise.
6191 (_G_uint16_t): Likewise.
6192 (_G_uint32_t): Likewise.
6193 (_G_HAVE_BOOL): Likewise.
6194 (_G_HAVE_ATEXIT): Likewise.
6195 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6196 (_G_HAVE_IO_FILE_OPEN): Likewise.
6197 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
6198 (_G_int32_t): Likewise.
6199 (_G_uint16_t): Likewise.
6200 (_G_uint32_t): Likewise.
6201 (_G_HAVE_BOOL): Likewise.
6202 (_G_HAVE_ATEXIT): Likewise.
6203 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6204 (_G_HAVE_IO_FILE_OPEN): Likewise.
6205 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
6206 (_G_int32_t): Likewise.
6207 (_G_uint16_t): Likewise.
6208 (_G_uint32_t): Likewise.
6209 (_G_HAVE_BOOL): Likewise.
6210 (_G_HAVE_ATEXIT): Likewise.
6211 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6212 (_G_HAVE_IO_FILE_OPEN): Likewise.
6214 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
6216 * csu/libc-tls.c: Update copyright years.
6218 2012-09-10 Joseph Myers <joseph@codesourcery.com>
6220 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
6221 [!_G_USING_THUNKS]: Remove conditional code.
6222 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
6223 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
6225 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
6226 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
6227 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6228 (_G_VTABLE_LABEL_PREFIX): Likewise.
6229 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6230 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6231 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6232 (_G_VTABLE_LABEL_PREFIX): Likewise.
6233 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
6234 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6235 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6236 (_G_VTABLE_LABEL_PREFIX): Likewise.
6237 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
6239 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
6241 * libio/Makefile: Include ../Makeconfig before tests.
6242 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
6243 only if $(build-shared) is yes.
6245 * iconv/gconv_db.c: Update copyright years.
6247 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6249 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
6250 unwind info if defined PIC. Fix special cases description.
6251 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
6253 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
6255 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
6257 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
6259 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
6261 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
6264 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
6265 (LDLIBS-tst-chk4): This.
6266 (LDFLAGS-tst-chk5): Renamed to ...
6267 (LDLIBS-tst-chk5): This.
6268 (LDFLAGS-tst-chk6): Renamed to ...
6269 (LDLIBS-tst-chk6): This.
6270 (LDFLAGS-tst-lfschk4): Renamed to ...
6271 (LDLIBS-tst-lfschk4): This.
6272 (LDFLAGS-tst-lfschk5): Renamed to ...
6273 (LDLIBS-tst-lfschk5): This.
6274 (LDFLAGS-tst-lfschk6): Renamed to ...
6275 (LDLIBS-tst-lfschk6): This.
6277 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
6278 on $(common-objpfx)soversions.mk.
6280 2012-09-07 Joseph Myers <joseph@codesourcery.com>
6283 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
6286 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6288 * malloc/arena.c (arena_get_retry): New function that gets
6289 another arena for the caller to try its request on.
6290 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
6291 current arena cannot fulfill the request.
6292 (__libc_memalign): Likewise.
6293 (__libc_memalign): Likewise.
6294 (__libc_pvalloc): Likewise.
6295 (__libc_calloc): Likewise.
6297 2012-09-05 John Tobey <john.tobey@gmail.com>
6300 * manual/arith.texi (Operations on Complex): Fix description
6303 2012-09-06 Joseph Myers <joseph@codesourcery.com>
6306 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
6310 * manual/memory.texi (Memory): Make order of menu items match
6313 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6315 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
6316 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
6317 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
6319 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6321 * csu/libc-tls.c (static_dtv): Renamed to ...
6322 (_dl_static_dtv): This. Make it global.
6323 (_dl_initial_dtv): Removed.
6324 (__libc_setup_tls): Updated.
6325 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
6326 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
6329 2012-09-06 Petr Machata <pmachata@redhat.com>
6331 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
6332 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
6333 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
6334 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
6336 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6339 * csu/libc-tls.c (_dl_initial_dtv): New variable.
6340 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
6343 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6346 * Makeconfig (link-static-before-libc): Replace $(+prector)
6348 (link-static-after-libc): Replace $(+postctor) with
6350 (link-bounded): Replace $(+prector)/$(+postctor) with
6351 $(+prectorT)/$(+postctorT).
6352 (+prectorT): New macro.
6353 (+postctorT): Likewise.
6355 2012-09-06 Joseph Myers <joseph@codesourcery.com>
6357 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
6358 (round_str): Handle values above the maximum for IBM long double
6360 * stdlib/tst-strtod-round.c (tests): Regenerated.
6362 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6364 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
6366 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
6367 zarch_nohighgprs around the zarch optimized routines.
6368 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
6369 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
6370 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
6373 2012-09-05 David S. Miller <davem@davemloft.net>
6375 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6377 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
6378 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
6379 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
6380 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
6383 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6385 * malloc/arena.c: Fold copyright years.
6386 * malloc/mcheck.c, malloc/memusage.c: Likewise.
6388 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6390 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
6392 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6394 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
6396 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6398 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
6399 change internal state upon failure.
6401 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6403 * malloc/mcheck.c (mcheck_check_all): Fix typo.
6404 * malloc/memusage.c (mmap): Likewise.
6405 (mmap64, mremap): Likewise. Adjust name in comment.
6407 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6409 * libio/fileops.c: Fix typos in comments.
6410 * libio/oldfileops.c: Likewise.
6411 * libio/wfileops.c: Likewise.
6413 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6416 * malloc/Makefile (tests): Add tst-malloc-usable test case.
6417 (tst-malloc-usable-ENV): Set environment for test case.
6418 * malloc/hooks.c (malloc_check_get_size): New function to get
6420 * malloc/malloc.c (musable): Use malloc_check_get_size.
6421 * malloc/tst-malloc-usable.c: New test case.
6423 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6425 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
6427 2012-09-05 Allan McRae <allan@archlinux.org>
6430 * configure.in (CXX_SYSINCLUDES): Use compiler output to
6431 determine header location.
6432 * configure: Regenerated.
6434 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6436 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
6438 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
6439 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
6443 2012-09-04 David S. Miller <davem@davemloft.net>
6445 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
6446 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
6447 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
6449 2012-09-04 Florian Weimer <fweimer@redhat.com>
6451 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
6454 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
6456 2012-09-04 Joseph Myers <joseph@codesourcery.com>
6459 * libio/iogetdelim.c: Include <limits.h>.
6460 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
6461 + len + 1 would overflow.
6463 2012-09-03 Andreas Jaeger <aj@suse.de>
6465 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6466 * sysdeps/i386/fpu/libm-test-ulps: Update.
6468 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6470 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6471 Add s_sinf-sse2, s_conf-sse2.
6473 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
6474 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
6475 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
6476 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
6478 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
6479 for using routine as __sinf_ia32.
6480 Use macro for function declaration and weak_alias.
6481 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
6482 for using routine as __cosf_ia32.
6483 Use macro for function declaration and weak_alias.
6485 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
6486 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
6488 * sysdeps/x86_64/fpu/s_sinf.S: New file.
6489 * sysdeps/x86_64/fpu/s_cosf.S: New file.
6490 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6492 * math/libm-test.inc (cos_test): Add more test cases.
6493 (sin_test): Likewise.
6494 (sincos_test): Likewise.
6496 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6498 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6499 (IFUNC_RESOLVE): Make pointers to the specialized implementations
6501 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6503 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
6506 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
6507 first element of the GOT.
6508 (elf_machine_load_address): Return the difference between
6509 the runtime address of _DYNAMIC and elf_machine_dynamic ().
6511 2012-09-01 Allan McRae <allan@archlinux.org>
6514 * configure.in (AWK): Require gawk version 3.0 or later.
6515 * configure: Regenerated.
6517 2012-09-01 Joseph Myers <joseph@codesourcery.com>
6519 * sysdeps/unix/sysv/linux/kernel-features.h
6520 (__ASSUME_POSIX_CPU_TIMERS): Remove.
6521 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6522 [__NR_clock_getres]: Make code unconditional.
6523 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
6524 (clock_getcpuclockid): Remove code left unreachable by removal of
6526 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
6528 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6529 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6530 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
6531 Make code unconditional.
6532 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6533 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6534 * sysdeps/unix/sysv/linux/clock_settime.c
6535 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
6537 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
6538 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6540 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
6543 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
6544 scripts/test-installation.pl.
6546 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
6547 and $ld_so_version if it is set.
6549 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6552 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
6553 failure if reading from procfs failed.
6554 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
6556 2012-08-27 Joseph Myers <joseph@codesourcery.com>
6558 * sysdeps/unix/sysv/linux/kernel-features.h
6559 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
6560 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6561 Remove conditional code.
6562 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6563 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
6564 Remove conditional code.
6565 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6566 * sysdeps/unix/sysv/linux/i386/fxstat.c
6567 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6568 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6569 * sysdeps/unix/sysv/linux/i386/fxstatat.c
6570 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6571 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6572 * sysdeps/unix/sysv/linux/i386/lxstat.c
6573 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6574 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6575 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
6576 Remove conditional code.
6577 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6578 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6579 Remove conditional code.
6580 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6581 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
6582 <kernel-features.h>.
6583 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
6585 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
6586 Remove conditional code.
6587 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6588 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
6591 2012-08-27 Mike Frysinger <vapier@gentoo.org>
6594 * NEWS: Add fixed bug number.
6596 2012-08-27 Joseph Myers <joseph@codesourcery.com>
6599 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
6600 underflowing exponent in case of negative sign.
6601 * stdlib/tst-strtod-round-data: Add more tests.
6602 * stdlib/tst-strtod-round.c (tests): Regenerated.
6605 * stdlib/strtod_l.c (NDIG): Remove.
6606 (HEXNDIG): Likewise.
6607 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
6608 smallest representable value.
6609 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
6610 lie within an exact representation of 1/2 ulp of the result.
6611 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
6613 (TENS_P9_IDX): Define unconditionally.
6614 (TENS_P9_SIZE): Likewise.
6615 (TENS_P10_IDX): Likewise.
6616 (TENS_P10_SIZE): Likewise.
6617 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
6618 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
6619 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
6620 entries for 10^2^13 and 10^2^14.
6621 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
6622 (TENS_P13_IDX): Define.
6623 (TENS_P13_SIZE): Likewise.
6624 (TENS_P14_IDX): Likewise.
6625 (TENS_P14_SIZE): Likewise.
6626 (_fpioconst_pow10): Change array size to
6627 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
6629 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
6630 1024]: Add entries for 10^2^13 and 10^2^14.
6631 [LAST_POW10 > _LAST_POW10]: Remove #error.
6632 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
6633 (_fpioconst_pow10): Change array size to
6634 FPIOCONST_POW10_ARRAY_SIZE.
6635 * stdlib/gen-fpioconst.c: New file.
6636 * stdlib/gen-tst-strtod-round.c: Likewise.
6637 * stdlib/tst-strtod-round-data: Likewise.
6638 * stdlib/tst-strtod-round.c: Likewise.
6639 * stdlib/Makefile (tests): Add tst-strtod-round.
6642 * stdlib/strtod_l.c: Include <stdint.h>.
6643 (NDEBUG): Do not define.
6644 (round_and_return): Change EXPONENT parameter to type intmax_t.
6645 Rearrange calculations to avoid internal overflow possibilities.
6646 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
6647 Rearrange calculations to avoid internal overflow possibilities.
6648 Assert that number fits inside MPNSIZE limbs.
6649 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
6650 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
6651 calculations and add assertions to avoid internal overflow
6652 possibilities. Add casts to avoid signed/unsigned operations.
6653 * stdlib/tst-strtod-overflow.c: New file.
6654 * stdlib/Makefile (tests): Add tst-strtod-overflow.
6656 2012-08-25 Marek Polacek <polacek@redhat.com>
6658 * time/time.h: Fix some typos in comments.
6660 2012-08-23 Roland McGrath <roland@hack.frob.com>
6662 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
6663 * posix/tst-rfc3484-2.c: Likewise.
6664 * posix/tst-rfc3484-3.c: Likewise.
6666 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
6668 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
6669 (EF_ARM_ABI_FLOAT_HARD): Likewise.
6671 2012-08-23 Joseph Myers <joseph@codesourcery.com>
6673 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
6674 #include of fxstatat64.c.
6676 2012-08-22 Roland McGrath <roland@hack.frob.com>
6678 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
6679 * shadow/getspent_r.c: Likewise.
6680 * shadow/getspnam.c: Likewise.
6681 * shadow/getspnam_r.c: Likewise.
6682 * gshadow/getsgent.c: Likewise.
6683 * gshadow/getsgent_r.c: Likewise.
6684 * gshadow/getsgnam.c: Likewise.
6685 * gshadow/getsgnam_r.c: Likewise.
6686 * inet/getnetbyad.c: Likewise.
6687 * inet/getnetbyad_r.c: Likewise.
6688 * inet/getnetbynm.c: Likewise.
6689 * inet/getnetbynm_r.c: Likewise.
6690 * inet/getnetent.c: Likewise.
6691 * inet/getnetent_r.c: Likewise.
6692 * inet/getproto.c: Likewise.
6693 * inet/getproto_r.c: Likewise.
6694 * inet/getprtent.c: Likewise.
6695 * inet/getprtent_r.c: Likewise.
6696 * inet/getprtname.c: Likewise.
6697 * inet/getprtname_r.c: Likewise.
6698 * inet/getrpcbyname.c: Likewise.
6699 * inet/getrpcbyname_r.c: Likewise.
6700 * inet/getrpcbynumber.c: Likewise.
6701 * inet/getrpcbynumber_r.c: Likewise.
6702 * inet/getrpcent.c: Likewise.
6703 * inet/getrpcent_r.c: Likewise.
6704 * inet/getaliasent.c: Likewise.
6705 * inet/getaliasent_r.c: Likewise.
6706 * inet/getaliasname.c: Likewise.
6707 * inet/getaliasname_r.c: Likewise.
6708 * nscd/getgrgid_r.c: Likewise.
6709 * nscd/getgrnam_r.c: Likewise.
6710 * nscd/gethstbyad_r.c: Likewise.
6711 * nscd/gethstbynm3_r.c: Likewise.
6712 * nscd/getpwnam_r.c: Likewise.
6713 * nscd/getpwuid_r.c: Likewise.
6714 * nscd/getsrvbynm_r.c: Likewise.
6715 * nscd/getsrvbypt_r.c: Likewise.
6716 * nscd/gai.c: Likewise.
6718 * configure.in (build_nscd): New substituted variable, set
6719 by --disable-build-nscd and defaults to $use_nscd.
6720 * configure: Regenerated.
6721 * config.make.in (build-nscd): New substituted variable.
6722 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
6723 Change conditional to require [$(build-nscd) = yes] as well.
6724 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
6727 * configure.in (use_nscd): New substituted variable, set by
6728 --disable-nscd. If enabled, define USE_NSCD.
6729 * configure: Regenerated.
6730 * config.h.in: Add USE_NSCD.
6731 * config.make.in (use-nscd): New substituted variable.
6732 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
6733 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
6734 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
6735 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
6736 (CFLAGS-getgrnam_r.c): Likewise.
6737 (CFLAGS-initgroups.c): Likewise.
6738 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
6739 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
6741 * inet/getnetgrent_r.c
6742 (nscd_setnetgrent): New function, broken out of ...
6743 (setnetgrent): ... here. Call it.
6744 (innetgr): Conditionalize nscd bits on [USE_NSCD].
6745 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
6746 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
6747 * nscd/Makefile (routines, aux): Move definitions after include of
6748 Makeconfig. Conditionalize on [$(use-nscd) != no].
6749 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
6750 Conditionalize on [USE_NSCD].
6751 (is_nscd, nscd_init_cb): Likewise.
6752 (nss_load_library): Conditionalize init callback on [USE_NSCD].
6753 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
6754 * nss/nss_db/db-init.c: Likewise.
6755 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
6757 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
6758 (make_request): Use it.
6759 (cache_valid_p): New function.
6760 (__check_pf): Use it.
6761 * NEWS: Add item for --disable-nscd.
6763 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
6765 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
6766 to support sed >= 4.2.1-20-ga9bf076.
6767 * configure: Regenerated.
6769 2012-08-22 Roland McGrath <roland@hack.frob.com>
6771 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
6772 Conditionalize whole body on [IREL].
6774 2012-08-22 Jeff Law <law@redhat.com>
6777 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
6778 if the family is PF_UNSPEC.
6780 2012-08-22 Mike Frysinger <vapier@gentoo.org>
6782 * Makerules (lib-version): Rename from V.
6783 (install-lib-nosubdir): Change V to lib-version.
6785 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
6788 * powerpc32/power6/wcschr.c: New file.
6789 * powerpc32/power6/wcscpy.c: New file.
6790 * powerpc32/power6/wcsrchr.c: New file.
6791 * powerpc64/power6/wcschr.c: New file.
6792 * powerpc64/power6/wcscpy.c: New file.
6793 * powerpc64/power6/wcsrchr.c: New file.
6795 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6797 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
6798 (two_way_short_needle): Use it.
6799 * string/strstr.c (AVAILABLE1_USES_J): Define.
6800 * string/strcasestr.c: Likewise.
6802 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
6804 * string/strcasestr.c (TOLOWER): Make side-effect safe.
6807 * NEWS: Add an entry.
6808 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
6809 define their defaults.
6810 (two_way_short_needle): Detect end-of-string on-the-fly.
6811 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
6812 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
6813 * string/bug-strcasestr1.c: New test.
6814 * string/Makefile: Run it.
6816 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6819 * string/str-two-way.h (two_way_short_needle): Optimize matching of
6820 the first character.
6822 2012-08-21 Roland McGrath <roland@hack.frob.com>
6824 * csu/elf-init.c (__libc_csu_irel): Function removed.
6825 * csu/libc-start.c (apply_irel): New function.
6826 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
6828 2012-08-21 Joseph Myers <joseph@codesourcery.com>
6830 * sysdeps/unix/sysv/linux/kernel-features.h
6831 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
6832 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6833 <kernel-features.h>.
6834 [__NR_fadvise64_64]: Make code unconditional.
6835 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
6836 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6837 !__NR_fadvise64_64)]: Likewise.
6838 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6839 !__NR_fadvise64_64))]: Likewise.
6840 [__NR_fadvise64]: Make code unconditional.
6841 [!__NR_fadvise64]: Remove conditional code.
6842 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
6843 <kernel-features.h>.
6844 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6846 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
6849 not include <kernel-features.h>.
6850 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6852 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6854 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
6855 include <kernel-features.h>.
6856 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6858 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6861 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6863 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
6864 slight instruction rearrangements per scrollpipe analysis.
6865 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6867 2012-08-20 Roland McGrath <roland@hack.frob.com>
6869 * manual/syslog.texi (syslog; vsyslog, closelog):
6870 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
6871 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
6873 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
6874 DSOCAPS to match condition on defining it.
6876 2012-08-20 Joseph Myers <joseph@codesourcery.com>
6878 * sysdeps/unix/sysv/linux/kernel-features.h
6879 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
6880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
6881 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6882 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
6884 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6885 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
6887 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6888 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6890 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
6891 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
6893 * sysdeps/unix/sysv/linux/kernel-features.h
6894 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
6895 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
6897 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6898 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
6899 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6900 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6901 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
6902 Make code unconditional.
6903 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6904 (__mmap64) [!__NR_mmap2]: Likewise.
6905 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
6906 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6907 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6908 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
6909 [__NR_mmap2]: Make code unconditional.
6910 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6911 (__mmap64) [!__NR_mmap2]: Likewise.
6913 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6915 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
6917 2012-08-18 Andreas Jaeger <aj@suse.de>
6919 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
6921 2012-08-18 Mike Frysinger <vapier@gentoo.org>
6923 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
6924 * include/unistd.h (__have_sock_cloexec): Likewise.
6925 (__have_pipe2): Likewise.
6926 (__have_dup3): Likewise.
6928 2012-08-18 Mike Frysinger <vapier@gentoo.org>
6931 * include/unistd.h (__have_pipe2): Change define into an extern int.
6932 (__have_dup3): Likewise.
6933 * socket/have_sock_cloexec.c: Include fcntl.h.
6934 (__have_pipe2): New variable.
6935 (__have_dup3): Likewise.
6937 2012-08-17 Mike Frysinger <vapier@gentoo.org>
6939 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
6941 2012-08-17 Marek Polacek <polacek@redhat.com>
6943 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
6944 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
6946 2012-08-17 Roland McGrath <roland@hack.frob.com>
6948 * configure.in: Add AC_SUBST for sysheaders.
6949 * configure: Regenerated.
6950 * config.make.in (sysheaders): New substituted variable.
6952 * sysdeps/unix/mkfifo.c: Moved ...
6953 * sysdeps/posix/mkfifo.c: ... here.
6954 * sysdeps/unix/mkfifoat.c: Moved ...
6955 * sysdeps/posix/mkfifoat.c: ... here.
6957 * sysdeps/unix/utime.c: Moved ...
6958 * sysdeps/posix/utime.c: ... here.
6960 * sysdeps/unix/time.c: Moved ...
6961 * sysdeps/posix/time.c: ... here.
6962 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
6963 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
6965 * sysdeps/unix/nice.c: Moved ...
6966 * sysdeps/posix/nice.c: ... here.
6968 * sysdeps/unix/alarm.c: Moved ...
6969 * sysdeps/posix/alarm.c: ... here.
6971 * intl/Makefile ($(codeset_mo)): Depend on the input file.
6973 2012-08-17 Jeff Law <law@redhat.com>
6975 * intl/Makefile (codeset_mo): New variable.
6976 ($(codeset_mo)): New target.
6977 (tst-codeset.out): Depend on that. Remove explicit rule.
6978 (tst-gettext3.out, tst-gettext5.out): Likewise.
6979 (LOCPATH-ENV, tst-codeset-ENV): New variables.
6980 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
6981 * intl/tst-codeset.sh: Remove.
6982 * intl/tst-gettext3.sh: Likewise.
6983 * intl/tst-gettext5.sh: Likewise.
6985 2012-08-17 Roland McGrath <roland@hack.frob.com>
6987 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
6988 * sysdeps/unix/syscalls.list: ... here.
6990 * sysdeps/posix/getaddrinfo.c
6991 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
6992 (gaiconf_init, gaiconf_reload): Use them.
6994 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
6995 Define using time_t rather than struct timespec.
6997 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
6998 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
7000 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
7002 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
7003 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
7006 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
7007 __libc_cleanup_push argument.
7009 * bits/param.h: New file.
7010 * misc/sys/param.h: New file.
7011 * include/sys/param.h: New file.
7012 * misc/Makefile (headers): Add bits/param.h.
7013 * sysdeps/generic/sys/param.h: File removed.
7014 * sysdeps/unix/sysv/linux/bits/param.h: New file.
7015 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
7016 * sysdeps/mach/hurd/bits/param.h: New file.
7017 * sysdeps/mach/hurd/sys/param.h: File removed.
7019 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
7022 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
7024 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
7025 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
7028 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
7029 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
7030 rather than -D_IO_MTSAFE_IO conditionally.
7031 * stdio-common/Makefile (CPPFLAGS): Likewise.
7032 * wcsmbs/Makefile (CPPFLAGS): Likewise.
7033 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
7034 Use $(libio-mtsafe).
7035 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
7037 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
7038 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
7039 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
7040 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
7041 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
7042 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
7043 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
7044 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
7045 (CFLAGS-fread_u_chk.c): Likewise.
7046 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
7047 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
7048 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
7049 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
7050 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
7051 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
7052 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
7053 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
7054 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
7056 * libio/Makefile: Test [$(libc-reentrant) = yes]
7057 instead of [$(filter %REENTRANT, $(defines)) nonempty].
7060 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
7061 * sysdeps/pthread/configure: File removed.
7062 * sysdeps/pthread/Makeconfig: New file.
7063 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
7064 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
7066 2012-08-16 Gary Benson <gbenson@redhat.com>
7068 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
7069 unmapping the first object in a namespace.
7071 2012-08-16 Roland McGrath <roland@hack.frob.com>
7073 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
7074 (__internal_setnetgrent): ... this. Add internal_function to
7075 definition. Add libc_hidden_def.
7076 (setnetgrent): Update caller.
7077 (internal_endnetgrent): Renamed to ...
7078 (__internal_endnetgrent): ... this. Add internal_function to
7079 definition. Add libc_hidden_def.
7080 (endnetgrent): Update caller.
7081 (internal_getnetgrent_r): Renamed to ...
7082 (__internal_getnetgrent_r): ... this. Add internal_function to
7083 definition. Add libc_hidden_def.
7084 (__getnetgrent_r): Update caller.
7085 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
7087 2012-08-16 Joseph Myers <joseph@codesourcery.com>
7089 * stdlib/longlong.h: Update from GCC.
7091 2012-08-16 Roland McGrath <roland@hack.frob.com>
7093 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
7094 on _QL, which is set by umul_ppmm but never used.
7095 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
7096 variables, which are set by GMP macros but never used.
7097 * stdio-common/_itowa.c (_itowa): Likewise.
7098 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
7099 * stdlib/mod_1.c (mpn_mod_1): Likewise.
7101 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
7103 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
7104 struct La_sh_regs is not constant.
7105 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
7106 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
7107 and struct La_sparc64_regs are not constant.
7109 2012-08-16 Joseph Myers <joseph@codesourcery.com>
7111 * sysdeps/unix/sysv/linux/kernel-features.h
7112 (__ASSUME_POSIX_TIMERS): Remove.
7113 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7114 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7115 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
7116 Make code unconditional.
7117 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7118 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
7119 Make code unconditional.
7120 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7121 * sysdeps/unix/sysv/linux/clock_nanosleep.c
7122 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
7123 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7124 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
7125 Make code unconditional.
7126 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7127 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
7128 (__libc_missing_posix_timers): Remove.
7130 2012-08-15 Roland McGrath <roland@hack.frob.com>
7132 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
7133 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
7135 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
7137 * elf/dl-sym.c: Include <stdlib.h>.
7139 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
7140 constants, which avoids warnings in 32-bit builds.
7142 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
7143 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
7145 * misc/lseek.c: File moved to ...
7146 * io/lseek.c: ... here.
7148 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
7150 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
7151 shifting LEN more than 31 bits at once.
7153 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7156 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
7157 segmentation fault for a case of two empty input strings.
7158 * string/test-strncasecmp.c (check1): Renamed to...
7160 (bz14195): Add new testcase for two empty input strings and N > 0.
7161 (test_main): Call new testcase, adapt for renamed function.
7163 2012-08-15 Andreas Jaeger <aj@suse.de>
7166 * crypt/md5test2.c: New test, based on test supplied by Serge
7167 Belyshev <belyshev@depni.sinp.msu.ru>.
7168 * crypt/Makefile (xtests): Add md5test-giant..
7169 * crypt/Makefile ($(objpfx)md5test-giant): Add.
7171 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
7174 * crypt/md5.c (md5_process_block): Don't assume the buffer
7175 length is less than 2**32.
7176 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
7177 length is less than 2**64.
7179 2012-08-15 Roland McGrath <roland@hack.frob.com>
7181 * string/str-two-way.h: Include <sys/param.h>.
7182 (MAX): Macro removed.
7184 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
7185 Move #define and #undef of memmove to just before and after
7186 including <string.h>.
7188 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
7189 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
7190 and after including <string.h>. Move declarations of
7191 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
7192 to before #include "string/memmove.c".
7194 * include/dirent.h: Declare __getdirentries.
7196 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
7197 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
7199 2012-08-14 Mike Frysinger <vapier@gentoo.org>
7201 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
7202 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
7203 * sysdeps/i386/configure: Regenerated.
7204 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
7205 STABS_CURRENT_FILE, and STABS_FUN.
7206 (END): Remove call to STABS_FUN_END.
7207 (STABS_CURRENT_FILE1): Delete.
7208 (STABS_CURRENT_FILE): Likewise.
7209 (STABS_FUN): Likewise.
7210 (STABS_FUN_END): Likewise.
7211 (STABS_FUN2): Likewise.
7212 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
7213 * sysdeps/x86_64/configure: Regenerated.
7215 2012-08-14 Roland McGrath <roland@hack.frob.com>
7217 * elf/dl-open.c: Include <atomic.h>.
7218 * elf/dl-lookup.c: Likewise.
7220 2012-08-14 Joseph Myers <joseph@codesourcery.com>
7222 * sysdeps/unix/sysv/linux/kernel-features.h
7223 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
7224 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
7226 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
7228 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
7229 condition on __ASSUME_CLONE_THREAD_FLAGS.
7231 2012-08-14 Andreas Jaeger <aj@suse.de>
7233 * sysdeps/i386/fpu/libm-test-ulps: Update.
7235 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
7237 * include/atomic.h (atomic_exchange_and_add): Split into ...
7238 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
7241 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
7243 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7245 2012-08-13 Jeff Law <law@redhat.com>
7247 * manual/stdio.texi (snprintf): Clarify handling of the trailing
7248 null byte in the output string.
7250 2012-08-10 Joseph Myers <joseph@codesourcery.com>
7252 * sysdeps/unix/sysv/linux/kernel-features.h
7253 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
7254 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
7255 (__ASSUME_ARG_MAX_STACK_BASED): Define.
7256 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7257 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
7258 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
7259 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
7261 2012-08-09 Jeff Law <law@redhat.com>
7264 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
7265 When avoid_arena is set, don't retry in the that arena. Pick the
7266 next one, whatever it might be.
7267 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
7268 (arena_lock): Pass in new parameter to arena_get2.
7269 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
7271 (__libc_malloc): Unify retrying after main arena failure with
7272 __libc_memalign version.
7273 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
7275 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
7278 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
7279 to __redirect_strstr.
7280 (__strstr_sse42): Use typeof __redirect_strstr.
7281 (__strstr_ia32): Likewise.
7282 (__libc_strstr): New prototype.
7283 (strstr): Renamed to ...
7284 (__libc_strstr): This.
7285 (strstr): New strong alias of __libc_strstr.
7286 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7287 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
7290 (__libc_time): New prototype.
7291 (time_ifunc): Replace time with __libc_time.
7292 (time): New strong alias and hidden definition of __libc_time.
7293 (__GI_time): Remove strong alias.
7294 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
7296 (memmove): Redefined to __redirect_memmove.
7297 (__memmove_sse2): Use typeof __redirect_memmove.
7298 (__memmove_ssse3): Likewise.
7299 (__memmove_ssse3_back): Likewise.
7300 (__libc_memmove): New prototype.
7301 (memmove): Renamed to ...
7302 (__libc_memmove): This.
7303 (memmove): New strong alias of __libc_memmove.
7305 2012-08-08 Mark Salter <msalter@redhat.com>
7308 (R_MN10300_TLS_GD): Define.
7309 (R_MN10300_TLS_LD): Likewise.
7310 (R_MN10300_TLS_LDO): Likewise.
7311 (R_MN10300_TLS_GOTIE): Likewise.
7312 (R_MN10300_TLS_IE): Likewise.
7313 (R_MN10300_TLS_LE): Likewise.
7314 (R_MN10300_TLS_DTPMOD): Likewise.
7315 (R_MN10300_TLS_DTPOFF): Likewise.
7316 (R_MN10300_TLS_TPOFF): Likewise.
7317 (R_MN10300_SYM_DIFF): Likewise.
7318 (R_MN10300_ALIGN): Likewise.
7319 (R_MN10300_NUM): Update.
7321 2012-08-08 Joseph Myers <joseph@codesourcery.com>
7323 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
7326 2012-08-08 Roland McGrath <roland@hack.frob.com>
7328 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
7330 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
7331 sysdeps/unix -> sysdeps/posix move.
7332 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7334 2012-08-07 Allan McRae <allan@archlinux.org>
7337 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
7338 (SUNOS_CPP): Likewise.
7339 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
7341 (open_input): Call CPP using execvp.
7343 2012-08-07 Joseph Myers <joseph@codesourcery.com>
7345 * sysdeps/unix/sysv/linux/kernel-features.h
7346 (__ASSUME_PROT_GROWSUPDOWN): Remove.
7347 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7348 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7349 (__ASSUME_WAITID_SYSCALL): Likewise.
7350 * sysdeps/unix/sysv/linux/dl-execstack.c
7351 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
7353 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
7355 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
7356 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
7357 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
7359 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
7361 [__ASSUME_WAITID_SYSCALL]: Likewise.
7362 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
7364 2012-08-07 Roland McGrath <roland@hack.frob.com>
7366 * sysdeps/unix/closedir.c: Renamed to ...
7367 * sysdeps/posix/closedir.c: ... here.
7368 * sysdeps/unix/dirfd.c: Renamed to ...
7369 * sysdeps/posix/dirfd.c: ... here.
7370 * sysdeps/unix/dirstream.h: Renamed to ...
7371 * sysdeps/posix/dirstream.h: ... here.
7372 * sysdeps/unix/fdopendir.c: Renamed to ...
7373 * sysdeps/posix/fdopendir.c: ... here.
7374 * sysdeps/unix/opendir.c: Renamed to ...
7375 * sysdeps/posix/opendir.c: ... here.
7376 * sysdeps/unix/readdir.c: Renamed to ...
7377 * sysdeps/posix/readdir.c: ... here.
7378 * sysdeps/unix/readdir_r.c: Renamed to ...
7379 * sysdeps/posix/readdir_r.c: ... here.
7380 * sysdeps/unix/rewinddir.c: Renamed to ...
7381 * sysdeps/posix/rewinddir.c: ... here.
7382 * sysdeps/unix/seekdir.c: Renamed to ...
7383 * sysdeps/posix/seekdir.c: ... here.
7384 * sysdeps/unix/telldir.c: Renamed to ...
7385 * sysdeps/posix/telldir.c: ... here.
7386 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
7387 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
7388 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
7389 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
7391 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
7392 * bits/fcntl.h: ... here.
7394 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
7396 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
7397 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
7398 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
7399 (struct flock): Move l_start, l_len to the beginning.
7400 Use __pid_t for l_pid.
7401 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
7402 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
7403 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
7404 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
7405 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
7406 [__USE_LARGEFILE64] (struct flock64): New type.
7407 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
7409 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
7410 * bits/dirent.h: ... here.
7412 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
7413 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
7415 2012-08-07 Joseph Myers <joseph@codesourcery.com>
7417 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7418 Change from 2.6.0 to 2.6.16.
7419 * sysdeps/unix/sysv/linux/configure: Regenerated.
7420 * sysdeps/unix/sysv/linux/kernel-features.h
7421 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
7422 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
7424 (__ASSUME_UTIMES): Likewise.
7425 (__ASSUME_CLONE_STOPPED): Remove.
7426 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
7427 architectures, not kernel version.
7428 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
7429 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7430 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7431 (__ASSUME_WAITID_SYSCALL): Likewise.
7432 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
7433 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
7434 * README: State 2.6.16 as minimum Linux kernel version. Do not
7435 refer to older versions.
7437 2012-08-06 Roland McGrath <roland@hack.frob.com>
7439 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
7440 Define alphasort64 as an alias.
7441 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
7442 Define versionsort64 as an alias.
7443 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
7444 Define scandir64 as an alias.
7445 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
7446 Define scandirat64 as an alias.
7447 * dirent/alphasort64.c (alphasort64):
7448 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
7449 * dirent/versionsort64.c: Likewise.
7450 * dirent/scandir64.c: Likewise.
7451 * dirent/scandirat64.c: Likewise.
7452 * sysdeps/wordsize-64/alphasort.c: File removed.
7453 * sysdeps/wordsize-64/alphasort64.c: File removed.
7454 * sysdeps/wordsize-64/scandir.c: File removed.
7455 * sysdeps/wordsize-64/scandir64.c: File removed.
7456 * sysdeps/wordsize-64/scandirat.c: File removed.
7457 * sysdeps/wordsize-64/scandirat64.c: File removed.
7458 * sysdeps/wordsize-64/versionsort.c: File removed.
7459 * sysdeps/wordsize-64/versionsort64.c: File removed.
7460 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
7461 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
7462 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
7463 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
7464 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
7465 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
7466 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
7467 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
7469 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
7470 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7471 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
7472 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7473 [defined __arch64__ || defined __sparcv9]
7474 (__INO_T_MATCHES_INO64_T): New macro.
7475 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7476 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
7477 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
7478 * sysdeps/unix/sysv/linux/bits/dirent.h
7479 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
7480 (_DIRENT_MATCHES_DIRENT64): New macro.
7482 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
7483 Define lockf64 as an alias.
7484 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
7485 Define fseeko64 as an alias.
7486 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
7487 Define ftello64 as an alias.
7488 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
7489 Define _IO_fgetpos64 and fgetpos64 as aliases.
7490 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
7491 Define _IO_fsetpos64 and fsetpos64 as aliases.
7492 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
7493 Conditionalize body on this.
7494 * libio/fseeko64.c: Likewise.
7495 * libio/ftello64.c: Likewise.
7496 * libio/iofgetpos64.c: Likewise.
7497 * libio/iofsetpos64.c: Likewise.
7498 * sysdeps/wordsize-64/lockf.c: File removed.
7499 * sysdeps/wordsize-64/lockf64.c: File removed.
7500 * sysdeps/wordsize-64/fseeko.c: File removed.
7501 * sysdeps/wordsize-64/fseeko64.c: File removed.
7502 * sysdeps/wordsize-64/ftello.c: File removed.
7503 * sysdeps/wordsize-64/ftello64.c: File removed.
7504 * sysdeps/wordsize-64/iofgetpos.c: File removed.
7505 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
7506 * sysdeps/wordsize-64/iofsetpos.c: File removed.
7507 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
7508 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
7509 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
7510 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
7511 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
7512 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
7513 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
7514 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
7515 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
7516 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
7517 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
7519 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7520 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7521 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
7522 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7523 [defined __arch64__ || defined __sparcv9]
7524 (__OFF_T_MATCHES_OFF64_T): New macro.
7525 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7526 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7527 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7528 (__OFF_T_MATCHES_OFF64_T): New macro.
7530 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7532 * stdlib/secure-getenv.c (__secure_getenv): Replace
7533 GLIBC_2_16 with GLIBC_2_17.
7535 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7537 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
7538 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7540 2012-08-03 David S. Miller <davem@davemloft.net>
7542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7544 2012-08-03 Joseph Myers <joseph@codesourcery.com>
7546 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
7548 (__ASSUME_CORRECT_SI_PID): Likewise.
7549 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
7550 (__ASSUME_TMPFS_NAME): Likewise.
7551 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
7552 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
7553 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
7554 (HAVE_AUX_SECURE): Make definition unconditional.
7555 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
7556 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
7558 2012-08-03 Roland McGrath <roland@hack.frob.com>
7560 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
7561 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
7562 * sysdeps/mach/hurd/eloop-threshold.h: New file.
7563 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7564 __eloop_threshold instead of SYMLOOP_MAX.
7566 * sysdeps/generic/eloop-threshold.h: New file.
7567 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
7569 * elf/chroot_canon.c (chroot_canon): Likewise.
7571 2012-08-03 Joseph Myers <joseph@codesourcery.com>
7574 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7575 Change to 2.6.0 everywhere.
7576 * sysdeps/unix/sysv/linux/configure: Regenerated.
7577 * sysdeps/unix/sysv/linux/kernel-features.h
7578 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
7579 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
7581 (__ASSUME_POSIX_TIMERS): Define unconditionally.
7582 (__ASSUME_FUTEX_REQUEUE): Remove.
7583 (__ASSUME_STATFS64): Define unconditionally.
7584 (__ASSUME_AT_SECURE): Likewise.
7585 (__ASSUME_CORRECT_SI_PID): Likewise.
7586 (__ASSUME_TGKILL): Define without depending on kernel version for
7588 (__ASSUME_UTIMES): Likewise.
7589 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
7591 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
7592 (__ASSUME_TMPFS_NAME): Likewise.
7593 * README: Update reference to Linux kernel versions.
7595 2012-08-02 Marek Polacek <polacek@redhat.com>
7598 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
7599 libc_cv_asm_type_prefix with %.
7600 * configure: Regenerated.
7601 * include/libc-symbols.h: Remove comment about
7602 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
7603 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
7604 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
7605 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
7606 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
7607 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
7608 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
7609 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
7610 * elf/tst-unique2mod1.c: Likewise.
7611 * elf/tst-unique1mod2.c: Likewise.
7612 * elf/tst-unique1mod1.c: Likewise.
7613 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
7614 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
7615 Replace ASM_TYPE_DIRECTIVE with .type.
7616 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7617 * sysdeps/i386/sysdep.h: Likewise.
7618 * sysdeps/x86_64/sysdep.h: Likewise.
7619 * sysdeps/sh/sysdep.h: Likewise.
7620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7621 Do not define ASM_TYPE_DIRECTIVE.
7622 * sysdeps/powerpc/sysdep.h: Likewise.
7623 * sysdeps/powerpc/powerpc32/sysdep.h:
7624 Replace ASM_TYPE_DIRECTIVE with .type.
7625 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7626 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7627 * sysdeps/i386/fpu/e_powf.S: Likewise.
7628 * sysdeps/i386/fpu/e_expl.S: Likewise.
7629 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7630 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7631 * sysdeps/i386/fpu/e_pow.S: Likewise.
7632 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7633 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7634 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7635 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7636 * sysdeps/i386/fpu/e_log2.S: Likewise.
7637 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7638 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7639 * sysdeps/i386/fpu/e_powl.S: Likewise.
7640 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7641 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7642 * sysdeps/i386/fpu/e_logl.S: Likewise.
7643 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7644 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7645 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7646 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7647 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7648 * sysdeps/i386/fpu/e_log.S: Likewise.
7649 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7650 * sysdeps/i386/fpu/e_logf.S: Likewise.
7651 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7652 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7653 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7654 * sysdeps/i386/fpu/e_log10.S: Likewise.
7655 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7656 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7657 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7658 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7659 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7660 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
7661 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7662 * sysdeps/i386/i686/strtok.S: Likewise.
7663 * sysdeps/i386/i386-mcount.S: Likewise.
7664 * sysdeps/i386/strtok.S: Likewise.
7665 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
7666 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7667 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7668 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7669 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7670 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7671 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7672 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7673 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7674 * sysdeps/x86_64/_mcount.S: Likewise.
7675 * sysdeps/x86_64/strtok.S: Likewise.
7676 * sysdeps/sh/_mcount.S: Likewise.
7678 2012-08-01 Roland McGrath <roland@hack.frob.com>
7680 * libio/iofopen.c: Include <fcntl.h>.
7681 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
7682 (_IO_fopen64, fopen64): Define as aliases.
7683 * libio/iofopen64.c: Include <fcntl.h>.
7684 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
7685 Conditionalize body on this.
7686 * sysdeps/wordsize-64/iofopen.c: File removed.
7687 * sysdeps/wordsize-64/iofopen64.c: File removed.
7689 2012-08-01 Marek Polacek <polacek@redhat.com>
7691 * libc/Makeconfig: Use elf in place of binfmt-subdir.
7692 Use dlfcn directly instead of a variable.
7693 (binfmt-subdir): Do not define.
7696 2012-08-01 Joseph Myers <joseph@codesourcery.com>
7698 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
7699 Remove all definitions.
7700 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
7701 <kernel-features.h>.
7702 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7703 (miss_F_GETOWN_EX): Remove all definitions.
7704 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
7706 [!__ASSUME_FCNTL64]: Remove conditional code.
7707 [__ASSUME_FCNTL64]: Make code unconditional.
7708 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
7709 <kernel-features.h>.
7710 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7711 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
7712 (lockf64) [__NR_fcntl64]: Make code unconditional.
7713 (lockf64) [__ASSUME_FCNTL64]: Likewise.
7715 * sysdeps/unix/sysv/linux/kernel-features.h
7716 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
7717 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
7718 Make code unconditional.
7719 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7720 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
7722 [__NR_vfork]: Make code unconditional.
7723 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7724 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
7726 [__NR_vfork]: Make code unconditional.
7727 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7728 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7730 2012-08-01 Roland McGrath <roland@hack.frob.com>
7732 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
7733 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
7735 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7736 Define mkstemp64 as an alias.
7737 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7738 Define mkstemps64 as an alias.
7739 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7740 Define mkostemp64 as an alias.
7741 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7742 Define mkostemps64 as an alias.
7743 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
7744 Conditionalize body on this.
7745 * misc/mkostemp64.c: Likewise.
7746 * misc/mkostemps64.c: Likewise.
7747 * misc/mkstemps64.c: Likewise.
7748 * sysdeps/wordsize-64/mkstemp64.c: File removed.
7749 * sysdeps/wordsize-64/mkostemp64.c: File removed.
7750 * sysdeps/wordsize-64/mkostemp.c: File removed.
7751 * sysdeps/wordsize-64/mkstemp.c: File removed.
7752 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
7753 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
7754 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
7755 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
7758 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
7759 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
7760 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
7761 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
7763 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
7764 compat_symbol macros from <shlib-compat.h> rather than the underlying
7765 default_symbol_version and symbol_version macros, so that DEFAULT
7766 lines in shlib-versions are respected.
7767 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
7769 2012-08-01 Florian Weimer <fweimer@redhat.com>
7771 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
7772 Declare with warn_unused_result.
7773 (setgid, setregid, setegid, setresgid): Likewise.
7774 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
7776 * WUR-REPORT: Remove set*id functions.
7778 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
7780 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
7782 2012-07-31 Roland McGrath <roland@hack.frob.com>
7784 * include/sys/socket.h (__libc_accept, __libc_accept4):
7785 Add attribute_hidden.
7786 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
7788 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
7790 * inet/getnetgrent_r.c (setup): Likewise.
7792 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
7794 2012-07-31 David S. Miller <davem@davemloft.net>
7796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7798 2012-07-31 Joseph Myers <joseph@codesourcery.com>
7801 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
7802 value between 1.0 and 2.0 and smaller part has absolute value less
7804 * math/s_clog10.c (__clog10): Likewise.
7805 * math/s_clog10f.c (__clog10f): Likewise.
7806 * math/s_clog10l.c (__clog10l): Likewise.
7807 * math/s_clogf.c (__clogf): Likewise.
7808 * math/s_clogl.c (__clogl): Likewise.
7809 * math/libm-test.inc (clog_test): Add more tests.
7810 (clog10_test): Likewise.
7811 * sysdeps/i386/fpu/libm-test-ulps: Update.
7812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7814 2012-07-31 Florian Weimer <fweimer@redhat.com>
7816 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
7817 Exit with zero in case no suitable GID is found, and write a
7818 message to standard error.
7820 2012-07-30 Roland McGrath <roland@hack.frob.com>
7822 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
7824 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
7825 (MAXPATHLEN): Removed.
7826 (NOGROUP, NODEV): New macros.
7827 (setbit, clrbit, isset, isclr): New macros.
7828 (howmany, roundup, powerof2): New macros.
7829 (DEV_BSIZE): New macro.
7831 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
7832 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
7834 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
7835 definition on [!__NO_LONG_DOUBLE_MATH].
7837 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
7838 PTR_MANGLE and PTR_DEMANGLE.
7840 * socket/accept4.c (accept4): Rename to __libc_accept4.
7841 Define accept4 as a weak alias.
7843 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
7844 on [_DIRENT_HAVE_D_TYPE].
7845 * io/ftw.c (ftw_dir): Likewise.
7847 * io/xmknod.c (__xmknod): Don't check PATH for being null.
7849 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
7851 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
7852 Use the BSD numbers rather than the arbitrary ones we had.
7853 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
7854 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
7855 (SIGXCPU, SIGXFSZ): New macros.
7858 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
7859 initializer on [_LIBC_REENTRANT].
7861 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
7862 definitions inside [_POSIX_MAPPED_FILES].
7864 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
7866 * dirent/opendir.c: Include <fcntl.h>.
7868 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
7869 (__libc_getspecific): Likewise.
7870 (__libc_key_create): Likewise.
7872 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
7873 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
7874 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
7875 (tmpfile64): Define as alias.
7876 * sysdeps/wordsize-64/tmpfile.c: File removed.
7877 * sysdeps/wordsize-64/tmpfile64.c: File removed.
7878 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
7879 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
7881 * stdio-common/vfscanf.c: Include <stdbool.h>.
7882 * nss/makedb.c: Likewise.
7883 * stdio-common/_i18n_number.h: Likewise.
7884 * argp/argp-help.c: Likewise.
7885 * posix/wordexp.c: Likewise.
7886 * sysdeps/posix/spawni.c: Likewise.
7887 * nss/nss_files/files-initgroups.c: Likewise.
7888 * stdio-common/reg-modifier.c: Include <stdlib.h>.
7889 * nss/nss_files/files-initgroups.c: Likewise.
7890 * nss/nss_db/db-netgrp.c: Likewise.
7891 * nss/nss_db/db-initgroups.c: Likewise.
7892 * io/fchmodat.c: Include <sys/stat.h>.
7894 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
7895 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
7897 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
7900 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
7901 Add multiple inclusion protection.
7903 2012-07-27 David S. Miller <davem@davemloft.net>
7905 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7907 2012-07-27 Gary Benson <gbenson@redhat.com>
7910 * elf/rtld.c: Include <stap-probe.h>.
7911 (dl_main): Added static probes "init_start" and "init_complete".
7912 * elf/dl-load.c: Include <stap-probe.h>.
7913 (lose): Take new parameter "nsid".
7914 Added static probe "map_failed".
7915 (_dl_map_object_from_fd): Pass namespace id to lose.
7916 Added static probe "map_start".
7917 (open_verify): Pass namespace id to lose.
7918 * elf/dl-open.c: Include <stap-probe.h>.
7919 (dl_open_worker) Added static probes "map_complete", "reloc_start"
7920 and "reloc_complete".
7921 * elf/dl-close.c: Include <stap-probe.h>.
7922 (_dl_close_worker): Added static probes "unmap_start" and
7924 * elf/rtld-debugger-interface.txt: New file documenting the above.
7926 2012-07-26 Roland McGrath <roland@hack.frob.com>
7928 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
7929 rather than a string variable.
7930 * sunrpc/rpc_main.c (h_output): Likewise.
7931 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
7933 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
7935 * inet/check_native.c: New file.
7937 2012-07-26 Joseph Myers <joseph@codesourcery.com>
7940 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
7941 if larger part has absolute value 1.0.
7942 * math/s_clog10.c (__clog10): Likewise.
7943 * math/s_clog10f.c (__clog10f): Likewise.
7944 * math/s_clog10l.c (__clog10l): Likewise.
7945 * math/s_clogf.c (__clogf): Likewise.
7946 * math/s_clogl.c (__clogl): Likewise.
7947 * math/libm-test.inc (clog_test): Add more tests.
7948 (clog10_test): Likewise.
7949 * sysdeps/i386/fpu/libm-test-ulps: Update.
7950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7952 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
7953 (pltexit): Likewise.
7954 (La_regs): Likewise.
7955 (La_retval): Likewise.
7956 (int_retval): Likewise.
7957 Update #error for removed macros to refer only to definitions in
7959 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
7961 (pltexit): Likewise.
7962 (La_regs): Likewise.
7963 (La_retval): Likewise.
7964 (int_retval): Likewise.
7965 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
7967 (pltexit): Likewise.
7968 (La_regs): Likewise.
7969 (La_retval): Likewise.
7970 (int_retval): Likewise.
7971 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
7973 (pltexit): Likewise.
7974 (La_regs): Likewise.
7975 (La_retval): Likewise.
7976 (int_retval): Likewise.
7977 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
7979 (pltexit): Likewise.
7980 (La_regs): Likewise.
7981 (La_retval): Likewise.
7982 (int_retval): Likewise.
7983 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
7985 (pltexit): Likewise.
7986 (La_regs): Likewise.
7987 (La_retval): Likewise.
7988 (int_retval): Likewise.
7989 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
7991 (pltexit): Likewise.
7992 (La_regs): Likewise.
7993 (La_retval): Likewise.
7994 (int_retval): Likewise.
7995 * sysdeps/generic/tst-audit.h: Update comment to refer only to
7996 macro definitions in tst-audit.h.
7997 * sysdeps/i386/tst-audit.h: New file.
7998 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
7999 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
8000 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
8001 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
8002 * sysdeps/sh/tst-audit.h: Likewise.
8003 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
8004 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
8005 * sysdeps/x86_64/tst-audit.h: Likewise.
8007 2012-07-26 Andreas Jaeger <aj@suse.de>
8009 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
8012 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
8013 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
8014 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
8016 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
8017 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
8018 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
8020 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
8023 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
8025 (si_call_addr, si_syscall, si_arch): Define new macro.
8026 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
8028 (si_call_addr, si_syscall, si_arch): Define new marcro.
8029 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
8031 (si_call_addr, si_syscall, si_arch): Define new macro.
8032 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
8034 (si_call_addr, si_syscall, si_arch): Define new macro.
8036 2012-07-25 Joseph Myers <joseph@codesourcery.com>
8039 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8040 Change to 2.4.21 where previously 2.4.1.
8041 * sysdeps/unix/sysv/linux/configure: Regenerated.
8042 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
8043 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
8044 Linux kernel version.
8045 (__ASSUME_STD_AUXV): Remove.
8046 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
8048 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
8049 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
8050 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
8051 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
8052 (__ASSUME_NETLINK_SUPPORT): Likewise.
8053 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
8054 (__no_netlink_support): Remove conditional definition.
8055 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
8057 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8058 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
8059 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
8060 (if_nameindex_ioctl): Remove.
8061 (if_nameindex_netlink): Do not handle __no_netlink_support.
8062 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8064 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
8065 Remove conditional code.
8066 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8068 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
8070 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8071 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
8072 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
8074 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
8075 [!__ASSUME_STD_AUXV]: Remove conditional code.
8076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
8077 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
8078 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
8079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
8080 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
8081 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8083 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8085 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
8086 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8088 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8090 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8093 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
8096 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8098 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8100 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8102 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8105 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8107 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
8110 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8112 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8114 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8116 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
8119 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8121 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8123 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8125 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8128 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8130 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
8131 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
8132 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8133 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
8134 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
8135 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8136 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8137 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8138 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
8139 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8140 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
8141 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
8142 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
8143 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8144 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8145 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
8146 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
8147 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
8148 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
8149 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
8150 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
8151 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8152 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8154 2012-07-25 Florian Weimer <fweimer@redhat.com>
8156 * Versions.def: Add GLIBC_2.17.
8157 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
8158 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
8159 Introduce __libc_secure_getenv.
8160 * stdlib/Versions (2.17): Add secure_getenv
8161 (GLIBC_PRIVATE): Add __libc_secure_getenv.
8162 * stdlib/secure-getenv.c: Rename __secure_getenv to
8163 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
8164 symbol __secure_getenv for GLIBC_2.0.
8165 * stdlib/tst-secure-getenv.c: New.
8166 * stdlib/Makefile (tests): Add testcase.
8167 * manual/startup.texi (Environment Access): Document
8169 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
8170 __libc_secure_getenv.
8171 * inet/ruserpass.c (ruserpass): Likewise.
8172 * malloc/mtrace.c (mtrace): Likewise.
8173 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
8174 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
8175 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
8176 * sysdeps/posix/tempname.c: Likewise. Evaluate
8178 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
8179 __secure_getenv to __libc_secure_getenv.
8180 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
8181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8185 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8186 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8187 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8190 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8191 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
8193 2012-07-25 Joseph Myers <joseph@codesourcery.com>
8195 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
8196 (struct La_i86_retval): Likewise.
8197 (struct La_x86_64_regs): Likewise.
8198 (struct La_x86_64_retval): Likewise.
8199 (struct La_x32_regs): Likewise.
8200 (struct La_x32_retval): Likewise.
8201 (struct La_ppc32_regs): Likewise.
8202 (struct La_ppc32_retval): Likewise.
8203 (struct La_ppc64_regs): Likewise.
8204 (struct La_ppc64_retval): Likewise.
8205 (struct La_sh_regs): Likewise.
8206 (struct La_sh_retval): Likewise.
8207 (struct La_s390_32_regs): Likewise.
8208 (struct La_s390_32_retval): Likewise.
8209 (struct La_s390_64_regs): Likewise.
8210 (struct La_s390_64_retval): Likewise.
8211 (struct La_sparc32_regs): Likewise.
8212 (struct La_sparc32_retval): Likewise.
8213 (struct La_sparc64_regs): Likewise.
8214 (struct La_sparc64_retval): Likewise.
8215 (struct audit_ifaces): Remove architecture-specific pltenter and
8217 * sysdeps/i386/ldsodefs.h: New file.
8218 * sysdeps/powerpc/ldsodefs.h: Likewise.
8219 * sysdeps/s390/ldsodefs.h: Likewise.
8220 * sysdeps/sh/ldsodefs.h: Likewise.
8221 * sysdeps/sparc/ldsodefs.h: Likewise.
8222 * sysdeps/x86_64/ldsodefs.h: Likewise.
8224 2012-07-25 Marek Polacek <polacek@redhat.com>
8227 * math/libm-test.inc (yn_test): Add another test.
8228 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
8229 to ERANGE when the result is +-Inf.
8230 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8231 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
8232 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
8233 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
8235 2012-07-24 Joseph Myers <joseph@codesourcery.com>
8237 * conform/data/time.h-data (NULL): Use macro-constant. Require
8239 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
8241 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
8243 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
8245 * configure.in <sysdeps resolving>: Correct printing
8247 * configure: Regenerate.
8249 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
8251 * math/w_ilogb.c: Include <limits.h>.
8252 * math/w_ilogbl.c: Likewise.
8254 2012-07-20 Joseph Myers <joseph@codesourcery.com>
8256 * manual/lang.texi (__va_copy): Document primarily as ISO C99
8257 va_copy. Document allowing for unavailable va_copy only as
8258 pre-C99 compatibility.
8259 * manual/string.texi (Copying and Concatenation): Use va_copy
8260 instead of __va_copy in concat example.
8262 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
8264 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
8265 (__sendto): Use create_address_port. Initialize APORT and deallocate
8268 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
8269 with O_NOLINK passed to __file_name_lookup.
8271 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
8272 with O_NOLINK passed to __file_name_lookup.
8274 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
8275 negative N or less than NGIDS.
8277 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
8278 type to string_t. Set ERANGE as errno and return it if NAME is not big
8279 enough. Use memcpy instead of strncpy.
8281 2012-07-20 Joseph Myers <joseph@codesourcery.com>
8283 * elf/Makefile (check-data): Remove.
8284 (localplt.data): New vpath directive.
8285 ($(objpfx)check-localplt.out): Use localplt.data from vpath
8286 instead of $(check-data).
8287 * scripts/data/localplt-generic.data: Move to ...
8288 * sysdeps/generic/localplt.data: ... here.
8289 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
8290 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
8291 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
8292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8294 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
8295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8297 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
8298 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
8300 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
8301 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8303 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
8304 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
8306 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
8307 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
8310 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8312 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
8313 PPC32 and PPC64 files.
8314 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
8315 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
8317 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8319 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
8320 __makecontext_ret to ...
8321 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
8322 ... here and call exit if uc_link is NULL. New file.
8323 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
8324 __makecontext_ret.S.
8325 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
8326 __makecontext_ret to ...
8327 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
8328 ... here and call exit if uc_link is NULL. New file.
8329 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
8330 __makecontext_ret.S.
8332 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8334 * elf/elf.h (R_390_IRELATIVE): New definition.
8335 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
8336 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
8337 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
8338 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8339 (elf_machine_lazy_rel): Likewise.
8340 * sysdeps/s390/dl-irel.h: New file.
8341 * sysdeps/s390/s390-64/memcpy.S: New asm code.
8342 * sysdeps/s390/s390-64/memset.S: New asm code.
8343 * sysdeps/s390/s390-64/memcmp.S: New asm code.
8344 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
8345 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
8346 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
8347 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
8348 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
8349 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
8350 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
8351 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
8352 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
8353 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
8354 * sysdeps/s390/s390-32/memcpy.S: New asm code.
8355 * sysdeps/s390/s390-32/memset.S: New asm code.
8356 * sysdeps/s390/s390-32/memcmp.S: New asm code.
8358 2012-07-17 Marek Polacek <polacek@redhat.com>
8361 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
8362 * sysdeps/s390/s390-64/configure.in: Likewise.
8363 * sysdeps/sparc/configure.in: Likewise.
8364 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
8365 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
8366 * sysdeps/i386/configure.in: Likewise.
8367 * sysdeps/x86_64/configure.in: Likewise.
8368 * sysdeps/sh/configure.in: Likewise.
8369 * sysdeps/s390/s390-32/configure: Regenerated.
8370 * sysdeps/s390/s390-64/configure: Likewise.
8371 * sysdeps/x86_64/configure: Likewise.
8372 * sysdeps/sh/configure: Likewise.
8373 * sysdeps/powerpc/powerpc64/configure: Likewise.
8374 * sysdeps/powerpc/powerpc32/configure: Likewise.
8375 * sysdeps/sparc/configure: Likwise.
8376 * sysdeps/i386/configure: Likewise.
8378 * elf/dl-open.c: Comment fixes.
8380 2012-07-17 Joseph Myers <joseph@codesourcery.com>
8382 * Makefile [CXX] (check-data): Remove.
8383 [CXX] (c++-types.data): New vpath directive.
8384 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
8385 vpath. Do not allow for C++ type data being missing.
8386 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
8387 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
8388 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
8389 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
8390 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
8391 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
8392 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
8393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8395 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
8396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8398 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
8399 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
8401 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
8402 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
8404 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
8405 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
8407 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
8408 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
8410 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
8411 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
8413 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
8414 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
8416 * elf/tls-macros.h (TLS_LE): Move architecture-specific
8417 definitions to architecture-specific files.
8421 * sysdeps/i386/tls-macros.h: New file.
8422 * sysdeps/powerpc/tls-macros.h: Likewise.
8423 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
8424 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
8425 * sysdeps/sh/tls-macros.h: Likewise.
8426 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
8427 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
8428 * sysdeps/x86_64/tls-macros.h: Likewise.
8430 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8432 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
8433 zero value for regular exit case.
8435 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8436 (__start_context): Preserve zero value for regular exit case.
8438 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8439 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8441 * manual/setjmp.texi (setcontext): Clarify normal process
8442 termination when uc_link is the null pointer.
8443 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
8446 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
8448 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
8449 preprocessor. Test for each exception mask separately.
8451 2012-07-16 Andreas Jaeger <aj@suse.de>
8453 * po/ru.po: Update from translation team.
8455 2012-07-15 Joseph Myers <joseph@codesourcery.com>
8457 * conform/data/string.h-data (NULL): Use macro-constant. Require
8459 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8460 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8461 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
8462 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
8463 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8465 2012-07-13 Andreas Jaeger <aj@suse.de>
8467 * po/fr.po: Update from translation team.
8469 2012-07-12 Marek Polacek <polacek@redhat.com>
8472 * math/libm-test.inc (yn_test): Add test for BZ #14173.
8473 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
8476 2012-07-12 Joseph Myers <joseph@codesourcery.com>
8479 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8480 Change to 2.4.1 where previously 2.4.0.
8481 * sysdeps/unix/sysv/linux/configure: Regenerated.
8482 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
8483 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
8485 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
8486 (__ASSUME_AT_CLKTCK): Remove.
8487 (__ASSUME_AT_PAGESIZE): Likewise.
8488 (__ASSUME_AT_XID): Likewise.
8489 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
8490 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
8491 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
8493 (HAVE_AUX_PAGESIZE): Likewise.
8494 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
8495 [__ASSUME_AT_CLKTCK]: Make code unconditional.
8496 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
8498 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
8501 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
8502 the temporary buffer used to invoke __gethostbyname2_r,
8503 __gethostbyaddr_r and gethostbyname4_r to make room for struct
8504 host_data / struct gaih_addrtuple.
8505 * resolv/nss_dns/dns-host.c (global scope): Move definition of
8506 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
8507 header file nss/nsswitch.h.
8508 * nss/nsswitch.h (global scope): Add definition of implementation
8509 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
8510 resolv/nss_dns/dns-host.c).
8512 2012-07-11 Andreas Jaeger <aj@suse.de>
8514 * po/fr.po: Update from translation team.
8516 * po/sv.po: Update from translation team
8517 * po/fr.po: Another update from translation team.
8519 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8521 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
8522 for subnormals or multiply small sinh result by itself.
8523 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8526 2012-07-11 David S. Miller <davem@davemloft.net>
8528 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8530 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
8533 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
8534 (INTERNAL_MARK): Shift it here.
8536 2012-07-10 Marek Polacek <polacek@redhat.com>
8539 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
8540 libc_cv_asm_global_directive with .globl.
8541 * configure: Regenerated.
8542 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
8544 * sysdeps/i386/configure: Regenerated.
8545 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
8547 * sysdeps/x86_64/configure: Regenerated.
8548 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
8549 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
8550 * elf/tst-unique2mod2.c: Likewise.
8551 * elf/tst-unique2mod1.c: Likewise.
8552 * elf/tst-unique1mod2.c: Likewise.
8553 * elf/tst-unique1mod1.c: Likewise.
8554 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8555 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8556 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8557 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8558 * sysdeps/mach/sysdep.h: Likewise.
8559 * sysdeps/i386/sysdep.h: Likewise.
8560 * sysdeps/i386/i386-mcount.S: Likewise.
8561 * sysdeps/x86_64/_mcount.S: Likewise.
8562 * sysdeps/x86_64/sysdep.h: Likewise.
8563 * sysdeps/sh/_mcount.S: Likewise.
8564 * sysdeps/sh/sysdep.h: Likewise.
8565 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
8566 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
8567 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
8568 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8569 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
8570 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
8571 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
8572 * locale/localeinfo.h: Likewise.
8573 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
8574 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
8576 2012-07-09 Roland McGrath <roland@hack.frob.com>
8579 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
8581 * manual/message.texi (The Uniforum approach): Likewise.
8582 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
8583 (glibc iconv Implementation): Likewise.
8585 2012-07-09 Joseph Myers <joseph@codesourcery.com>
8588 * math/s_clog.c (__clog): Avoid scaling a value down where that
8589 could result in underflow.
8590 * math/s_clog10.c (__clog10): Likewise.
8591 * math/s_clog10f.c (__clog10f): Likewise.
8592 * math/s_clog10l.c (__clog10l): Likewise.
8593 * math/s_clogf.c (__clogf): Likewise.
8594 * math/s_clogl.c (__clogl): Likewise.
8595 * math/libm-test.inc (clog_test): Add more tests.
8596 (clog10_test): Likewise.
8597 * sysdeps/i386/fpu/libm-test-ulps: Update.
8598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8600 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8603 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
8604 by 7 not 8 to examine high bit of fractional part.
8607 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
8608 for call to __mcount_internal.
8609 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
8610 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
8611 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
8613 2012-07-06 Joseph Myers <joseph@codesourcery.com>
8616 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
8617 approximation for values within 0x1p-13f of an odd multiple of
8619 * math/libm-test.inc (tan_test): Do not allow spurious underflow
8620 exception. Add more tests.
8621 * sysdeps/i386/fpu/libm-test-ulps: Update.
8624 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
8625 inputs and return -1 for them. Do not check for +Inf in case not
8627 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8628 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
8629 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8630 and return -1 for them. Do not check for +Inf in case not
8632 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
8634 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8635 and return -1 for them. Do not check for +Inf in case not
8637 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
8639 * sysdeps/i386/fpu/libm-test-ulps: Update.
8640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8642 2012-07-06 Mike Frysinger <vapier@gentoo.org>
8644 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
8646 2012-07-05 Joseph Myers <joseph@codesourcery.com>
8650 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
8651 could result in spurious underflow. Scale down values above
8652 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
8653 * math/s_csqrtf.c (__csqrtf): Likewise.
8654 * math/s_csqrtl.c (__csqrtl): Likewise.
8655 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
8657 * sysdeps/i386/fpu/libm-test-ulps: Update.
8658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8660 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
8662 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
8664 * catgets/xopen-msg.awk: New file.
8665 * catgets/xopen-msg.sed: Removed.
8667 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
8669 * intl/po2test.awk: New file.
8670 * intl/po2test.sed: Removed.
8672 2012-07-04 Joseph Myers <joseph@codesourcery.com>
8675 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
8676 or multiply small sinh result by itself.
8677 * math/s_ctanf.c (__ctanf): Likewise.
8678 * math/s_ctanh.c (__ctanh): Likewise.
8679 * math/s_ctanhf.c (__ctanhf): Likewise.
8680 * math/s_ctanhl.c (__ctanhl): Likewise.
8681 * math/s_ctanl.c (__ctanl): Likewise.
8682 * math/libm-test.inc (ctan_test_tonearest): New function.
8683 (ctan_test_towardzero): Likewise.
8684 (ctan_test_downward): Likewise.
8685 (ctan_test_upward): Likewise.
8686 (ctanh_test_tonearest): Likewise.
8687 (ctanh_test_towardzero): Likewise.
8688 (ctanh_test_downward): Likewise.
8689 (ctanh_test_upward): Likewise.
8690 (main): Call these new functions.
8691 * sysdeps/i386/fpu/libm-test-ulps: Update.
8692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8694 2012-07-03 Mike Frysinger <vapier@gentoo.org>
8696 * .gitignore: Delete /ports entry.
8698 2012-07-03 Andreas Jaeger <aj@suse.de>
8700 * po/bg.po: Update from translation team.
8701 * po/cs.po: Likewise.
8702 * po/de.po: Likewise.
8703 * po/hr.po: Likewise.
8704 * po/nl.pl: Likewise.
8705 * po/pl.po: Likewise.
8706 * po/vi.po: Likewise.
8708 2012-07-03 Joseph Myers <joseph@codesourcery.com>
8710 * Makeconfig [!+link] (+link-before-libc): New variable.
8711 [!+link] (+link-after-libc): Likewise.
8712 [!+link] (+link-tests): Likewise.
8713 [!+link] (+link): Define in terms of $(+link-before-libc) and
8714 $(+link-after-libc).
8715 [!+link-static] (+link-static-before-libc): New variable.
8716 [!+link-static] (+link-static-after-libc): Likewise.
8717 [!+link-static] (+link-static-tests): Likewise.
8718 [!+link-static] (+link-static): Define in terms of
8719 $(+link-static-before-libc) and $(+link-static-after-libc).
8720 [build-shared] (link-libc-before-gnulib): New variable.
8721 [build-shared] (link-libc-tests): Likewise.
8722 [build-shared] (link-libc): Define in terms of
8723 $(link-libc-before-gnulib).
8724 [!build-shared] (link-libc-tests): New variable.
8725 (link-libc-static-tests): New variable.
8726 [!gnulib] (gnulib-arch): New variable.
8727 [!gnulib] (gnulib-tests): Likewise.
8728 [!gnulib] (static-gnulib-arch): Likewise.
8729 [!gnulib] (static-gnulib-tests): Likewise.
8730 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
8731 Define with "=" instead of ":=".
8732 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
8733 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
8734 * Rules (binaries-all-notests): New variable.
8735 (binaries-all-tests): Likewise.
8736 (binaries-static-notests): Likewise.
8737 (binaries-static-tests): Likewise.
8738 (binaries-all): Define using $(binaries-all-notests) and
8739 $(binaries-all-tests).
8740 (binaries-static): Define using $(binaries-static-notests) and
8741 $(binaries-static-tests).
8742 (binaries-shared-tests): New variable.
8743 (binaries-shared-notests): Likewise.
8744 (binaries-shared): Remove variable.
8745 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
8746 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
8747 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
8748 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
8749 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
8750 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
8751 * elf/Makefile (sln-modules): New variable.
8752 (extra-objs): Add $(sln-modules:=.o).
8753 (ldconfig-modules): Add static-stubs.
8754 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
8755 * elf/static-stubs.c: New file.
8758 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
8759 by 7 not 8 to examine high bit of fractional part. Use volatile
8760 variables when splitting into final array of floats if
8761 __FLT_EVAL_METHOD__ != 0.
8762 * math/libm-test.inc (cos_test): Add another test.
8763 (sin_test): Likewise.
8764 * sysdeps/i386/fpu/libm-test-ulps: Update.
8767 * math/libm-test.inc (cosh_test): Add more tests.
8769 * version.h (RELEASE): Set to "development".
8770 (VERSION): Set to "2.16.90".
8772 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
8774 * NEWS: Update copyright. Remove last-updated date.
8775 Mention math library bug fixes and timezone data changes.
8776 * README: Mention GNU/Hurd, x32, and HPPA support status.
8778 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
8780 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
8782 2012-06-27 Andreas Jaeger <aj@suse.de>
8784 * manual/contrib.texi (Contributors): Add Samuel Thibault.
8786 2012-06-25 Andreas Jaeger <aj@suse.de>
8788 * sysdeps/s390/fpu/libm-test-ulps: Update.
8790 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
8791 Thomas Schwinge <thomas@codesourcery.com>
8793 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
8794 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
8795 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
8798 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
8800 * sysdeps/mach/start.c: Remove file.
8801 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
8802 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
8803 * sysdeps/sh/init-first.c: Likewise.
8805 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
8806 registers for frame unwinding purposes, add CFI directives.
8807 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8808 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
8809 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
8812 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
8813 __fortify_fail returning.
8814 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8816 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
8817 sysdeps/sh/____longjmp_chk.S.
8818 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
8819 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
8820 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
8821 (gen-as-const-headers): Append sigaltstack-offsets.sym.
8823 * sysdeps/sh/abort-instr.h: New file.
8824 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
8825 process in case exit returns.
8827 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
8828 initialize the GOT register before use.
8830 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
8831 calculation of ARGC > 4.
8833 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
8834 meaningful names to some local labels.
8836 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8837 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8839 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
8840 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
8841 (__arch_compare_and_exchange_val_16_acq): Likewise.
8842 (__arch_compare_and_exchange_val_32_acq): Likewise.
8843 (atomic_exchange_and_add): Fix gUSA sequence.
8844 (atomic_add): Likewise.
8845 (atomic_add_negative): Likewise.
8846 (atomic_add_zero): Likewise.
8847 (atomic_bit_test_set): Likewise.
8849 2012-06-22 Andreas Schwab <schwab@redhat.com>
8852 * include/link.h (struct link_map): Add l_free_initfini.
8853 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
8855 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
8856 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
8857 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
8860 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
8862 * configure.in: Use AC_LANG_SOURCE.
8863 * configure: Regenerate.
8865 2012-06-22 Roland McGrath <roland@hack.frob.com>
8867 * configure.in (libc_cv_localstatedir): New substituted variable.
8868 * configure: Regenerated.
8869 * config.make.in (localstatedir): New variable, substituted from
8870 libc_cv_localstatedir.
8871 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
8872 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
8873 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
8874 * sysdeps/gnu/configure: Regenerated.
8876 2012-06-21 Jeff Law <law@redhat.com>
8879 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
8880 free. Simplify list management for _LIBC case.
8882 2012-06-21 Joseph Myers <joseph@codesourcery.com>
8885 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
8886 Clear sign bit of 64-bit integer value before comparing against
8889 * sysdeps/mach/configure: Regenerated.
8891 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
8894 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
8896 2012-06-21 Jeff Law <law@redhat.com>
8899 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
8900 uint16_t for elements in the "seen" array to avoid char overflows.
8901 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8902 * elf/dl-open.c (dl_open_worker): Likewise.
8904 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
8906 * scripts/list-sources.sh: Scan PORTS for translations.
8907 * po/libc.pot: Regenerated.
8909 2012-06-21 Andreas Jaeger <aj@suse.de>
8912 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
8914 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
8915 * bits/byteswap-16.h (__bswap_16): Likewise.
8916 * bits/byteswap.h (__bswap_constant_16): Likewise.
8918 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
8921 * sysdeps/i386/fpu_control.h: Removed.
8922 * sysdeps/x86_64/fpu_control.h: Moved to ...
8923 * sysdeps/x86/fpu_control.h: Here.
8925 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
8926 (_FPU_SETCW): Likewise.
8928 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
8931 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
8932 * sysdeps/x86/fpu/bits/mathinline.h: This.
8933 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
8937 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
8938 functions if __x86_64__ is defined.
8940 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
8942 * string/endian.h: Add !__ASSEMBLER__ condition for including
8943 conversion interfaces.
8945 2012-06-15 Joseph Myers <joseph@codesourcery.com>
8948 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
8949 of ABS(x) in calculating zero to negative powers other than odd
8951 * math/libm-test.inc (pow_test): Add more tests.
8953 2012-06-15 Andreas Jaeger <aj@suse.de>
8955 * manual/contrib.texi (Contributors): Update entry of Liubov
8956 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
8959 2012-06-15 Cyril Hrubis <metan@ucw.cz>
8961 * string/string.h: Add __wur to GNU version of strerror_r.
8963 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
8966 * string/Makefile (tests): Add tst-strtok_r.
8967 * string/tst-strtok_r.c: New file.
8968 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
8969 RAX_LP/RDX_LP on SAVE_PTR.
8971 2012-06-14 Roland McGrath <roland@hack.frob.com>
8973 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
8975 2012-06-14 Joseph Myers <joseph@codesourcery.com>
8977 * libm_test.inc (csqrt_test): Allow more spurious underflow
8979 (j0_test): Likewise.
8980 (j1_test): Likewise.
8981 (y0_test): Likewise.
8982 (y1_test): Likewise.
8984 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
8986 * po/Makefile (libc.pot): Use UTF-8 charset.
8988 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
8991 Suppress sign-conversion warning from FD_SET.
8992 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
8993 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
8994 not unsigned long int.
8995 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
8997 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
9001 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
9002 __extern_always_inline instead of __extern_inline.
9003 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
9004 (__signbit): Likewise.
9005 (__signbitl): Support C++ namespace.
9006 (lrintf): New inline function.
9008 (llrintf): Likewise.
9020 (nearbyint): Likewise.
9021 (nearbyintf): Likewise.
9023 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
9025 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
9026 non-default versions.
9028 2012-06-11 Roland McGrath <roland@hack.frob.com>
9031 * manual/argp.texi (Argp): Reword argp_parse description slightly.
9033 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
9035 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
9036 (FE_UPWARD, FE_DOWNWARD): Don't define.
9037 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
9038 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9040 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
9042 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9043 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9045 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9047 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9048 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
9049 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
9050 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
9052 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
9055 * sysdeps/i386/fpu/bits/fenv.h: Removed.
9056 * sysdeps/i386/fpu/Implies: New file.
9057 * sysdeps/x86_64/fpu/Implies: Likewise.
9058 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
9059 * sysdeps/x86/fpu/bits/fenv.h: This.
9061 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
9064 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9067 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
9068 character 0xffff that matches the last element of the
9071 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9073 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
9076 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9078 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
9079 values higher than 25.6283.
9081 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9083 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
9084 subnormal exponent extraction and add some __builtin_expect.
9085 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
9086 Fix for subnormal mantissa calculation.
9088 2012-06-04 Mike Frysinger <vapier@gentoo.org>
9090 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
9091 cpu2 is -1 and errno is not ENOSYS.
9093 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
9096 * sysdeps/i386/i486/bits/string.h: Renamed to ...
9097 * sysdeps/x86/bits/string.h: This.
9098 * sysdeps/x86_64/bits/string.h: Removed.
9100 * sysdeps/i386/i486/bits/string.h: Define inline functions only
9101 if not compiling for x86-64, but compiling for >= i486.
9103 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
9104 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
9106 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
9107 New macro from Linux kernel 3.4.0.
9108 (FP_XSTATE_MAGIC2): Likewise.
9109 (FP_XSTATE_MAGIC2_SIZE): Likewise.
9110 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
9111 (struct _fpx_sw_bytes): New struct.
9112 (struct _xsave_hdr): Likewise.
9113 (struct _ymmh_state): Likewise.
9114 (struct _xstate): Likewise.
9116 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
9117 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
9118 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
9119 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
9120 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
9121 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
9123 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
9124 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
9125 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
9126 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
9127 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
9128 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
9130 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9133 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
9134 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
9135 (sysdep_headers): Include sys/platform/ppc.h.
9136 * sysdeps/powerpc/test-gettimebase.c: Test for
9137 __ppc_get_timebase() to catch future ISA opcode/insn changes.
9138 * manual/Makefile (appendices): Include platform.texi.
9139 * manual/contrib.texi (Contributors): Update @node pointers.
9140 * manual/maint.texi (Maintenance): Likewise.
9141 (Platform): New node.
9142 * manual/platform.texi: New file. Document the new features.
9144 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9145 Jakub Jelinek <jakub@redhat.com>
9148 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
9149 where __builtin_expect is unavailable.
9151 2012-06-03 David S. Miller <davem@davemloft.net>
9153 * stdlib/longlong.h: Updated from GCC.
9155 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
9158 * sysdeps/powerpc/powerpc32/mcount.c: New file.
9159 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
9161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9162 (GLIBC_2.16): Likewise.
9164 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9166 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
9168 2012-06-01 Joseph Myers <joseph@codesourcery.com>
9170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
9171 (default-abi): New variable.
9172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
9173 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
9175 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
9177 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
9179 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
9182 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
9183 definition. Document in comment.
9185 2012-06-01 David S. Miller <davem@davemloft.net>
9187 * stdlib/longlong.h: Updated from GCC.
9189 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9192 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
9193 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
9194 sys/debugreg.h sys/io.h here.
9195 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
9196 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
9198 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
9199 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
9200 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
9201 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
9202 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
9203 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
9205 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
9206 Define only if __x86_64__ is defined.
9208 2012-06-01 Joseph Myers <joseph@codesourcery.com>
9211 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
9212 Use int64_t for variable i.
9213 * math/libm-test.inc (fmod_test): Add more tests.
9215 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
9216 z computation is not scheduled after fetestexcept.
9217 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
9218 Use math_force_eval instead of asm to ensure calculation scheduled
9219 before exception test.
9220 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
9221 Ensure a1 + u.d computation is not scheduled after fetestexcept.
9223 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
9225 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
9226 computation is not scheduled after fetestexcept.
9228 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9231 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
9232 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
9234 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9236 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
9237 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9239 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
9242 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
9244 (__WCHAR_MIN): Support __WORDSIZE == 64.
9245 (__WCHAR_MAX): Likewise.
9247 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
9248 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
9251 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
9252 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
9255 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
9256 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
9258 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
9259 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
9261 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
9262 Defined to 1 if __x86_64__ isn't defined.
9263 (_STAT_VER_LINUX_OLD): New.
9264 (st_atime): Remove duplicate.
9265 (st_mtime): Likewise.
9266 (st_ctime): Likewise.
9268 2012-05-31 David S. Miller <davem@davemloft.net>
9270 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
9273 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
9275 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
9279 * elf/dl-reloc.c: Include <_itoa.h>.
9280 (_dl_reloc_bad_type): Remove use of INTUSE.
9281 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
9282 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
9283 * stdio-common/psiginfo.c (psiginfo): Likewise.
9284 * stdio-common/psignal.c (psignal): Likewise.
9285 * string/strsignal.c (strsignal): Likewise.
9286 * include/signal.h (_sys_siglist): Declare hidden proto.
9287 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
9288 INTVARDEF with libc_hidden_data_def.
9289 * stdio-common/itoa-udigits.c: Likewise.
9290 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
9291 (_itoa_lower_digits_internal): Remove declaration.
9292 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
9293 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
9294 (_sys_sigabbrev_internal): Remove aliases.
9295 (_sys_siglist): Define hidden alias.
9297 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
9299 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9302 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
9305 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
9306 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
9308 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
9309 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
9310 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
9311 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
9312 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
9313 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
9315 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
9316 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
9317 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
9319 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
9327 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
9328 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
9329 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
9331 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
9332 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
9333 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
9334 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
9335 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
9336 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
9338 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
9339 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
9341 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
9342 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
9344 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
9345 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
9346 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
9348 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
9349 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
9351 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
9353 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
9354 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
9355 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
9357 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
9359 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
9361 2012-05-31 Joseph Myers <joseph@codesourcery.com>
9363 * math/math.h (M_El): Use two more decimal places.
9364 (M_LOG2El): Likewise.
9365 (M_LOG10El): Likewise.
9367 (M_LN10l): Likewise.
9369 (M_PI_2l): Likewise.
9370 (M_PI_4l): Likewise.
9371 (M_1_PIl): Likewise.
9372 (M_2_PIl): Likewise.
9373 (M_2_SQRTPIl): Likewise.
9374 (M_SQRT2l): Likewise.
9375 (M_SQRT1_2l): Likewise.
9377 2012-05-31 David S. Miller <davem@davemloft.net>
9379 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
9380 values between float registers.
9381 * sysdeps/sparc/sparc64/memset.S: Likewise.
9382 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9384 2012-05-31 Mike Frysinger <vapier@gentoo.org>
9386 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
9387 -D_FORTIFY_SOURCE=1.
9388 (CPPFLAGS-tst-longjmp_chk.c): Define.
9389 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
9390 (CPPFLAGS-tst-longjmp_chk2.c): Define.
9391 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
9392 CFLAGS-tst-wchar-h.c.
9394 2012-05-31 Marek Polacek <polacek@redhat.com>
9397 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
9398 __endmntent_internal): Remove declaration.
9399 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
9400 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
9401 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
9403 2012-05-30 David S. Miller <davem@davemloft.net>
9405 * sysdeps/sparc/sparc32/soft-fp/q_util.c
9406 (___Q_simulate_exceptions): Use real FP ops rather than writing
9408 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
9411 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9414 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
9415 * sysdeps/x86/bits/xtitypes.h: This.
9417 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
9418 * sysdeps/x86/bits/wordsize.h: This.
9420 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
9421 * sysdeps/x86/bits/huge_vall.h: This.
9423 * sysdeps/i386/bits/select.h: Removed.
9424 * sysdeps/x86_64/bits/select.h: Renamed to ...
9425 * sysdeps/x86/bits/select.h: This.
9427 * sysdeps/i386/bits/setjmp.h: Removed.
9428 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
9429 * sysdeps/x86/bits/setjmp.h: This.
9431 * sysdeps/i386/bits/mathdef.h: Removed.
9432 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
9433 * sysdeps/x86/bits/mathdef.h: This.
9435 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
9438 * include/sys/socket.h (__connect_internal)
9439 (__libc_sa_len_internal): Remove declaration.
9440 (__connect, __libc_sa_len): Declare hidden_proto.
9441 (SA_LEN): Remove use of INTUSE.
9442 * socket/connect.c: Add libc_hidden_def.
9443 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
9444 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
9445 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
9447 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9448 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
9449 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
9450 of adding _internal alias.
9452 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9455 * sysdeps/i386/bits/link.h: Removed.
9456 * sysdeps/i386/bits/linkmap.h: Likewise.
9457 * sysdeps/x86_64/bits/link.h: Renamed to ...
9458 * sysdeps/x86/bits/link.h: This.
9459 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
9460 * sysdeps/x86/bits/linkmap.h: This.
9462 * sysdeps/i386/bits/endian.h: Removed.
9463 * sysdeps/x86_64/bits/endian.h: Renamed to ...
9464 * sysdeps/x86/bits/endian.h: This.
9466 * sysdeps/i386/bits/byteswap.h: Removed.
9467 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9468 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
9469 * sysdeps/x86/bits/byteswap.h: This.
9470 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
9471 * sysdeps/x86/bits/byteswap-16.h: This.
9472 * sysdeps/i386/Implies: Add x86.
9473 * sysdeps/x86_64/Implies: Likewise.
9475 2012-05-30 David S. Miller <davem@davemloft.net>
9477 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
9478 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
9479 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9480 (FP_TRAPPING_EXCEPTIONS): Define.
9481 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9482 (FP_TRAPPING_EXCEPTIONS): Define.
9483 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
9484 subnormals only when inexact has been signalled or underflow
9485 exceptions are enabled.
9486 (_FP_PACK_CANONICAL): Likewise.
9488 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9491 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
9492 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
9494 2012-05-30 Richard Henderson <rth@twiddle.net>
9496 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
9497 with #ifndef NOT_IN_libc.
9499 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
9500 marked to avoid plt entry.
9502 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9505 * Makeconfig (default-abi): New macro.
9506 (abi-includes): Likewise.
9507 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
9508 $(abi-$(default-abi)-lib-soname) for soname if defined.
9509 ($(common-objpfx)gnu/lib-names.stmp): Generate from
9511 * Makefile (installed-stubs): Likewise.
9512 * include/stubs-biarch.h: Removed.
9513 * scripts/lib-names.awk: Only handle one library at a time.
9514 * scripts/soversions.awk: Remove WORDSIZE support.
9515 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
9517 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
9519 (syscall-list-default-condition): Likewise.
9520 (syscall-list-default-condition): Likewise.
9521 (syscall-list-includes): Likewise.
9522 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
9523 syscall-list-* with abi-*. Handle undefined abi-variants.
9524 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
9525 * sysdeps/unix/sysv/linux/i386/Implies: New file.
9526 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
9527 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
9528 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
9529 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
9531 (syscall-list-32-options): Likewise.
9532 (syscall-list-32-condition): Likewise.
9533 (syscall-list-64-options): Likewise.
9534 (syscall-list-64-condition): Likewise.
9535 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
9537 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
9540 (abi-64-ld-soname): New macro.
9541 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
9542 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
9545 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
9546 * sysdeps/x86_64/x32/shlib-versions: Likewise.
9548 2012-05-30 Joseph Myers <joseph@codesourcery.com>
9550 * sysdeps/unix/sysv/linux/kernel-features.h
9551 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
9552 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
9553 include <kernel-features.h>.
9554 [!__NR_ftruncate64]: Remove conditional code.
9555 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9556 [__NR_ftruncate64]: Make code unconditional.
9557 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9558 * sysdeps/unix/sysv/linux/truncate64.c: Do not
9559 include <kernel-features.h>.
9560 [!__NR_ftruncate64]: Remove conditional code.
9561 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9562 [__NR_ftruncate64]: Make code unconditional.
9563 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
9565 include <kernel-features.h>.
9566 [!__NR_ftruncate64]: Remove conditional code.
9567 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9568 [__NR_ftruncate64]: Make code unconditional.
9569 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9571 include <kernel-features.h>.
9572 [!__NR_ftruncate64]: Remove conditional code.
9573 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9574 [__NR_ftruncate64]: Make code unconditional.
9575 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9577 * configure.in (libc_cv_fpie): Weaken to a compile test using
9579 * configure: Regenerated.
9581 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9583 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
9584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
9585 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
9586 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
9589 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
9590 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
9591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
9592 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
9593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9596 2012-05-27 David S. Miller <davem@davemloft.net>
9598 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
9600 (__Q_simulate_exceptions): Return void. Change to simulate
9601 exceptions by writing into the %fsr.
9602 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
9603 (__Qp_handle_exceptions): Likewise.
9605 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
9606 __Qp_handle_exceptions.
9607 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
9608 __Qp_handle_exceptions.
9609 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9610 as unused and give dummy FP_RND_NEAREST initializer.
9611 (FP_INHIBIT_RESULTS): Define.
9612 (___Q_simulate_exceptions): Update declaration.
9613 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
9615 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9616 as unused and give dummy FP_RND_NEAREST initializer.
9617 (__Qp_handle_exceptions): Update declaration.
9618 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
9621 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
9623 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
9624 the temporary FPU control word.
9625 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9626 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
9627 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9628 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9629 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9630 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9631 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9632 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9633 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9634 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
9635 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9637 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9639 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
9642 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
9644 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
9645 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
9646 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
9647 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
9649 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
9650 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
9653 2012-05-27 Ulrich Drepper <drepper@gmail.com>
9655 * po/h.po: Update from translation team.
9657 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
9659 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
9661 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
9662 handling of denormals.
9663 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9664 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9665 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9666 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9667 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9668 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
9669 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
9672 2012-05-26 Marek Polacek <polacek@redhat.com>
9675 * math/libm-test.inc (fma_test): Don't always expect underflow
9678 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9681 * elf/tst-execstack.c: Include stackinfo.h.
9682 (do_test): Adjust test case to ensure that pthread_getattr_np
9683 behaviour remains the same after marking stack executable.
9685 2012-05-25 Joseph Myers <joseph@codesourcery.com>
9687 * sysdeps/unix/sysv/linux/kernel-features.h
9688 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
9689 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
9691 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9692 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9693 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
9695 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9696 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9698 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
9700 * configure.in: Define the default includes to being none.
9701 * configure: Regenerated.
9703 2012-05-25 Roland McGrath <roland@hack.frob.com>
9705 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
9706 * sysdeps/x86_64/setjmp.S: Likewise.
9707 * sysdeps/i386/bsd-setjmp.S: Likewise.
9708 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9709 * sysdeps/i386/setjmp.S: Likewise.
9710 * sysdeps/i386/__longjmp.S: Likewise.
9711 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9712 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
9714 * include/stap-probe.h: New file.
9715 * configure.in: Handle --enable-systemtap.
9716 * configure: Regenerated.
9717 * config.h.in (USE_STAP_PROBE): New #undef.
9718 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
9719 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
9720 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9722 2012-05-25 Joseph Myers <joseph@codesourcery.com>
9725 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9726 to 2.4.0 where earlier.
9727 * sysdeps/unix/sysv/linux/configure: Regenerated.
9728 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9729 <kernel-features.h>.
9730 [__ASSUME_32BITUIDS]: Make code unconditional.
9731 [!__ASSUME_32BITUIDS]: Remove conditional code.
9732 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
9733 <kernel-features.h>.
9734 [__ASSUME_32BITUIDS]: Make code unconditional.
9735 [!__ASSUME_32BITUIDS]: Remove conditional code.
9736 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
9737 [__ASSUME_32BITUIDS]: Make code unconditional.
9738 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
9739 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
9740 <kernel-features.h>.
9741 [__ASSUME_32BITUIDS]: Make code unconditional.
9742 [!__ASSUME_32BITUIDS]: Remove conditional code.
9743 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
9744 <kernel-features.h>.
9745 [__ASSUME_32BITUIDS]: Make code unconditional.
9746 [!__ASSUME_32BITUIDS]: Remove conditional code.
9747 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
9748 <kernel-features.h>.
9749 [__ASSUME_32BITUIDS]: Make code unconditional.
9750 [!__ASSUME_32BITUIDS]: Remove conditional code.
9751 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
9752 <kernel-features.h>.
9753 [__ASSUME_32BITUIDS]: Make code unconditional.
9754 [!__ASSUME_32BITUIDS]: Remove conditional code.
9755 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9756 <kernel-features.h>.
9757 [__ASSUME_32BITUIDS]: Make code unconditional.
9758 [!__ASSUME_32BITUIDS]: Remove conditional code.
9759 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9760 <kernel-features.h>.
9761 [__ASSUME_32BITUIDS]: Make code unconditional.
9762 [!__ASSUME_32BITUIDS]: Remove conditional code.
9763 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
9764 <kernel-features.h>.
9765 [__ASSUME_32BITUIDS]: Make code unconditional.
9766 [!__ASSUME_32BITUIDS]: Remove conditional code.
9767 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9768 <kernel-features.h>.
9769 [__ASSUME_32BITUIDS]: Make code unconditional.
9770 [!__ASSUME_32BITUIDS]: Remove conditional code.
9771 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9772 <kernel-features.h>.
9773 [__ASSUME_32BITUIDS]: Make code unconditional.
9774 [!__ASSUME_32BITUIDS]: Remove conditional code.
9775 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
9776 <kernel-features.h>.
9777 [__ASSUME_32BITUIDS]: Make code unconditional.
9778 [!__ASSUME_32BITUIDS]: Remove conditional code.
9779 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
9780 <kernel-features.h>.
9781 [__NR_setresgid] (__setresgid): Do not declare.
9782 [__ASSUME_32BITUIDS]: Make code unconditional.
9783 [!__ASSUME_32BITUIDS]: Remove conditional code.
9784 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
9785 <kernel-features.h>.
9786 [__NR_setresuid] (__setresuid): Do not declare.
9787 [__ASSUME_32BITUIDS]: Make code unconditional.
9788 [!__ASSUME_32BITUIDS]: Remove conditional code.
9789 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
9790 <kernel-features.h>.
9791 [__ASSUME_32BITUIDS]: Make code unconditional.
9792 [!__ASSUME_32BITUIDS]: Remove conditional code.
9793 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
9794 <kernel-features.h>.
9795 [__ASSUME_32BITUIDS]: Make code unconditional.
9796 [!__ASSUME_32BITUIDS]: Remove conditional code.
9797 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
9798 <kernel-features.h>.
9799 [__ASSUME_32BITUIDS]: Make code unconditional.
9800 [!__ASSUME_32BITUIDS]: Remove conditional code.
9801 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
9802 <kernel-features.h>.
9803 [__ASSUME_32BITUIDS]: Make code unconditional.
9804 [!__ASSUME_32BITUIDS]: Remove conditional code.
9805 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
9806 <kernel-features.h>.
9807 [__ASSUME_32BITUIDS]: Make code unconditional.
9808 [!__ASSUME_32BITUIDS]: Remove conditional code.
9809 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
9810 <kernel-features.h>.
9811 [__ASSUME_32BITUIDS]: Make code unconditional.
9812 [!__ASSUME_32BITUIDS]: Remove conditional code.
9813 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
9814 <kernel-features.h>.
9815 [__ASSUME_32BITUIDS]: Make code unconditional.
9816 [!__ASSUME_32BITUIDS]: Remove conditional code.
9817 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
9818 <kernel-features.h>.
9819 [__ASSUME_32BITUIDS]: Make code unconditional.
9820 [!__ASSUME_32BITUIDS]: Remove conditional code.
9821 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
9822 <kernel-features.h>.
9823 [__ASSUME_32BITUIDS]: Make code unconditional.
9824 [!__ASSUME_32BITUIDS]: Remove conditional code.
9825 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9826 <kernel-features.h>.
9827 [__ASSUME_32BITUIDS]: Make code unconditional.
9828 [!__ASSUME_32BITUIDS]: Remove conditional code.
9829 * sysdeps/unix/sysv/linux/kernel-features.h
9830 (__ASSUME_SETRESUID_SYSCALL): Remove.
9831 (__ASSUME_SETRESGID_SYSCALL): Likewise.
9832 (__ASSUME_32BITUIDS): Likewise.
9833 (__ASSUME_LDT_WORKS): Likewise.
9834 (__ASSUME_O_DIRECTORY): Likewise.
9835 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
9836 architecture but not kernel version.
9837 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9838 (__ASSUME_MMAP2_SYSCALL): Likewise.
9839 (__ASSUME_STAT64_SYSCALL): Likewise.
9840 (__ASSUME_IPC64): Likewise.
9841 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
9842 <kernel-features.h>.
9843 [__ASSUME_32BITUIDS]: Make code unconditional.
9844 [!__ASSUME_32BITUIDS]: Remove conditional code.
9845 * sysdeps/unix/sysv/linux/opendir.c: Do not include
9846 <kernel-features.h>.
9847 [__ASSUME_O_DIRECTORY]: Make code unconditional.
9848 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
9849 132096]: Remove conditional code.
9850 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
9851 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9852 <kernel-features.h>.
9853 [__ASSUME_32BITUIDS]: Make code unconditional.
9854 [!__ASSUME_32BITUIDS]: Remove conditional code.
9855 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9856 <kernel-features.h>.
9857 [__ASSUME_32BITUIDS]: Make code unconditional.
9858 [!__ASSUME_32BITUIDS]: Remove conditional code.
9859 * sysdeps/unix/sysv/linux/setegid.c: Do not include
9860 <kernel-features.h>.
9861 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
9863 (__setresgid): Do not declare.
9864 [__ASSUME_32BITUIDS]: Make code unconditional.
9865 [!__ASSUME_32BITUIDS]: Remove conditional code.
9866 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
9867 <kernel-features.h>.
9868 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
9870 (__setresuid): Do not declare.
9871 [__ASSUME_32BITUIDS]: Make code unconditional.
9872 [!__ASSUME_32BITUIDS]: Remove conditional code.
9873 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9874 <kernel-features.h>.
9875 [__ASSUME_32BITUIDS]: Make code unconditional.
9876 [!__ASSUME_32BITUIDS]: Remove conditional code.
9877 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
9878 <kernel-features.h>.
9879 [__ASSUME_32BITUIDS]: Make code unconditional.
9880 [!__ASSUME_32BITUIDS]: Remove conditional code.
9882 2012-05-25 Richard Henderson <rth@twiddle.net>
9884 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
9885 dl_hwcap to ifunc resolver.
9886 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
9888 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
9889 dl_hwcap to ifunc resolver.
9890 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
9892 2012-05-24 Joseph Myers <joseph@codesourcery.com>
9895 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
9896 for |x| <= 2**-26, not 2**-57.
9897 * math/libm-test.inc (acos_test): Do not allow spurious underflow
9900 2012-05-24 Jeff Law <law@redhat.com>
9902 * stdio-common/Makefile (tests): Add bug25.
9903 * stdio-common/bug25.c: New test.
9905 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9908 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
9909 multiple of MALLOC_ALIGNMENT in size.
9910 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
9912 2012-05-24 Joseph Myers <joseph@codesourcery.com>
9914 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
9916 (FILENAME_MAX): Use macro-int-constant.
9917 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
9918 (_IOFBF): Use macro-int-constant.
9921 (SEEK_CUR): Likewise.
9922 (SEEK_END): Likewise.
9923 (SEEK_SET): Likewise.
9924 (TMP_MAX): Likewise.
9925 (EOF): Use macro-int-constant. Require < 0.
9926 (NULL): Use macro-constant. Require == 0.
9927 (stdin): Require type to be FILE *.
9930 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
9932 (EXIT_SUCCESS): Likewise.
9933 (NULL): Use macro-constant. Require == 0.
9934 (RAND_MAX): Use macro-int-constant.
9935 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
9936 [C99-based standards] (strtof): Require function.
9937 [C99-based standards] (strtold): Likewise.
9938 [C99-based standards] (strtoll): Likewise.
9939 [C99-based standards] (strtoull): Likewise.
9940 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9941 [ISO || ISO99 || ISO11] (limits.h): Likewise.
9942 [ISO || ISO99 || ISO11] (math.h): Likewise.
9943 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
9944 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9945 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9947 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
9950 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
9951 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
9952 * intl/dgettext.c (DCGETTEXT): Likewise.
9953 * intl/gettext.c (DCGETTEXT): Likewise.
9954 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
9955 * posix/regex_internal.h (gettext): Likewise.
9956 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
9958 * include/argz.h (__argz_count_internal)
9959 (__argz_stringify_internal): Remove declaration.
9960 (__argz_count, __argz_stringify): Declare hidden proto.
9961 * intl/dcgettext.c: Remove use of INTDEF.
9962 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
9963 * string/argz-stringify.c: Likewise.
9964 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9965 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9966 Declare hidden proto.
9967 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9968 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9969 Declare hidden proto.
9970 * include/stdio.h (__asprintf_internal): Don't declare.
9971 (__asprintf): Don't define as macro. Declare hidden proto.
9972 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
9973 (__fsetlocking): Declare hidden proto.
9974 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
9975 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
9977 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
9978 (_IO_setlinebuf): Remove use of INTUSE.
9979 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
9980 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
9981 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
9983 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
9984 (_IO_do_flush): Remove use of INTUSE.
9985 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
9986 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
9987 (_IO_adjust_column, _IO_least_wmarker)
9988 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
9989 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
9990 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
9991 (_IO_default_doallocate, _IO_wdefault_doallocate)
9992 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
9993 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
9994 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
9995 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
9996 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
9997 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
9998 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
9999 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
10000 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
10001 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
10002 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
10003 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
10004 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
10006 (_IO_flush_all_internal, _IO_adjust_column_internal)
10007 (_IO_default_uflow_internal, _IO_default_finish_internal)
10008 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
10009 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
10010 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
10011 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
10012 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
10013 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
10014 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
10015 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
10016 (_IO_file_close_internal, _IO_file_close_it_internal)
10017 (_IO_file_underflow_internal, _IO_file_overflow_internal)
10018 (_IO_file_init_internal, _IO_file_attach_internal)
10019 (_IO_file_fopen_internal, _IO_file_read_internal)
10020 (_IO_file_sync_internal, _IO_file_seek_internal)
10021 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
10022 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
10023 (_IO_str_underflow_internal, _IO_str_overflow_internal)
10024 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
10025 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
10026 (_IO_list_all_internal, _IO_link_in_internal)
10027 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
10028 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
10029 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
10030 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
10031 (_IO_do_write_internal, _IO_padn_internal)
10032 (_IO_getline_info_internal, _IO_getline_internal)
10033 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
10034 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
10035 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
10036 (_IO_vfscanf_internal, _IO_vfprintf_internal)
10037 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
10038 (_IO_init_internal, _IO_un_link_internal): Don't declare.
10039 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
10040 with libc_hidden_ver, remove use of INTUSE.
10041 * libio/genops.c: Likewise.
10042 * libio/freopen.c: Likewise.
10043 * libio/freopen64.c: Likewise.
10044 * libio/iofclose.c: Likewise.
10045 * libio/iofdopen.c: Likewise.
10046 * libio/iofflush.c: Likewise.
10047 * libio/iofflush_u.c: Likewise.
10048 * libio/iofgets.c: Likewise.
10049 * libio/iofgets_u.c: Likewise.
10050 * libio/iofopen.c: Likewise.
10051 * libio/iofopncook.c: Likewise.
10052 * libio/iofread.c: Likewise.
10053 * libio/iofread_u.c: Likewise.
10054 * libio/ioftell.c: Likewise.
10055 * libio/iofwrite.c: Likewise.
10056 * libio/iogetline.c: Likewise.
10057 * libio/iogets.c: Likewise.
10058 * libio/iogetwline.c: Likewise.
10059 * libio/iopadn.c: Likewise.
10060 * libio/iopopen.c: Likewise.
10061 * libio/ioseekoff.c: Likewise.
10062 * libio/ioseekpos.c: Likewise.
10063 * libio/iosetbuffer.c: Likewise.
10064 * libio/iosetvbuf.c: Likewise.
10065 * libio/ioungetc.c: Likewise.
10066 * libio/ioungetwc.c: Likewise.
10067 * libio/iovdprintf.c: Likewise.
10068 * libio/iovsprintf.c: Likewise.
10069 * libio/iovsscanf.c: Likewise.
10070 * libio/memstream.c: Likewise.
10071 * libio/obprintf.c: Likewise.
10072 * libio/oldfileops.c: Likewise.
10073 * libio/oldiofclose.c: Likewise.
10074 * libio/oldiofdopen.c: Likewise.
10075 * libio/oldiofopen.c: Likewise.
10076 * libio/oldiopopen.c: Likewise.
10077 * libio/oldstdfiles.c: Likewise.
10078 * libio/putc.c: Likewise.
10079 * libio/setbuf.c: Likewise.
10080 * libio/setlinebuf.c: Likewise.
10081 * libio/stdfiles.c: Likewise.
10082 * libio/strops.c: Likewise.
10083 * libio/vasprintf.c: Likewise.
10084 * libio/vscanf.c: Likewise.
10085 * libio/vsnprintf.c: Likewise.
10086 * libio/vswprintf.c: Likewise.
10087 * libio/wfiledoalloc.c: Likewise.
10088 * libio/wfileops.c: Likewise.
10089 * libio/wgenops.c: Likewise.
10090 * libio/wmemstream.c: Likewise.
10091 * libio/wstrops.c: Likewise.
10092 * libio/__fpurge.c: Likewise.
10093 * libio/__fsetlocking.c: Likewise.
10094 * assert/assert.c: Likewise.
10095 * debug/fgets_chk.c: Likewise.
10096 * debug/fgets_u_chk.c: Likewise.
10097 * debug/fread_chk.c: Likewise.
10098 * debug/fread_u_chk.c: Likewise.
10099 * debug/gets_chk.c: Likewise.
10100 * debug/obprintf_chk.c: Likewise.
10101 * debug/vasprintf_chk.c: Likewise.
10102 * debug/vdprintf_chk.c: Likewise.
10103 * debug/vsnprintf_chk.c: Likewise.
10104 * debug/vsprintf_chk.c: Likewise.
10105 * malloc/mtrace.c: Likewise.
10106 * misc/error.c: Likewise.
10107 * misc/syslog.c: Likewise.
10108 * stdio-common/asprintf.c: Likewise.
10109 * stdio-common/fxprintf.c: Likewise.
10110 * stdio-common/getw.c: Likewise.
10111 * stdio-common/isoc99_fscanf.c: Likewise.
10112 * stdio-common/isoc99_scanf.c: Likewise.
10113 * stdio-common/isoc99_vfscanf.c: Likewise.
10114 * stdio-common/isoc99_vscanf.c: Likewise.
10115 * stdio-common/isoc99_vsscanf.c: Likewise.
10116 * stdio-common/printf-prs.c: Likewise.
10117 * stdio-common/printf_fp.c: Likewise.
10118 * stdio-common/printf_fphex.c: Likewise.
10119 * stdio-common/printf_size.c: Likewise.
10120 * stdio-common/putw.c: Likewise.
10121 * stdio-common/scanf.c: Likewise.
10122 * stdio-common/sprintf.c: Likewise.
10123 * stdio-common/tmpfile.c: Likewise.
10124 * stdio-common/vfprintf.c: Likewise.
10125 * stdio-common/vfscanf.c: Likewise.
10126 * stdlib/strfmon_l.c: Likewise.
10127 * sunrpc/openchild.c: Likewise.
10128 * sunrpc/xdr_stdio.c: Likewise.
10129 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10130 * sysdeps/mach/hurd/tmpfile.c: Likewise.
10132 2012-05-24 Roland McGrath <roland@hack.frob.com>
10134 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10136 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
10137 in the third column, to generate for the shared library an IFUNC
10138 that uses _dl_vdso_vsym.
10139 * Makerules (COMPILE.c, compile-stdin.c): New variables.
10140 * Makeconfig (object-suffixes-noshared): New variable.
10142 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
10143 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
10144 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
10145 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
10148 * include/sys/time.h (__gettimeofday): Remove macro.
10149 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
10150 * time/gettimeofday.c (__gettimeofday): Remove #undef.
10152 (__gettimeofday): Add libc_hidden_def.
10153 (gettimeofday): Add libc_hidden_weak.
10154 * sysdeps/mach/gettimeofday.c: Likewise.
10155 * sysdeps/posix/gettimeofday.c: Likewise.
10156 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
10157 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
10158 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
10159 (__gettimeofday_internal): Remove strong_alias.
10160 (__gettimeofday): Add libc_hidden_def.
10161 (gettimeofday): Add libc_hidden_weak.
10162 * sysdeps/unix/syscalls.list (gettimeofday):
10163 Remove __gettimeofday_internal alias.
10165 2012-05-24 Daniel Jacobowitz <drow@false.org>
10166 H.J. Lu <hongjiu.lu@intel.com>
10169 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
10170 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
10171 (largebin_index_32_big): New.
10172 (largebin_index): Use it for 16-byte alignment.
10173 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
10174 correction with front_misalign.
10176 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
10179 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10181 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
10183 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10185 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
10187 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
10189 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
10191 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
10193 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10195 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
10197 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
10199 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10201 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
10204 * scripts/data/c++-types-x32-linux-gnu.data: New file.
10205 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
10207 2012-05-24 Joseph Myers <joseph@codesourcery.com>
10211 * math/libm-test.inc (exp_test): Add test from bug 14036.
10212 (pow_test): Add test from bug 10846.
10214 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
10216 (special_function): Do not include flags in test name.
10217 (parse_args): Likewise.
10218 * sysdeps/i386/fpu/libm-test-ulps: Update.
10219 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10220 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10221 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10224 * math/gen-libm-test.pl (%beautify): Add entries for underflow
10226 * math/libm-test.inc ("Philosophy"): Update comment about
10228 (UNDERFLOW_EXCEPTION): New macro.
10229 (UNDERFLOW_EXCEPTION_OK): Likewise.
10230 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
10231 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
10232 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
10233 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
10234 (INVALID_EXCEPTION_OK): Update value.
10235 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10236 (OVERFLOW_EXCEPTION_OK): Likewise.
10237 (IGNORE_ZERO_INF_SIGN): Likewise.
10238 (test_exceptions): Handle underflow exceptions.
10239 (acos_test): Update for underflow exception expectations.
10240 (cexp_test): Likewise.
10241 (clog_test): Likewise.
10242 (clog10_test): Likewise.
10243 (csqrt_test): Likewise.
10244 (ctan_test): Likewise.
10245 (ctanh_test): Likewise.
10246 (exp_test): Likewise.
10247 (exp10_test): Likewise.
10248 (exp2_test): Likewise.
10249 (expm1_test): Likewise.
10250 (fma_test): Likewise.
10251 (j0_test): Likewise.
10252 (jn_test): Likewise.
10253 (nexttoward_test): Likewise.
10254 (pow_test): Likewise.
10255 (scalbn_test): Likewise.
10256 (scalbln_test): Likewise.
10257 (tan_test): Likewise.
10258 (y1_test): Likewise.
10259 * sysdeps/i386/fpu/libm-test-ulps: Update.
10260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10262 2012-05-23 David S. Miller <davem@davemloft.net>
10264 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10265 (__libc_sigaction): Remove unused local variables.
10267 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10269 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
10271 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
10273 mktime: avoid signed integer overflow
10274 * time/mktime.c (__mktime_internal): Do not mishandle the case
10275 where diff == INT_MIN.
10277 mktime: simplify computation of average
10278 * time/mktime.c (ranged_convert): Use new time_t_avg function
10279 instead of rolling our own (probably-slower) code.
10281 mktime: do not assume signed right shift propagates sign bit
10282 * time/mktime.c (isdst_differ): New static function.
10283 (__mktime_internal): No need to normalize tm_isdst now.
10284 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
10287 mktime: merge another wrapv change from gnulib
10288 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
10289 from some compilers.
10291 mktime: remove incorrect attempt at unusual arithmetics
10292 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
10293 The code didn't really work on such machines anyway.
10294 (TYPE_MINIMUM): Assume two's complement.
10295 (twos_complement_arithmetic): Verify that long_int and time_t
10296 are two's complement (or unsigned, in the latter case).
10298 mktime: check signed shifts on long_int and time_t, too
10299 * time/mktime.c (SHR): Check that shifts work as desired
10300 on the types long_int and time_t too, as SHR is used on
10303 mktime: do not assume 'long' is wide enough
10304 * time/mktime.c (verify): Move decl up.
10305 (long_int): New type.
10306 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
10307 to remove assumption in the code that 'long' is wide enough to
10308 store year values. This assumption is not true on x32 and on
10309 some non-glibc platforms.
10311 mktime: merge wrapv change from gnulib
10312 * time/mktime.c (WRAPV): New macro.
10313 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
10314 (guess_time_tm, __mktime_internal): Do not assume that signed
10315 integer overflow wraps around; modern compilers generate code
10316 where this assumption is no longer valid.
10318 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10320 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10321 Replace "jmp L(pseudo_end)" with "ret".
10322 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
10325 2012-05-23 Andreas Jaeger <aj@suse.de>
10327 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
10328 * sysdeps/unix/sysv/linux/poll.c: Remove file.
10330 2012-05-23 Andreas Jaeger <aj@suse.de>
10331 Maximilian Attems <max@stro.at>
10333 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
10336 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10338 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
10339 code so that pseudo_end is just ret and the stack pointer is
10340 correct also for static library in error case.
10342 2012-05-23 Joseph Myers <joseph@codesourcery.com>
10344 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
10345 move to syscalls.list.
10346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10351 * manual/install.texi (Running make install): Do not mention Linux
10352 kernel version for which pt_chown is not needed.
10353 (Linux): Do not mention problems with nscd with 2.0 kernels.
10354 * INSTALL: Regenerated.
10356 2012-05-23 Andreas Jaeger <aj@suse.de>
10358 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
10359 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
10361 * sysdeps/unix/sysv/linux/s390/bits/mman.h
10362 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10363 * sysdeps/unix/sysv/linux/sh/bits/mman.h
10364 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10365 * sysdeps/unix/sysv/linux/i386/bits/mman.h
10366 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10367 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
10368 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10369 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
10370 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10371 * sysdeps/unix/sysv/linux/bits/in.h
10372 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
10374 2012-05-22 Roland McGrath <roland@hack.frob.com>
10376 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
10377 (PREPARE_VERSION): Just use assert instead, it will be elided
10378 under [NDEBUG] anyway.
10380 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10382 * sysdeps/unix/sysv/linux/Makefile: Include
10383 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
10384 (sysdep_routines): Remove sysctl.
10385 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
10386 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
10387 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
10388 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
10389 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
10391 2012-05-22 Andreas Jaeger <aj@suse.de>
10393 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
10394 that pseudo_end is just ret and the stack pointer is correct also
10395 for static library in error case.
10397 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
10400 * nss/nsswitch.c (defconfig_entries): New variable.
10401 (__nss_database_lookup): Don't leak defconfig entries.
10402 (nss_parse_service_list): Don't leak on error paths.
10403 (free_database_entries): New function.
10404 (free_defconfig): New function.
10405 (free_mem): Move common code to free_database_entries.
10407 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10409 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
10411 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
10413 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10414 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
10415 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
10417 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
10418 (INTERNAL_SYSCALL_TYPES): Likewise.
10419 (LOAD_ARGS_TYPES_[1-6]): Likewise.
10420 (LOAD_REGS_TYPES_[1-6]): Likewise.
10421 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
10422 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
10424 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10426 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
10427 copysignl for GLIBC_2_0.
10428 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
10429 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
10430 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
10431 logbl for GLIBC_2_0.
10432 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
10433 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
10435 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10437 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
10438 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10440 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10443 * time/mktime.c: Update copyright years.
10445 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
10447 mktime: merge comment-quoting-style change from gnulib
10448 * time/mktime.c: Quote 'like this' in comments.
10449 The GNU coding standards suggest that we no longer quote `like this',
10450 as "`" and "'" are typically rendered asymmetrically nowadays.
10451 The typical gnulib style is to quote 'like this' when quoting
10452 code, and "like this" when quoting English.
10454 * time/mktime.c (compile-command): Add "-I.".
10456 mktime: merge mktime-internal.h change from gnulib
10457 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
10459 mktime: merge time_r change from gnulib
10460 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
10462 mktime: merge DEBUG change from gnulib
10463 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
10464 case system <time.h> has a #define.
10466 mktime: merge <sys/types.h> change from gnulib
10467 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
10468 since <time.t> is now guaranteed to define time_t.
10470 mktime: merge HAVE_CONFIG_H change from gnulib
10471 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
10473 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10475 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10478 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
10480 (struct rusage): Use anonymous union to pad each field to
10483 2012-05-21 David S. Miller <davem@davemloft.net>
10485 * Makefules (o-iterator): Remove .s cases.
10486 (compile-command.s): Delete.
10487 (COMPILE.s): Delete.
10488 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
10490 2012-05-21 Joseph Myers <joseph@codesourcery.com>
10492 * configure.in (libc_cv_predef_stack_protector): Only consider
10493 "foobar" and "__stack_chk_fail" lines in libc_undefs.
10494 * configure: Regenerated.
10496 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10498 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10499 New macro. Use R*LP on int and pointer.
10500 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
10501 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
10502 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
10503 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
10505 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
10506 [__WORDSIZE_TIME64_COMPAT32] instead of
10507 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
10508 (struct utmp): Likewise.
10509 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
10510 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
10512 (__WORDSIZE_TIME64_COMPAT32): This.
10513 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
10514 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
10515 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
10516 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
10517 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
10518 (__WORDSIZE_TIME64_COMPAT32): New macro.
10520 2012-05-21 Andreas Jaeger <aj@suse.de>
10522 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
10523 only if [SHARED]. Add prototype for __wcschr_ia32.
10525 2012-05-21 Roland McGrath <roland@hack.frob.com>
10527 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
10528 of %rbp unmolested in the jmp_buf while mangling the low bits.
10529 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
10530 unmolested high bits of %rbp while demangling the low bits.
10531 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10533 2012-05-21 Andreas Jaeger <aj@suse.de>
10535 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
10536 * sunrpc/svc_simple.c: Use it for registerrpc.
10537 * sunrpc/xcrypt.c: Use it for passwd2des.
10539 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
10541 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10543 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
10544 Don't define if [__SYSCALL_WORDSIZE != 32].
10545 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
10548 2012-05-21 Bruno Haible <bruno@clisp.org>
10549 Andreas Jaeger <aj@suse.de>
10551 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
10552 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
10553 inptr and inend for must_buffer_ch.
10554 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
10555 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
10556 * stdio-common/Makefile (tests): Remove bug15.
10557 (bug15-ENV): Remove macro.
10558 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
10561 2012-05-19 Andreas Jaeger <aj@suse.de>
10562 Roland McGrath <roland@hack.frob.com>
10564 * manual/contrib.texi: Completely rewritten. It contains now an
10565 alphabetical list of contributors and their contributions.
10567 2012-05-21 Richard Henderson <rth@twiddle.net>
10569 * misc/getauxval.c (__getauxval): Use unsigned long int.
10570 * misc/sys/auxv.h: Include <sys/cdefs.h>.
10571 (getauxval): Use unsigned long int.
10573 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10575 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10577 2012-05-21 Roland McGrath <roland@hack.frob.com>
10579 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
10580 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
10581 __alignof__ (long double).
10583 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10587 2012-05-20 Richard Henderson <rth@twiddle.net>
10589 * misc/getauxval.c: New file.
10590 * misc/sys/auxv.h: New file.
10591 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
10592 (routines): Add getauxval.
10593 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
10594 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
10595 * elf/dl-sysdep.c (_dl_auxv): Remove.
10596 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
10597 * elf/dl-support.c (_dl_auxv): New variable.
10598 (_dl_aux_init): Initialize it.
10599 * manual/startup.texi (Auxiliary Vector): New node.
10600 * sysdeps/generic/bits/hwcap.h: New file.
10601 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
10602 * sysdeps/powerpc/sysdep.h: ... here. Include it.
10603 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
10604 * sysdeps/sparc/sysdep.h: ... here. Include it.
10605 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
10606 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
10607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
10610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
10611 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
10612 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
10613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10614 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10615 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
10616 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
10618 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10620 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10622 2012-05-19 David S. Miller <davem@davemloft.net>
10624 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10626 2012-05-19 Joseph Myers <joseph@codesourcery.com>
10629 * math/s_ccosh.c: Include <float.h>
10630 (__ccosh): Avoid internal overflow calculating sinh and cosh
10631 values before multiplying by sin and cos values.
10632 * math/s_ccoshf.c: Likewise.
10633 * math/s_ccoshl.c: Likewise.
10634 * math/s_csin.c: Likewise.
10635 * math/s_csinf.c: Likewise.
10636 * math/s_csinl.c: Likewise.
10637 * math/s_csinh.c: Likewise.
10638 * math/s_csinhf.c: Likewise.
10639 * math/s_csinhl.c: Likewise.
10640 * math/libm-test.inc (ccos_test): Add more tests.
10641 (ccosh_test): Likewise.
10642 (csin_test): Likewise.
10643 (csinh_test): Likewise.
10644 * sysdeps/i386/fpu/libm-test-ulps: Update.
10645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10647 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
10649 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
10650 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
10652 * sysdeps/x86_64/x32/_itoa.h: Add comment.
10654 2012-05-19 Joseph Myers <joseph@codesourcery.com>
10656 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
10657 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
10658 * sysdeps/powerpc/soft-fp/Versions: Likewise.
10659 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
10660 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
10661 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
10662 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
10663 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
10664 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
10665 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
10666 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
10667 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
10668 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
10669 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
10670 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
10671 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
10672 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
10673 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
10674 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
10675 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
10676 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
10677 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
10678 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
10679 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
10680 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
10681 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
10682 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
10683 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
10684 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
10685 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
10686 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
10688 2012-05-18 Andreas Jaeger <aj@suse.de>
10690 * csu/.gitignore: Delete.
10692 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10694 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
10695 (timex): Use __syscall_slong_t.
10697 2012-05-18 Andreas Jaeger <aj@suse.de>
10698 Carlos O'Donell <carlos_odonell@mentor.com>
10700 * manual/install.texi (Configuring and compiling): Update
10701 description about files modified in the source directory.
10702 * INSTALL: Regenerated.
10704 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10706 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
10707 value. Use "or" to set return value to -1.
10708 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
10709 negate return value.
10711 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10713 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
10714 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
10715 failure if the compiler has Graphite support disabled.
10716 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
10718 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
10719 CFLAGS-memmove.c): Likewise.
10720 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
10723 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10725 * sysdeps/x86_64/x32/_itoa.h: New file.
10727 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
10728 getdents system call only if kernel and user dirents have the
10729 same d_ino and d_off.
10731 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10732 LLONG_MAX != LONG_MAX.
10733 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10734 (_fitoa_word): Likewise.
10736 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
10738 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
10739 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
10740 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
10742 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
10743 include <bits/wordsize.h>. Check __x86_64__ instead of
10745 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
10746 if __x86_64__ is defined. Use anonymous union on fpstate.
10748 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
10751 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
10753 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10754 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
10755 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
10756 Refer to _rtld_local_ro instead of _rtld_global_ro.
10757 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
10759 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
10761 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
10763 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
10764 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
10765 of _rtld_global, and rtld_progname instead of _dl_argv[0].
10767 * sysdeps/powerpc/powerpc32/dl-machine.c
10768 (__elf_machine_runtime_setup) [PROF]: Don't reference
10771 2012-05-18 Andreas Jaeger <aj@suse.de>
10773 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
10774 function only available for GCCs before 3.4 since GCC 3.4
10775 introduced a builtin.
10777 (llrintf): Likewise.
10778 (llrint): Likewise.
10785 (nearbyint): Likewise.
10786 (nearbyintf): Likewise.
10790 (floorf): Likewise.
10792 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10794 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
10795 on both fields and cast pointer to __syscall_ulong_t.
10797 * bits/types.h (__fsword_t): New type.
10798 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
10799 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
10800 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10801 (__FSWORD_T_TYPE): Likewise.
10802 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10803 (__FSWORD_T_TYPE): Likewise.
10804 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10805 (__FSWORD_T_TYPE): Likewise.
10806 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
10807 (__FSWORD_T_TYPE): Likewise.
10808 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
10809 __SWORD_TYPE with __fsword_t.
10810 (statfs64): Likewise.
10812 2012-05-17 David S. Miller <davem@davemloft.net>
10814 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
10816 2012-05-17 Andreas Jaeger <aj@suse.de>
10818 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
10821 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10823 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
10825 2012-05-17 Andreas Jaeger <aj@suse.de>
10827 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
10830 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10832 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
10834 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10836 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
10837 * sysdeps/x86_64/tst-mallocalign1.c: New file.
10839 2012-05-17 Andreas Jaeger <aj@suse.de>
10840 Carlos O'Donell <carlos_odonell@mentor.com>
10843 * sysdeps/x86_64/multiarch/init-arch.h
10844 (bit_YMM_Usable): Rename to...
10845 (bit_AVX_Usable): ... this.
10846 (bit_FMA4_Usable): New macro.
10847 (bit_XMM_state): New macro.
10848 (bit_YMM_state): New macro.
10849 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
10850 [__ASSEMBLER__] (index_AVX_Usable): ... this.
10851 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
10852 (CPUID_OSXSAVE): New macro.
10853 (CPUID_AVX): New macro.
10854 (CPUID_FMA4): New macro.
10855 (index_YMM_Usable): Rename to...
10856 (index_AVX_Usable): ... this.
10857 (HAS_AVX): Use HAS_ARCH_FEATURE.
10858 (HAS_FMA4): Likewise.
10859 (HAS_YMM_USABLE): Remove.
10860 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10861 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
10863 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
10864 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
10865 * sysdeps/x86_64/multiarch/Makefile: Likewise.
10866 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
10867 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
10869 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10871 * math/libm-test.c: Support platforms without multiple rounding modes.
10872 * math/bug-nextafter.c: Support platforms without FP exceptions.
10873 * math/bug-nexttoward.c: Likewise.
10874 * math/test-fenv.c: Likewise.
10875 * math/test-misc.c: Likewise.
10876 * stdlib/bug-getcontext.c: Likewise.
10878 2012-05-17 Andreas Jaeger <aj@suse.de>
10880 * manual/examples/search.c (critter_cmp): Change signature to
10882 * manual/string.texi (Collation Functions): Likewise.
10884 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10886 * bits/types.h: Fold copyright years.
10887 * bits/typesizes.h: Likewise.
10888 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
10889 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10890 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
10891 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
10892 * time/time.h: Likewise.
10894 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
10897 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
10898 in instead of returning them. Return void.
10899 (__libc_mallinfo): Accumulate over all arenas.
10900 (__malloc_stats): Adjust for change in int_mallinfo interface.
10902 2012-05-16 Roland McGrath <roland@hack.frob.com>
10905 * configure.in (NM): Add AC_CHECK_TOOL for it.
10906 (libc_extra_cflags): New substituted variable.
10907 Check for -fstack-protector being used implicitly.
10908 * configure: Regenerated.
10909 * config.make.in (config-extra-cflags): New variable,
10910 gets @libc_extra_cflags@.
10911 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
10914 * configure.in: Check for _FORTIFY_SOURCE being predefined.
10915 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
10916 * configure: Regenerated.
10917 * config.make.in (CPPUNDEFS): New substituted variable.
10918 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
10919 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
10920 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
10922 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10924 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
10925 (mq_attr): Use __syscall_slong_t.
10927 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10929 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
10930 Check __x86_64__ instead of __WORDSIZE.
10931 (_STAT_VER_LINUX): Likewise.
10932 (stat): Check __x86_64__ instead of __WORDSIZE. Use
10933 __syscall_ulong_t and __syscall_slong_t.
10934 (stat64): Likewise.
10936 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10938 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
10940 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10942 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
10944 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10946 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
10949 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
10950 include <bits/wordsize.h>. Check __x86_64__ instead of
10952 (greg_t): Use "__extension__ long long int" if __x86_64__ is
10954 (mcontext_t): Replace "unsigned long" with "unsigned long long".
10956 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
10957 include <bits/wordsize.h>. Check __x86_64__ instead of
10959 (user_regs_struct): Use "__extension__ unsigned long long"
10960 instead of "unsigned long" if __x86_64__ is defined.
10961 (user): Likewise. Pad after pointer field if __ILP32__ is
10964 2012-05-16 Joseph Myers <joseph@codesourcery.com>
10966 * configure.in (makeinfo): Require version 4.5 or later. Allow
10968 * configure: Regenerated.
10969 * manual/install.texi (texinfo): Increase version requirement to
10971 * INSTALL: Regenerated.
10973 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
10975 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10977 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
10979 * sysdeps/x86_64/x32/ffs.c: New file.
10981 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
10983 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
10984 defined. Use __syscall_ulong_t.
10985 (shminfo): Use __syscall_ulong_t.
10986 (shm_info): Likewise.
10988 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
10991 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
10993 (msgqnum_t): Use __syscall_ulong_t.
10994 (msglen_t): Likewise.
10995 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
10998 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
10999 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11001 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
11003 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
11004 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
11006 * sysvipc/sys/msg.h (msgbuf): Replace long int with
11009 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
11010 include <bits/wordsize.h>. Check __x86_64__ instead of
11013 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
11014 "unsigned long long int" if __x86_64__ is defined.
11015 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
11017 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
11018 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11019 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
11021 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
11023 (GET_PC): Cast to uintptr_t first.
11024 (GET_FRAME): Likewise.
11025 (GET_STACK): Likewise.
11027 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
11028 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
11029 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
11030 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
11031 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
11032 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
11033 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
11034 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
11035 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
11036 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
11037 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
11038 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
11039 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11040 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
11041 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
11042 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
11043 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
11044 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
11045 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
11046 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
11047 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
11048 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
11049 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
11050 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
11051 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
11052 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
11053 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
11054 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
11055 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
11057 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
11059 * Makerules (+depfiles): Also collect depfiles from .oS in
11061 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
11062 .oS, $(libnldbl-routines)).
11064 * Makerules (native-compile-mkdep-flags): Define.
11065 * sunrpc/Makefile (extra-objs): Add $(addprefix
11066 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
11067 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
11068 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
11069 calling $(make-target-directory).
11071 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11073 * bits/types.h (__snseconds_t): Removed.
11074 * time/time.h (struct timespec): Replace __snseconds_t with
11076 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
11077 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
11079 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11080 (__SNSECONDS_T_TYPE): Likewise.
11081 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11082 (__SNSECONDS_T_TYPE): Likewise.
11083 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11084 (__SNSECONDS_T_TYPE): Likewise.
11086 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11088 * sysdeps/mach/hurd/bits/typesizes.h
11089 (__SYSCALL_SLONG_TYPE): New macro.
11090 (__SYSCALL_ULONG_TYPE): Likewise.
11092 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11094 * bits/types.h (__syscall_slong_t): New type.
11095 (__syscall_ulong_t): Likewise.
11097 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
11098 (__SYSCALL_ULONG_TYPE): Likewise.
11099 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11100 (__SYSCALL_SLONG_TYPE): Likewise.
11101 (__SYSCALL_ULONG_TYPE): Likewise.
11102 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11103 (__SYSCALL_SLONG_TYPE): Likewise.
11104 (__SYSCALL_ULONG_TYPE): Likewise.
11105 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11106 (__SYSCALL_SLONG_TYPE): Likewise.
11107 (__SYSCALL_ULONG_TYPE): Likewise.
11109 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11111 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
11112 Add sigaltstack-offsets.sym.
11113 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11114 <sigaltstack-offsets.h>.
11115 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
11116 longjmp_msg pointer.
11117 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
11118 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
11120 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
11122 2012-05-15 Joseph Myers <joseph@codesourcery.com>
11124 * elf/stackguard-macros.h: Remove file.
11125 * sysdeps/generic/stackguard-macros.h: New file.
11126 * sysdeps/i386/stackguard-macros.h: Likewise.
11127 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11128 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11129 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11130 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11131 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11132 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11133 * sysdeps/x86_64/stackguard-macros.h: Likewise.
11134 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
11135 <elf/stackguard-macros.h>.
11138 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
11139 __aligned__ in attribute.
11140 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
11141 (gregset_t): Likewise.
11143 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11145 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
11146 * sysdeps/x86_64/64/Implies-after: Here. New file.
11147 * sysdeps/x86_64/x32/Implies-after: New file.
11149 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11151 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
11152 and access return value for _dl_profile_fixup. Use R10_LP to
11155 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11157 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
11159 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11161 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
11162 * sysdeps/x86_64/x32/sysdep.h: New file.
11164 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11166 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
11167 * sysdeps/x86_64/setjmp.S: Likewise.
11169 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11171 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
11172 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
11173 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
11174 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
11175 remove unused global constant.
11177 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
11179 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
11180 include of <not-cancel.h>.
11182 2012-05-15 Roland McGrath <roland@hack.frob.com>
11184 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
11186 2012-05-15 Jeff Law <law@redhat.com>
11187 Andreas Jaeger <aj@suse.de>
11190 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
11192 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
11193 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
11194 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
11195 code changing __hst_map_handle.map.
11197 2012-05-15 Roland McGrath <roland@hack.frob.com>
11199 * configure.in (sysnames): Look for Implies-before and Implies-after
11201 * configure: Regenerated.
11203 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11205 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
11206 8-byte data alignment with LP_SIZE alignment.
11208 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11210 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
11213 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11215 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
11217 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11219 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
11220 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
11221 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
11223 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11225 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11227 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
11228 (stackinfo_sub_sp): Likewise.
11230 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11232 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
11235 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11237 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
11240 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11242 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
11245 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11247 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
11249 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11251 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
11252 into R11_LP and load __x86_64_shared_cache_size_half into
11255 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11257 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
11260 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11262 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
11264 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
11266 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
11268 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
11269 powerpc32/power7/fpu/s_logb.c via #include.
11270 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
11271 powerpc32/power7/fpu/s_logbf.c via #include.
11272 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
11273 powerpc32/power7/fpu/s_logbl.c via #include.
11275 2012-05-15 Joseph Myers <joseph@codesourcery.com>
11277 * README.libm: Remove file.
11279 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11281 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
11282 count for x32. Use R*_LP and omit operand-size suffix.
11284 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11286 * shlib-versions: Move x86_64-.*-linux.* entries to ...
11287 * sysdeps/x86_64/64/shlib-versions: Here. New file.
11288 * sysdeps/x86_64/x32/shlib-versions: New file.
11290 2012-05-14 Roland McGrath <roland@hack.frob.com>
11292 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
11293 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
11294 Use _dl_fatal_printf instead.
11296 2012-05-14 Joseph Myers <joseph@codesourcery.com>
11298 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
11299 set if not set by the user. Do not allow for being unset.
11300 * sysdeps/unix/sysv/linux/configure: Regenerated.
11302 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11304 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
11305 the `q' suffix from lea and replace .quad with ASM_ADDR.
11307 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11309 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
11310 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
11312 (PTR_DEMANGLE): Likewise.
11314 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11316 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
11318 (ASM_ADDR): Likewise.
11319 (RAX_LP): Likewise.
11320 (RBP_LP): Likewise.
11321 (RBX_LP): Likewise.
11322 (RCX_LP): Likewise.
11323 (RDI_LP): Likewise.
11324 (RSI_LP): Likewise.
11325 (RSP_LP): Likewise.
11328 (R10_LP): Likewise.
11329 (R10_LP): Likewise.
11330 (R11_LP): Likewise.
11331 (R12_LP): Likewise.
11332 (R13_LP): Likewise.
11333 (R14_LP): Likewise.
11334 (R15_LP): Likewise.
11336 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11338 * sysdeps/x86_64/x32/dl-machine.h: New file.
11340 2012-05-14 Andreas Jaeger <aj@suse.de>
11342 * manual/Makefile (subdir): Remove export of subdir.
11343 (all): Remove target.
11344 (.PHONY): Remove all from list.
11345 (mkinstalldirs): Remove.
11346 (.PHONY): Remove installdirs from list.
11347 ($(inst_infodir)/libc.info): Use make-target-directory.
11348 (installdirs): Remove.
11349 (subdir_%): Remove.
11350 (glibc-targets): Remove.
11353 ($(objpfx)stubs ../po/manual.pot): Remove.
11354 ($(objpfx)stamp%): Remove.
11355 (make-target-directory): Remove.
11356 (subdir_install): Remove.
11357 (routines): Remove.
11364 * manual/.gitignore: Remove, it's not needed anymore.
11365 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
11367 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
11369 (texis): Renamed to $(objpfx)texis.
11370 (texis-path): New, contains path to generated files.
11371 (chapters.%): Use texis-path for complete path, add extra argument
11373 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
11374 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
11375 (summary,texi, stamp-summary): Use complete path of
11376 files. Generate files in build dir.
11377 (dir-add.texi): Build in build dir.
11378 (libm-err.texi,stamp-libm-err): Likewise.
11379 (version.texi, stamp-version): Likewise.
11380 (.%c.texi): Likewise.
11381 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
11382 (mostlyclean): Remove target.
11383 (realclean): Remove target.
11384 (generated): Add new variable with contents from mostlyclean and
11385 realclean, remove entries duplicated in common-mostlyclean, add
11386 stamp-libm-err and stamp-version.
11387 (generated-dirs): Add libc directory.
11388 ($(inst_infodir)/libc.info): Install files from build dir.
11390 * manual/install.texi (Configuring and compiling): Adjust since
11391 the info files are not part of the tar ball anymore.
11393 2012-05-14 Andreas Jaeger <aj@suse.de>
11395 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
11398 2012-05-14 Joseph Myers <joseph@codesourcery.com>
11401 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11402 to 2.2.0 where earlier.
11403 * sysdeps/unix/sysv/linux/configure: Regenerated.
11404 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
11405 Remove conditional code.
11406 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
11407 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
11408 Remove conditional code.
11409 [!__NR_lchown]: Likewise.
11410 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11411 [__NR_lchown]: Likewise.
11412 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
11413 comment referencing __ASSUME_LCHOWN_SYSCALL.
11414 * sysdeps/unix/sysv/linux/i386/sigaction.c
11415 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11416 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11417 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
11418 Remove conditional code.
11419 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
11420 (__protocol_available): Remove #if 0 code.
11421 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
11423 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
11424 * sysdeps/unix/sysv/linux/kernel-features.h
11425 (__ASSUME_GETCWD_SYSCALL): Don't define.
11426 (__ASSUME_REALTIME_SIGNALS): Likewise.
11427 (__ASSUME_PREAD_SYSCALL): Likewise.
11428 (__ASSUME_PWRITE_SYSCALL): Likewise.
11429 (__ASSUME_POLL_SYSCALL): Likewise.
11430 (__ASSUME_LCHOWN_SYSCALL): Likewise.
11431 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
11433 (__ASSUME_SIOCGIFNAME): Don't define.
11434 (__ASSUME_MSG_NOSIGNAL): Likewise.
11435 (__ASSUME_SENDFILE): Define unconditionally.
11436 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
11437 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
11439 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
11440 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
11441 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11442 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11443 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
11444 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11445 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
11447 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11448 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11450 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11451 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
11453 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11454 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
11456 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11457 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
11459 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11460 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
11462 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11463 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
11465 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11466 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
11468 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11469 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11470 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
11471 Remove conditional code.
11472 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11473 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11474 Remove conditional code.
11475 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11476 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
11477 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
11478 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11479 Remove conditional code.
11480 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11481 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
11482 Remove conditional code.
11483 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11484 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
11485 Remove conditional code.
11486 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11487 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11488 Remove conditional code.
11489 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11490 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11491 Remove conditional code.
11492 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11493 * sysdeps/unix/sysv/linux/sh/pwrite64.c
11494 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11495 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11496 * sysdeps/unix/sysv/linux/sigaction.c
11497 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11498 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11499 * sysdeps/unix/sysv/linux/sigpending.c
11500 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11501 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11502 * sysdeps/unix/sysv/linux/sigprocmask.c
11503 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11504 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11505 * sysdeps/unix/sysv/linux/sigsuspend.c
11506 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11507 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11508 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11509 (__libc_missing_rt_sigs): Remove.
11510 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
11511 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
11512 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
11513 Remove conditional code.
11514 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
11515 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
11517 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
11518 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
11519 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
11520 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
11522 2012-05-14 Andreas Jaeger <aj@suse.de>
11524 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
11525 it's not used in glibc.
11526 (__coshm1): Likewise.
11527 (__acosh1p): Likewise.
11530 * manual/string.texi (Copying and Concatenation): Add missing
11531 variable in concat example.
11532 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11534 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11537 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
11538 __builtin_clzl with __builtin_clzll.
11540 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11543 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
11546 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11548 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
11549 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
11550 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
11551 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
11553 2012-05-14 Mike Frysinger <vapier@gentoo.org>
11555 * NEWS: Update ia64 info.
11557 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
11559 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
11562 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
11564 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
11565 * sysdeps/unix/syscalls.list (dup3): Likewise.
11566 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
11567 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
11569 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11571 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
11572 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
11574 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11576 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
11578 (TLS_IE): Use mov/add instead of movq/addq to load thread
11580 (TLS_GD_PREFIX): New.
11583 2012-05-11 David S. Miller <davem@davemloft.net>
11585 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
11586 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
11587 (_FPU_SETCW): Likewise.
11589 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11591 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
11592 is 32-byte aligned.
11594 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
11597 * iconvdata/gb18030.c: Update tables.
11598 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
11599 characters specially.
11600 (BODY for TO_LOOP): Add encoding of missing ranges.
11602 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
11605 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
11606 * sysdeps/mach/hurd/dup3.c: Likewise.
11607 * sysdeps/mach/hurd/readlinkat.c: Likewise.
11608 * sysdeps/powerpc/memmove.c:: Likewise.
11610 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11612 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
11613 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
11615 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11617 * elf/elf.h (R_X86_64_RELATIVE64): New.
11618 (R_X86_64_NUM): Updated.
11619 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11620 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
11621 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
11622 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
11623 tst-quad1pie tst-quad2pie
11624 (modules-names): Add tst-quadmod1 tst-quadmod2.
11625 ($(objpfx)tst-quad1): New dependency.
11626 ($(objpfx)tst-quad2): Likewise.
11627 ($(objpfx)tst-quad1pie): Likewise.
11628 ($(objpfx)tst-quad2pie): Likewise.
11629 * sysdeps/x86_64/tst-quad1.c: New file.
11630 * sysdeps/x86_64/tst-quad1pie.c: New file.
11631 * sysdeps/x86_64/tst-quad2.c: Likewise.
11632 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
11633 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
11634 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
11635 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
11636 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
11638 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11640 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
11641 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
11642 * streams/stropts.h (t_scalar_t): Define type.
11644 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
11645 (_PATH_PRESERVE): Set to "/var/lib".
11646 (_PATH_RWHODIR): Set to "/var/spool/rwho".
11648 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
11651 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
11652 if __dir_mkfile succeeded.
11654 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
11655 checking for _hurd_dtablesize. Unlock it right after having
11656 finished _hurd_dtable allocation.
11658 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11660 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
11661 * sysdeps/mach/hurd/configure: Regenerated.
11662 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
11663 special-casing to...
11664 * sysdeps/gnu/configure.in: ... this new file.
11665 * sysdeps/unix/sysv/linux/configure: Regenerated.
11666 * sysdeps/gnu/configure: New generated file.
11668 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
11669 for Linux: use nsec instead of usec, as well as:
11670 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
11671 members of type struct timespec.
11672 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
11674 (struct stat64): Likewise.
11675 (_STATBUF_ST_NSEC): New macro.
11676 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
11678 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11679 __strtoul_internal rather than strtoul.
11681 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11683 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
11686 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11688 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
11689 which preserves existing values.
11690 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
11692 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11694 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
11695 TIMEOUT values. Return EINVAL for NFDS values either negative or
11696 greater than FD_SETSIZE.
11698 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11700 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
11701 allocated, call __vm_protect to finish enabling the existing space, and
11702 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
11703 allocate the remainder.
11705 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11707 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
11708 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
11710 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11712 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
11713 sysdeps/mach/hurd/readlink.c.
11715 * posix/tst-sysconf.c (posix_options): Only use
11716 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
11717 _POSIX_SYNCHRONIZED_IO when they are defined
11718 * sysdeps/mach/hurd/bits/posix_opt.h:
11719 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
11720 (_XOPEN_REALTIME): Undefine macro.
11721 (_XOPEN_REALTIME_THREADS): Undefine macro.
11722 (_XOPEN_SHM): Undefine macro.
11723 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
11725 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
11727 (_POSIX_ASYNC_IO): Undefine macro.
11728 (_POSIX_PRIORITIZED_IO): Undefine macro.
11729 (_POSIX_SPIN_LOCKS): Define macro to -1.
11731 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
11732 SA_NODEFER, SA_RESETHAND.
11733 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
11734 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
11737 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11739 * elf/Makefile (pldd-modules): Define unconditionally.
11741 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11743 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
11745 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11747 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
11748 Return ENOENT when name is empty.
11749 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
11751 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11753 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
11755 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
11757 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11759 Fix mlock in all cases except non-readable pages.
11760 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
11761 instead of VM_PROT_ALL as parameter to __vm_wire function.
11763 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
11764 (__mkdir): When path is `/', just fail with EEXIST.
11765 * sysdeps/mach/hurd/mkdirat.c: Likewise.
11767 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11769 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
11770 <sys/uio.h> (for writev).
11771 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
11772 and <sys/param.h> (for MIN).
11774 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11776 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
11777 REQUESTED_TIME. Properly set the remaining time and return EINTR
11780 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11782 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
11783 Depend on against $(link-rpcuserlibs).
11785 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11787 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
11788 (__libc_stack_end): Do not use attribute_relro.
11789 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
11790 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
11791 to libthread-provided value.
11792 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
11795 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11798 * bits/libc-lock.h (__libc_once_get): New macro.
11799 * sysdeps/mach/bits/libc-lock.h: Likewise.
11800 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
11801 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
11802 instead of using implementation details.
11804 * libio/fileops.c: Unconditionally include <kernel-features.h>.
11805 * libio/freopen.c: Likewise.
11806 * libio/freopen64.c: Likewise.
11807 * misc/syslog.c: Likewise.
11808 * nscd/connections.c: Likewise.
11809 * nscd/netgroupcache.c: Likewise.
11810 * sysdeps/posix/getcwd.c: Likewise.
11812 2012-05-10 Roland McGrath <roland@hack.frob.com>
11814 * math/w_ilogbf.c: Add #include <limits.h>.
11816 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11818 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
11819 path instead of returning without unlocking.
11821 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
11822 immediate-write ioctls.
11823 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
11825 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11827 * sysdeps/mach/hurd/i386/init-first.c (init): Use
11828 __builtin_frame_address instead of making assumptions about the
11829 location of the return address relative to DATA. Force early load of
11830 the return address.
11831 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
11832 __builtin_frame_address.
11835 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
11836 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
11837 implement dup3 and do some further code clean-ups.
11838 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
11839 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
11841 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11843 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
11845 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
11846 HURD_CRITICAL_END around holding _hurd_dtable_lock.
11847 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
11848 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
11849 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
11852 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
11853 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
11854 when handler == SIG_ERR, not when handler != SIG_ERR.
11856 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11858 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
11859 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
11862 accept4 for GNU Hurd.
11863 * include/sys/socket.h (__libc_accept4): New prototype.
11864 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
11865 to implement __libc_accept4.
11866 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
11868 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
11870 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
11871 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
11872 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
11873 signal-defines.sym.
11875 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11877 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
11879 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11881 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
11882 assertion on O_CLOEXEC flag.
11883 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
11884 * hurd/intern-fd.c: Likewise.
11885 * hurd/port2fd.c: Likewise.
11887 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11890 * bits/in.h (IPV6_PKTINFO): Define new macro.
11891 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
11893 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11898 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
11899 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11900 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
11901 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11902 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11903 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11904 * math/libm-test.inc (logb_test) : Additional logb tests.
11906 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
11907 Andreas Jaeger <aj@suse.de>
11909 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
11910 * configure: Regenerated.
11911 * config.h.in (LINK_OBSOLETE_RPC): New macro.
11912 * config.make.in (link-obsolete-rpc): New substituted variable.
11913 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
11914 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
11915 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11916 (shared-only-routines): Don't set it under [link-obsolete-rpc],
11917 so that libc.a contains the symbols.
11918 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11919 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
11920 * sunrpc/auth_none.c: Likewise.
11921 * sunrpc/auth_unix.c: Likewise.
11922 * sunrpc/authdes_prot.c: Likewise.
11923 * sunrpc/authuxprot.c: Likewise.
11924 * sunrpc/clnt_gen.c: Likewise.
11925 * sunrpc/clnt_perr.c: Likewise.
11926 * sunrpc/clnt_raw.c: Likewise.
11927 * sunrpc/clnt_simp.c: Likewise.
11928 * sunrpc/clnt_tcp.c: Likewise.
11929 * sunrpc/clnt_udp.c: Likewise.
11930 * sunrpc/clnt_unix.c: Likewise.
11931 * sunrpc/des_crypt.c: Likewise.
11932 * sunrpc/des_soft.c: Likewise.
11933 * sunrpc/get_myaddr.c: Likewise.
11934 * sunrpc/key_call.c: Likewise.
11935 * sunrpc/key_prot.c: Likewise.
11936 * sunrpc/netname.c: Likewise.
11937 * sunrpc/pm_getmaps.c: Likewise.
11938 * sunrpc/pm_getport.c: Likewise.
11939 * sunrpc/pmap_clnt.c: Likewise.
11940 * sunrpc/pmap_prot.c: Likewise.
11941 * sunrpc/pmap_prot2.c: Likewise.
11942 * sunrpc/pmap_rmt.c: Likewise.
11943 * sunrpc/publickey.c: Likewise.
11944 * sunrpc/rpc_cmsg.c: Likewise.
11945 * sunrpc/rpc_common.c: Likewise.
11946 * sunrpc/rpc_dtable.c: Likewise.
11947 * sunrpc/rpc_prot.c: Likewise.
11948 * sunrpc/rpc_thread.c: Likewise.
11949 * sunrpc/rtime.c: Likewise.
11950 * sunrpc/svc.c: Likewise.
11951 * sunrpc/svc_auth.c: Likewise.
11952 * sunrpc/svc_raw.c: Likewise.
11953 * sunrpc/svc_run.c: Likewise.
11954 * sunrpc/svc_tcp.c: Likewise.
11955 * sunrpc/svc_udp.c: Likewise.
11956 * sunrpc/svc_unix.c: Likewise.
11957 * sunrpc/svcauth_des.c: Likewise.
11958 * sunrpc/xcrypt.c: Likewise.
11959 * sunrpc/xdr.c: Likewise.
11960 * sunrpc/xdr_array.c: Likewise.
11961 * sunrpc/xdr_float.c: Likewise.
11962 * sunrpc/xdr_intXX_t.c: Likewise.
11963 * sunrpc/xdr_mem.c: Likewise.
11964 * sunrpc/xdr_rec.c: Likewise.
11965 * sunrpc/xdr_ref.c: Likewise.
11966 * sunrpc/xdr_sizeof.c: Likewise.
11967 * sunrpc/xdr_stdio.c: Likewise.
11969 2012-05-10 Roland McGrath <roland@hack.frob.com>
11971 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
11972 change. Update copyright years.
11974 2012-05-10 Joseph Myers <joseph@codesourcery.com>
11976 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
11978 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
11979 Joseph Myers <joseph@codesourcery.com>
11980 Paul Pluzhnikov <ppluzhnikov@google.com>
11983 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
11985 [cross-compiling] (extra-libs): Likewise.
11986 [cross-compiling] (extra-libs-others): Likewise.
11987 [cross-compiling] (librpcsvc-routines): Likewise.
11988 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
11989 [cross-compiling] (omit-deps): Likewise.
11990 (sunrpc-CPPFLAGS): New variable.
11991 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
11992 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
11993 (cross-rpcgen-objs): New variable.
11994 (extra-objs): Append $(cross-rpcgen-objs).
11995 ($(cross-rpcgen-objs)): New rule.
11996 ($(objpfx)cross-rpcgen): Likewise.
11997 (rpcgen-cmd): Define to use $(built-program-file). Expand
11999 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
12000 ($(objpfx)x%.stmp): Likewise.
12001 * sunrpc/proto.h [IS_IN_build] (_): Define.
12002 [IS_IN_build] (_libc_intl_domainname): Likewise.
12004 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12006 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
12007 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
12008 and R_X86_64_TPOFF64.
12010 2012-05-10 Joseph Myers <joseph@codesourcery.com>
12012 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
12013 sysdeps/unix/sysv/syscalls.list.
12016 * sysdeps/unix/sysv/syscalls.list: Remove file.
12018 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
12021 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
12022 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
12023 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
12024 (__LC_IDENTIFICATION): Make these macros useful in #if
12025 expressions, as required by C99.
12027 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
12029 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
12030 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
12033 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
12035 * stdlib/longlong.h: Updated from GCC.
12037 2012-05-09 Andreas Jaeger <aj@suse.de>
12039 * nscd/nscd.c (run_modes): Make named enum, reorder so that
12040 default is first entry.
12041 (run_mode): Set type.
12042 (main): Remove informal message about syslog.
12043 (options): Fix typo.
12046 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
12049 (llrintf): Likewise.
12050 (llrint): Likewise.
12053 (nearbyint): Likewise.
12054 (nearbyintf): Likewise.
12056 2012-05-09 Andreas Jaeger <aj@suse.de>
12057 Pedro Alves <palves@redhat.com>
12059 * nscd/nscd.c (run_mode): Use enum.
12060 (main): Cleanup coding style issue.
12062 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
12063 Andreas Jaeger <aj@suse.de>
12065 * nscd/nscd.c (go_background): Replaced with...
12066 (run_mode): ... this.
12067 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
12068 (options): Add -F --foreground.
12069 (main): Implement it.
12070 (parse_opt): Parse it.
12072 2012-05-09 Andreas Jaeger <aj@suse.de>
12075 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
12076 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
12077 -Wconversion warning.
12078 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
12081 2012-05-09 Joseph Myers <joseph@codesourcery.com>
12083 * conform/data/locale.h-data (NULL): Use macro-constant. Require
12085 (LC_ALL): Use macro-int-constant.
12086 (LC_COLLATE): Likewise.
12087 (LC_CTYPE): Likewise.
12088 (LC_MESSAGES): Likewise.
12089 (LC_MONETARY): Likewise.
12090 (LC_NUMERIC): Likewise.
12091 (LC_TIME): Likewise.
12092 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
12093 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12094 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12095 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
12097 [C99-based standards] (float_t): Expect type.
12098 [C99-based standards] (double_t): Expect type.
12099 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
12101 [C99-based standards] (HUGE_VALL): Likewise.
12102 [C99-based standards] (INFINITY): Likewise.
12103 [C99-based standards] (NAN): Likewise.
12104 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
12105 [C99-based standards] (FP_NAN): Likewise.
12106 [C99-based standards] (FP_NORMAL): Likewise.
12107 [C99-based standards] (FP_SUBNORMAL): Likewise.
12108 [C99-based standards] (FP_ZERO): Likewise.
12109 [C99-based standards] (FP_FAST_FMA): Use
12110 optional-macro-int-constant. Specify type. Require == 1.
12111 [C99-based standards] (FP_FAST_FMAF): Likewise.
12112 [C99-based standards] (FP_FAST_FMAL): Likewise.
12113 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
12114 [C99-based standards] (FP_ILOGBNAN): Likewise.
12115 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
12117 [C99-based standards] (MATH_ERREXCEPT): Likewise.
12118 [C99-based standards] (math_errhandling): Specify type.
12119 [ISO99 || ISO11] (signgam): Do not allow.
12120 [non-C99-based standards] (copysignf): Do not allow.
12121 [non-C99-based standards] (exp2f): Likewise.
12122 [non-C99-based standards] (log2f): Likewise.
12123 [non-C99-based standards] (modff): Allow.
12124 [non-C99-based standards] (erff): Do not allow.
12125 [non-C99-based standards] (erfcf): Likewise.
12126 [non-C99-based standards] (gammaf): Likewise.
12127 [non-C99-based standards] (hypotf): Likewise.
12128 [non-C99-based standards] (j0f): Likewise.
12129 [non-C99-based standards] (j1f): Likewise.
12130 [non-C99-based standards] (jnf): Likewise.
12131 [non-C99-based standards] (lgammaf): Likewise.
12132 [non-C99-based standards] (tgammaf): Likewise.
12133 [non-C99-based standards] (y0f): Likewise.
12134 [non-C99-based standards] (y1f): Likewise.
12135 [non-C99-based standards] (ynf): Likewise.
12136 [non-C99-based standards] (isnanf): Likewise.
12137 [non-C99-based standards] (acoshf): Likewise.
12138 [non-C99-based standards] (asinhf): Likewise.
12139 [non-C99-based standards] (atanhf): Likewise.
12140 [non-C99-based standards] (cbrtf): Likewise.
12141 [non-C99-based standards] (expm1f): Likewise.
12142 [non-C99-based standards] (ilogbf): Likewise.
12143 [non-C99-based standards] (log1pf): Likewise.
12144 [non-C99-based standards] (logbf): Likewise.
12145 [non-C99-based standards] (nextafterf): Likewise.
12146 [non-C99-based standards] (remainderf): Likewise.
12147 [non-C99-based standards] (rintf): Likewise.
12148 [non-C99-based standards] (scalbf): Likewise.
12149 [non-C99-based standards] (copysignl): Likewise.
12150 [non-C99-based standards] (exp2l): Likewise.
12151 [non-C99-based standards] (log2l): Likewise.
12152 [non-C99-based standards] (modfl): Allow.
12153 [non-C99-based standards] (erfl): Do not allow.
12154 [non-C99-based standards] (erfcl): Likewise.
12155 [non-C99-based standards] (gammal): Likewise.
12156 [non-C99-based standards] (hypotl): Likewise.
12157 [non-C99-based standards] (j0l): Likewise.
12158 [non-C99-based standards] (j1l): Likewise.
12159 [non-C99-based standards] (jnl): Likewise.
12160 [non-C99-based standards] (lgammal): Likewise.
12161 [non-C99-based standards] (tgammal): Likewise.
12162 [non-C99-based standards] (y0l): Likewise.
12163 [non-C99-based standards] (y1l): Likewise.
12164 [non-C99-based standards] (ynl): Likewise.
12165 [non-C99-based standards] (isnanl): Likewise.
12166 [non-C99-based standards] (acoshl): Likewise.
12167 [non-C99-based standards] (asinhl): Likewise.
12168 [non-C99-based standards] (atanhl): Likewise.
12169 [non-C99-based standards] (cbrtl): Likewise.
12170 [non-C99-based standards] (expm1l): Likewise.
12171 [non-C99-based standards] (ilogbl): Likewise.
12172 [non-C99-based standards] (log1pl): Likewise.
12173 [non-C99-based standards] (logbl): Likewise.
12174 [non-C99-based standards] (nextafterl): Likewise.
12175 [non-C99-based standards] (remainderl): Likewise.
12176 [non-C99-based standards] (rintl): Likewise.
12177 [non-C99-based standards] (scalbl): Likewise.
12178 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12179 [non-C99-based standards] (FP_*): Do not allow.
12180 [C99-based standards] (FP_*): Change to
12181 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12182 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12184 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
12185 (SIG_ERR): Likewise.
12186 [X/Open-based standards] (SIG_HOLD): Likewise.
12187 (SIG_IGN): Likewise.
12188 (SIGABRT): Use macro-int-constant. Specify type. Require
12190 (SIGFPE): Likewise.
12191 (SIGILL): Likewise.
12192 (SIGINT): Likewise.
12193 (SIGSEGV): Likewise.
12194 (SIGTER): Likewise.
12195 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
12196 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
12197 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
12198 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
12199 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
12200 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
12201 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
12202 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
12203 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
12204 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
12205 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
12206 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
12207 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
12208 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
12209 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
12210 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
12211 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
12212 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
12213 [X/Open-based standards] (SIGTRAP): Likewise.
12214 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
12215 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
12216 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
12217 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
12218 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12221 2012-05-08 Ian Wienand <ianw@vmware.com>
12224 * time/tzset.c (__tzset_parse_tz): Update default rules for
12225 daylight time changes in the Energy Policy Act of 2005.
12227 2012-05-09 Andreas Jaeger <aj@suse.de>
12230 * elf/ldconfig.c (parse_conf): Change string to make clear that
12231 ldconfig only issued a warning if ld.so.conf does not exist.
12233 2012-05-08 David S. Miller <davem@davemloft.net>
12235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
12236 movxtod instead of popping the value on the stack.
12238 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12240 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
12242 * config.h.in: Add HAVE_ARM_PCS_VFP.
12244 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
12247 * include/features.h: Warn if user requests __FORTIFY_SOURCE
12248 checking but the checks are disabled for any reason.
12250 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
12252 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
12253 and ELF64_R_TYPE with ELFW(R_TYPE).
12255 2012-05-08 Joseph Myers <joseph@codesourcery.com>
12257 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
12258 (ulimit): Likewise.
12260 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
12261 (settimeofday): Likewise.
12263 2012-05-08 Mike Frysinger <vapier@gentoo.org>
12265 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
12266 a struct th_u2 inside the union, and move tu_block/tu_code into
12267 a new th_u3 union of tu_block/tu_code inside of that. Move
12268 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
12269 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
12270 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
12271 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
12272 (th_stuff): Change to th_u1.tu_stuff.
12274 (th_msg): Change to th_u1.th_u2.tu_data.
12276 2012-05-07 David S. Miller <davem@davemloft.net>
12278 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12281 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
12282 (SETUP_PIC_REG): Use it.
12283 (SETUP_PIC_REG_LEAF): Use it.
12285 2012-05-07 Joseph Myers <joseph@codesourcery.com>
12289 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12291 (EXPL_FINITE): Likewise.
12292 (FLDLOG): Likewise.
12293 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
12294 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
12296 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12298 (EXPL_FINITE): Likewise.
12299 (FLDLOG): Likewise.
12300 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
12301 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
12303 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
12304 test of -max_value argument for long double.
12305 * sysdeps/i386/fpu/libm-test-ulps: Update.
12306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12308 2012-05-06 David S. Miller <davem@davemloft.net>
12310 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
12311 quad soft-float symbols whose references which are compiler
12313 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12315 2012-05-06 Joseph Myers <joseph@codesourcery.com>
12319 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12321 (EXPL_FINITE): Likewise.
12322 (FLDLOG): Likewise.
12325 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
12326 Adjust comments for base varying.
12327 (__expl_finite): Change alias to EXPL_FINITE.
12328 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
12330 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
12331 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12332 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12333 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
12334 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12336 (EXPL_FINITE): Likewise.
12337 (FLDLOG): Likewise.
12340 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
12341 Adjust comments for base varying.
12342 (__expl_finite): Change alias to EXPL_FINITE.
12343 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
12345 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12348 * math/libm-test.inc (check_float_internal): Correct ulp
12349 calculation for subnormal expected results.
12351 2012-05-06 Andreas Jaeger <aj@suse.de>
12353 * Makeconfig (+math-flags): New, set to -frounding-math.
12354 (+cflags): Add +math-flags so that all of glibc gets compiled with
12357 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
12359 2012-05-05 Joseph Myers <joseph@codesourcery.com>
12361 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
12367 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
12368 (__ieee754_expl): Allow for and saturate large arguments.
12369 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
12370 (u_threshold): Likewise.
12371 (__exp): Call __ieee754_exp before checking for overflow and
12373 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
12374 (u_threshold): Likewise.
12375 (__expf): Call __ieee754_expf before checking for overflow and
12377 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
12378 (u_threshold): Likewise.
12379 (__expl): Call __ieee754_expl before checking for overflow and
12381 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
12382 (__ieee754_expl): Allow for and saturate large arguments.
12383 * math/libm-test.inc (exp_test): Add another test. Do not allow
12384 missing overflow exception on overflow.
12385 (expm1_test): Do not allow missing overflow exception on overflow.
12387 * sysdeps/i386/fpu/e_expl.c: Move to ...
12388 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
12389 rather than using inline asm.
12390 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
12391 * sysdeps/x86_64/fpu/e_expl.S: Copy from
12392 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
12394 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
12397 (signal): Likewise.
12401 2012-05-04 Joseph Myers <joseph@codesourcery.com>
12403 * sysdeps/unix/syscalls.list (adjtime): Add entry from
12404 sysdeps/unix/common/syscalls.list.
12405 (fchmod): Likewise.
12406 (fchown): Likewise.
12407 (ftruncate): Likewise.
12408 (getrusage): Likewise.
12409 (gettimeofday): Likewise.
12410 (setpgid): Likewise.
12411 (setregid): Likewise.
12412 (setreuid): Likewise.
12413 (sigaction): Likewise.
12414 (truncate): Likewise.
12415 (vhangup): Likewise.
12416 * sysdeps/unix/common/syscalls.list: Remove file.
12417 * sysdeps/unix/bsd/Implies: Don't include unix/common.
12418 * sysdeps/unix/sysv/linux/Implies: Likewise.
12420 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
12422 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
12423 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
12424 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
12426 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12428 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
12430 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
12431 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
12433 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
12434 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
12436 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
12437 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
12439 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
12440 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
12442 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
12443 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
12445 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
12446 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
12448 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12450 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
12452 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
12454 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
12456 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
12457 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
12459 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
12461 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
12463 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
12465 2012-05-04 Joseph Myers <joseph@codesourcery.com>
12467 * sysdeps/unix/common/bits/dirent.h: Remove file.
12468 * sysdeps/unix/common/bits/fcntl.h: Likewise.
12470 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
12471 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
12472 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
12473 * sysdeps/unix/bsd/isatty.c: Likewise.
12474 * sysdeps/unix/bsd/tcdrain.c: Likewise.
12475 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
12476 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
12478 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12481 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
12482 long double comparison inaccuracies.
12483 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12484 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12486 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
12488 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
12489 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
12491 2012-05-04 Joseph Myers <joseph@codesourcery.com>
12494 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
12495 nonzero digits before rounding a hex value.
12496 * stdlib/tst-strtod.c (tests): Add another test.
12498 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12500 * sysdeps/s390/fpu/libm-test-ulps: Update.
12502 2012-05-03 Andreas Jaeger <aj@suse.de>
12504 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
12505 does not get optimized out.
12506 (malloc_opt_barrier): New.
12508 2012-05-03 Andreas Jaeger <aj@suse.de>
12509 Roland McGrath <roland@hack.frob.com>
12511 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
12512 intermediate file deletion.
12513 (generated): Add .symlist files.
12515 2012-05-03 Joseph Myers <joseph@codesourcery.com>
12518 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
12519 Redirect under this condition.
12520 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12521 [__USE_GNU] (__dprintf_chk): Not under this condition.
12522 [__USE_GNU] (__vdprintf_chk): Likewise.
12523 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
12524 under this condition.
12525 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12526 [__USE_XOPEN2K8] (dprintf): Define under this condition.
12527 [__USE_XOPEN2K8] (vdprintf): Likewise.
12528 [__USE_GNU] (__dprintf_chk): Not under this condition.
12529 [__USE_GNU] (__vdprintf_chk): Likewise.
12530 [__USE_GNU] (dprintf): Likewise.
12531 [__USE_GNU] (vdprintf): Likewise.
12533 2012-05-03 Roland McGrath <roland@hack.frob.com>
12535 * elf/Makefile (common-generated): Set this instead of generated for
12536 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
12537 $(all-built-dso)-derived lists.
12539 2012-05-03 Andreas Jaeger <aj@suse.de>
12541 * sysdeps/i386/fpu/libm-test-ulps: Update.
12544 * FAQ.in: Likewise.
12545 * scripts/gen-FAQ.pl: Likewise.
12546 * manual/install.texi (Installation): Point to online location of
12548 * Makefile (files-for-dist): Remove FAQ.
12551 2012-05-02 Allan McRae <allan@archlinux.org>
12553 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
12554 (LDFLAGS-reldepmod5.so): Likewise.
12555 (LDFLAGS-reldep6mod1.so): Likewise.
12556 (LDFLAGS-reldep6mod4.so): Likewise.
12557 (LDFLAGS-reldep8mod3.so): Likewise.
12558 (LDFLAGS-unload4mod1.so): Likewise.
12559 (LDFLAGS-unload4mod2.so): Likewise.
12560 (LDFLAGS-tst-initorder): Likewise.
12561 (LDFLAGS-tst-initordera2.so): Likewise.
12562 (LDFLAGS-tst-initordera3.so): Likewise.
12563 (LDFLAGS-tst-initordera4.so): Likewise.
12564 (LDFLAGS-tst-initorderb2.so): Likewise.
12565 (LDFLAGS-noload): Likewise.
12566 (LDFLAGS-next): Likewise.
12567 (LDFLAGS-order2mod1.so): Likewise.
12568 (LDFLAGS-order2mod2.so): Likewise.
12569 (LDFLAGS-tst-initorder2): Likewise.
12570 (LDFLAGS-tst-initorder2a.so): Likewise.
12571 (LDFLAGS-tst-initorder2b.so): Likewise.
12572 (LDFLAGS-tst-initorder2c.so): Likewise.
12573 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
12575 2012-05-02 David S. Miller <davem@davemloft.net>
12577 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12579 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
12582 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
12584 2012-05-02 Andreas Jaeger <aj@suse.de>
12586 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
12587 since we manipulate rounding mode.
12588 (CPPFLAGS-test-idouble.c): Likewise.
12589 (CPPFLAGS-test-ifloat.c): Likewise.
12590 (CFLAGS-test-ldouble.c): Likewise.
12591 (CFLAGS-test-double.c): Likewise.
12592 (CFLAGS-test-float.c): Likewise.
12593 (CFLAGS-test-misc.c): Likewise.
12594 (CFLAGS-test-test-fenv.c): Likewise.
12596 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12600 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
12601 comparisons to determine direction to adjust input.
12603 2012-05-01 Roland McGrath <roland@hack.frob.com>
12605 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
12606 output to the target.
12608 * scripts/localplt.awk: New file.
12609 * elf/Makefile ($(objpfx)check-localplt): Target removed.
12610 (check-localplt-CFLAGS): Variable removed.
12611 ($(all-built-dso:=.jmprel)): New static pattern rule.
12612 (generated): Add those targets.
12613 (localplt-built-dso): New variable.
12614 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
12616 * elf/check-localplt.c: File removed.
12618 * scripts/check-execstack.awk: New file.
12619 * elf/Makefile ($(objpfx)check-execstack): Target removed.
12620 (check-execstack-CFLAGS): Variable removed.
12621 ($(objpfx)check-execstack.h): Target removed.
12622 ($(objpfx)execstack-default): New target.
12623 (generated): Add that instead of check-execstack.h.
12624 ($(all-built-dso:=.phdr)): New static pattern rule.
12625 (generated): Add those targets.
12626 * elf/check-execstack.c: File removed.
12628 * scripts/check-textrel.awk: New file.
12629 * elf/Makefile ($(objpfx)check-textrel): Target removed.
12630 (check-textrel-CFLAGS): Variable removed.
12631 (all-built-dso): Use := to define.o
12632 ($(all-built-dso:=.dyn)): New static pattern rule.
12633 (generated): Add those targets.
12634 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
12635 * config.make.in (READELF): New substituted variable.
12636 * elf/check-textrel.c: File removed.
12638 2012-05-01 Joseph Myers <joseph@codesourcery.com>
12640 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12642 * conform/data/ctype.h-data [C99-based standards] (isblank):
12644 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
12645 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
12646 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12647 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
12648 Specify type. Require positive value.
12649 (EILSEQ): Likewise.
12650 (ERANGE): Likewise.
12651 [ISO || POSIX] (EILSEQ): Do not expect.
12652 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
12653 Specify type. Require positive value.
12654 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
12655 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
12656 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
12657 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
12658 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
12659 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
12660 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
12661 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
12662 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
12663 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
12664 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
12665 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
12666 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
12667 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
12668 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
12669 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
12670 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
12671 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
12672 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
12673 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
12674 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
12675 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
12676 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
12677 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
12678 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
12679 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
12680 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
12681 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
12682 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
12683 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
12684 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
12685 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
12686 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
12687 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
12688 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
12689 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
12690 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
12691 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
12692 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
12693 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
12694 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
12695 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
12696 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
12697 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
12698 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
12699 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
12700 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
12701 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
12702 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
12703 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
12704 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
12705 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
12706 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
12707 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
12708 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
12709 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
12710 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
12711 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
12712 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
12713 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
12714 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
12715 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
12716 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
12717 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
12718 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
12719 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
12720 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
12721 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
12722 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
12723 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
12724 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
12725 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
12726 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
12727 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
12728 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
12729 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
12730 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
12732 (FLT_ROUNDS): Expect as macro, not constant.
12733 (FLT_MANT_DIG): Use macro-int-constant.
12734 (DBL_MANT_DIG): Likewise.
12735 (LDBL_MANT_DIG): Likewise.
12736 (FLT_DIG): Likewise.
12737 (DBL_DIG): Likewise.
12738 (LDBL_DIG): Likewise.
12739 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
12740 (DBL_MIN_EXP): Likewise.
12741 (LDBL_MIN_EXP): Likewise.
12742 (FLT_MAX_EXP): Use macro-int-constant.
12743 (DBL_MAX_EXP): Likewise.
12744 (LDBL_MAX_EXP): Likewise.
12745 (FLT_MAX_10_EXP): Likewise.
12746 (DBL_MAX_10_EXP): Likewise.
12747 (LDBL_MAX_10_EXP): Likewise.
12748 (FLT_MAX): Use macro-constant.
12749 (DBL_MAX): Likewise.
12750 (LDBL_MAX): Likewise.
12751 (FLT_EPSILON): Use macro-constant. Give upper bound.
12752 (DBL_EPSILON): Likewise.
12753 (LDBL_EPSILON): Likewise.
12754 (FLT_MIN): Likewise.
12755 (DBL_MIN): Likewise.
12756 (LDBL_MIN): Likewise.
12757 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
12758 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
12759 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
12760 [ISO11] (FLT_HAS_SUBNORM): Likewise.
12761 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
12762 [ISO11] (DBL_DECIMAL_DIG): Likewise.
12763 [ISO11] (FLT_DECIMAL_DIG): Likewise.
12764 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
12765 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
12766 [ISO11] (FLT_TRUE_MIN): Likewise.
12767 [ISO11] (LDBL_TRUE_MIN): Likewise.
12768 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12769 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
12770 (SCHAR_MIN): Use macro-int-constant. Specify type.
12771 (SCHAR_MAX): Likewise.
12772 (UCHAR_MAX): Likewise.
12773 (CHAR_MIN): Likewise.
12774 (CHAR_MAX): Likewise.
12775 (MB_LEN_MAX): Use macro-int-constant.
12776 (SHRT_MIN): Use macro-int-constant. Specify type.
12777 (SHRT_MAX): Likewise.
12778 (USHRT_MAX): Likewise.
12779 (INT_MAX): Likewise.
12780 (INT_MIN): Use macro-int-constant. Specify type. Make upper
12782 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
12784 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12786 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
12787 bound negative. Suffix upper bound with "L".
12788 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12790 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
12792 [C99-based standards] (LLONG_MAX): Likewise.
12793 [C99-based standards] (ULLONG_MAX): Likewise.
12794 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
12796 [ISO11] (max_align_t): Require type.
12797 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12799 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
12800 from $CFLAGS, without defining away __attribute__ calls.
12801 (checknamespace): Use $CFLAGS_namespace.
12803 * conform/conformtest.pl (@keywords): Only include C99 keywords
12804 for standards based on C99 or C11.
12806 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
12808 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
12811 * conform/conformtest.pl: Handle "macro-int-constant" and test for
12812 usability of symbols in #if.
12814 * conform/conformtest.pl: If macro or constant types start
12815 "promoted:", expect the symbol to be of the following type
12816 promoted by the integer promotions.
12818 * conform/conformtest.pl: Parse all "constant" and "macro" lines
12819 in one place. Also handle "macro-constant".
12821 * conform/conformtest.pl: Only accept expected macro values with
12822 "==". Parse all "macro" lines in one place.
12823 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
12825 * conform/conformtest.pl: Handle braced types on "constant" lines
12826 instead of handling "typed-constant".
12827 * conform/data/signal.h-data: Use "constant" instead of
12830 * conform/conformtest.pl: Handle "optional-" at start of lines in
12831 one place rather than duplicating several cases. Handle each
12832 format of "macro" line with initial "optional-".
12834 * conform/conformtest.pl: Only accept expected constant or
12835 optional-constant values with "==". Parse all "constant" lines in
12836 one place. Parse all "optional-constant" lines in one place.
12837 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
12838 * conform/data/fmtmsg.h-data: Likewise.
12839 * conform/data/netinet/in.h-data: Likewise.
12840 * conform/data/tar.h-data: Likewise.
12841 * conform/data/limits.h-data: Use "==" form on "constant" and
12842 "optional-constant" lines.
12844 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
12845 Use -std=c99 for XOPEN2K.
12846 (@knownproblems): Remove.
12847 (newtoken): Don't check %isknown.
12849 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
12850 Do not expect macro.
12851 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
12852 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
12853 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
12854 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
12855 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
12856 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
12857 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
12858 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
12859 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
12860 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
12861 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
12862 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
12863 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
12864 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
12865 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
12866 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
12867 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
12868 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
12869 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
12870 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
12871 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
12872 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
12873 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
12874 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
12875 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
12876 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
12877 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
12878 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
12879 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
12880 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
12881 [XPG3] (acosh): Likewise.
12882 [XPG3] (asinh): Likewise.
12883 [XPG3] (atanh): Likewise.
12884 [XPG3] (cbrt): Likewise.
12885 [XPG3] (expm1): Likewise.
12886 [XPG3] (ilogb): Likewise.
12887 [XPG3] (log1p): Likewise.
12888 [XPG3] (logb): Likewise.
12889 [XPG3] (nextafter): Likewise.
12890 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
12891 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
12892 [XPG3] (remainder): Likewise.
12893 [XPG3] (rint): Likewise.
12894 [XPG3 || XPG4 || UNIX98] (round): Likewise.
12895 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
12896 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
12897 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
12898 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
12899 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
12900 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
12901 [UNIX98 || XOPEN2K] (scalb): Expect.
12902 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
12903 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
12904 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
12905 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
12906 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
12907 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
12908 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
12909 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
12910 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
12911 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
12912 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
12913 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
12914 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
12915 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
12916 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
12917 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
12918 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
12919 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
12920 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
12921 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
12922 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
12923 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
12924 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
12925 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
12926 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
12927 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
12928 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
12929 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
12930 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
12931 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
12932 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
12933 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
12934 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
12935 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
12936 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
12937 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
12938 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
12939 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
12940 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
12941 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
12942 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
12943 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
12944 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
12945 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
12946 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
12947 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
12948 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
12949 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
12950 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
12951 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
12952 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
12953 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
12954 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
12955 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
12956 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
12957 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
12958 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
12959 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
12960 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
12961 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
12962 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
12963 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
12964 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
12965 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
12966 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
12967 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
12968 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
12969 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
12970 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
12971 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
12972 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
12973 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
12974 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
12975 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
12976 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
12977 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
12978 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
12979 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
12980 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
12981 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
12982 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
12983 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
12984 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
12985 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
12986 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
12987 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
12988 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
12989 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
12990 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
12991 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
12992 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
12993 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
12994 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
12995 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
12996 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
12997 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
12998 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
12999 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
13000 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
13001 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
13002 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
13003 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
13004 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
13005 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
13006 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
13007 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
13008 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
13009 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
13010 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
13011 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
13012 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
13013 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
13014 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
13015 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
13016 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
13017 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
13018 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
13019 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
13020 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
13021 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
13022 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
13023 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
13024 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
13025 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
13026 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
13027 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
13028 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
13029 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
13030 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
13031 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
13032 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
13033 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
13034 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
13035 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
13036 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
13037 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
13038 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
13040 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
13041 _XOPEN_SOURCE_EXTENDED for XPG4.
13043 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
13045 * Makeconfig (localtime): Remove variable.
13046 (inst_localtime-file): Likewise.
13048 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
13062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
13066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13069 2012-05-01 Joseph Myers <joseph@codesourcery.com>
13073 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
13074 comparisons to determine direction to adjust input.
13075 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13076 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
13077 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13079 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13081 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13083 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13084 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13086 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13088 * math/libm-test.inc (nexttoward_test): Add more tests.
13090 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13093 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
13094 in version GLIBC_2.1, not GLIBC_2.0.
13095 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
13098 2012-04-30 Joseph Myers <joseph@codesourcery.com>
13101 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
13103 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13104 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
13105 * math/libm-test.inc (acos_test): Add more tests.
13106 (asin_test): Likewise.
13107 * sysdeps/i386/fpu/libm-test-ulps: Update.
13108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13111 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
13113 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
13114 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13115 * math/libm-test.inc (acos_test_tonearest): New function.
13116 (acos_test_towardzero): Likewise.
13117 (acos_test_downward): Likewise.
13118 (acos_test_upward): Likewise.
13119 (asin_test_tonearest): Likewise.
13120 (asin_test_towardzero): Likewise.
13121 (asin_test_downward): Likewise.
13122 (asin_test_upward): Likewise.
13123 (main): Call the new functions.
13124 * sysdeps/i386/fpu/libm-test-ulps: Update.
13125 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13129 * math/e_exp10.c: Include <float.h>.
13130 (__ieee754_exp10): Handle underflow here rather than multiplying
13131 large negative argument by M_LN10.
13132 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
13134 * math/e_exp10l.c: Include <float.h>.
13135 (__ieee754_exp10l): Handle underflow here rather than multiplying
13136 large negative argument by M_LN10l.
13137 * math/libm-test.inc (exp10_test): Add another test. Do not allow
13138 spurious overflow exception on underflow.
13140 2012-04-29 Marek Polacek <polacek@redhat.com>
13142 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
13143 (__fortify_function): New macro.
13144 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
13145 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
13146 __extern_always_inline.
13147 * libio/bits/stdio2.h: Likewise.
13148 * libio/bits/stdio.h: Likewise.
13149 * string/string.h: Likewise.
13150 * string/bits/string3.h: Likewise.
13151 * include/stdio.h: Likewise.
13152 * stdlib/bits/stdlib.h: Likewise.
13153 * stdlib/stdlib.h: Likewise.
13154 * rt/bits/mqueue2.h: Likewise.
13155 * rt/mqueue.h: Likewise.
13156 * posix/bits/unistd.h: Likewise.
13157 * posix/unistd.h: Likewise.
13158 * io/bits/poll2.h: Likewise.
13159 * io/bits/fcntl2.h: Likewise.
13160 * io/fcntl.h: Likewise.
13161 * io/sys/poll.h: Likewise.
13162 * misc/bits/syslog.h: Likewise.
13163 * misc/bits/syslog-ldbl.h: Likewise.
13164 * misc/sys/syslog.h: Likewise.
13165 * socket/bits/socket2.h: Likewise.
13166 * socket/sys/socket.h: Likewise.
13167 * debug/tst-chk1.c: Likewise.
13168 * wcsmbs/bits/wchar2.h: Likewise.
13169 * wcsmbs/bits/wchar-ldbl.h: Likewise.
13170 * wcsmbs/wchar.h: Likewise.
13172 2012-04-29 Andreas Jaeger <aj@suse.de>
13174 * Makerules (tests): Remove enable-check-abi protection.
13175 (check-abi-warn): Remove.
13176 (check-abi-%): Remove check-abi-warn usage.
13178 * configure.in: Remove check-abi configure option.
13179 * configure: Regenerated.
13180 * config.make.in (enable-check-abi): Remove.
13182 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
13185 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
13186 double functions to double *_finite functions.
13189 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
13190 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
13192 * stdio-common/Makefile (tests): Add tst-sprintf3.
13193 * stdio-common/tst-sprintf3.c: New file.
13195 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
13196 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
13198 2012-04-28 Joseph Myers <joseph@codesourcery.com>
13200 * conform/conformtest.pl: Remove duplicate typed-constant
13203 2012-04-28 David S. Miller <davem@davemloft.net>
13205 * Makerules (%.abilist): Add vpath on sysdep_dirs.
13206 (check-abi-%): Remove AWK script prerequisite and explicit
13208 (check-abi): Rewrite to just diff the symlist with the abilist.
13209 (config-tls, config-abi-config): Delete, no longer used.
13210 (update-abi-%): Remove AWK script and explicit abilist directory.
13211 (update-abi): Rewrite to simply compare and conditionally copy the
13212 symlist and the sysdep abilist file. Remove update-abi-config
13214 * abilist/ld.abilist: Remove.
13215 * abilist/libBrokenLocale.abilist: Remove.
13216 * abilist/libanl.abilist: Remove.
13217 * abilist/libcrypt.abilist: Remove.
13218 * abilist/libdl.abilist: Remove.
13219 * abilist/librt.abilist: Remove.
13220 * abilist/libthread_db.abilist: Remove.
13221 * abilist/libutil.abilist: Remove.
13222 * scripts/extract-abilist.awk: Remove.
13223 * scripts/merge-abilist.awk: Remove.
13224 * sysdeps/generic/libcidn.abilist: New file.
13225 * sysdeps/generic/libnss_compat.abilist: New file.
13226 * sysdeps/generic/libnss_db.abilist: New file.
13227 * sysdeps/generic/libnss_dns.abilist: New file.
13228 * sysdeps/generic/libnss_files.abilist: New file.
13229 * sysdeps/generic/libnss_hesiod.abilist: New file.
13230 * sysdeps/generic/libnss_nis.abilist: New file.
13231 * sysdeps/generic/libnss_nisplus.abilist: New file.
13232 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
13233 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
13234 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
13236 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
13237 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
13238 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
13239 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
13240 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
13241 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
13242 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
13243 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
13244 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
13246 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
13247 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
13248 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
13249 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
13251 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
13252 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
13253 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
13254 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
13255 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
13256 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
13258 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
13259 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
13260 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
13262 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
13263 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
13265 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
13267 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
13269 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
13271 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
13273 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
13275 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
13277 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
13279 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
13281 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
13283 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
13285 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
13287 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
13289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
13291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
13293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
13295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
13297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
13299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
13301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
13303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
13305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
13309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
13311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
13313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
13315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
13316 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
13318 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
13320 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
13322 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
13324 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
13326 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
13328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
13330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13332 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
13334 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
13336 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
13338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
13340 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
13341 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
13343 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
13345 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
13347 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
13349 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
13351 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
13353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
13355 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
13359 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
13361 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
13363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
13365 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
13366 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
13367 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
13369 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
13370 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
13371 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
13372 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
13373 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
13374 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
13375 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
13376 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
13377 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
13378 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
13379 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
13380 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
13382 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
13384 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
13386 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
13388 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
13390 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
13392 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
13394 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13396 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
13398 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
13400 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
13402 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
13404 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
13405 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
13407 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
13409 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
13411 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
13413 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
13415 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
13417 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
13419 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13421 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
13423 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
13425 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
13427 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
13430 2012-04-28 Joseph Myers <joseph@codesourcery.com>
13432 * conform/conformtest.pl: Fix typo in handling typed-constant from
13435 2012-04-27 Joseph Myers <joseph@codesourcery.com>
13437 * README: Cut down references to pre-2.6 Linux kernels and
13438 Linuxthreads. Update lists of configurations in libc and ports
13439 and sort alphabetically. Say "or newer" with Linux kernel version
13442 * config.h.in [IS_IN_build]: Allow compiling without optimization.
13444 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13447 * math/libm-test.inc (logb_test_downward): New test to expose
13448 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
13451 2012-04-27 Joseph Myers <joseph@codesourcery.com>
13454 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
13456 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
13457 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
13459 2012-04-26 Joseph Myers <joseph@codesourcery.com>
13461 * sysdeps/unix/i386/brk.S: Remove file.
13462 * sysdeps/unix/i386/dl-brk.S: Likewise.
13463 * sysdeps/unix/i386/pipe.S: Likewise.
13464 * sysdeps/unix/i386/sigreturn.S: Likewise.
13465 * sysdeps/unix/i386/syscall.S: Likewise.
13466 * sysdeps/unix/i386/vfork.S: Likewise.
13467 * sysdeps/unix/i386/wait.S: Likewise.
13469 * sysdeps/unix/common/tcsendbrk.c: Move to ...
13470 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
13472 * configure.in (arm*-none*): Do not allow without
13473 --enable-hacker-mode.
13474 (netbsd*): Remove case setting base_os.
13475 (386bsd*): Likewise.
13476 (freebsd*): Likewise.
13479 (sunos*): Likewise.
13480 (ultrix*): Likewise.
13481 (newsos*): Likewise.
13482 (dynix*): Likewise.
13488 (minix*): Likewise.
13489 (irix4*): Likewise.
13490 (irix6*): Likewise.
13491 (solaris[2-9]*): Likewise.
13493 * configure: Regenerated.
13495 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13498 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
13499 overflow or cancellation in calculating denominator.
13500 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
13501 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
13502 down expression to avoid unexpected rounding in newer GCCs.
13503 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
13505 2012-04-26 David S. Miller <davem@davemloft.net>
13507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
13508 long-double compat symbols.
13509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
13513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
13515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
13516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
13517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
13518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
13519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
13520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
13521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13523 2012-04-25 David S. Miller <davem@davemloft.net>
13525 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
13526 HWCAP_* values only after the memory barriers have been defined.
13527 (atomic_full_barrier): Define.
13528 (atomic_read_barrier): Define.
13529 (atomic_write_barrier): Define.
13531 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13533 * shlib-versions: Add libgcc_s version information.
13534 * sysdeps/generic/libgcc_s.h: Remove.
13535 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
13537 * sysdeps/gnu/unwind-resume.c: Likewise.
13538 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
13540 2012-04-25 David S. Miller <davem@davemloft.net>
13542 * sysdeps/unix/sparc/brk.S: Delete.
13543 * sysdeps/unix/sparc/dl-brk.S: Delete.
13544 * sysdeps/unix/sparc/pipe.S: Delete.
13545 * sysdeps/unix/sparc/sysdep.S: Delete.
13546 * sysdeps/unix/sparc/sysdep.h: Delete.
13547 * sysdeps/unix/sparc/vfork.S: Delete.
13548 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
13549 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
13550 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
13551 ret_ERRVAL, r0, r1, MOVE): Define.
13552 (JUMPTARGET): Remove.
13553 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
13554 sysdeps/unix/sparc/sysdep.h
13555 (ENTRY, END): Remove.
13556 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13558 2012-04-25 Joseph Myers <joseph@codesourcery.com>
13560 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
13561 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
13564 * timezone/README: Update upstream location and email address for
13566 * timezone/zdump.c: Update from tzcode 2012b.
13567 * timezone/zic.c: Likewise.
13569 * configure.in (libc_cv_as_needed): Remove test.
13570 * configure: Regenerated.
13571 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
13572 conditional definition.
13573 [$(have-as-needed) != yes] (no-as-needed): Likewise.
13574 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
13575 * config.make.in (have-as-needed): Remove variable.
13577 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13578 Paul Pluzhnikov <ppluzhnikov@google.com>
13580 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
13583 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
13585 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
13586 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
13587 * sysdeps/sh/strlen.S: Likewise.
13589 2012-04-24 Joseph Myers <joseph@codesourcery.com>
13591 * sysdeps/unix/fork.S: Remove file.
13592 * sysdeps/unix/i386/fork.S: Likewise.
13593 * sysdeps/unix/sparc/fork.S: Likewise.
13595 * sysdeps/unix/system.c: Remove file.
13596 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
13598 * sysdeps/unix/getegid.S: Remove file.
13599 * sysdeps/unix/geteuid.S: Likewise.
13601 2012-04-24 Roland McGrath <roland@hack.frob.com>
13603 * scripts/check-localplt.awk: New file.
13604 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
13606 * scripts/data/localplt-generic.data: Add a comment.
13608 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
13609 NODE when __dir_mkfile failed.
13610 * sysdeps/mach/hurd/symlinkat.c: Likewise.
13611 Reported by Ludovic Courtès <ludo@gnu.org>.
13613 2012-04-24 Andreas Jaeger <aj@suse.de>
13615 * Makerules (common-clean): Also remove gen-as-const-headers
13618 2012-04-24 Joseph Myers <joseph@codesourcery.com>
13620 * Makerules (native-compile): Do not change working directory for
13621 build. Use $(OUTPUT_OPTION) in command.
13622 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
13624 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13627 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
13628 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
13629 * math/libm-test.inc (floor_test): Add more tests.
13630 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
13632 2012-04-24 Joseph Myers <joseph@codesourcery.com>
13634 * sysdeps/unix/getdents.c: Remove file.
13635 * sysdeps/unix/sysv/getdents.c: Likewise.
13636 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
13638 * sysdeps/unix/syscalls.list (madvise): Add syscall from
13639 sysdeps/unix/mman/syscalls.list.
13641 (mprotect): Likewise.
13643 (munmap): Likewise.
13644 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
13645 * sysdeps/unix/mman/syscalls.list: Remove.
13646 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
13648 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
13649 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
13650 * configure: Regenerated.
13651 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
13652 $(libgcc_s_suffix).
13653 * config.make.in (libgcc_s_suffix): Remove variable.
13655 2012-04-23 Joseph Myers <joseph@codesourcery.com>
13657 * sysdeps/unix/sysv/gethostname.c: Move to ...
13658 * sysdeps/posix/gethostname.c: ... here.
13660 * sysdeps/unix/execve.S: Remove file.
13662 * sysdeps/unix/_exit.S: Remove file.
13664 2012-04-23 Andreas Jaeger <aj@suse.de>
13667 * manual/Makefile: Remove make dist support, there's no
13668 need for a stand-alone documentation tar ball.
13669 (TEXI2DVI): Define always, it's not in Makeconfig.
13672 (edition): Removed.
13673 (glibc-doc-$(edition).tar): Removed
13677 (ETAGS): Remove, it's in Makeconfig.
13678 (move-if-change): Remove, it's in Makeconfig.
13680 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
13683 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
13684 (strtod, strtof, strtold, strtol, strtoul, strtoq)
13685 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
13686 (strtod_l, strtof_l, strtold_l): Remove __wur.
13687 It is not necessarily an error to ignore strtol's return value.
13688 One can reliably look at the stored endptr to decide whether
13689 the number had valid syntax.
13691 2012-04-21 Andreas Jaeger <aj@suse.de>
13694 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
13696 2012-04-21 Joseph Myers <joseph@codesourcery.com>
13698 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
13699 * sysdeps/unix/sysv/Versions: Remove file.
13701 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
13704 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13706 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
13709 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
13710 version from __vm86.
13712 2012-04-20 Joseph Myers <joseph@codesourcery.com>
13714 * sysdeps/unix/common/lxstat.c: Remove file.
13715 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
13717 * sysdeps/unix/sysv/Makefile: Remove file.
13719 * sysdeps/unix/sysv/direct.h: Remove file.
13721 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
13722 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
13723 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
13724 * sysdeps/unix/sysv/bits/signum.h: Likewise.
13725 * sysdeps/unix/sysv/bits/stat.h: Likewise.
13726 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
13727 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
13729 * sysdeps/unix/sysv/setrlimit.c: Remove file.
13731 * sysdeps/unix/xmknod.c: Remove file.
13732 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
13734 * sysdeps/unix/sysv/settimeofday.c: Remove file.
13736 * sysdeps/unix/sysv/i386/time.S: Remove file.
13738 * sysdeps/unix/fxstat.c: Remove file.
13739 * sysdeps/unix/xstat.c: Likewise.
13740 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
13742 * sysdeps/unix/sysv/sigaction.c: Remove file.
13744 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
13745 (sysdep_headers): Remove variable.
13746 [termio.h not in sysdep_headers] (generated): Likewise.
13747 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
13748 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
13749 * sysdeps/unix/sysv/tcdrain.c: Likewise.
13750 * sysdeps/unix/sysv/tcflow.c: Likewise.
13751 * sysdeps/unix/sysv/tcflush.c: Likewise.
13752 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
13753 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
13754 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
13755 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
13756 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
13758 * sysdeps/unix/siglist.c: Remove file.
13760 * sysdeps/unix/getppid.S: Remove file.
13762 * sysdeps/unix/mkdir.c: Remove file.
13763 * sysdeps/unix/rmdir.c: Likewise.
13765 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
13767 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
13769 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
13770 errlist-compat value.
13772 2012-04-18 David S. Miller <davem@davemloft.net>
13774 * sysdeps/generic/memcopy.h (reg_char): Delete.
13775 * debug/strcat_chk.c: Use char, not reg_char.
13776 * debug/strcpy_chk.c: Likewise.
13777 * debug/strncat_chk.c: Likewise.
13778 * debug/strncpy_chk.c: Likewise.
13779 * string/memchr.c: Likewise.
13780 * string/memrchr.c: Likewise.
13781 * string/rawmemchr.c: Likewise.
13782 * string/strcat.c: Likewise.
13783 * string/strchr.c: Likewise.
13784 * string/strchrnul.c: Likewise.
13785 * string/strcmp.c: Likewise.
13786 * string/strcpy.c: Likewise.
13787 * string/strncat.c: Likewise.
13788 * string/strncmp.c: Likewise.
13789 * string/strncpy.c: Likewise.
13791 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13793 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
13794 __builtin_memcopy is called when src and dest ranges are known to not
13797 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13799 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
13800 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
13801 fwd_align_merge macro call.
13802 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
13803 bwd_align_merge macro call.
13804 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13806 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13808 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
13809 bwd_align_merge macros.
13810 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
13811 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
13812 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13814 2012-04-18 David S. Miller <davem@davemloft.net>
13816 * sysdeps/sparc/sparc64/memcopy.h: Delete.
13818 2012-04-18 Andreas Jaeger <aj@suse.de>
13821 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
13822 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
13823 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13825 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
13826 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
13827 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13829 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
13830 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
13831 Adjust for changed ldbl-128 files.
13833 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
13834 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
13835 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13837 2012-04-17 David S. Miller <davem@davemloft.net>
13839 * sysdeps/sparc/sparc32/memcopy.h: Delete.
13841 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
13843 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
13844 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
13845 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
13846 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
13847 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13848 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
13850 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13853 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
13854 * math/libm-test.inc: Add ilogb errno and exception tests.
13855 * math/w_ilogb.c: New file: ilogb wrapper.
13856 * math/w_ilogbf.c: New file: ilogbf wrapper.
13857 * math/w_ilogbl.c: New file: ilogbl wrapper.
13858 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
13859 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
13860 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
13861 exception being thrown with 0.0 as argument.
13862 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
13863 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
13864 exception being thrown with 0.0 as argument.
13865 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
13866 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13867 exception being thrown with 0.0 as argument.
13868 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
13869 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13870 exception being thrown with 0.0 as argument.
13871 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
13872 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
13873 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
13874 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
13875 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
13876 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
13877 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
13878 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
13879 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
13881 2012-04-17 Petr Baudis <pasky@ucw.cz>
13883 * include/sys/uio.h: Change __vector to __iovec to avoid clash
13886 2012-04-16 Marek Polacek <polacek@redhat.com>
13888 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
13890 2012-04-16 Marek Polacek <polacek@redhat.com>
13892 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
13893 operands of fdivp instruction.
13895 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13897 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
13898 * elf/tst-auditmod3b.c: Likewise.
13899 * elf/tst-auditmod4b.c: Likewise.
13900 * elf/tst-auditmod5b.c: Likewise.
13901 * elf/tst-auditmod6b.c: Likewise.
13902 * elf/tst-auditmod6c.c: Likewise.
13903 * elf/tst-auditmod7b.c: Likewise.
13904 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
13905 * sysdeps/x86_64/preconfigure.in: Likewise.
13906 * sysdeps/x86_64/preconfigure: Regenerated.
13908 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13910 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
13913 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
13915 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13916 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
13918 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
13921 * locale/iso-639.def: Fix gl language name. Spotted by
13924 2012-04-12 Roland McGrath <roland@hack.frob.com>
13927 * libio/libio.h (__io_write_fn): Update comment.
13929 2012-04-12 Petr Baudis <pasky@ucw.cz>
13932 * stdio.texi (Hook Functions): The user provided writer function
13933 is not allowed to return -1.
13935 2012-04-11 David S. Miller <davem@davemloft.net>
13937 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13939 2012-04-11 Mike Frysinger <vapier@gentoo.org>
13941 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
13942 Add a leading slash to rtkaio.
13944 2012-04-11 Jim Meyering <meyering@redhat.com>
13947 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
13948 It is not necessarily an error to ignore fwrite's return
13949 value. One can reliably use ferror to test for errors after
13952 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13954 * bits/types.h (__snseconds_t): New type.
13955 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
13957 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
13958 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13959 (__SNSECONDS_T_TYPE): Likewise.
13960 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13961 (__SNSECONDS_T_TYPE): Likewise.
13962 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13963 (__SNSECONDS_T_TYPE): Likewise.
13965 2012-04-10 Andreas Jaeger <aj@suse.de>
13968 * manual/time.texi (Processor Time): Return type of times is
13969 elapsed real time since an arbitrary point in the past.
13970 (CPU Time): Move CLK_TCK from here...
13971 (Processor Time): ...to here. Correct description.
13972 * manual/conf.texi (Constants for Sysconf): Correct description of
13975 2012-04-10 David S. Miller <davem@davemloft.net>
13978 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
13979 where the is a gap between DT_REL(A) and DT_JMPREL.
13981 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13983 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
13984 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13985 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13987 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13989 * elf/dl-support.c (_dl_inhibit_cache): New variable.
13990 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
13991 (dl_main): Handle --inhibit-cache.
13992 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
13994 * elf/dl-load.c (_dl_map_object): Use it.
13995 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
13997 2012-04-09 Joseph Myers <joseph@codesourcery.com>
14000 * sysdeps/i386/fpu/e_powl.S (p78): New object.
14001 (__ieee754_powl): Saturate large exponents rather than testing for
14002 overflow of y*log2(x).
14003 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14004 * math/libm-test.inc (pow_test): Do not permit spurious overflow
14008 * math/s_ctan.c: Include <float.h>.
14009 (__ctan): Avoid internal overflow or cancellation in calculating
14011 * math/s_ctanf.c: Likewise.
14012 * math/s_ctanl.c: Likewise.
14013 * math/s_ctanh.c: Likewise.
14014 * math/s_ctanhf.c: Likewise.
14015 * math/s_ctanhl.c: Likewise.
14016 * math/libm-test.inc (ctan_test): Add more tests.
14017 (ctanh_test): Likewise.
14018 * sysdeps/i386/fpu/libm-test-ulps: Update.
14019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14021 2012-04-09 Andreas Jaeger <aj@suse.de>
14024 * manual/filesys.texi (Directory Entries): Mention that d_namlen
14025 is an optional BSD extension.
14028 * manual/stdio.texi (Opening Streams): Document additional fopen
14031 2012-04-09 Roland McGrath <roland@hack.frob.com>
14033 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
14034 %eax without telling the compiler.
14036 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
14039 * manual/install.texi: Use sourceware.org.
14041 2012-04-09 Joseph Myers <joseph@codesourcery.com>
14044 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
14045 (__ieee754_pow): Generate overflow and underflow using huge*huge
14046 and tiny*tiny rather than just returning constant infinity or zero
14047 for large exponents.
14048 * math/libm-test.inc (pow_test): Require overflow exceptions for
14049 applicable cases of large exponents.
14052 * sysdeps/i386/fpu/e_pow.S (p10): New object.
14053 (__ieee754_pow): Use iterative multiplication algorithm only for
14054 integer exponents with absolute value below 1024. Check for odd
14055 integer exponents when using algorithm for real exponents.
14056 * math/libm-test.inc (pow_test): Add more tests.
14057 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14059 2012-04-08 Joseph Myers <joseph@codesourcery.com>
14062 * math/libm-test.inc (exp_test): Do not allow overflow exception
14065 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
14068 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
14069 instead of __kernel_standard_f.
14071 2012-04-08 Mike Frysinger <vapier@gentoo.org>
14073 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
14074 * sysdeps/x86_64/memset_chk.S: Likewise.
14076 2012-04-08 Andreas Jaeger <aj@suse.de>
14079 * manual/startup.texi (Environment Access): Describe return value
14080 for putenv and setenv.
14083 * manual/filesys.texi (Directory Entries): Add description for
14087 * manual/filesys.texi (Directory Entries): Clarify that it's file
14088 system not operating system in the description of DT_UNKNOWN.
14091 * manual/syslog.texi (closelog): Fix reference, it's openlog.
14093 2012-04-08 Stephen Compall <s11@member.fsf.org>
14096 * manual/llio.texi (Opening and Closing Files): Add cross
14097 reference to explain mode argument.
14099 2012-04-07 Mike Frysinger <vapier@gentoo.org>
14101 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
14102 * sysdeps/x86_64/memset_chk.S: Likewise.
14104 2012-04-07 David S. Miller <davem@davemloft.net>
14106 * elf/elf.h (R_SPARC_WDISP10): Define.
14107 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
14109 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
14110 R_SPARC_SIZE64 and R_SPARC_H34.
14112 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
14114 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
14115 conditions and remove no longer applicable assertion.
14117 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14119 * bits/byteswap.h: Include <features.h>.
14120 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14121 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14123 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14125 * bits/byteswap.h (__bswap_16): Removed.
14126 Include <bits/byteswap-16.h> to get __bswap_16.
14127 * sysdeps/i386/bits/byteswap.h: Likewise.
14128 * sysdeps/s390/bits/byteswap.h: Likewise.
14129 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14130 * bits/byteswap-16.h: New file.
14131 * sysdeps/i386/bits/byteswap-16.h: Likewise.
14132 * sysdeps/s390/bits/byteswap-16.h: Likewise.
14133 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
14134 * string/Makefile (headers): Add bits/byteswap-16.h.
14136 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14139 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
14141 * nss/Makefile (tests-static, tests): Add tst-nss-static.
14142 * nss/tst-nss-static.c: New.
14144 2012-04-06 Robert Millan <rmh@gnu.org>
14147 * manual/llio.texi (File Position Primitive): lseek
14148 refers to WHENCE when it really means OFFSET.
14150 2012-04-06 Andreas Jaeger <aj@suse.de>
14152 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
14153 strncmp declarations.
14155 * abilist/libc.abilist: Add __poll and __ppoll.
14157 2012-04-05 David S. Miller <davem@davemloft.net>
14159 * scripts/check-local-headers.sh: Accept a host triplet in the
14160 path matched by the exclude regexp.
14162 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
14164 * sysdeps/powerpc/powerpc32/dl-machine.h
14165 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
14166 * sysdeps/s390/s390-32/dl-machine.h
14167 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14168 * sysdeps/sparc/sparc32/dl-machine.h
14169 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14170 * sysdeps/sparc/sparc64/dl-machine.h
14171 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14173 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
14175 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
14176 undefined symbol errors.
14178 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
14181 2012-04-05 Michael Matz <matz@suse.de>
14184 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
14186 2012-04-05 Andreas Jaeger <aj@suse.de>
14189 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
14192 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14194 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
14195 which ROUND is no valid rounding mode.
14197 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14199 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
14201 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
14203 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14205 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
14206 an exception using FPU order intentionally.
14208 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14210 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
14211 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
14212 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
14213 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
14215 2012-04-05 Simon Josefsson <simon@josefsson.org>
14218 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
14219 EINVAL when BUFLEN is too smal.
14221 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
14224 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
14225 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
14227 2012-04-03 Andreas Jaeger <aj@suse.de>
14230 * manual/setjmp.texi (System V contexts): Fix sentence.
14233 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
14234 New macro for this case.
14235 [!__GNUC__] (__bswap_64): New inline function for this case.
14236 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14237 * bits/byteswap.h: Likewise.
14238 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
14239 ull, guard with __GLIBC_HAVE_LONG_LONG.
14241 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
14242 __GLIBC_HAVE_LONG_LONG.
14244 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
14245 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
14247 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14250 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
14251 inptr and inend, rather than using last_ch.
14253 2012-04-02 David S. Miller <davem@davemloft.net>
14255 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
14256 * stdio-common/printf-parse.h (read_int): Change return type to
14257 'int', return -1 on INT_MAX overflow.
14258 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
14259 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
14260 overflows INT_MAX. Check for overflow of in-format-string precision
14261 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
14262 SIZE_MAX not INT_MAX for integer overflow test.
14263 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
14264 skip the construct in the format string but do not record anything.
14265 * stdio-common/bug22.c: Adjust to test both width/prevision
14266 INT_MAX overflow as well as total length INT_MAX overflow. Check
14267 explicitly for proper errno values.
14269 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
14271 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
14273 * string/test-strcmp.c [! WIDE]: Likewise.
14274 * time/tst-mktime2.c: Likewise for INT_MAX.
14275 * string/test-string.h: #include <sys/param.h> for MIN.
14277 * csu/init-first.c (__libc_init_first): Call __ctype_init.
14278 * sysdeps/i386/init-first.c (init): Likewise.
14279 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
14280 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
14281 * sysdeps/sh/init-first.c (init): Likewise.
14283 2012-04-01 Ulrich Drepper <drepper@gmail.com>
14285 * po/ru.po: Update from translation team.
14286 * po/vi.po: Likewise.
14288 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14290 * resolv/nss_dns/dns-host.c: Merge copyright years.
14292 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14294 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14295 Optimize memcpy with prefetch if
14296 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
14297 src, dst pointers have unequal 16 byte alignments.
14299 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14302 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
14303 from a CNAME entry and return the minimum ttl for the query.
14304 (gaih_getanswer_slice): Likewise.
14306 2012-03-30 Jeff Law <law@redhat.com>
14308 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
14310 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
14311 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14313 * resolv/nss_dns/dns-host.c: Update copyright year.
14315 2012-03-30 Ulrich Drepper <drepper@gmail.com>
14317 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
14318 requests to save a system call. Fix check that all bytes are sent.
14320 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
14321 comments for sendmmsg.
14323 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14326 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
14327 with only 1 character between 0x0041 and 0x01b0.
14328 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
14329 * wcsmbs/tst-mbsnrtowcs.c: New file.
14331 2012-03-29 David S. Miller <davem@davemloft.net>
14333 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
14334 small copies by hand.
14336 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14339 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
14340 _nss_compat_initgroups_dyn): Fall back to malloc/free
14341 for large group memberships.
14343 2012-03-28 David S. Miller <davem@davemloft.net>
14345 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
14346 that branches into memcpy.
14347 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14348 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
14349 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
14350 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
14351 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
14353 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
14354 implementation too.
14355 * sysdeps/sparc/mempcpy.S: New file.
14357 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
14358 the IFUNC routine in the libc case.
14359 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14361 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
14362 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
14363 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
14364 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
14365 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
14366 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
14367 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
14368 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
14370 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
14371 loop to 256 bytes instead of 64 bytes and fix test signedness.
14373 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
14374 * sysdeps/sparc/sparc32/Makefile: rather than here...
14375 * sysdeps/sparc/sparc64/Makefile: and here.
14377 2012-03-28 Ulrich Drepper <drepper@gmail.com>
14379 * malloc/mallocbug.c: Avoid warnings about unused variables.
14381 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14384 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
14385 in the right place. Discard and retry query if response is
14386 larger than input buffer size.
14388 2012-03-28 Joseph Myers <joseph@codesourcery.com>
14393 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
14394 x for large integer exponent.
14395 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14396 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
14397 sign of result as needed afterwards.
14398 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14399 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
14400 result for underflowing pow the same as for overflow.
14401 (__kernel_standard_l): Handle powl overflow and underflow here
14402 rather than calling __kernel_standard.
14403 * math/libm-test.inc (pow_test): Add more tests.
14418 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
14419 * sysdeps/ieee754/k_standard.c: Include <float.h>.
14420 (__kernel_standard_l): New function.
14421 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
14423 * math/w_acosl.c (__acosl): Likewise.
14424 * math/w_asinl.c (__asinl): Likewise.
14425 * math/w_atan2l.c (__atan2l): Likewise.
14426 * math/w_atanhl.c (__atanhl): Likewise.
14427 * math/w_coshl.c (__coshl): Likewise.
14428 * math/w_exp10l.c (__exp10l): Likewise.
14429 * math/w_exp2l.c (__exp2l): Likewise.
14430 * math/w_fmodl.c (__fmodl): Likewise.
14431 * math/w_hypotl.c (__hypotl): Likewise.
14432 * math/w_j0l.c (__j0l, __y0l): Likewise.
14433 * math/w_j1l.c (__j1l, __y1l): Likewise.
14434 * math/w_jnl.c (__jnl, __ynl): Likewise.
14435 * math/w_lgammal.c (__lgammal): Likewise.
14436 * math/w_log10l.c (__log10l): Likewise.
14437 * math/w_log2l.c (__log2l): Likewise.
14438 * math/w_logl.c (__logl): Likewise.
14439 * math/w_powl.c (__powl): Likewise.
14440 * math/w_remainderl.c (__remainderl): Likewise.
14441 * math/w_scalbl.c (sysv_scalbl): Likewise.
14442 * math/w_sinhl.c (__sinhl): Likewise.
14443 * math/w_sqrtl.c (__sqrtl): Likewise.
14444 * math/w_tgammal.c (__tgammal): Likewise.
14445 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
14446 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
14447 * math/libm-test.inc (acos_test): Add more tests.
14448 (acosh_test): Likewise.
14449 (asin_test): Likewise.
14450 (atanh_test): Likewise.
14451 (exp_test): Likewise.
14452 (exp10_test): Likewise.
14453 (exp2_test): Likewise.
14454 (expm1_test): Likewise.
14455 (lgamma_test): Likewise.
14456 (log_test): Likewise.
14457 (log10_test): Likewise.
14458 (log1p_test): Likewise.
14459 (log2_test): Likewise.
14460 (pow_test): Do not allow some spurious overflow exceptions.
14461 (sqrt_test): Add more tests.
14462 (tgamma_test): Likewise.
14463 (y0_test): Likewise.
14464 (y1_test): Likewise.
14465 (yn_test): Likewise.
14467 2012-03-27 Anton Blanchard <anton@samba.org>
14469 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
14471 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14472 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14473 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14475 2012-03-27 David S. Miller <davem@davemloft.net>
14477 * conform/Makefile: Run run-conformtest.sh using $(BASH).
14479 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
14480 have-as-vis3 check.
14482 2012-03-27 Andreas Jaeger <aj@suse.de>
14484 * sysdeps/x86_64/elf/configure.in: Moved to ...
14485 * sysdeps/x86_64/configure.in: ... here.
14486 * sysdeps/x86_64/elf/start.S: Moved to ...
14487 * sysdeps/x86_64/start.S: ... here.
14488 * sysdeps/x86_64/elf/configure: Delete.
14490 * sysdeps/x86_64/configure.in: Merge contents from
14491 sysdeps/i386/configure.in (without i686 check).
14493 * sysdeps/i386/elf/Versions: Merge into ...
14494 * sysdeps/i386/Versions: ... this.
14495 * sysdeps/i386/elf/Versions: Delete file.
14496 * sysdeps/i386/elf/start.S: Moved to ...
14497 * sysdeps/i386/start.S: ...here.
14498 * sysdeps/i386/elf/configure.in: Merge into...
14499 * sysdeps/i386/configure.in: ...here.
14500 * sysdeps/i386/elf/configure.in: Delete file.
14501 * sysdeps/i386/elf/configure: Delete file.
14503 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
14504 * debug/backtracesyms.c: ... here.
14505 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
14506 * debug/backtracesymsfd.c: ... here.
14507 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
14508 * sysdeps/generic/ifunc-sel.h: ... here.
14510 * sysdeps/unix/i386/start.c: Delete file.
14511 * sysdeps/unix/sparc/start.c: Delete file.
14512 * sysdeps/unix/start.c: Delete file.
14514 * sysdeps/sh/elf/configure.in: Moved to ...
14515 * sysdeps/sh/configure.in: ... here.
14516 * sysdeps/sh/elf/start.S: Moved to ...
14517 * sysdeps/sh/start.S: ... here.
14518 * sysdeps/sh/elf/configure: Delete file.
14520 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
14521 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
14522 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
14523 * sysdeps/powerpc/powerpc64/entry.h: ... here.
14524 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
14525 * sysdeps/powerpc/powerpc64/start.S: here.
14526 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
14527 * sysdeps/powerpc/powerpc64/Makefile: ... this.
14528 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
14529 * sysdeps/powerpc/powerpc64/configure.in: ... this.
14530 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
14532 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
14533 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
14534 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
14535 * sysdeps/powerpc/powerpc32/start.S: ... here.
14536 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
14537 * sysdeps/powerpc/powerpc32/configure.in: ... this.
14538 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
14540 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
14541 * sysdeps/powerpc/ifunc-sel.h: ... here.
14542 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
14543 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
14545 * sysdeps/sparc/elf/configure.in: Moved to ...
14546 * sysdeps/sparc/configure.in: ... here.
14547 * sysdeps/sparc/elf/configure: Delete file.
14548 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
14549 * sysdeps/sparc/sparc32/start.S: ... here.
14550 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
14551 * sysdeps/sparc/sparc64/start.S: ... here.
14552 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
14553 * sysdeps/sparc/sparc32/Makefile: ... this.
14554 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
14555 * sysdeps/sparc/sparc64/Makefile: ... this.
14557 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
14558 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
14559 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
14560 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
14561 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
14562 * sysdeps/s390/s390-32/setjmp.S: ... here.
14563 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
14564 * sysdeps/s390/s390-32/configure.in: ... here.
14565 * sysdeps/s390/s390-32/elf/configure: Delete file.
14566 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
14567 * sysdeps/s390/s390-32/start.S: ... here.
14569 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
14570 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
14571 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
14572 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
14573 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
14574 * sysdeps/s390/s390-64/setjmp.S: ... here.
14575 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
14576 * sysdeps/s390/s390-64/configure.in: ... here
14577 * sysdeps/s390/s390-64/elf/configure: Delete file.
14578 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
14579 * sysdeps/s390/s390-64/start.S: ... here.
14580 * sysdeps/s390/s390-64/elf/configure: Delete.
14582 * configure.in: Remove support for elf directories in sysdeps.
14584 * configure: Regenerated.
14585 * sysdeps/i386/configure: Regenerated.
14586 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14587 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14588 * sysdeps/s390/s390-32/configure: Regenerated.
14589 * sysdeps/s390/s390-64/configure: Regenerated.
14590 * sysdeps/sh/configure: Regenerated.
14591 * sysdeps/sparc/configure: Regenerated.
14592 * sysdeps/x86_64/configure: Regenerated.
14594 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
14596 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14598 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
14599 denormal result into account.
14601 2012-03-25 Roland McGrath <roland@hack.frob.com>
14603 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
14604 Reported by Allan McRae <allan@archlinux.org>.
14606 2012-03-23 Jeff Law <law@redhat.com>
14608 * nss/getnssent.c (__nss_getent): Fix typo.
14610 2012-03-23 David S. Miller <davem@davemloft.net>
14612 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14614 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
14616 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
14617 to pad to uint64_t for each field.
14618 (dl_tls_index): Replace unsigned long with uint64_t.
14620 2012-03-23 Daniel Jacobowitz <dmj@google.com>
14621 Paul Pluzhnikov <ppluzhnikov@google.com>
14624 * grp/Makefile (otherlibs): Don't set it.
14625 * inet/Makefile (otherlibs): Likewise.
14626 * login/Makefile (otherlibs): Likewise.
14627 * nscd/Makefile (otherlibs): Likewise.
14628 * posix/Makefile (otherlibs): Likewise.
14629 * pwd/Makefile (otherlibs): Likewise.
14630 * rt/Makefile (otherlibs): Likewise.
14631 * sunrpc/Makefile (otherlibs): Likewise.
14632 * nss/Makefile (otherlibs): Likewise.
14633 Add libnss_files to routines and static-only-routines.
14634 ($(objpfx)getent): Remove rule.
14635 * resolv/Makefile: Add libnss_dns and libresolv to routines and
14636 static-only-routines.
14638 2012-03-22 Joseph Myers <joseph@codesourcery.com>
14641 * math/s_cexp.c: Include <float.h>.
14642 (__cexp): Handle exp result overflowing not necessarily
14643 overflowing both real and imaginary parts of result.
14644 * math/s_cexpf.c: Likewise.
14645 * math/s_cexpl.c: Likewise.
14646 * math/libm-test.inc (cexp_test): Add more tests.
14647 * sysdeps/i386/fpu/libm-test-ulps: Update.
14648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14650 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14652 * include/link.h (ELFW): New macro.
14653 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
14654 Replace ELF64_R_TYPE with ELFW(R_TYPE).
14656 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14658 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
14661 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14663 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
14665 (struct La_x32_retval): Likewise.
14667 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14669 * sysdeps/x86_64/preconfigure.in: New file.
14670 * sysdeps/x86_64/preconfigure: New generated file.
14672 2012-03-22 Joseph Myers <joseph@codesourcery.com>
14675 * math/e_exp2l.c: Include <float.h>.
14676 (__ieee754_exp2l): Handle overflow and underflow cases
14677 separately. Only pass fractional part of argument to
14679 * math/libm-test.inc (exp2_test): Add more tests.
14681 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
14682 negating x to take absolute value.
14683 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14685 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14686 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14688 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
14689 computing low part if x was negated.
14690 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14692 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14694 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
14695 la_x32_gnu_pltexit.
14696 (pltexit): Cast int_retval to ptrdiff_t.
14697 * elf/tst-auditmod3b.c: Likewise.
14698 * elf/tst-auditmod4b.c: Likewise.
14699 * elf/tst-auditmod5b.c: Likewise.
14700 * elf/tst-auditmod6b.c: Likewise.
14701 * elf/tst-auditmod6c.c: Likewise.
14702 * elf/tst-auditmod7b.c: Likewise.
14704 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
14705 and x32_gnu_pltexit.
14707 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
14708 __ELF_NATIVE_CLASS.
14709 (La_x32_regs): New macro.
14710 (La_x32_retval): Likewise.
14711 (la_x32_gnu_pltenter): New function prototype.
14712 (la_x32_gnu_pltexit): Likewise.
14714 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
14716 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
14719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14721 * configure.in (libc_cv_cc_nofma): Check for option to disable
14722 generation of FMA instructions.
14723 * configure: Regenerate.
14724 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
14725 * sysdeps/ieee754/dbl-64/Makefile: New file.
14726 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14727 Remove brandred-fma4.
14728 (CFLAGS-brandred-fma4.c): Remove.
14729 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
14730 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
14732 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
14735 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14737 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14738 LLONG_MAX != LONG_MAX.
14739 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14740 (_fitoa_word): Likewise.
14741 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
14742 LLONG_MAX != LONG_MAX.
14743 * stdio-common/_itowa.h: Include <_itoa.h>.
14744 (_itowa_word): Use _ITOA_WORD_TYPE on value.
14745 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
14746 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
14747 only if not defined.
14748 (_ITOA_WORD_TYPE): Likewise.
14749 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14750 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
14752 2012-03-21 David S. Miller <davem@davemloft.net>
14754 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14756 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14758 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
14759 of x86_64 when setting libc_cv_slibdir, libdir and
14761 * sysdeps/unix/sysv/linux/configure: Regenerated.
14763 2012-03-21 Joseph Myers <joseph@codesourcery.com>
14765 * manual/lang.texi (Old Varargs): Remove section.
14766 (How Variadic): Update menu.
14767 (va_start): Do not mention varargs.h.
14769 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14770 Joseph Myers <joseph@codesourcery.com>
14772 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
14774 * configure: Regenerated.
14776 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14778 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
14779 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
14782 2012-03-21 Joseph Myers <joseph@codesourcery.com>
14785 * Makefile (files-for-dist): Remove NOTES.
14786 (NOTES): Remove rule.
14787 * README: Don't refer to NOTES.
14788 * manual/creature.texi: Don't include macros.texi.
14789 * manual/intro.texi (creature.texi): Remove comment referring to
14792 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
14793 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
14794 * configure: Regenerated.
14795 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
14796 LIBC_TRY_CC_OPTION.
14797 (libc_cv_as_i686): Likewise.
14798 (libc_cv_cc_avx): Likewise.
14799 (libc_cv_cc_sse2avx): Likewise.
14800 (libc_cv_cc_fma4): Likewise.
14801 (libc_cv_cc_novzeroupper): Likewise.
14802 * sysdeps/i386/configure: Regenerated.
14805 * sysdeps/i386/fpu/s_cexp.S: Remove.
14806 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14807 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14808 * math/libm-test.inc (cexp_test): Add more tests.
14809 * sysdeps/i386/fpu/libm-test-ulps: Update.
14810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14812 2012-03-21 Allan McRae <allan@archlinux.org>
14814 * timezone/Makefile: Do not install iso3166.tab and zone.tab
14816 2012-03-21 Joseph Myers <joseph@codesourcery.com>
14819 * math/w_exp2.c: Do not include <float.h>.
14820 (o_threshold, u_threshold): Remove.
14821 (__exp2): Calculate result before checking finiteness and calling
14823 * math/w_exp2f.c: Likewise.
14824 * math/w_exp2l.c: Likewise.
14825 * math/libm-test.inc (exp2_test): Require overflow exception for
14829 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
14830 range of signed 64-bit integers before using fistpll. Remove
14831 checks for whether integers fit in mantissa bits.
14832 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
14833 the range of signed 32-bit integers before using fistpl. Remove
14834 checks for whether integers fit in mantissa bits.
14835 * sysdeps/i386/fpu/e_powl.S (p64): New object.
14836 (__ieee754_powl): Test for y outside the range of signed 64-bit
14837 integers before using fistpll. Reduce 64-bit values to 63-bit
14839 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
14840 divide-by-zero is raised for zero to large negative powers.
14841 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
14842 (__ieee754_powl): Test for y outside the range of signed 64-bit
14843 integers before using fistpll. Reduce 64-bit values to 63-bit
14845 * math/libm-test.inc (pow_test): Add more tests.
14847 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14849 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
14850 <stdio-common/_itoa.h>.
14851 * debug/segfault.c: Likewise.
14852 * elf/dl-cache.c: Likewise.
14853 * elf/dl-minimal.c: Likewise.
14854 * elf/dl-misc.c: Likewise.
14855 * elf/dl-sysdep.c: Likewise.
14856 * elf/dl-version.c: Likewise.
14857 * elf/rtld.c: Likewise.
14858 * hurd/hurdsock.c: Likewise.
14859 * hurd/lookup-retry.c: Likewise.
14860 * malloc/malloc.c: Likewise.
14861 * malloc/mtrace.c: Likewise.
14862 * nscd/nscd_getgr_r.c: Likewise.
14863 * nscd/nscd_getpw_r.c: Likewise.
14864 * nscd/nscd_getserv_r.c: Likewise.
14865 * posix/getopt_init.c: Likewise.
14866 * posix/wordexp.c: Likewise.
14867 * stdio-common/_itoa.c: Likewise.
14868 * stdio-common/printf_fphex.c: Likewise.
14869 * stdio-common/vfprintf.c: Likewise.
14870 * string/_strerror.c: Likewise.
14871 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
14872 * sysdeps/i386/i686/hp-timing.h: Likewise.
14873 * sysdeps/mach/_strerror.c: Likewise.
14874 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
14875 * sysdeps/mach/hurd/sethostid.c: Likewise.
14876 * sysdeps/mach/hurd/xmknodat.c: Likewise.
14877 * sysdeps/mach/xpg-strerror.c: Likewise.
14878 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14879 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14880 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
14881 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
14882 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14883 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
14884 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14885 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14886 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
14887 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
14888 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
14889 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14890 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
14891 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14892 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14893 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
14894 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
14895 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
14896 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14897 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14898 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
14900 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
14902 * stdio-common/_itoa.h: Moved to ...
14903 * sysdeps/generic/_itoa.h: Here.
14905 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
14907 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
14908 instead of "_itoa.h" and "_itowa.h".
14909 * stdio-common/vfprintf.: Likewise.
14911 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14913 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
14915 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
14916 (__signbit): Likwise.
14917 (llrintf): Likwise.
14920 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14922 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
14925 2012-03-20 Joseph Myers <joseph@codesourcery.com>
14927 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
14928 OVERFLOW_EXCEPTION_OK.
14929 * math/libm-test.inc ("Philosophy"): Update comment about
14931 (OVERFLOW_EXCEPTION): Define.
14932 (OVERFLOW_EXCEPTION_OK): Likewise.
14933 (INVALID_EXCEPTION_OK): Renumber.
14934 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14935 (IGNORE_ZERO_INF_SIGN): Likewise.
14936 (test_exceptions): Handle FE_OVERFLOW.
14937 (exp10_test): Expect overflow exceptions.
14938 (exp2_test): Likewise.
14939 (expm1_test): Likewise.
14940 (nextafter_test): Likewise.
14941 (pow_test): Likewise.
14942 (scalbn_test): Likewise.
14943 (scalbln_test): Likewise.
14945 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14947 * sysdeps/x86_64/bits/atomic.h
14948 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
14950 (atomic_exchange_acq): Likewise.
14951 (__arch_exchange_and_add_body): Likewise.
14952 (__arch_add_body): Likewise.
14953 (atomic_add_negative): Likewise.
14954 (atomic_add_zero): Likewise.
14956 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14958 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
14959 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
14961 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14963 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
14964 Check __x86_64__ instead of __WORDSIZE.
14966 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14968 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
14970 2012-03-19 David S. Miller <davem@davemloft.net>
14972 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14974 * sysdeps/sparc/fpu/fenv_private.h: New file.
14975 * sysdeps/sparc/fpu/math_private.h: Use it.
14976 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
14978 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
14979 (libc_feholdexcept_setroundl): Remove.
14980 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
14982 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
14983 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
14985 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14987 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
14988 int64_t instead of long int.
14989 (INSERT_WORDS64): Likwise.
14991 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14993 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
14994 _Unwind_GetCFA return to _Unwind_Ptr first.
14996 2012-03-19 Joseph Myers <joseph@codesourcery.com>
14999 * math/s_clog.c: Include <float.h>.
15000 (__clog): Scale large or subnormal inputs.
15001 * math/s_clogf.c: Likewise.
15002 * math/s_clogl.c: Likewise.
15003 * math/s_clog10.c: Include <float.h>.
15004 (M_LOG10_2): Define.
15005 (__clog10): Scale large or subnormal inputs.
15006 * math/s_clog10f.c: Likewise.
15007 * math/s_clog10l.c: Likewise.
15008 * math/libm-test.inc (clog_test): Add more tests.
15009 (clog10_test): Likewise.
15010 * sysdeps/i386/fpu/libm-test-ulps: Update.
15011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15014 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
15016 * math/libm-test.inc (atan2_test): Add another test.
15018 * Makerules (common-objdir-compile): Remove.
15019 * sysdeps/unix/Makefile (config-generated): Do not add
15020 $(unix-generated) to variable.
15021 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
15022 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
15024 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
15026 [generic bits/local_lim.h] (before-compile): Do not append to
15028 [generic bits/local_lim.h] (common-generated): Likewise.
15029 [generic sys/param.h] (before-compile): Do not append to variable.
15030 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
15031 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
15032 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
15033 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
15035 [generic sys/param.h] (sys/param.h-includes): Remove variable.
15036 [generic sys/param.h] (sys/param.h-includes): Remove rule.
15037 [generic sys/param.h] ($(addprefix
15038 $(common-objpfx),$(sys/param.h-includes))): Likewise.
15039 [generic sys/param.h] (common-generated): Do not append to
15041 [generic sys/param.h] (sysdep_headers): Likewise.
15042 [generic bits/errno.h] (before-compile): Do not append to
15044 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
15046 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
15047 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
15048 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
15049 [generic bits/errno.h] (common-generated): Do not append to
15051 [generic bits/ioctls.h] (before-compile): Do not append to
15053 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
15055 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
15056 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
15057 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
15059 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
15060 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
15061 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
15062 [generic bits/ioctls.h] (common-generated): Do not append to
15064 [generic sys/syscall.h] (syscall.h): Remove variable.
15065 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
15067 [generic sys/syscall.h] (before-compile): Do not append to
15069 [generic sys/syscall.h] (common-generated): Likewise.
15070 * sysdeps/unix/errnos-tmpl.c: Remove file.
15071 * sysdeps/unix/errnos.awk: Likewise.
15072 * sysdeps/unix/ioctls-tmpl.c: Likewise.
15073 * sysdeps/unix/ioctls.awk: Likewise.
15074 * sysdeps/unix/mk-local_lim.c: Likewise.
15075 * sysdeps/unix/snarf-ioctls: Likewise.
15077 2012-03-19 Richard Henderson <rth@twiddle.net>
15079 * sysdeps/i386/fpu/fenv_private.h: New file.
15080 * sysdeps/i386/fpu/math_private.h: Use it.
15081 (math_opt_barrier, math_force_eval): Remove.
15082 (libc_feholdexcept_setround_53bit): Remove.
15083 (libc_feupdateenv_53bit): Remove.
15084 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15085 (math_opt_barrier, math_force_eval): Remove.
15086 (libc_feholdexcept): Remove.
15087 (libc_feholdexcept_setround): Remove.
15088 (libc_fetestexcept, libc_fesetenv): Remove.
15089 (libc_feupdateenv_test): Remove.
15090 (libc_feupdateenv, libc_feholdsetround): Remove.
15091 (libc_feresetround): Remove.
15093 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
15094 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15096 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
15097 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
15098 (libc_feupdateenv_testl): New.
15099 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
15100 (libc_feupdateenv_testf): New.
15101 (libc_feupdateenv): Use libc_feupdateenv_test.
15102 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
15103 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
15105 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
15106 (libc_feholdsetroundf, libc_feholdsetroundl): New.
15107 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
15108 (libc_feresetround_noex): New.
15109 (libc_feresetround_noexf): New.
15110 (libc_feresetround_noexl): New.
15111 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
15112 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
15113 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
15114 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
15116 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15117 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
15119 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
15120 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15121 SET_RESTORE_ROUND_NOEX.
15122 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
15123 SET_RESTORE_ROUND_NOEXF.
15124 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
15125 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
15126 (libc_feholdsetroundf): New.
15127 (libc_feresetround, libc_feresetroundf): New.
15129 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
15130 (libc_feholdexcept_setround_53bit): Convert from macro to function.
15131 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
15133 * sysdeps/generic/math_private.h: Include <fenv.h>.
15134 (default_libc_feholdexcept): New.
15135 (default_libc_feholdexcept_setround): New.
15136 (default_libc_fesetenv, default_libc_feupdateenv): New.
15137 (libc_feholdexcept): Only define if undefined.
15138 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
15139 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
15140 (libc_feholdexcept_setroundl): Likewise.
15141 (libc_feholdexcept_setround_53bit): Likewise.
15142 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
15143 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
15144 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
15145 (libc_feupdateenv_53bit): Likewise.
15146 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
15147 (libc_feholdexcept): Convert from macro to inline function.
15148 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
15149 (libc_fesetenv, libc_feupdateenv): Likewise.
15151 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
15152 not previously defined.
15153 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
15154 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
15155 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
15156 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
15157 * sysdeps/ieee754/flt-32/math_private.h: New file.
15158 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
15159 math_private.h below SET_FLOAT_WORD.
15160 (__isnan, __isinf_ns, __finite): Remove.
15161 (__isnanf, __isinf_nsf, __finitef): Remove.
15163 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
15165 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15167 2012-03-17 David S. Miller <davem@davemloft.net>
15170 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
15173 2012-03-16 David S. Miller <davem@davemloft.net>
15175 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
15179 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
15181 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
15182 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
15183 sysdep_routines when subdir is sysvipc.
15184 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
15185 __getshmlba helper.
15187 * sysdeps/sparc/fpu/libm-test/ulps: Update.
15189 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15191 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
15194 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15196 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
15197 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
15198 (__lround): Renamed to ...
15199 (__llround): This. Replace long int with long long int.
15200 Define lround functions as aliases of llround functions.
15201 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
15203 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15205 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
15206 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
15207 adresses to uintptr_t. Replace "long int" and "unsigned long
15208 int" with "greg_t" on va_arg.
15210 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15212 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
15213 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
15215 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
15216 Move e_machine check before EI_CLASS check. Handle x32
15217 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
15218 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
15219 SKIP_EM_IA_64 and include
15220 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
15222 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
15223 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
15224 (add_system_dir): New macro.
15226 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
15227 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
15229 2012-03-16 Joseph Myers <joseph@codesourcery.com>
15240 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
15242 * math/w_j0f.c (j0f): Likewise.
15244 * math/w_j0l.c (__j0l): Likewise.
15246 * math/w_j1.c (j1): Likewise.
15248 * math/w_j1f.c (j1f): Likewise.
15250 * math/w_j1l.c (__j1l): Likewise.
15252 * math/w_jn.c (jn): Likewise.
15254 * math/w_jnf.c (jnf): Likewise.
15256 * math/w_jnl.c (__jnl): Likewise.
15258 * math/libm-test.inc (j0_test): Add more tests.
15259 (j1_test): Likewise.
15260 (jn_test): Likewise. Add trailing semicolon to existing test.
15261 (y0_test): Likewise.
15262 (y1_test): Likewise.
15263 * sysdeps/i386/fpu/libm-test-ulps: Update.
15264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15268 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
15269 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
15270 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
15271 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
15272 (__tanl): Set errno for infinite argument.
15273 * sysdeps/i386/fpu/mptan.c: Remove.
15274 * sysdeps/i386/fpu/s_tan.S: Likewise.
15275 * sysdeps/i386/fpu/s_tanl.S: Likewise.
15276 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
15277 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
15278 * math/libm-test.inc (tan_test): Add more tests and enable more
15279 tests for double and long double.
15280 * sysdeps/i386/fpu/libm-test-ulps: Update.
15281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15283 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15285 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
15286 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
15288 2012-03-16 Roland McGrath <roland@hack.frob.com>
15290 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
15291 * configure.in: Use it for both main tree and add-ons.
15292 * configure: Regenerated.
15294 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15296 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
15298 2012-03-16 Joseph Myers <joseph@codesourcery.com>
15300 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
15304 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
15305 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
15306 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
15307 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
15308 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
15310 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
15311 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
15312 != 0 for prec == 2.
15313 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
15314 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
15315 * sysdeps/i386/fpu/s_cosl.S: Likewise.
15316 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
15317 * sysdeps/i386/fpu/s_sinl.S: Likewise.
15318 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
15319 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
15320 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
15321 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
15322 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
15323 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
15324 * math/libm-test.inc (cos_test): Add more tests and enable more
15325 tests for long double.
15326 (sin_test): Likewise.
15327 (sincos_test): Likewise.
15328 * sysdeps/i386/fpu/libm-test-ulps: Update.
15329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15331 2012-03-16 David S. Miller <davem@davemloft.net>
15333 * sysdeps/sparc/fpu/math_private.h: New file.
15335 2012-03-15 David S. Miller <davem@davemloft.net>
15337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
15339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
15340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
15342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
15343 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
15344 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
15345 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
15346 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
15347 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
15349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15351 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
15352 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
15354 * sysdeps/sparc/sparc-ifunc.h: New file.
15355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
15357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
15360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
15362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
15363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
15364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
15369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
15371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
15373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
15375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
15377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
15378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
15379 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15380 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15381 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
15382 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
15383 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15384 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15385 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
15386 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
15387 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
15388 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
15389 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
15390 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
15391 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
15392 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
15393 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
15394 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
15395 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
15396 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
15397 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
15398 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
15400 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15402 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
15404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15406 2012-03-15 Andreas Jaeger <aj@suse.de>
15409 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
15410 ieee754/flt-32 implementation for sin, cos and sincos.
15411 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
15412 * sysdeps/i386/fpu/s_cosf.S: Likewise.
15413 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
15414 * sysdeps/i386/fpu/s_sinf.S: Likewise.
15415 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
15416 ieee754/flt-32 implementation for tan.
15418 * math/libm-test.inc (cos_test): Enable some large input tests for
15420 (sin_test): Likewise.
15421 (sincos_test): Likewise.
15422 (tan_test): Add tests for large input.
15424 * sysdeps/i386/fpu/libm-test-ulps: Update.
15426 2012-03-15 Andreas Jaeger <aj@suse.de>
15429 * math/libm-test.inc (cos_test): Add more test cases.
15430 (sin_test): Likewise.
15431 (sincos_test): Likewise.
15433 2012-03-15 Andreas Jaeger <aj@suse.de>
15436 * math/libm-test.inc (cos_test): Add a test case for large input
15438 (sin_test): Likewise.
15439 (sincos_test): Likewise.
15441 2012-03-15 Andreas Jaeger <aj@suse.de>,
15442 Joseph Myers <joseph@codesourcery.com>
15445 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
15446 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
15447 * sysdeps/i386/fpu/branred.c: Likewise.
15448 * sysdeps/i386/fpu/dosincos.c: Likewise.
15449 * sysdeps/i386/fpu/mpa.c: Likewise.
15450 * sysdeps/i386/fpu/s_cos.S: Likewise.
15451 * sysdeps/i386/fpu/s_sin.S: Likewise.
15452 * sysdeps/i386/fpu/s_sincos.S: Likewise.
15453 * sysdeps/i386/fpu/sincos32.c: Likewise.
15455 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
15457 (libc_feupdateenv_53bit): Define.
15458 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
15460 (libc_feupdateenv_53bit): Define.
15462 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
15463 53 bit (without extend i386 double precision).
15465 * math/libm-test.inc (sincos_test): Add tests for large input.
15469 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15471 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15473 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15475 2012-03-15 David S. Miller <davem@davemloft.net>
15477 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
15478 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
15479 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
15480 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
15481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
15482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
15483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
15484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
15485 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
15486 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
15487 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
15488 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
15489 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
15490 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
15491 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
15492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
15494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
15495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
15497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
15498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
15500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
15501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
15503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
15504 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
15505 fmin/fmax sysdep routines.
15506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15508 2012-03-14 David S. Miller <davem@davemloft.net>
15510 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
15511 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
15512 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
15513 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
15514 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
15515 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
15516 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
15517 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
15518 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
15519 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
15520 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
15521 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
15522 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
15523 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
15524 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
15525 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
15526 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
15527 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
15528 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
15529 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
15530 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
15531 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
15532 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
15533 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
15534 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
15535 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
15536 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
15537 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
15538 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
15540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
15542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
15543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
15545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
15546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
15548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
15549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
15551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
15552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
15554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
15555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
15557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
15559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
15561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
15563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
15565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
15567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
15569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
15570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
15572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
15573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
15575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
15576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
15578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
15579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
15582 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15587 * sysdeps/sparc/configure.in: New file.
15588 * sysdeps/sparc/configure: Generate.
15589 * configure.in (libc_cv_sparc_as_vis3): Substitute.
15590 * configure: Regenerate.
15591 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
15592 * config.make.in (have-as-vis3): New.
15593 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
15594 available use -Av9d instead of -Av9a.
15595 * sysdeps/sparc/sparc64/Makefile: Likewise.
15596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
15597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
15599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
15601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
15603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
15605 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
15606 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
15607 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
15608 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
15609 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
15611 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
15612 fzeros/fnegs to load 0x80000000 into a float register instead of
15614 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
15616 2012-03-14 Joseph Myers <joseph@codesourcery.com>
15618 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15620 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
15621 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
15622 ($(inst_includedir)/bits/syscall.h): Remove rule.
15623 ($(objpfx)bits/syscall.d): Include instead of
15624 $(objpfx)syscall-list.d.
15625 (generated): Change syscall-list.h and syscall-list.d to
15626 bits/syscall.h and bits/syscall.d.
15628 2012-03-14 Roland McGrath <roland@hack.frob.com>
15631 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
15633 2012-03-14 Joseph Myers <joseph@codesourcery.com>
15636 * math/s_csqrt.c: Include <float.h>.
15637 (__csqrt): Scale large or subnormal inputs.
15638 * math/s_csqrtf.c: Likewise.
15639 * math/s_csqrtl.c: Likewise.
15640 * math/libm-test.inc (csqrt_test): Add more tests.
15641 * sysdeps/i386/fpu/libm-test-ulps: Update.
15642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15645 * math/libm-test.inc (hypot_test): Add more tests.
15647 2012-03-13 David S. Miller <davem@davemloft.net>
15650 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
15651 double-precision for the calculation instead of scaling.
15653 2012-03-13 Joseph Myers <joseph@codesourcery.com>
15655 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
15656 manipulate bits before adding and subtracting TWO52[sx].
15657 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
15658 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
15660 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
15662 2012-03-13 David S. Miller <davem@davemloft.net>
15664 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
15665 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
15666 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
15667 rtld-global-offsets.h
15668 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15670 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
15673 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
15675 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
15676 'err' in the ifdef scope in which it is actually used.
15678 * nss/nss_db/db-init.c: Include string.h
15680 2012-03-12 David S. Miller <davem@davemloft.net>
15682 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15683 masking out of the most significant byte of random value used.
15684 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15685 Fix coding style in previous change.
15687 * sysdeps/unix/sysv/linux/kernel-features.h
15688 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
15689 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
15691 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
15694 2012-03-11 David S. Miller <davem@davemloft.net>
15696 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15697 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
15698 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
15699 for 'resultvar' otherwise things get truncated on 64-bit.
15701 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15702 Fix masking out of the most significant byte of random value used.
15704 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15706 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
15708 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15710 2012-03-09 David S. Miller <davem@davemloft.net>
15712 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
15713 variables with appropriate CPP guards.
15714 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
15715 frame pointer, not the stack pointer. Correct layout comments. Fix test
15716 on resulting framesize and the management of the outregs buffer for pltexit.
15717 Preserve floating point return values across _dl_call_pltexit call.
15718 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
15719 framesize and the management of the outregs buffer for pltexit.
15720 Preserve floating point return values across _dl_call_pltexit
15722 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
15723 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
15724 (print_exit): Fix format string for return register value.
15726 2012-03-10 Joseph Myers <joseph@codesourcery.com>
15728 * sunrpc/Makefile (others): Add rpcgen.
15729 ($(objpfx)rpcgen): Remove special build rule and dependency on
15731 * sunrpc/rpcgen.c: New file.
15733 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
15736 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
15737 * stdio-common/bug-vfprintf-nargs.c: Likewise.
15738 * sysdeps/i386/crti.S: Likewise.
15739 * sysdeps/i386/crtn.S: Likewise.
15740 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
15741 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
15742 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
15743 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
15744 * sysdeps/sh/crti.S: Likewise.
15745 * sysdeps/sh/crtn.S: Likewise.
15746 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15749 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
15751 * locale/programs/locfile-kw.gperf: Likewise.
15752 * locale/programs/charmap-kw.h: Regenerated.
15753 * locale/programs/locfile-kw.h: Likewise.
15756 * intl/plural.y: Replace FSF snail mail address with URL.
15757 * intl/plural.c: Regenerated.
15759 2012-03-09 Richard Henderson <rth@twiddle.net>
15761 * include/math_private.h: Remove file.
15762 * math/math_private.h: Move file ...
15763 * sysdeps/generic/math_private.h: ... here.
15765 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
15766 * sysdeps/powerpc/fpu/math_private.h: Likewise.
15767 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15769 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
15770 and <math_private.h>.
15771 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15772 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15773 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15774 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15775 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15776 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
15777 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15778 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15779 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15780 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15781 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15782 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15783 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15784 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15785 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15786 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15787 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15788 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15789 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15790 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15791 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15792 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15793 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15794 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15795 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15796 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15797 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15798 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15799 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15800 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15801 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15802 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15803 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15804 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15805 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15806 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15807 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15808 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15809 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15810 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15811 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
15812 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15813 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15814 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15815 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15816 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15817 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
15818 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15819 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15820 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15821 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15822 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
15823 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15824 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15825 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15826 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15827 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15828 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15829 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15830 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
15831 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15832 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15833 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15834 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15835 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
15836 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15837 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15838 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15839 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
15840 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
15841 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15842 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15843 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15844 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15845 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
15846 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
15847 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
15848 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15849 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
15850 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
15851 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15852 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
15853 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15854 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15855 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15856 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15857 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
15858 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
15859 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15860 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15861 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15862 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15863 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15864 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15865 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15866 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15867 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15868 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15869 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15870 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15871 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15872 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15873 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15874 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15875 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15876 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15877 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15878 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15879 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15880 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15881 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15882 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15883 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15884 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15885 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
15886 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15887 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15888 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15889 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15890 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15891 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15892 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15893 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15894 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
15895 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15896 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15897 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15898 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
15899 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15900 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
15901 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
15902 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15903 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15904 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
15905 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
15906 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15907 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15908 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15909 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
15910 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15911 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15912 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15913 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15914 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
15915 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
15916 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15917 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15918 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15919 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
15920 * sysdeps/ieee754/k_standard.c: Likewise.
15921 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15922 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15923 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15924 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15925 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15926 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15927 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15928 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15929 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15930 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15931 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15932 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15933 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15934 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15935 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15936 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15937 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15938 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15939 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15940 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
15941 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15942 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15943 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15944 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15945 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15946 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15947 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15948 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15949 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15950 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15951 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15952 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15953 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15954 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15955 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15956 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15957 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15958 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
15959 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
15960 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15961 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15962 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15963 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15964 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15965 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15966 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15967 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15968 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15969 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15970 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15971 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15972 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15973 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15974 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
15975 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15976 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15977 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
15978 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15979 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15980 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15981 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15982 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15983 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15984 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15985 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15986 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15987 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15988 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15989 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15990 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15991 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15992 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15993 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15994 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15995 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15996 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15997 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
15998 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15999 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16000 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16001 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16002 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16003 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16004 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16005 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
16006 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16007 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16008 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16009 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16010 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16011 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
16012 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16013 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
16014 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16015 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16016 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16017 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
16018 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
16019 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
16020 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
16021 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16022 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16023 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16024 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16025 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
16026 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16027 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16028 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
16029 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
16030 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16031 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16032 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16033 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16034 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16035 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16036 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16037 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16038 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16039 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16040 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16041 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16042 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16043 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16044 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16045 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16046 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
16047 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16048 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16049 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16050 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16051 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16052 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16053 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16054 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16055 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16056 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16057 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
16058 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16059 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16060 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
16061 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
16062 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16063 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
16064 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
16065 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16066 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16067 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16068 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16069 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16070 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
16071 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16072 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16073 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16074 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16075 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
16076 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
16077 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16078 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16079 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16080 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16081 * sysdeps/ieee754/s_lib_version.c: Likewise.
16082 * sysdeps/ieee754/s_matherr.c: Likewise.
16083 * sysdeps/ieee754/s_signgam.c: Likewise.
16084 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16085 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16086 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
16087 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
16088 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
16089 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16090 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
16091 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
16092 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
16093 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
16094 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16095 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
16096 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16097 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16098 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
16099 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16100 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16101 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16102 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16103 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16104 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16106 2012-03-09 Joseph Myers <joseph@codesourcery.com>
16108 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
16109 * sunrpc/rpc_main.c: Likewise.
16110 * sunrpc/rpc_svcout.c: Likewise.
16112 2012-03-09 David S. Miller <davem@davemloft.net>
16114 * include/math_private.h: New file.
16116 2012-03-09 Joseph Myers <joseph@codesourcery.com>
16118 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
16119 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
16120 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
16121 from <bits/socket_type.h>.
16122 (enum __socket_type): Don't define here.
16123 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
16124 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16125 bits/socket_type.h.
16128 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
16129 checking __USE_GNU.
16131 * Makerules ($(inst_includedir)/%.h): New rule.
16132 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
16133 (install-others): Remove variable setting.
16134 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
16136 2012-03-08 Richard Henderson <rth@twiddle.net>
16138 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
16139 from macro to inline function; merge with the
16140 !__LIBC_INTERNAL_MATH_INLINES version.
16141 (__ieee754_sqrtf): Likewise.
16143 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
16144 to inline function.
16145 (__rintf, __floor, __floorf): Likewise.
16147 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
16148 macro to inline function.
16149 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
16151 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
16152 not <math/math_private.h>.
16154 2012-03-08 David S. Miller <davem@davemloft.net>
16156 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
16158 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16160 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
16162 * resolv/gai_misc.c (handle_requests): Fix struct timespec
16164 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
16165 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16167 2012-03-08 Ulrich Drepper <drepper@gmail.com>
16169 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
16170 be defined individually, they must be defined as a block. Define
16171 S for printing a string instead of hidint the different by using a
16172 macro for adding the 'l'.
16173 * stdio-common/tst-fphex-wide.c: Adjust.
16175 2012-03-07 Marek Polacek <polacek@redhat.com>
16177 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
16179 2012-03-08 Marek Polacek <polacek@redhat.com>
16182 * stdio-common/Makefile (tests): Add tst-fphex-wide.
16183 * stdio-common/tst-fphex.c: Define a few macros to make the
16184 test reusable. Use them.
16185 * stdio-common/tst-fphex-wide.c: New file.
16187 2012-03-08 Joseph Myers <joseph@codesourcery.com>
16190 * manual/macros.texi (gnusystems): New macro.
16191 (nongnusystems): Likewise.
16192 (gnulinuxhurdsystems): Likewise.
16193 (gnuhurdsystems): Likewise..
16194 (gnulinuxsystems): Likewise.
16195 * manual/charset.texi: Use new macros or @theglibc{} to refer to
16196 variants of the GNU system, not "GNU system".
16197 * manual/conf.texi: Likewise.
16198 * manual/errno.texi: Likewise. Update example of errno macro
16200 * manual/filesys.texi: Likewise.
16201 (getumask): Document as specific to GNU/Hurd.
16202 * manual/install.texi: Likewise. Reword some references to
16204 * manual/intro.texi: Likewise.
16205 * manual/io.texi: Likewise.
16206 (File Name Portability): Detail which constraints are inapplicable
16207 to all GNU systems and which are only inapplicable to GNU/Hurd.
16208 * manual/job.texi: Likewise.
16209 * manual/llio.texi: Likewise.
16210 (O_NOCTTY): Document as present on GNU/Linux.
16211 * manual/maint.texi: Likewise.
16212 * manual/memory.texi: Likewise.
16213 * manual/pattern.texi: Likewise.
16214 * manual/pipe.texi: Likewise.
16215 * manual/process.texi: Likewise.
16216 * manual/resource.texi: Likewise.
16217 (RUSAGE_CHILDREN): Remove statement about specifying a particular
16219 * manual/setjmp.texi: Likewise.
16220 * manual/signal.texi: Likewise.
16221 * manual/startup.texi: Likewise.
16222 * manual/stdio.texi: Likewise.
16223 * manual/terminal.texi: Likewise.
16224 (ONLCR): Document as POSIX.
16225 (OXTABS): Document availability on GNU/Linux as XTABS.
16226 (ONOEOT): Document availability separately from other bits.
16227 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
16228 * manual/time.texi: Likewise.
16229 * manual/users.texi: Likewise.
16230 * INSTALL: Regenerated.
16231 * sysdeps/gnu/errlist.c: Regenerated.
16233 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
16234 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
16235 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
16237 * configure: Regenerated.
16239 2012-03-07 Joseph Myers <joseph@codesourcery.com>
16241 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
16242 default includes instead of AC_HEADER_CHECK.
16243 * sysdeps/i386/configure: Regenerated.
16246 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
16247 * math/s_cacoshf.c (__cacoshf): Likewise.
16248 * math/s_cacoshl.c (__cacoshl): Likewise.
16249 * math/s_casinh.c (__casinh): Set signs of result from argument.
16250 * math/s_casinhf.c (__casinhf): Likewise.
16251 * math/s_casinhl.c (__casinhl): Likewise.
16252 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
16253 (casinh_test): Add more tests.
16254 * sysdeps/i386/fpu/libm-test-ulps: Update.
16255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16257 2012-03-07 Ulrich Drepper <drepper@gmail.com>
16259 * po/zh_TW.po: Update from translation team.
16261 * login/Makefile (distribute): Remove variable.
16262 * catgets/Makefile: Likewise.
16263 * mach/Makefile: Likewise.
16264 * malloc/Makefile: Likewise.
16265 * misc/Makefile: Likewise.
16266 * iconv/Makefile: Likewise.
16267 * nscd/Makefile: Likewise.
16268 * hurd/Makefile: Likewise.
16269 * manual/Makefile: Likewise.
16270 * locale/Makefile: Likewise.
16271 * intl/Makefile: Likewise.
16272 * conform/Makefile: Likewise.
16273 * nss/Makefile: Likewise.
16274 * time/Makefile: Likewise.
16275 * soft-fp/Makefile: Likewise.
16276 * dirent/Makefile: Likewise.
16277 * gmon/Makefile: Likewise.
16278 * po/Makefile: Likewise.
16279 * rt/Makefile: Likewise.
16280 * socket/Makefile: Likewise.
16281 * math/Makefile: Likewise.
16282 * signal/Makefile: Likewise.
16283 * debug/Makefile: Likewise.
16284 * elf/Makefile: Likewise.
16285 * timezone/Makefile: Likewise.
16286 * stdlib/Makefile: Likewise.
16287 * iconvdata/Makefile: Likewise.
16288 * sunrpc/Makefile: Likewise.
16289 * io/Makefile: Likewise.
16290 * argp/Makefile: Likewise.
16291 * inet/Makefile: Likewise.
16292 * hesiod/Makefile: Likewise.
16293 * grp/Makefile: Likewise.
16294 * csu/Makefile: Likewise.
16295 * wctype/Makefile: Likewise.
16296 * crypt/Makefile: Likewise.
16297 * libio/Makefile: Likewise.
16298 * string/Makefile: Likewise.
16299 * nis/Makefile: Likewise.
16300 * resolv/Makefile: Likewise.
16301 * stdio-common/Makefile: Likewise.
16302 * wcsmbs/Makefile: Likewise.
16303 * dlfcn/Makefile: Likewise.
16304 * posix/Makefile: Likewise.
16307 * timezone/Makefile: Don't install timezone files, just the programs
16310 2012-03-06 Ulrich Drepper <drepper@gmail.com>
16312 * nss/databases.def: Add missing gshadow entry.
16314 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
16316 2012-03-06 Marek Polacek <polacek@redhat.com>
16319 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
16320 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16321 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
16322 * stdio-common/tst-long-dbl-fphex.c: New file.
16324 2012-03-06 David S. Miller <davem@davemloft.net>
16326 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16327 (set_obp_int): New function.
16328 (get_obp_int): New function.
16329 (__get_clockfreq_via_dev_openprom): Likewise.
16330 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
16331 Avoid unused variable warnings on 'val' and use builtin_expect.
16332 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
16334 (INLINE_CLONE_SYSCALL): Likewise.
16336 2012-03-05 David S. Miller <davem@davemloft.net>
16338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16340 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
16342 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16344 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
16345 only for |x| >= 40.
16346 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16348 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
16350 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
16351 Replace gettimeofday with __vdso_gettimeofday.
16353 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16354 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
16355 __vdso_clock_gettime and __vdso_getcpu.
16357 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
16358 time with __vdso_time.
16360 2012-03-05 Joseph Myers <joseph@codesourcery.com>
16362 * manual/lang.texi (size_t): Note types to which size_t may be
16363 equivalent with the GNU C Library, but do not describe when
16364 differences between them are significant.
16366 2012-03-05 Andreas Jaeger <aj@suse.de>
16368 * sysdeps/i386/fpu/libm-test-ulps: Update.
16370 2012-03-05 Joseph Myers <joseph@codesourcery.com>
16373 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
16374 (__ieee754_pow): Save and restore rounding mode and use
16375 round-to-nearest for main computations.
16376 * math/libm-test.inc (pow_test_tonearest): New function.
16377 (pow_test_towardzero): Likewise.
16378 (pow_test_downward): Likewise.
16379 (pow_test_upward): Likewise.
16380 (main): Call the new functions.
16381 * sysdeps/i386/fpu/libm-test-ulps: Update.
16382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16385 * math/libm-test.inc (cosh_test_tonearest): New function.
16386 (cosh_test_towardzero): Likewise.
16387 (cosh_test_downward): Likewise.
16388 (cosh_test_upward): Likewise.
16389 (sinh_test_tonearest): Likewise.
16390 (sinh_test_towardzero): Likewise.
16391 (sinh_test_downward): Likewise.
16392 (sinh_test_upward): Likewise.
16393 (main): Call the new functions.
16394 * sysdeps/i386/fpu/libm-test-ulps: Update.
16395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16397 2012-03-05 Tom de Vries <tom@codesourcery.com>
16399 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
16400 default stack guard is set in last bytes.
16401 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
16403 2012-03-05 Kees Cook <keescook@chromium.org>
16405 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
16408 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
16409 possibly allocate from heap instead of stack.
16410 * stdio-common/bug-vfprintf-nargs.c: New file.
16411 * stdio-common/Makefile (tests): Add nargs overflow test.
16413 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
16415 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16417 2012-03-03 Marek Polacek <polacek@redhat.com>
16419 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
16420 * math/math_private.h: Likewise.
16421 * stdlib/tst-strtod.c: Likewise.
16422 * sysdeps/i386/i486/bits/atomic.h: Likewise.
16423 * sysdeps/x86_64/bits/atomic.h: Likewise.
16425 2012-03-02 David S. Miller <davem@davemloft.net>
16427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
16428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
16429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
16430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
16431 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
16432 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
16433 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
16434 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
16436 2012-03-02 Roland McGrath <roland@hack.frob.com>
16439 * manual/examples/README: New file, says the example source files
16440 can be used under GPL>=2.
16441 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
16442 line containing just "*/".
16443 * manual/examples/add.c: Add copyright header (GPL>=2).
16444 * manual/examples/argp-ex1.c: Likewise.
16445 * manual/examples/argp-ex2.c: Likewise.
16446 * manual/examples/argp-ex3.c: Likewise.
16447 * manual/examples/argp-ex4.c: Likewise.
16448 * manual/examples/atexit.c: Likewise.
16449 * manual/examples/db.c: Likewise.
16450 * manual/examples/dir.c: Likewise.
16451 * manual/examples/dir2.c: Likewise.
16452 * manual/examples/execinfo.c: Likewise.
16453 * manual/examples/filecli.c: Likewise.
16454 * manual/examples/filesrv.c: Likewise.
16455 * manual/examples/fmtmsgexpl.c: Likewise.
16456 * manual/examples/genpass.c: Likewise.
16457 * manual/examples/inetcli.c: Likewise.
16458 * manual/examples/inetsrv.c: Likewise.
16459 * manual/examples/isockad.c: Likewise.
16460 * manual/examples/longopt.c: Likewise.
16461 * manual/examples/memopen.c: Likewise.
16462 * manual/examples/memstrm.c: Likewise.
16463 * manual/examples/mkfsock.c: Likewise.
16464 * manual/examples/mkisock.c: Likewise.
16465 * manual/examples/mygetpass.c: Likewise.
16466 * manual/examples/pipe.c: Likewise.
16467 * manual/examples/popen.c: Likewise.
16468 * manual/examples/rprintf.c: Likewise.
16469 * manual/examples/search.c: Likewise.
16470 * manual/examples/select.c: Likewise.
16471 * manual/examples/setjmp.c: Likewise.
16472 * manual/examples/sigh1.c: Likewise.
16473 * manual/examples/sigusr.c: Likewise.
16474 * manual/examples/stpcpy.c: Likewise.
16475 * manual/examples/strdupa.c: Likewise.
16476 * manual/examples/strftim.c: Likewise.
16477 * manual/examples/strncat.c: Likewise.
16478 * manual/examples/subopt.c: Likewise.
16479 * manual/examples/swapcontext.c: Likewise.
16480 * manual/examples/termios.c: Likewise.
16481 * manual/examples/testopt.c: Likewise.
16482 * manual/examples/testpass.c: Likewise.
16483 * manual/examples/timeval_subtract.c: Likewise.
16486 * manual/time.texi (Elapsed Time): Move timeval_subtract example
16488 * manual/timeval_subtract.c.texi: ... here, new file.
16490 2012-03-02 David S. Miller <davem@davemloft.net>
16492 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
16494 2012-03-02 Joseph Myers <joseph@codesourcery.com>
16497 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
16498 (__sin): Save and restore rounding mode and use round-to-nearest
16499 for all computations.
16500 (__cos): Save and restore rounding mode and use round-to-nearest
16501 for all computations.
16502 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
16504 (tan): Save and restore rounding mode and use round-to-nearest for
16506 * math/libm-test.inc (cos_test_tonearest): New function.
16507 (cos_test_towardzero): Likewise.
16508 (cos_test_downward): Likewise.
16509 (cos_test_upward): Likewise.
16510 (sin_test_tonearest): Likewise.
16511 (sin_test_towardzero): Likewise.
16512 (sin_test_downward): Likewise.
16513 (sin_test_upward): Likewise.
16514 (tan_test_tonearest): Likewise.
16515 (tan_test_towardzero): Likewise.
16516 (tan_test_downward): Likewise.
16517 (tan_test_upward): Likewise.
16518 (main): Call the new functions.
16519 * sysdeps/i386/fpu/libm-test-ulps: Update.
16520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16523 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
16524 small n, then large n, before computing and testing k+n.
16525 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16526 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
16528 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
16530 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
16531 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
16532 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
16533 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
16534 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16535 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16536 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
16537 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
16538 * math/libm-test.inc (scalbn_test): Add more tests.
16539 (scalbln_test): Likewise.
16541 * manual/filesys.texi (mode_t): Describe constraints on size and
16542 signedness, not exact equivalence to a particular type.
16544 (ino64_t): Likewise.
16546 (nlink_t): Likewise.
16547 (blkcnt_t): Likewise.
16548 (blkcnt64_t): Likewise.
16549 * manual/llio.texi (off_t): Likewise.
16552 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
16553 (__ieee754_exp): Save and restore rounding mode and use
16554 round-to-nearest for all computations.
16555 * math/libm-test.inc (exp_test_tonearest): New function.
16556 (exp_test_towardzero): Likewise.
16557 (exp_test_downward): Likewise.
16558 (exp_test_upward): Likewise.
16559 (main): Call the new functions.
16560 * sysdeps/i386/fpu/libm-test-ulps: Update.
16561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16563 2012-03-01 Chris Demetriou <cgd@google.com>
16565 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
16566 have predictable order.
16568 2012-03-01 David S. Miller <davem@davemloft.net>
16570 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
16572 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
16573 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
16574 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
16575 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
16577 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
16578 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
16579 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
16580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
16581 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
16582 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
16583 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
16584 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
16585 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
16587 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16589 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
16590 * sysdeps/sparc/fpu/libm-test-ulps: to here.
16591 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
16593 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
16594 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16595 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16596 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
16597 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
16598 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
16599 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
16600 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16601 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16602 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
16603 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
16604 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16605 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16606 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16607 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16608 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16609 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
16610 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
16611 * sysdeps/sparc/elf/configure: Regenerated.
16613 2012-03-01 Joseph Myers <joseph@codesourcery.com>
16615 * configure.in (AS, LD): Require binutils 2.20 or later.
16616 * configure: Regenerated.
16617 * manual/install.texi (Tools for Compilation): Give binutils 2.20
16618 as required minimum version.
16619 * INSTALL: Regenerated.
16623 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
16624 before squaring exponent.
16625 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
16626 bottom long double and 27 bits of top long double before squaring
16628 * math/libm-test.inc (erfc_test): Add more tests.
16629 * sysdeps/i386/fpu/libm-test-ulps: Update.
16630 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16633 2012-03-01 Kai Tietz <ktietz@redhat.com>
16635 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
16636 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
16637 containing bit-fields.
16638 * soft-fp/extended.h (_FP_UNION_E): Likewise.
16639 * soft-fp/single.h (_FP_UNION_S): Likewise.
16640 * soft-fp/double.h (_FP_UNION_D): Likewise.
16642 2012-02-29 Joseph Myers <joseph@codesourcery.com>
16645 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
16646 not include ../strcmp.S.
16647 [USE_AS_STRNCASECMP_L]: Likewise.
16648 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
16649 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
16650 * sysdeps/i386/i686/multiarch/strncase_l-c.c
16651 (__strncasecmp_l_ia32): Define as alias to
16652 __strncasecmp_l_nonascii.
16655 * math/libm-test.inc (expm1_test): Add test for bug 5794.
16656 * sysdeps/i386/fpu/libm-test-ulps: Update.
16657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16659 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
16660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16662 2012-02-29 Jeff Law <law@redhat.com>
16664 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
16665 out of bounds read.
16667 2012-02-29 Marek Polacek <polacek@redhat.com>
16670 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
16671 * elf/Makefile: Add rules to run tst-unused-dep.out.
16673 2012-02-28 David S. Miller <davem@davemloft.net>
16675 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
16676 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
16677 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
16678 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
16679 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
16680 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
16682 2012-02-29 Joseph Myers <joseph@codesourcery.com>
16684 * math/libm-test.inc (llround_test): Move one test from
16685 lround_test. Use TEST_f_L in moved test.
16686 (lround_test): Move misplaced test to llround_test. Add testcase
16689 2012-02-28 Ulrich Drepper <drepper@gmail.com>
16691 * sysdeps/x86_64/fpu/e_expf.S: New file.
16692 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
16694 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
16697 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
16698 of remain_len that may cause incomplete multi-byte character and
16700 * posix/bug-regex33.c: New file.
16701 * posix/Makefile (tests): Add bug-regex33.
16703 2012-02-28 Joseph Myers <joseph@codesourcery.com>
16705 * manual/macros.texi: New file.
16706 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
16707 * manual/libc.texinfo: Include macros.texi.
16708 * manual/creatute.texi: Likewise.
16709 * manual/install.texi: Likewise.
16710 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
16711 @glibcadj{} in references to the GNU C Library.
16712 * manual/charset.texi: Likewise.
16713 * manual/conf.texi: Likewise.
16714 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
16715 when not using those macros.
16716 * manual/creature.texi: Likewise.
16717 * manual/crypt.texi: Likewise.
16718 * manual/errno.texi: Likewise.
16719 * manual/filesys.texi: Likewise.
16720 * manual/header.texi: Likewise.
16721 * manual/install.texi: Likewise.
16722 * manual/intro.texi: Likewise.
16723 * manual/io.texi: Likewise.
16724 * manual/job.texi: Likewise.
16725 * manual/lang.texi: Likewise.
16726 * manual/libc.texiinfo: Likewise.
16727 * manual/llio.texi: Likewise.
16728 * manual/locale.texi: Likewise.
16729 * manual/maint.texi: Likewise.
16730 * manual/math.texi: Likewise.
16731 * manual/memory.texi: Likewise.
16732 * manual/message.texi: Likewise.
16733 * manual/nss.texi: Likewise.
16734 * manual/pattern.texi: Likewise.
16735 * manual/process.texi: Likewise.
16736 * manual/resource.texi: Likewise.
16737 * manual/search.texi: Likewise.
16738 * manual/setjmp.texi: Likewise.
16739 * manual/signal.texi: Likewise.
16740 * manual/socket.texi: Likewise.
16741 * manual/startup.texi: Likewise.
16742 * manual/stdio.texi: Likewise.
16743 * manual/string.texi: Likewise.
16744 * manual/sysinfo.texi: Likewise.
16745 * manual/syslog.texi: Likewise.
16746 * manual/terminal.texi: Likewise.
16747 * manual/time.texi: Likewise.
16748 * manual/users.texi: Likewise.
16749 * INSTALL: Regenerated.
16750 * NOTES: Regenerated.
16751 * sysdeps/gnu/errlist.c: Regenerated.
16753 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
16755 * include/dirent.h: Include <dirstream.h> before
16758 2012-02-28 David S. Miller <davem@davemloft.net>
16760 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
16761 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
16762 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
16763 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
16765 2012-02-27 David S. Miller <davem@davemloft.net>
16767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
16768 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
16769 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
16770 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
16772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
16773 frame pointer instead of stack pointer relative arg slot.
16774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16775 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16776 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16778 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
16781 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
16783 2012-02-27 David S. Miller <davem@davemloft.net>
16785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
16786 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16788 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
16789 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16790 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16791 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
16792 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
16794 2012-02-27 Joseph Myers <joseph@codesourcery.com>
16796 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
16797 later. Allow versions 5-9.
16798 * configure: Regenerated.
16799 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
16800 required minimum version and 4.6 as recommended version. Do not
16801 mention bugs in GCC 2.7 and 2.8.
16802 * INSTALL: Regenerated.
16804 2012-02-27 David S. Miller <davem@davemloft.net>
16806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
16807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
16808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
16809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
16810 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
16811 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
16812 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
16813 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
16815 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
16816 manipulate bits before adding and subtracting TWO112[sx].
16817 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16819 2012-02-27 Roland McGrath <roland@hack.frob.com>
16822 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
16823 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
16824 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
16825 being in POSIX, because they are in 1003.1-2008.
16827 * rt/tst-aio.c: Include <fcntl.h>.
16828 * rt/tst-aio7.c: Likewise.
16829 * rt/tst-aio64.c: Likewise.
16831 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
16833 2012-02-27 Joseph Myers <joseph@codesourcery.com>
16835 * manual/install.texi (--with-headers): Describe headers as
16836 interface headers, not private headers.
16837 (Specific advice for GNU/Linux systems): Describe use of headers
16838 from "make headers_install", not private headers from older
16840 * INSTALL: Regenerated.
16841 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
16843 * sysdeps/unix/sysv/linux/configure: Regenerated.
16845 * manual/llio.texi (fclean): Remove documentation.
16847 * manual/Makefile (libc-texi-generated): New variable. Include
16849 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
16850 $(libc-texi-generated), not duplicated list of files.
16851 (version.texi, stamp-version): New rules.
16852 (realclean): Remove $(libc-texi-generated), not individual files
16853 from that list. Do not remove dir-add.texinfo.
16854 * manual/libc.texinfo: Comment out uses of edition numbers and
16855 references to printed manual. Remove last-updated dates.
16856 (EDITION): Comment out.
16858 (VERSION, UPDATED): Remove.
16859 (version.texi): Include.
16861 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
16863 * sysdeps/posix/spawni.c: Include <signal.h>.
16864 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
16865 * sysdeps/pthread/aio_fsync.c: Likewise.
16867 2012-02-26 Ulrich Drepper <drepper@gmail.com>
16869 * conform/Makefile (tests): Run only when not cross-compiling and
16870 when fast-check is not defined.
16872 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
16873 * conform/data/limits.h-data: Fixes for POSIX2008.
16874 * conform/run-conformtest.sh: Run all tests.
16875 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
16877 * include/bits/dlfcn.h: Likewise.
16878 * include/langinfo.h: Likewise.
16879 * include/monetary.h: Likewise.
16880 * include/sys/poll.h: Likewise.
16882 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
16884 * posix/spawn.h: Define __need_sigset_t.
16885 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
16886 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
16887 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
16888 to get sigevent_t only.
16889 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
16890 only for __USE_GNU.
16891 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16892 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16893 process_vm_writev only for __USE_GNU.
16894 * termios/termios.h: Declare tcgetsid also for POSIX2008.
16896 * conform/Makefile: For now ignore errors from run-conformtest.
16897 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
16898 POSIX to avoid namespace pollution. Don't prepend headers.
16899 * conform/data/aio.h-data: Fixes for POSIX testing.
16900 * conform/data/fcntl.h-data: Likewise.
16901 * conform/data/glob.h-data: Likewise.
16902 * conform/data/grp.h-data: Likewise.
16903 * conform/data/pthread.h-data: Likewise.
16904 * conform/data/pwd.h-data: Likewise.
16905 * conform/data/signal.h-data: Likewise.
16906 * conform/data/spawn.h-data: Likewise.
16907 * conform/data/stdio.h-data: Likewise.
16908 * conform/data/stdlib.h-data: Likewise.
16909 * conform/data/stropts.h-data: Likewise.
16910 * conform/data/sys/mman.h-data: Likewise.
16911 * conform/data/sys/stat.h-data: Likewise.
16912 * conform/data/sys/types.h-data: Likewise.
16913 * conform/data/sys/wait.h-data: Likewise.
16914 * conform/data/time.h-data: Likewise.
16915 * conform/data/unistd.h-data: Likewise.
16916 * conform/data/utime.h-data: Likewise.
16918 * io/sys/stat.h: fchmod was always in POSIX.
16919 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
16920 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
16921 * rt/aio.h: Define __need_timespec before including <time.h>.
16922 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
16923 struct. Add forward declaration of pthread_attr_t and use it in
16925 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16926 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16927 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
16928 always remove CLK_TCK definition.
16930 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
16932 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
16934 2012-02-25 Ulrich Drepper <drepper@gmail.com>
16936 * conform/run-conformtest.sh: New file.
16937 * conform/Makefile: Run run-conformtest for tests.
16938 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
16941 * conform/data/uchar.h-data: New file.
16942 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
16943 * conform/data/arpa/inet.h-data: Likewise.
16944 * conform/data/assert.h-data: Likewise.
16945 * conform/data/complex.h-data: Likewise.
16946 * conform/data/cpio.h-data: Likewise.
16947 * conform/data/ctype.h-data: Likewise.
16948 * conform/data/dirent.h-data: Likewise.
16949 * conform/data/dlfcn.h-data: Likewise.
16950 * conform/data/errno.h-data: Likewise.
16951 * conform/data/fcntl.h-data: Likewise.
16952 * conform/data/float.h-data: Likewise.
16953 * conform/data/fmtmsg.h-data: Likewise.
16954 * conform/data/fnmatch.h-data: Likewise.
16955 * conform/data/ftw.h-data: Likewise.
16956 * conform/data/glob.h-data: Likewise.
16957 * conform/data/grp.h-data: Likewise.
16958 * conform/data/iconv.h-data: Likewise.
16959 * conform/data/inttypes.h-data: Likewise.
16960 * conform/data/langinfo.h-data: Likewise.
16961 * conform/data/libgen.h-data: Likewise.
16962 * conform/data/limits.h-data: Likewise.
16963 * conform/data/locale.h-data: Likewise.
16964 * conform/data/math.h-data: Likewise.
16965 * conform/data/monetary.h-data: Likewise.
16966 * conform/data/mqueue.h-data: Likewise.
16967 * conform/data/ndbm.h-data: Likewise.
16968 * conform/data/net/if.h-data: Likewise.
16969 * conform/data/netdb.h-data: Likewise.
16970 * conform/data/netinet/in.h-data: Likewise.
16971 * conform/data/nl_types.h-data: Likewise.
16972 * conform/data/poll.h-data: Likewise.
16973 * conform/data/pthread.h-data: Likewise.
16974 * conform/data/pwd.h-data: Likewise.
16975 * conform/data/regex.h-data: Likewise.
16976 * conform/data/sched.h-data: Likewise.
16977 * conform/data/search.h-data: Likewise.
16978 * conform/data/semaphore.h-data: Likewise.
16979 * conform/data/setjmp.h-data: Likewise.
16980 * conform/data/signal.h-data: Likewise.
16981 * conform/data/spawn.h-data: Likewise.
16982 * conform/data/stdarg.h-data: Likewise.
16983 * conform/data/stdio.h-data: Likewise.
16984 * conform/data/stdlib.h-data: Likewise.
16985 * conform/data/string.h-data: Likewise.
16986 * conform/data/strings.h-data: Likewise.
16987 * conform/data/stropts.h-data: Likewise.
16988 * conform/data/sys/ipc.h-data: Likewise.
16989 * conform/data/sys/mman.h-data: Likewise.
16990 * conform/data/sys/msg.h-data: Likewise.
16991 * conform/data/sys/resource.h-data: Likewise.
16992 * conform/data/sys/select.h-data: Likewise.
16993 * conform/data/sys/sem.h-data: Likewise.
16994 * conform/data/sys/shm.h-data: Likewise.
16995 * conform/data/sys/socket.h-data: Likewise.
16996 * conform/data/sys/stat.h-data: Likewise.
16997 * conform/data/sys/statvfs.h-data: Likewise.
16998 * conform/data/sys/time.h-data: Likewise.
16999 * conform/data/sys/timeb.h-data: Likewise.
17000 * conform/data/sys/times.h-data: Likewise.
17001 * conform/data/sys/types.h-data: Likewise.
17002 * conform/data/sys/uio.h-data: Likewise.
17003 * conform/data/sys/un.h-data: Likewise.
17004 * conform/data/sys/utsname.h-data: Likewise.
17005 * conform/data/sys/wait.h-data: Likewise.
17006 * conform/data/syslog.h-data: Likewise.
17007 * conform/data/tar.h-data: Likewise.
17008 * conform/data/termios.h-data: Likewise.
17009 * conform/data/utime.h-data: Likewise.
17010 * conform/data/utmpx.h-data: Likewise.
17011 * conform/data/varargs.h-data: Likewise.
17012 * conform/data/wchar.h-data: Likewise.
17013 * conform/data/wctype.h-data: Likewise.
17014 * conform/data/wordexp.h-data: Likewise.
17016 * include/stropts.h: New file.
17017 * include/uchar.h: New file.
17018 * include/aio.h: Changes to allow conformtest.pl to use the headers.
17019 * include/assert.h: Likewise.
17020 * include/ctype.h: Likewise.
17021 * include/dirent.h: Likewise.
17022 * include/dlfcn.h: Likewise.
17023 * include/fcntl.h: Likewise.
17024 * include/fnmatch.h: Likewise.
17025 * include/glob.h: Likewise.
17026 * include/grp.h: Likewise.
17027 * include/libio.h: Likewise.
17028 * include/locale.h: Likewise.
17029 * include/math.h: Likewise.
17030 * include/net/if.h: Likewise.
17031 * include/netdb.h: Likewise.
17032 * include/netinet/in.h: Likewise.
17033 * include/pthread.h: Likewise.
17034 * include/pwd.h: Likewise.
17035 * include/regex.h: Likewise.
17036 * include/sched.h: Likewise.
17037 * include/search.h: Likewise.
17038 * include/setjmp.h: Likewise.
17039 * include/signal.h: Likewise.
17040 * include/stdio.h: Likewise.
17041 * include/stdlib.h: Likewise.
17042 * include/string.h: Likewise.
17043 * include/sys/cdefs.h: Likewise.
17044 * include/sys/mman.h: Likewise.
17045 * include/sys/msg.h: Likewise.
17046 * include/sys/resource.h: Likewise.
17047 * include/sys/select.h: Likewise.
17048 * include/sys/socket.h: Likewise.
17049 * include/sys/stat.h: Likewise.
17050 * include/sys/statvfs.h: Likewise.
17051 * include/sys/time.h: Likewise.
17052 * include/sys/times.h: Likewise.
17053 * include/sys/uio.h: Likewise.
17054 * include/sys/utsname.h: Likewise.
17055 * include/sys/wait.h: Likewise.
17056 * include/termios.h: Likewise.
17057 * include/time.h: Likewise.
17058 * include/ulimit.h: Likewise.
17059 * include/unistd.h: Likewise.
17060 * include/utime.h: Likewise.
17061 * include/wchar.h: Likewise.
17062 * include/wctype.h: Likewise.
17063 * include/wordexp.h: Likewise.
17065 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
17067 * time/time.h: TIME_UTC must be a macro.
17068 Make timespec_get available for ISO C11 only as well.
17070 2012-02-24 Ulrich Drepper <drepper@gmail.com>
17072 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
17073 Reported by Peng Haitao <penght@cn.fujitsu.com>.
17075 2012-02-24 Joseph Myers <joseph@codesourcery.com>
17077 * configure.in: Use -o not -a in test for unsupported multi-arch.
17079 2012-02-24 Joseph Myers <joseph@codesourcery.com>
17081 * manual/texinfo.tex: Update to version 2012-01-19.16.
17083 2012-02-24 Joseph Myers <joseph@codesourcery.com>
17085 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
17087 2012-02-24 Roland McGrath <roland@hack.frob.com>
17090 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
17091 * manual/fdl-1.3.texi: New file.
17092 * manual/fdl-1.1.texi: File removed.
17095 * manual/libc.texinfo (FDL_VERSION): New @set.
17096 Use it for mention of FDL in cover text.
17097 (Documentation License): Use it in @include file name.
17099 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17100 Roland McGrath <roland@hack.frob.com>
17103 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
17104 not LONG_LONG_MAX and LONG_LONG_MIN.
17105 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
17106 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
17108 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
17110 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17114 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
17115 manipulate bits before adding and subtracting TWO23[sx].
17116 * math/libm-test.inc (nearbyint_test): Add more tests.
17118 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17121 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
17122 bits before adding and subtracting TWO23[sx].
17123 * math/libm-test.inc (rint_test): Add more tests.
17124 (rint_test_tonearest): Likewise.
17125 (rint_test_towardzero): Likewise.
17126 (rint_test_downward): Likewise.
17127 (rint_test_upward: Likewise.
17129 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17132 * include/stdc-predef.h: New file. Extracted from features.h.
17133 * include/features.h: Include stdc-predef.h.
17134 * Makefile (headers): Add stdc-predef.h.
17135 * CONFORMANCE (Compiler limitations): Update.
17137 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17139 * manual/libc.texinfo (VERSION, UPDATED): Revert.
17141 2012-02-21 David S. Miller <davem@davemloft.net>
17143 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
17144 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17146 2012-02-20 David S. Miller <davem@davemloft.net>
17148 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
17149 using a normal save/restore sequence, rather than allocating a
17150 dummy stack frame just to store a frame pointer and restore.
17151 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17153 2012-02-21 Joseph Myers <joseph@codesourcery.com>
17155 * manual/install.texi: Fix stray word in line-wrapped comment.
17157 2012-02-20 David S. Miller <davem@davemloft.net>
17159 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
17160 both binutils and gcc support GOTDATA.
17162 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
17163 "rd %pc" in the PIC register setup sequences.
17165 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
17166 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
17167 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17168 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
17169 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17170 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17171 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17172 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17173 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
17174 (SYSCALL_ERROR_HANDLER): Likewise.
17175 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17176 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17177 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
17178 (SYSCALL_ERROR_HANDLER): Likewise.
17180 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
17181 (HAVE_GCC_GOTDATA): New.
17182 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
17183 relocation support in both binutils and gcc.
17184 * sysdeps/sparc/elf/configure: Regenerate.
17186 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
17187 * sysdeps/sparc/sparc32/elf/configure: Delete.
17188 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
17189 * sysdeps/sparc/sparc64/elf/configure: Delete.
17190 * sysdeps/sparc/elf/configure.in: New file.
17191 * sysdeps/sparc/elf/configure: Generate.
17193 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
17194 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
17195 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17196 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
17197 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
17199 2012-02-21 Joseph Myers <joseph@codesourcery.com>
17201 * manual/install.texi: Do not mention specific glibc version
17203 * manual/libc.texinfo (VERSION, UPDATED): Update.
17204 (@copying): Use @copyright{} and range of years.
17206 2012-02-21 Joseph Myers <joseph@codesourcery.com>
17209 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
17210 [crti.S not in sysdirs] (generated): Do not append.
17211 [crti.S not in sysdirs] (omit-deps): Likewise.
17212 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
17213 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
17214 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
17215 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
17216 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
17218 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
17219 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
17220 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
17221 * csu/defs.awk: Remove file.
17222 * sysdeps/generic/initfini.c: Likewise.
17223 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
17225 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
17228 2012-02-20 Joseph Myers <joseph@codesourcery.com>
17230 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
17231 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
17232 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
17233 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
17234 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17235 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
17237 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
17238 (__EPOLL_PACKED): Define to empty if not defined by
17240 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
17241 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17244 2012-02-20 Joseph Myers <joseph@codesourcery.com>
17246 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
17247 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
17248 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
17249 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
17251 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
17252 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17255 2012-02-20 Joseph Myers <joseph@codesourcery.com>
17257 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
17259 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17260 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17261 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
17262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17264 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
17266 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17267 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17269 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
17271 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
17272 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
17274 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
17276 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
17279 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
17281 * math/w_acos.c: Use non-signaling floating-point comparisons.
17282 * math/w_acosf.c: Likewise.
17283 * math/w_acosh.c: Likewise.
17284 * math/w_acoshf.c: Likewise.
17285 * math/w_acoshl.c: Likewise.
17286 * math/w_acosl.c: Likewise.
17287 * math/w_asin.c: Likewise.
17288 * math/w_asinf.c: Likewise.
17289 * math/w_asinl.c: Likewise.
17290 * math/w_atanh.c: Likewise.
17291 * math/w_atanhf.c: Likewise.
17292 * math/w_atanhl.c: Likewise.
17293 * math/w_exp2.c: Likewise.
17294 * math/w_exp2f.c: Likewise.
17295 * math/w_exp2l.c: Likewise.
17296 * math/w_j0.c: Likewise.
17297 * math/w_j0f.c: Likewise.
17298 * math/w_j0l.c: Likewise.
17299 * math/w_j1.c: Likewise.
17300 * math/w_j1f.c: Likewise.
17301 * math/w_j1l.c: Likewise.
17302 * math/w_jn.c: Likewise.
17303 * math/w_jnf.c: Likewise.
17304 * math/w_log.c: Likewise.
17305 * math/w_log10.c: Likewise.
17306 * math/w_log10f.c: Likewise.
17307 * math/w_log10l.c: Likewise.
17308 * math/w_log2.c: Likewise.
17309 * math/w_log2f.c: Likewise.
17310 * math/w_log2l.c: Likewise.
17311 * math/w_logf.c: Likewise.
17312 * math/w_logl.c: Likewise.
17313 * math/w_sqrt.c: Likewise.
17314 * math/w_sqrtf.c: Likewise.
17315 * math/w_sqrtl.c: Likewise.
17316 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17317 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
17318 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17319 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17320 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17322 2012-02-19 Joseph Myers <joseph@codesourcery.com>
17325 * manual/string.texi (strnlen): Use correct parameter name in
17326 equivalent expression.
17328 2012-02-19 Joseph Myers <joseph@codesourcery.com>
17331 * manual/users.texi (seteuid): Consistently use neweuid for
17334 2012-02-19 Joseph Myers <joseph@codesourcery.com>
17337 * manual/nss.texi (Services in the NSS configuration): Correct
17338 list of services in example configuration file.
17340 2012-02-19 Nick Bowler <nbowler@draconx.ca>
17343 * manual/arith.texi: Remove statements about negative zero
17344 behaving identically to zero.
17346 2012-02-18 Joseph Myers <joseph@codesourcery.com>
17349 * manual/install.texi: Do not document upgrading from libc5.
17351 2012-02-18 Joseph Myers <joseph@codesourcery.com>
17354 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
17356 2012-02-18 David S. Miller <davem@davemloft.net>
17358 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
17359 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
17360 %o7 across the call.
17361 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
17363 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
17364 SETUP_PIC_REG_LEAF.
17365 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17366 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
17367 * sysdeps/sparc/crtn.S: Likewise.
17369 2012-02-17 Ulrich Drepper <drepper@gmail.com>
17371 * aout/Makefile: Remove.
17373 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
17376 * manual/examples/argp-ex1.c (main): Format definition in GNU
17378 * manual/examples/argp-ex2.c (main): Likewise.
17379 * manual/examples/argp-ex3.c (main): Likewise.
17380 * manual/examples/argp-ex4.c (main): Likewise.
17381 * manual/examples/longopt.c (main): Use new-style prototype
17383 * manual/examples/strncat.c (main): Specify return type and use
17384 (void) for arguments.
17385 * manual/examples/subopt.c (main): Use char **argv argument.
17387 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17390 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
17393 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
17396 * manual/string.texi (strchr): Change when strchrnul is
17399 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
17402 * manual/locale.texi (setlocale): Document LOCPATH.
17404 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17407 * manual/process.texi (execle): Move @dots{} before last argument.
17409 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
17412 * manual/charset.texi (Generic Charset Conversion): Fix typo
17413 (LC_TYPE -> LC_CTYPE).
17415 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
17418 * manual/arith.texi (scalbn): Use @var{} on parameter names.
17419 (scalbnf): Likewise.
17420 (scalbnl): Likewise.
17421 (scalbln): Likewise.
17422 (scalblnf): Likewise.
17423 (scalblnl): Likewise.
17424 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
17425 (vwarnx): Likewise.
17428 * manual/filesys.texi (telldir): Use braces around return type.
17429 * manual/llio.texi (mmap): Add space after comma.
17430 (mmap64): Likewise.
17431 * manual/math.texi (jn): Use @var{} on parameter names.
17437 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
17439 * manual/resource.texi (ulimit): Use @dots{} instead of literal
17441 (sched_get_priority_min): Remove semicolon on @deftypefun line.
17442 (sched_get_priority_max): Likewise.
17443 * manual/signal.texi (sigvec): Add space after comma.
17444 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
17446 (if_indextoname): Likewise.
17447 (if_freenameindex): Likewise.
17448 (sendto): Use ',' instead of '.' in prototype.
17449 * manual/startup.texi (syscall): Use @dots{} instead of literal
17451 * manual/stdio.texi (__fpending): Separate initial words of
17452 paragraph from @deftypefun line.
17453 * manual/syslog.texi (syslog): Use @dots{} instead of literal
17455 (vsyslog): Use @var{} on parameter names.
17456 * manual/terminal.texi (stty): Use @var{} on parameter names.
17457 * manual/users.texi (getutmp): Use @var{} on parameter names.
17458 (getutmpx): Likewise.
17460 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17463 * manual/stdio.texi (fopen): Fix typos in description of
17466 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
17469 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
17470 get clock_id definition.
17472 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
17475 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
17476 (madvise): Cast every argument to void on its own.
17478 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17481 * manual/startup.texi (Exit Status): Fix typo.
17483 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17486 * manual/examples/argp-ex1.c: Include <stdlib.h>.
17487 * manual/examples/argp-ex2.c: Likewise.
17488 * manual/examples/argp-ex3.c: Likewise.
17490 2012-02-16 Richard Henderson <rth@redhat.com>
17492 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
17493 * sysdeps/s390/s390-32/initfini.c: Remove.
17494 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
17495 * sysdeps/s390/s390-64/initfini.c: Remove.
17497 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17499 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
17500 compiler output for sysdeps/generic/initfini.c.
17501 * sysdeps/sh/elf/initfini.c: Remove file.
17503 2012-02-16 David S. Miller <davem@davemloft.net>
17506 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
17508 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
17509 * sysdeps/sparc/crti.S: New file.
17510 * sysdeps/sparc/crtn.S: New file.
17511 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
17512 * sysdeps/sparc/sparc64/Makefile: Likewise.
17514 2012-02-15 Mike Frysinger <vapier@gentoo.org>
17517 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
17519 2012-02-15 Roland McGrath <roland@hack.frob.com>
17522 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
17524 * mach/devstream.c (cookie_io_functions_t): Macro removed.
17525 (write, read, close): Likewise.
17526 Patch by Aurelien Jarno <aurelien@aurel32.net>.
17528 2012-02-15 Joseph Myers <joseph@codesourcery.com>
17530 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
17531 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
17532 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
17533 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
17535 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
17536 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17539 2012-02-14 Marek Polacek <polacek@redhat.com>
17541 * sysdeps/x86_64/crti.S: New file.
17542 * sysdeps/x86_64/crtn.S: New file.
17543 * sysdeps/x86_64/elf/initfini.c: Remove file.
17545 2012-02-13 Joseph Myers <joseph@codesourcery.com>
17547 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
17548 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
17549 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
17550 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
17552 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
17553 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17556 2012-02-13 Joseph Myers <joseph@codesourcery.com>
17558 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
17559 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
17560 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
17561 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
17563 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
17564 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17567 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
17569 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
17570 __feraiseexcept instead of feraiseexcept.
17572 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
17573 nanosleep invocations.
17574 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
17575 strings, and add error checking for a nanosleep invocations.
17577 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
17579 Replace FSF snail mail address with URLs, as per GNU coding standards.
17580 Most of the snail mail addresses were wrong anyway, and omitting
17581 them makes the source code easier to maintain. Almost all of the
17582 changes are to license notices and to locale LC_IDENTIFICATION
17583 addresses, except for this one:
17584 * manual/libc.texinfo: In "Published by", give the FSF's URL,
17585 not its snail mail address.
17587 2012-02-09 Richard Henderson <rth@twiddle.net>
17589 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
17590 of kernel-features.h.
17592 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
17594 2012-02-08 Marek Polacek <polacek@redhat.com>
17596 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
17597 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
17598 * sysdeps/gnu/_G_config.h: Likewise.
17599 * sysdeps/generic/_G_config.h: Likewise.
17601 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
17603 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
17605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17607 * sysdeps/powerpc/powerpc32/crti.S: New file.
17608 * sysdeps/powerpc/powerpc32/crtn.S: New file.
17609 * sysdeps/powerpc/powerpc64/crti.S: New file.
17610 * sysdeps/powerpc/powerpc64/crtn.S: New file.
17612 * Makeconfig (have-initfini): Don't set.
17613 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
17614 * configure.in (nopic_initfini): Don't substitute.
17615 * config.h.in (HAVE_INITFINI): Don't #undef.
17616 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
17617 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
17619 2012-02-08 Joseph Myers <joseph@codesourcery.com>
17621 Support crti.S and crtn.S provided directly by architectures.
17622 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
17623 [crti.S in sysdirs] (omit-deps): Likewise.
17624 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
17625 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
17626 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
17627 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
17628 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
17629 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
17630 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
17631 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
17632 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
17633 compiler output for sysdeps/generic/initfini.c.
17634 * sysdeps/i386/elf/Makefile: Remove file.
17635 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
17637 2012-02-07 Marek Polacek <polacek@redhat.com>
17639 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
17640 * sysdeps/gnu/_G_config.h: Likewise.
17641 * sysdeps/mach/hurd/_G_config.h: Likewise.
17643 2012-02-07 Marek Polacek <polacek@redhat.com>
17645 * math/Makefile (tests): Add tst-CMPLX2.
17646 * math/tst-CMPLX2.c: New file.
17648 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
17650 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17652 * math/libm-test.inc (jn_test): Add missing L suffix.
17654 2012-02-06 Marek Polacek <polacek@redhat.com>
17656 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
17657 * sysdeps/i386/fpu/e_powf.S: Likewise.
17658 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17659 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17660 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17661 * sysdeps/i386/fpu/e_pow.S: Likewise.
17662 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17663 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17664 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17665 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17666 * sysdeps/i386/fpu/e_log2.S: Likewise.
17667 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17668 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17669 * sysdeps/i386/fpu/e_powl.S: Likewise.
17670 * sysdeps/i386/fpu/s_log1p.S: Likewise.
17671 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17672 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17673 * sysdeps/i386/fpu/e_logl.S: Likewise.
17674 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17675 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
17676 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17677 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17678 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17679 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17680 * sysdeps/i386/fpu/e_log.S: Likewise.
17681 * sysdeps/i386/fpu/s_cexp.S: Likewise.
17682 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17683 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
17684 * sysdeps/i386/fpu/e_logf.S: Likewise.
17685 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17686 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17687 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
17688 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17689 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17690 * sysdeps/i386/fpu/e_log10.S: Likewise.
17691 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17692 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17693 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17694 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17695 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17696 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17697 * sysdeps/i386/asm-syntax.h: Likewise.
17698 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17699 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17700 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17701 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
17702 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
17703 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17704 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17705 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17706 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17707 * sysdeps/powerpc/sysdep.h: Likewise.
17708 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
17709 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17711 2012-02-06 Joseph Myers <joseph@codesourcery.com>
17714 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
17716 2012-02-06 Joseph Myers <joseph@codesourcery.com>
17718 * sysdeps/i386/sysdep.h: Include <features.h>.
17719 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
17722 2012-02-05 Joseph Myers <joseph@codesourcery.com>
17724 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
17726 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
17729 2012-02-03 Joseph Myers <joseph@codesourcery.com>
17731 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
17732 (SETUP_PIC_REG): Use GET_PC_THUNK.
17733 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
17736 2012-02-03 Joseph Myers <joseph@codesourcery.com>
17738 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
17739 for non-PIC compilation.
17740 (SETUP_PIC_REG): Add .p2align directive.
17741 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
17742 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
17743 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17744 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17745 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17746 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17747 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
17748 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17749 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17750 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17751 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17752 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17753 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17754 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17755 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17756 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17757 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17758 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17759 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17760 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17761 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17762 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17763 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17764 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17765 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17766 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17767 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17768 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17769 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17770 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17771 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17772 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17773 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17774 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17775 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17776 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17777 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17778 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17779 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17780 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17781 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17783 2012-02-03 Joseph Myers <joseph@codesourcery.com>
17785 * math/tst-CMPLX.c: Include <stdio.h>.
17787 2012-01-31 Joseph Myers <joseph@codesourcery.com>
17789 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
17791 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17792 * sysdeps/sparc/bits/mathdef.h: Likewise.
17794 2012-01-31 Marek Polacek <polacek@redhat.com>
17796 * libio/libio.h: Don't define _PARAMS.
17797 * locale/programs/config.h: Don't define PARAMS.
17798 * stdlib/strtol_l.c: Likewise.
17799 (__strtol_l): Remove PARAMS from the prototype.
17801 2012-01-31 Ulrich Drepper <drepper@gmail.com>
17803 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
17804 names. Just use the correct names. Remove unnecessary wrapper
17806 * malloc/arena.c: Likewise.
17807 * malloc/hooks.c: Likewise.
17809 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
17810 ARENA_TEST says not to. Simplify test for creation of a new arena.
17811 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
17813 2012-01-30 Ulrich Drepper <drepper@gmail.com>
17815 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
17817 (update_get_addr): New function.
17818 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
17819 GET_ADDR_MODULE parameter.
17821 2012-01-30 Joseph Myers <joseph@codesourcery.com>
17823 * crypt/cert.c: Remove __STDC__ conditionals.
17824 * crypt/crypt-entry.c: Likewise.
17825 * crypt/crypt_util.c: Likewise.
17826 * libio/filedoalloc.c: Likewise.
17827 * libio/fileops.c: Likewise.
17828 * libio/genops.c: Likewise.
17829 * libio/iofclose.c: Likewise.
17830 * libio/iofdopen.c: Likewise.
17831 * libio/iofopen.c: Likewise.
17832 * libio/iofopen64.c: Likewise.
17833 * libio/iogetdelim.c: Likewise.
17834 * libio/iopopen.c: Likewise.
17835 * libio/obprintf.c: Likewise.
17836 * libio/oldfileops.c: Likewise.
17837 * libio/oldiofclose.c: Likewise.
17838 * libio/oldiofdopen.c: Likewise.
17839 * libio/oldiofopen.c: Likewise.
17840 * libio/oldiopopen.c: Likewise.
17841 * libio/wfiledoalloc.c: Likewise.
17842 * libio/wgenops.c: Likewise.
17843 * locale/programs/xmalloc.c: Likewise.
17844 * misc/syslog.c: Likewise.
17845 * stdio-common/xbug.c: Likewise.
17846 * string/memchr.c: Likewise.
17847 * string/memcmp.c: Likewise.
17848 * string/memrchr.c: Likewise.
17849 * string/rawmemchr.c: Likewise.
17850 * sysdeps/posix/getcwd.c: Likewise.
17851 * time/strftime_l.c: Likewise.
17853 2012-01-30 Joseph Myers <joseph@codesourcery.com>
17855 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
17856 * config.make.in (config-cflags-sse2avx): Define.
17857 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
17860 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
17862 * scripts/config.guess: Update from upstream config git repository.
17863 * scripts/config.sub: Likewise.
17865 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
17867 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
17869 (R_TILEPRO_*, R_TILEGX_*): New macros.
17871 * scripts/firstversions.awk: Fix bug in version range handling.
17873 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
17875 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
17877 * include/sys/epoll.h: New file.
17878 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
17881 2012-01-28 Ulrich Drepper <drepper@gmail.com>
17883 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
17884 Avoid unnecessary __WORDSIZE == 64 test.
17885 (fmaxf): Use VEX format if possible.
17890 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
17891 * math/math_private.h: Remove libc_fegetround* and
17893 * sysdeps/i386/configure.in: Check for -msse2avx.
17894 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
17895 also if SSE2AVX is defined.
17896 Remove libc_fegetround* and libc_fesetround*.
17897 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
17898 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
17899 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
17901 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17902 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17903 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17904 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17905 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17907 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
17909 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17911 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
17913 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17915 2012-01-27 Ulrich Drepper <drepper@gmail.com>
17918 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
17920 * Makeconfig (libm): Define.
17921 * elf/Makefile: Add rules to build and run tst-relsort1.
17922 * elf/tst-relsort1.c: New file.
17923 * elf/tst-relsort1mod1.c: New file.
17924 * elf/tst-relsort1mod2.c: New file.
17926 2012-01-27 Joseph Myers <joseph@codesourcery.com>
17928 * math/s_ldexp.c: Remove __STDC__ conditionals.
17929 * math/s_ldexpf.c: Likewise.
17930 * math/s_ldexpl.c: Likewise.
17931 * math/s_nextafter.c: Likewise.
17932 * math/s_nexttowardf.c: Likewise.
17933 * math/s_significand.c: Likewise.
17934 * math/s_significandf.c: Likewise.
17935 * math/s_significandl.c: Likewise.
17936 * math/w_jnl.c: Likewise.
17937 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17938 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17939 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17940 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17941 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17942 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17943 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
17944 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17945 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17946 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17947 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17948 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17949 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17950 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17951 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17952 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17953 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17954 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17955 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17956 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17957 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17958 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17959 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17960 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17961 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17962 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17963 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17964 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17965 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17966 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17967 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17968 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17969 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17970 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17971 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17972 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17973 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17974 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17975 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17976 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17977 * sysdeps/ieee754/k_standard.c: Likewise.
17978 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17979 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17980 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17981 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17982 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17983 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17984 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17985 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17986 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17987 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17988 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17989 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17990 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17991 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17992 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17993 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17994 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17995 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17996 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17997 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17998 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17999 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18000 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18001 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18002 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18003 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18004 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18005 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18006 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18007 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18008 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18009 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
18010 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18011 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18012 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18013 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18014 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
18015 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18016 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18017 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
18018 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
18019 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18020 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18021 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
18022 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18023 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18024 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18025 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18026 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18027 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18028 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
18029 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18030 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18031 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18032 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18033 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18034 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
18035 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18036 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18037 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18038 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18039 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18040 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18041 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18042 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18043 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18044 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18045 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18046 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18047 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18048 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18049 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18050 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18051 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18052 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18053 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18054 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18055 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18056 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18057 * sysdeps/ieee754/s_matherr.c: Likewise.
18058 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18059 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18060 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18061 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18063 2012-01-26 Joseph Myers <joseph@codesourcery.com>
18065 * crypt/md5.h: Remove __STDC__ conditionals.
18066 * libio/libioP.h: Likewise.
18067 * locale/programs/config.h: Likewise.
18068 * sysdeps/generic/sysdep.h: Likewise.
18069 * sysdeps/i386/asm-syntax.h: Likewise.
18070 * sysdeps/s390/asm-syntax.h: Likewise.
18071 * sysdeps/unix/sysdep.h: Likewise.
18072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18075 2012-01-26 Joseph Myers <joseph@codesourcery.com>
18077 * libio/libio.h: Remove __STDC__ conditionals.
18078 * malloc/obstack.h: Likewise.
18079 * math/complex.h: Likewise.
18080 * math/math.h: Likewise.
18081 * sysdeps/generic/_G_config.h: Likewise.
18082 * sysdeps/gnu/_G_config.h: Likewise.
18083 * sysdeps/mach/hurd/_G_config.h: Likewise.
18084 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18085 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18086 * sysdeps/sparc/bits/mathdef.h: Likewise.
18088 2012-01-26 Ulrich Drepper <drepper@gmail.com>
18091 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
18092 Clean up HAS_* macros.
18093 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
18094 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
18096 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
18098 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18099 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18100 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18101 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18102 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18104 2012-01-25 Joseph Myers <joseph@codesourcery.com>
18106 * elf/tst-unique3.cc (gets): Remove declaration.
18107 * elf/tst-unique3lib.cc (gets): Likewise.
18108 * elf/tst-unique3lib2.cc (gets): Likewise.
18109 * elf/tst-unique4.cc (gets): Likewise.
18111 2012-01-24 Ulrich Drepper <drepper@gmail.com>
18113 * include/stdio.h: Add C++ protection. Add gets declarations and
18115 * debug/tst-chk1.c: Don't declare gets here.
18116 * stdio-common/tst-gets.c: Likewise.
18118 2012-01-24 Joseph Myers <joseph@codesourcery.com>
18120 * posix/glob: Remove directory.
18122 2012-01-24 Joseph Myers <joseph@codesourcery.com>
18124 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
18126 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
18128 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
18129 of the non-standard EPFNOSUPPORT.
18131 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
18133 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
18134 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
18135 ANYWHERE set to 1 only on KERN_NO_SPACE error.
18137 2012-01-21 Ulrich Drepper <drepper@gmail.com>
18139 * wcsmbs/uchar.h: Test __STDC_VERSION__.
18141 2012-01-20 Ulrich Drepper <drepper@gmail.com>
18143 * nscd/aicache.c (addhstaiX): Do not cache negative results of
18145 * nscd/grpcache.c (cache_addgr): Likewise.
18146 * nscd/hstcache.c (cache_addhst): Likewise.
18147 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18148 * nscd/pwdcache.c (cache_addpw): Likewise.
18149 * nscd/servicescache.c (cache_addserv): Likewise.
18151 2012-01-16 Ulrich Drepper <drepper@gmail.com>
18153 * malloc/malloc.c: Various cleanups.
18154 * malloc/hooks.c: Likewise.
18156 * stdlib/Makefile (tests): Add bug-fmtmsg1.
18157 * stdlib/bug-fmtmsg1.c: New file.
18159 * stdlib/fmtmsg.c (init): Add missing unlock.
18160 Patch by Peng Haitao <penght@cn.fujitsu.com>.
18162 2012-01-12 Marek Polacek <polacek@redhat.com>
18164 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
18167 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18169 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
18170 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
18171 macro to ensure uniqueness of label name.
18172 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18173 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18175 2012-01-11 Ulrich Drepper <drepper@gmail.com>
18177 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
18179 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
18180 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18181 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18182 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
18184 2012-01-10 Ulrich Drepper <drepper@gmail.com>
18186 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
18188 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
18189 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18190 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18192 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
18194 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
18195 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18196 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18197 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
18199 * math/bits/math-finite.h: Add ldexp support.
18201 2012-01-10 Marek Polacek <polacek@redhat.com>
18203 * locale/programs/localedef.h (show_archive_content): Add noreturn
18206 2012-01-09 Ulrich Drepper <drepper@gmail.com>
18208 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
18210 2012-01-08 Ulrich Drepper <drepper@gmail.com>
18212 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
18214 * io/Makefile (headers): Add bits/poll2.h.
18216 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
18218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
18219 typo #include statement.
18221 2012-01-08 Ulrich Drepper <drepper@gmail.com>
18223 * include/sys/cdefs.h: Define __attribute_alloc_size.
18224 * catgets/gencat.c: Add alloc_size attribute and apply consistently
18225 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
18226 * elf/pldd.c: Likewise.
18227 * iconv/iconv_charmap.c: Likewise.
18228 * iconv/iconvconfig.c: Likewise.
18229 * iconv/strtab.c: Likewise.
18230 * locale/programs/locale.c: Likewise.
18231 * locale/programs/localedef.h: Likewise.
18232 * locale/programs/simple-hash.c: Likewise.
18233 * nscd/nscd.h: Likewise.
18234 * nss/makedb.c: Likewise.
18235 * sysdeps/generic/ldconfig.h: Likewise.
18236 * locale/programs/localedef.c: Remove xmalloc prototype.
18237 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
18239 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18241 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
18244 2012-01-08 Ulrich Drepper <drepper@gmail.com>
18246 * math/Makefile (tests): Add tst-CMPLX.
18247 * math/tst-CMPLX.c: New file.
18249 * math/complex.h (CMPLXL): Fix typo.
18251 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
18252 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
18254 * debug/tst-chk1.c: Add poll and ppoll tests.
18255 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
18256 * include/sys/poll.h: Add hidden proto for ppoll.
18257 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
18258 * sysdeps/mach/hurd/ppoll.c: Likewise.
18259 * io/ppoll.c: Likewise.
18260 * debug/poll_chk.c: New file.
18261 * debug/ppoll_chk.c: New file.
18262 * include/bits/poll2.h: New file.
18263 * io/bits/poll2.h: New file.
18266 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
18268 * configure.in: static is always set to yes. Remove.
18269 * config.make.in: Don't set build-static.
18270 * Makeconfig: Remove use of build-static.
18271 * dlfcn/Makefile: Likewise.
18272 * elf/Makefile: Likewise.
18273 * math/Makefile: Likewise.
18274 * misc/Makefile: Likewise.
18275 * nptl/Makefile: Likewise.
18276 * sysdeps/mach/hurd/Makefile: Likewise.
18278 * configure.in: PWD_P is not used anymore.
18279 * config.make.in: Remove PWD_P entry.
18281 * configure.in: Remove last remnants of RANLIB.
18282 No need to check for signed size_t anymore.
18283 Don't set libc_commonpagesize and libc_relro_required here for Alpha
18285 Remove __builtin_expect test because we require at least gcc 3.4.
18286 * aclocal.m4: Likewise.
18288 * wcsmbs/mbrtoc16.c: Implement using towc function.
18289 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
18290 * wcsmbs/wcsmbsload.c: Likewise.
18291 * iconv/gconv_simple.c: Likewise.
18292 * iconv/gconv_int.h: Likewise.
18293 * iconv/gconv_builtin.h: Likewise.
18294 * iconv/iconv_prog.c: Remove CHAR16 handling.
18296 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
18298 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
18300 * configure.in: Remove --with-elf and --enable-bounded options.
18301 Dont set base_machine for ia64. More non-ELF conditions removed.
18302 Remove testing and setting of leading underscore information.
18303 * config.make.in (build-bounded): Set to no.
18304 * config.h.in: Remove NO_UNDERSCORES entry.
18305 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
18307 * csu/start.c: Remove !NO_UNDERSCORE code.
18308 * locale/localeinfo.h: Likewise.
18309 * sysdeps/generic/machine-gmon.h: Likewise.
18310 * sysdeps/generic/sysdep.h: Likewise.
18311 * sysdeps/i386/sysdep.h: Likewise.
18312 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18313 * sysdeps/mach/sysdep.h: Likewise.
18314 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18315 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18316 * sysdeps/sh/sysdep.h: Likewise.
18317 * sysdeps/sparc/sparc32/alloca.S: Likewise.
18318 * sysdeps/unix/i386/sysdep.S: Likewise.
18319 * sysdeps/unix/sparc/start.c: Likewise.
18320 * sysdeps/unix/sparc/sysdep.S: Likewise.
18321 * sysdeps/unix/sparc/sysdep.h: Likewise.
18322 * sysdeps/unix/start.c: Likewise.
18323 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18324 * sysdeps/x86_64/sysdep.h: Likewise.
18326 2012-01-07 Ulrich Drepper <drepper@gmail.com>
18329 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
18331 * argp/argp-fmtstream.h: Use const instead __const.
18332 * argp/argp.h: Likewise.
18333 * assert/assert.h: Likewise.
18334 * bits/fenv.h: Likewise.
18335 * bits/sched.h: Likewise.
18336 * bits/sigset.h: Likewise.
18337 * bits/sigthread.h: Likewise.
18338 * catgets/nl_types.h: Likewise.
18339 * conform/data/pthread.h-data: Likewise.
18340 * crypt/crypt-private.h: Likewise.
18341 * crypt/crypt.h: Likewise.
18342 * crypt/crypt_util.c: Likewise.
18343 * ctype/ctype.h: Likewise.
18344 * debug/execinfo.h: Likewise.
18345 * debug/mbsnrtowcs_chk.c: Likewise.
18346 * debug/mbsrtowcs_chk.c: Likewise.
18347 * debug/wcsnrtombs_chk.c: Likewise.
18348 * debug/wcsrtombs_chk.c: Likewise.
18349 * debug/wcstombs_chk.c: Likewise.
18350 * dirent/dirent.h: Likewise.
18351 * dlfcn/dlfcn.h: Likewise.
18352 * elf/neededtest4.c: Likewise.
18353 * grp/grp.h: Likewise.
18354 * gshadow/gshadow.h: Likewise.
18355 * iconv/gconv.h: Likewise.
18356 * iconv/gconv_int.h: Likewise.
18357 * iconv/gconv_simple.c: Likewise.
18358 * iconv/iconv.h: Likewise.
18359 * iconv/loop.c: Likewise.
18360 * iconv/skeleton.c: Likewise.
18361 * include/aio.h: Likewise.
18362 * include/aliases.h: Likewise.
18363 * include/argz.h: Likewise.
18364 * include/arpa/inet.h: Likewise.
18365 * include/assert.h: Likewise.
18366 * include/dirent.h: Likewise.
18367 * include/dlfcn.h: Likewise.
18368 * include/execinfo.h: Likewise.
18369 * include/fcntl.h: Likewise.
18370 * include/fenv.h: Likewise.
18371 * include/glob.h: Likewise.
18372 * include/grp.h: Likewise.
18373 * include/libintl.h: Likewise.
18374 * include/mntent.h: Likewise.
18375 * include/netdb.h: Likewise.
18376 * include/pwd.h: Likewise.
18377 * include/rpc/netdb.h: Likewise.
18378 * include/sched.h: Likewise.
18379 * include/search.h: Likewise.
18380 * include/shadow.h: Likewise.
18381 * include/signal.h: Likewise.
18382 * include/stdio.h: Likewise.
18383 * include/stdlib.h: Likewise.
18384 * include/string.h: Likewise.
18385 * include/sys/socket.h: Likewise.
18386 * include/sys/stat.h: Likewise.
18387 * include/sys/statfs.h: Likewise.
18388 * include/sys/statvfs.h: Likewise.
18389 * include/sys/syslog.h: Likewise.
18390 * include/sys/time.h: Likewise.
18391 * include/sys/uio.h: Likewise.
18392 * include/time.h: Likewise.
18393 * include/unistd.h: Likewise.
18394 * include/utmp.h: Likewise.
18395 * include/wchar.h: Likewise.
18396 * include/wctype.h: Likewise.
18397 * inet/aliases.h: Likewise.
18398 * inet/arpa/inet.h: Likewise.
18399 * inet/netinet/ether.h: Likewise.
18400 * inet/netinet/in.h: Likewise.
18401 * intl/libintl.h: Likewise.
18402 * io/bits/fcntl2.h: Likewise.
18403 * io/fcntl.h: Likewise.
18404 * io/ftw.h: Likewise.
18405 * io/sys/poll.h: Likewise.
18406 * io/sys/stat.h: Likewise.
18407 * io/sys/statfs.h: Likewise.
18408 * io/sys/statvfs.h: Likewise.
18409 * io/utime.h: Likewise.
18410 * libio/bits/stdio.h: Likewise.
18411 * libio/bits/stdio2.h: Likewise.
18412 * libio/libio.h: Likewise.
18413 * libio/libioP.h: Likewise.
18414 * libio/stdio.h: Likewise.
18415 * locale/lc-ctype.c: Likewise.
18416 * locale/locale.h: Likewise.
18417 * login/utmp.h: Likewise.
18418 * malloc/arena.c: Likewise.
18419 * malloc/malloc.c: Likewise.
18420 * malloc/malloc.h: Likewise.
18421 * malloc/mcheck.c: Likewise.
18422 * malloc/mtrace.c: Likewise.
18423 * math/bits/mathcalls.h: Likewise.
18424 * math/fenv.h: Likewise.
18425 * math/math_private.h: Likewise.
18426 * misc/bits/error.h: Likewise.
18427 * misc/bits/syslog.h: Likewise.
18428 * misc/err.h: Likewise.
18429 * misc/error.h: Likewise.
18430 * misc/fstab.h: Likewise.
18431 * misc/mntent.h: Likewise.
18432 * misc/regexp.h: Likewise.
18433 * misc/search.h: Likewise.
18434 * misc/sgtty.h: Likewise.
18435 * misc/sys/mman.h: Likewise.
18436 * misc/sys/syslog.h: Likewise.
18437 * misc/sys/uio.h: Likewise.
18438 * misc/sys/xattr.h: Likewise.
18439 * misc/ttyent.h: Likewise.
18440 * nis/rpcsvc/ypclnt.h: Likewise.
18441 * nss/nss.h: Likewise.
18442 * posix/bits/unistd.h: Likewise.
18443 * posix/fnmatch.h: Likewise.
18444 * posix/glob.h: Likewise.
18445 * posix/sched.h: Likewise.
18446 * posix/spawn.h: Likewise.
18447 * posix/sys/wait.h: Likewise.
18448 * posix/unistd.h: Likewise.
18449 * posix/wordexp.h: Likewise.
18450 * pwd/pwd.h: Likewise.
18451 * resolv/netdb.h: Likewise.
18452 * resource/sys/resource.h: Likewise.
18453 * rt/aio.h: Likewise.
18454 * rt/bits/mqueue2.h: Likewise.
18455 * rt/mqueue.h: Likewise.
18456 * shadow/shadow.h: Likewise.
18457 * signal/signal.h: Likewise.
18458 * socket/send.c: Likewise.
18459 * socket/sendto.c: Likewise.
18460 * socket/sys/socket.h: Likewise.
18461 * stdio-common/printf.h: Likewise.
18462 * stdlib/bits/stdlib.h: Likewise.
18463 * stdlib/fmtmsg.h: Likewise.
18464 * stdlib/monetary.h: Likewise.
18465 * stdlib/stdlib.h: Likewise.
18466 * stdlib/ucontext.h: Likewise.
18467 * streams/stropts.h: Likewise.
18468 * string/argz.h: Likewise.
18469 * string/bits/string2.h: Likewise.
18470 * string/string.h: Likewise.
18471 * string/strings.h: Likewise.
18472 * sunrpc/rpc/auth.h: Likewise.
18473 * sunrpc/rpc/auth_des.h: Likewise.
18474 * sunrpc/rpc/clnt.h: Likewise.
18475 * sunrpc/rpc/netdb.h: Likewise.
18476 * sunrpc/rpc/pmap_clnt.h: Likewise.
18477 * sunrpc/rpc/xdr.h: Likewise.
18478 * sysdeps/generic/inttypes.h: Likewise.
18479 * sysdeps/generic/net/if.h: Likewise.
18480 * sysdeps/generic/sys/swap.h: Likewise.
18481 * sysdeps/gnu/net/if.h: Likewise.
18482 * sysdeps/gnu/utmpx.h: Likewise.
18483 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
18484 * sysdeps/i386/i486/bits/string.h: Likewise.
18485 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
18486 * sysdeps/s390/bits/string.h: Likewise.
18487 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
18488 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
18489 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
18490 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
18491 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18492 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
18493 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
18494 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
18495 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
18496 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
18497 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
18498 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18499 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
18500 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18501 * sysdeps/unix/sysv/linux/readv.c: Likewise.
18502 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
18503 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18504 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18505 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18506 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18507 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18508 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
18509 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
18510 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
18511 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
18512 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
18513 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
18514 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18515 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
18516 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
18517 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
18518 * sysvipc/sys/ipc.h: Likewise.
18519 * sysvipc/sys/msg.h: Likewise.
18520 * sysvipc/sys/sem.h: Likewise.
18521 * sysvipc/sys/shm.h: Likewise.
18522 * termios/termios.h: Likewise.
18523 * time/sys/time.h: Likewise.
18524 * time/time.h: Likewise.
18525 * wcsmbs/bits/wchar2.h: Likewise.
18526 * wcsmbs/uchar.h: Likewise.
18527 * wcsmbs/wchar.h: Likewise.
18528 * wctype/wctype.h: Likewise.
18531 * Makeconfig: Remove all but ELF support including AIX support.
18532 * Makerules: Likewise.
18533 * config.h.in: Likewise.
18534 * config.make.in: Likewise.
18535 * configure: Likewise.
18536 * configure.in: Likewise.
18537 * csu/Makefile: Likewise.
18538 * csu/version.c: Likewise.
18539 * debug/Makefile: Likewise.
18540 * dlfcn/Makefile: Likewise.
18541 * elf/Makefile: Likewise.
18542 * extra-lib.mk: Likewise.
18543 * iconv/Makefile: Likewise.
18544 * include/libc-symbols.h: Likewise.
18545 * include/shlib-compat.h: Likewise.
18546 * resolv/Makefile: Likewise.
18547 * resolv/res_libc.c: Likewise.
18548 * rt/Makefile: Likewise.
18549 * sysdeps/i386/asm-syntax.h: Likewise.
18550 * sysdeps/i386/sysdep.h: Likewise.
18551 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18552 * sysdeps/mach/sysdep.h: Likewise.
18553 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
18554 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
18555 * sysdeps/s390/asm-syntax.h: Likewise.
18556 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18557 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18558 * sysdeps/sh/sysdep.h: Likewise.
18559 * sysdeps/unix/sparc/sysdep.h: Likewise.
18560 * sysdeps/wordsize-32/divdi3.c: Likewise.
18561 * sysdeps/x86_64/sysdep.h: Likewise.
18563 * argp/Versions: Remove _argp_unlock_xxx.
18566 * abilist/ld.abilist: Update. Adjust for removal of tls option.
18567 * abilist/libBrokenLocale.abilist: Likewise.
18568 * abilist/libanl.abilist: Likewise.
18569 * abilist/libc.abilist: Likewise.
18570 * abilist/libcrypt.abilist: Likewise.
18571 * abilist/libdl.abilist: Likewise.
18572 * abilist/libm.abilist: Likewise.
18573 * abilist/libnsl.abilist: Likewise.
18574 * abilist/libpthread.abilist: Likewise.
18575 * abilist/libresolv.abilist: Likewise.
18576 * abilist/librt.abilist: Likewise.
18577 * abilist/libthread_db.abilist: Likewise.
18578 * abilist/libutil.abilist: Likewise.
18579 * abilist/libnss_db.abilist: New file.
18581 * scripts/abilist.awk: Add support for indirect functions.
18583 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
18585 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
18587 * shlib-versions: Remove entries for ports architectures.
18589 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
18591 * elf/stackguard-macros.h: Remove support for IA-64.
18592 * elf/tst-auditmod1.c: Likewise.
18593 * sysdeps/generic/ldsodefs.h: Likewise.
18595 * sysdeps/unix/sysv/linux/configure.in: Ports should define
18596 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
18600 * configure.in: Remove --enable-omitfp support.
18602 * config.make.in: Likewise.
18603 * Makeconfig: Likewise.
18604 * manual/install.texi: Likewise.
18606 In case anyone cares, the IA-64 architecture could move to ports.
18607 * sysdeps/ia64/*: Removed.
18608 * sysdeps/unix/sysv/linux/ia64/*: Removed.
18609 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
18612 * configure.in: Remove entries for unsupported architectures.
18615 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
18616 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
18618 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
18619 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
18620 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
18621 fall back to using wcrtomb.
18622 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
18623 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
18625 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
18626 * wcsmbs/tst-c16c32-1.c: New file.
18628 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
18631 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
18633 * elf/tst-unique3.cc: Add explicit declaration of gets.
18634 * elf/tst-unique3lib.cc: Likewise.
18635 * elf/tst-unique3lib2.cc: Likewise.
18636 * elf/tst-unique4.cc: Likewise.
18638 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
18640 2012-01-06 Joseph Myers <joseph@codesourcery.com>
18643 * assert/assert.h (static_assert): Don't define for C++.
18644 * libio/stdio.h (gets): Do declare for C++ <= C++11.
18645 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
18647 2012-01-03 Ulrich Drepper <drepper@gmail.com>
18649 * iconv/loop.c (single loop): Fix assertion in storing of
18652 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
18654 2012-01-01 Ulrich Drepper <drepper@gmail.com>
18656 * posix/getconf.c: Update copyright year.
18657 * nss/getent.c: Likewise.
18658 * nss/makedb.c: Likewise.
18659 * iconv/iconvconfig.c: Likewise.
18660 * iconv/iconv_prog.c: Likewise.
18661 * elf/ldconfig.c: Likewise.
18662 * elf/pldd.c: Likewise.
18663 * elf/sotruss.ksh: Likewise.
18664 * catgets/gencat.c: Likewise.
18665 * csu/version.c: Likewise.
18666 * elf/ldd.bash.in: Likewise.
18667 * elf/sprof.c (print_version): Likewise.
18668 * locale/programs/locale.c: Likewise.
18669 * locale/programs/localedef.c: Likewise.
18670 * login/programs/pt_chown.c: Likewise.
18671 * nscd/nscd.c (print_version): Likewise.
18672 * debug/xtrace.sh: Likewise.
18673 * malloc/memusage.sh: Likewise.
18674 * malloc/mtrace.pl: Likewise.
18675 * debug/catchsegv.sh: Likewise.
18677 2011-12-30 Jakub Jelinek <jakub@redhat.com>
18679 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
18682 2011-12-24 Ulrich Drepper <drepper@gmail.com>
18685 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
18686 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
18688 * iconv/gconv_int.h: Likewise.
18689 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
18690 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
18691 from libc for GLIBC_2.16.
18692 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
18693 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
18694 * wcsmbs/uchar.h: Really define mbstate_t.
18695 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
18696 * wcsmbs/c16rtomb.c: New file.
18697 * wcsmbs/mbrtoc16.c: New file.
18698 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
18699 for C/POSIX locale.
18700 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
18701 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
18703 * wcsmbs/wchar.h: Add missing __restrict.
18705 2011-12-23 Ulrich Drepper <drepper@gmail.com>
18708 * time/Makefile (routines): Add timespec_get.
18709 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
18710 * time/time.h: Define TIME_UTC and declare timespec_get. Define
18711 timespec for ISO C11.
18712 * time/timespec_get.c: New file.
18713 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
18714 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
18717 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
18718 * stdlib/stdlib.h: Declare aligned_alloc.
18719 * Versions.def: Add GLIBC_2.16 for libc.
18720 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
18723 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
18726 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
18730 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
18733 * assert/assert.h (static_assert): Define.
18735 * version.h: Update for 2.16 development version.
18738 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
18741 * version.h (RELEASE): Bump for 2.15 release.
18742 * include/features.h (__GLIBC_MINOR__): Bump to 15.
18744 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
18745 Patch by Marek Polacek <mpolacek@redhat.com>.
18747 * bits/byteswap.h: Protect long long constants with __extension__.
18748 * sysdeps/i386/bits/byteswap.h: Likewise.
18749 * sysdeps/ia64/bits/byteswap.h: Likewise.
18750 * sysdeps/s390/bits/byteswap.h: Likewise.
18751 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18753 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18756 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
18757 destination buffer.
18758 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
18760 2011-12-23 Marek Polacek <polacek@redhat.com>
18762 * elf/dl-addr.c (determine_info): Add inline keyword.
18763 * elf/tst-auditmod4b.c (check_avx): Likewise.
18764 * elf/tst-auditmod6b.c (check_avx): Likewise.
18765 * elf/tst-auditmod6c.c (check_avx): Likewise.
18766 * elf/tst-auditmod7b.c (check_avx): Likewise.
18768 2011-12-23 Ulrich Drepper <drepper@gmail.com>
18770 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
18773 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18776 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
18777 processing for last bytes.
18779 2011-08-06 Bruno Haible <bruno@clisp.org>
18782 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
18783 U+0385, not to U+1FEE.
18786 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
18787 entry for U+00A5 U+0301.
18789 2011-12-22 Ulrich Drepper <drepper@gmail.com>
18792 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
18793 buffer for the output is too small.
18795 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
18799 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
18800 SSE flags if possible.
18802 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18805 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
18806 processing for last bytes.
18808 2011-12-22 Joseph Myers <joseph@codesourcery.com>
18810 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
18811 (syscall-list-default-options, syscall-list-default-condition)
18812 (syscall-list-includes): Define.
18813 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
18814 list of ABIs and options and #if conditions for each ABI. Do not
18815 handle common syscalls between ABIs specially.
18816 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
18818 (syscall-list-variants, syscall-list-32bit-options)
18819 (syscall-list-32bit-condition, syscall-list-64bit-options)
18820 (syscall-list-64bit-condition): Define.
18821 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
18822 (syscall-list-variants, syscall-list-32bit-options)
18823 (syscall-list-32bit-condition, syscall-list-64bit-options)
18824 (syscall-list-64bit-condition): Define.
18825 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
18827 (syscall-list-variants, syscall-list-32bit-options)
18828 (syscall-list-32bit-condition, syscall-list-64bit-options)
18829 (syscall-list-64bit-condition): Define.
18830 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
18832 (syscall-list-variants, syscall-list-32bit-options)
18833 (syscall-list-32bit-condition, syscall-list-64bit-options)
18834 (syscall-list-64bit-condition): Define.
18836 2011-12-22 Ulrich Drepper <drepper@gmail.com>
18838 * locale/iso-639.def: Add brx entry.
18841 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
18842 Proposed by Mariusz_Cukr <marcukr@op.pl>.
18844 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
18845 __feraiseexcept_renamed.
18847 2011-12-21 Ulrich Drepper <drepper@gmail.com>
18850 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
18851 EPOLLET with unsigned values.
18852 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18853 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18855 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
18856 to large cancellation.
18857 * math/s_cacoshf.c: Likewise.
18858 * math/s_cacoshl.c: Likewise.
18860 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
18864 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
18865 * math/s_cacoshf.c: Likewise.
18866 * math/s_cacoshl.c: Likewise.
18868 2011-12-21 Ulrich Drepper <drepper@gmail.com>
18871 * iconv/gconv.h: Define __GCONV_SWAP.
18872 * iconvdata/unicode.c: The swap bit must be stored in __flags.
18873 * iconvdata/utf-16.c: Likewise.
18874 * iconvdata/utf-32.c: Likewise.
18876 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
18879 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
18880 numerator after shifting it by one limb.
18882 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
18884 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
18885 under [__USE_EXTERN_INLINES].
18887 2011-12-17 Ulrich Drepper <drepper@gmail.com>
18890 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
18892 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18894 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
18895 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
18897 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
18898 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
18899 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
18900 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
18901 for strncasecmp/strncasecmp_l compilation.
18902 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
18903 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
18905 2011-12-08 Marek Polacek <mpolacek@redhat.com>
18908 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
18911 2011-12-17 Ulrich Drepper <drepper@gmail.com>
18914 * time/tzfile.c (__tzfile_read): Check values from file header.
18916 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18918 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
18919 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
18920 * powerpc/powerpc32/dl-start.S: Likewise.
18921 * powerpc/powerpc32/elf/start.S: Likewise.
18922 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18923 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
18924 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
18925 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
18926 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18927 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
18928 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
18929 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18930 * powerpc/powerpc32/fpu/s_round.S: Likewise.
18931 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18932 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18933 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18934 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
18935 * powerpc/powerpc32/memset.S: Likewise.
18936 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18937 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18938 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18939 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18940 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18941 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18942 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18943 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18944 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
18945 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
18946 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
18947 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18948 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18950 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18952 * math/libm-test.inc: Added more nearbyint tests.
18953 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
18954 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
18955 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
18956 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
18958 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
18960 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
18963 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18965 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
18966 Add wcscpy-ssse3 wcscpy-c.
18967 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
18968 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
18969 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
18970 * sysdeps/x86_64/wcschr.S: New file.
18971 * sysdeps/x86_64/wcsrchr.S: New file.
18972 * string/test-strcmp.c: Remove checking of wcscmp function for
18974 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
18975 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
18976 wcsrchr-sse2 wcsrchr-c.
18977 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
18978 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
18979 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
18980 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
18981 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
18982 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
18983 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
18984 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
18985 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
18986 * wcsmbc/wcschr.c (WCSCHR): New macro.
18988 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18990 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
18991 * wcsmbs/test-wcsrchr.c: New file.
18992 * string/test-strrchr.c: Add wcsrchr support.
18994 * wcsmbs/test-wcscpy.c: New file.
18995 * string/test-strcpy.c: Add wcscpy support.
18998 2011-12-10 Ulrich Drepper <drepper@gmail.com>
19000 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
19003 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
19006 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
19008 2011-12-04 Ulrich Drepper <drepper@gmail.com>
19010 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
19011 Minor optimizations.
19013 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
19014 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
19015 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
19017 2011-12-03 Ulrich Drepper <drepper@gmail.com>
19019 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
19020 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
19021 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
19022 for gcc to avoid warnings.
19023 * inet/Makefile (tests): Add tst-checks.
19024 * inet/tst-checks.c: New file.
19026 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
19029 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
19032 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
19033 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
19035 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
19037 2011-12-02 Ulrich Drepper <drepper@gmail.com>
19039 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
19042 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
19044 2011-11-29 Joseph Myers <joseph@codesourcery.com>
19046 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
19047 conditional on GCC version.
19048 (__arch_compare_and_exchange_val_8_acq)
19049 (__arch_compare_and_exchange_val_16_acq)
19050 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
19051 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
19052 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
19054 2011-12-02 Joseph Myers <joseph@codesourcery.com>
19056 * sysdeps/sh/backtrace.c: New file.
19058 2011-12-02 Andreas Schwab <schwab@redhat.com>
19060 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
19063 2011-12-01 Andreas Schwab <schwab@redhat.com>
19065 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
19066 falling back to utime.
19068 2011-11-30 Andreas Schwab <schwab@redhat.com>
19070 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
19071 expectations for float.
19073 2011-11-29 Andreas Schwab <schwab@redhat.com>
19075 * locale/weight.h (findidx): Add parameter len.
19076 * locale/weightwc.h (findidx): Likewise.
19077 * posix/fnmatch_loop.c (FCT): Adjust caller.
19078 * posix/regcomp.c (build_equiv_class): Likewise.
19079 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
19080 * posix/regexec.c (check_node_accept_bytes): Likewise.
19081 * string/strcoll_l.c (STRCOLL): Likewise.
19082 * string/strxfrm_l.c (STRXFRM): Likewise.
19084 2011-11-17 Ulrich Drepper <drepper@gmail.com>
19086 * Makefile.in: Remove CVSOPT handling.
19087 * configure.in: Remove use of AC_REVISION.
19088 * iconvdata/Makefile (distribute): No need to filter out CVS.
19089 * scripts/list-sources.sh: Remove CVS, subversion and monotone
19092 2011-11-16 Andreas Schwab <schwab@redhat.com>
19094 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
19095 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
19096 [USE_AS_STRNCASECMP_L]: Likewise.
19097 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
19098 NO_TLS_DIRECT_SEG_REFS.
19099 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
19100 Fix argument offsets for non-PIC.
19101 [USE_AS_STRNCASECMP_L]: Likewise.
19102 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
19103 NO_TLS_DIRECT_SEG_REFS.
19105 2011-11-15 Ulrich Drepper <drepper@gmail.com>
19107 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
19109 * locale/loadlocale.c (_nl_load_locale): Likewise.
19111 2011-11-15 Andreas Schwab <schwab@redhat.com>
19113 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
19114 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
19115 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
19116 (SYSCALL_GETTIME): Set errno on error.
19118 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
19119 count references to noai6ai_cached.
19121 2011-11-15 Ulrich Drepper <drepper@gmail.com>
19123 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
19125 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
19126 FD_CLOEXEC for /proc/self/maps.
19128 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
19129 FD_CLOEXEC for /proc/meminfo.
19131 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
19134 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
19135 FD_CLOEXEC for given file.
19137 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
19139 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
19140 FD_CLOEXEC for /etc/hosts.
19141 (_gethtent): Likewise.
19143 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
19145 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
19146 cancellation and set FD_CLOEXEC for /etc/netgroup.
19148 * nss/nss_files/files-key.c (search): Don't allow cancellation when
19149 reading /etc/publickey.
19151 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
19152 allow cancellation when reading /etc/group.
19154 * nss/nss_files/files-alias.c (internal_setent): Don't allow
19156 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
19158 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
19159 when using data file.
19161 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
19163 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
19164 (write_nis_obj): Use "c" and "e" in fopen.
19166 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
19168 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
19170 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
19172 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
19174 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
19177 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
19179 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
19181 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
19183 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
19184 file parsing and set FD_CLOEXEC.
19186 2011-11-14 Ulrich Drepper <drepper@gmail.com>
19188 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
19190 2011-11-14 Andreas Schwab <schwab@redhat.com>
19192 * malloc/arena.c (arena_get2): Don't call reused_arena when
19193 _int_new_arena failed.
19195 2011-11-14 Ulrich Drepper <drepper@gmail.com>
19197 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
19198 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
19199 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
19200 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19201 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19202 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
19203 to compile strcasecmp and strncasecmp.
19204 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
19205 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
19207 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
19209 2011-11-13 Ulrich Drepper <drepper@gmail.com>
19211 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
19212 locale-defines.sym to gen-as-const-headers.
19213 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
19214 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
19215 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
19216 to compile strcasecmp and strncasecmp.
19217 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
19218 strcasecmp_l and strncasecmp_l.
19219 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
19220 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
19221 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
19222 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
19223 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
19224 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
19225 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
19226 * sysdeps/i386/i686/multiarch/strncase.S: New file.
19227 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
19228 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
19229 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
19231 2011-11-12 Ulrich Drepper <drepper@gmail.com>
19233 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
19234 result of SYSDEP_GETTIME_CPU to retval.
19235 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
19236 parameter list to macro. Remove trailing semicolon. Adjust users.
19238 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
19241 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
19243 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19245 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
19246 from unused variable.
19248 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
19250 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
19253 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
19256 * sunrpc/rpc_prot.c (rejected): Fix case value.
19258 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
19259 unsigned long long int to avoid warnings in shift.
19261 * posix/regex_internal.c (re_string_reconstruct): Actually use result
19263 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
19266 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
19267 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
19268 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
19270 * nis/nis_table.c (nis_list): Use variable of correct type for
19271 result of __follow_path call.
19273 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19275 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
19276 of math functions ceil, trunc, floor, round, and sqrt, when
19277 avaliable on the platform.
19278 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
19280 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19281 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19282 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19284 2011-10-30 Marek Polacek <mpolacek@redhat.com>
19286 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
19287 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19289 2011-11-11 Roland McGrath <roland@hack.frob.com>
19291 * include/unistd.h: Fix __readlink return type.
19292 Reported by Chris Metcalf <cmetcalf@tilera.com>.
19294 2011-11-11 Ulrich Drepper <drepper@gmail.com>
19296 * stdlib/ucontext.h: Undo last change for makecontext.
19298 2011-11-11 Andreas Schwab <schwab@redhat.com>
19300 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
19302 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
19303 * setjmp/setjmp.h: Mark functions as non-leaf.
19304 * setjmp/bits/setjmp2.h: Likewise.
19305 * stdlib/ucontext.h: Likewise.
19307 2011-11-10 Andreas Schwab <schwab@redhat.com>
19309 * malloc/arena.c (_int_new_arena): Don't increment narenas.
19310 (reused_arena): Don't check arena limit.
19311 (arena_get2): Atomically check arena limit.
19313 2011-11-08 Ulrich Drepper <drepper@gmail.com>
19315 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
19316 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
19318 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
19321 2011-11-07 Andreas Schwab <schwab@redhat.com>
19323 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
19324 handler when locking.
19326 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19327 Fix size of allocated buffer.
19329 2011-11-04 Andreas Schwab <schwab@redhat.com>
19332 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
19333 declarations for long double functions.
19334 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
19336 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
19338 2011-11-03 Andreas Schwab <schwab@redhat.com>
19340 * nscd/nscd.c (main): Don't start AVC thread until credentials are
19343 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
19346 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19348 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
19350 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
19352 * include/alloca.h (stackinfo_alloca_round): Define.
19353 (extend_alloca): Use it.
19354 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
19355 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
19358 * scripts/check-local-headers.sh: Ignore libaudit.h.
19360 * nscd/Makefile (extra-objs): Make recursively expanded.
19362 2011-11-01 Ulrich Drepper <drepper@gmail.com>
19364 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
19365 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19367 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
19368 * posix/tst-rfc3484-2.c: Likewise.
19369 * posix/tst-rfc3484-3.c: Likewise.
19371 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19373 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
19375 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
19376 process_vm_writev from libc using GLIBC_2.15 version.
19378 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
19380 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
19382 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
19385 2011-10-31 Ulrich Drepper <drepper@gmail.com>
19388 * nss/getent.c (initgroups_keys): Show error message in case no group
19391 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
19392 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
19393 __bump_nl_timestamp.
19394 * nscd/connections (nscd_init): When host database is served open
19395 netlink socket and request notification about configuration changes.
19396 (main_loop_poll): Track netlink file descriptor and bump timestamp
19397 in case data becomes available.
19398 (main_loop_epoll): Likewise.
19399 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
19400 (database_pers_head): Add extra_data fileds.
19401 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
19402 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
19403 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
19405 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
19406 in6ai data, call __free_in6ai.
19407 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
19408 Add -DHAVE_NETLINK.
19409 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
19410 interface information. Reuse previous data if netlink timestamp
19412 (__bump_nl_timestamp): New function.
19413 (__free_in6ai): New function.
19415 2011-10-30 Ulrich Drepper <drepper@gmail.com>
19417 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
19418 close_not_cancel_no_status here.
19419 (__check_pf): Reorganize code a bit to not call close twice if OOM.
19421 2011-10-29 Ulrich Drepper <drepper@gmail.com>
19424 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
19427 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
19428 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
19429 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
19431 2011-07-03 Andreas Jaeger <aj@suse.de>
19434 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
19435 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
19436 * math/libm-test.inc (sin_test): Add test case.
19438 2011-10-29 Ulrich Drepper <drepper@gmail.com>
19441 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
19442 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19444 * elf/chroot_canon.c (chroot_canon): Cleanups.
19446 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
19449 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
19450 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19452 * string/test-strchr.c: Make usable for strchrnul testing.
19453 * string/test-strchrnul.c: New file.
19454 * string/Makefile (strop-tests): Add strchrnul.
19456 * po/it.po: Update from translation team.
19457 * po/es.po: Likewise.
19459 2011-10-28 Ulrich Drepper <drepper@gmail.com>
19461 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
19462 the three constants needed as parameters. Drop the others.
19463 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
19464 __m128i_strloadu_tolower.
19465 Create and initialize variable zero and use it in all the places
19466 where _mm_setzero_si128 was used.
19468 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
19469 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
19470 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
19471 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
19473 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
19474 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
19475 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
19476 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
19477 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
19478 __mpranred, __mptan.
19479 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
19480 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
19481 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
19482 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
19483 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
19484 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
19485 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
19486 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
19487 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
19489 2011-10-28 Andreas Schwab <schwab@redhat.com>
19491 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
19492 redefine if SHARED.
19493 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
19495 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
19496 wide char related routines to wcsmbs subdir.
19498 2011-10-27 Andreas Schwab <schwab@redhat.com>
19501 * misc/sys/cdefs.h (__THROWNL): Define.
19502 * posix/unistd.h: Use __THREADNL instead of __THREAD
19503 for memory synchronization functions.
19505 2011-10-26 Roland McGrath <roland@hack.frob.com>
19508 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
19510 * manual/stdio.texi (Obstack Streams): Node removed.
19512 2011-10-26 Andreas Schwab <schwab@redhat.com>
19514 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
19515 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19516 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19518 * math/math_private.h (math_force_eval): Allow non-addressable
19520 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
19522 2011-10-25 Ulrich Drepper <drepper@gmail.com>
19524 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
19525 file is not needed.
19527 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
19528 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
19529 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19530 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19531 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19532 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19533 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19534 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
19536 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
19537 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
19538 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
19539 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
19540 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
19541 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
19542 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
19543 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
19544 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
19545 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
19546 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
19547 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
19548 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
19549 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
19550 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
19551 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
19552 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
19553 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
19554 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
19556 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
19557 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
19559 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
19560 place. Use VEX encoding when compiling for AVX.
19562 2011-10-25 Andreas Schwab <schwab@redhat.com>
19564 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
19565 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19567 * string/test-strchr.c (do_test): Don't generate NUL bytes.
19569 2011-10-25 Ulrich Drepper <drepper@gmail.com>
19571 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
19572 useless if() expression.
19573 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19574 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19575 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19576 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19577 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19578 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19579 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19580 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19581 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19582 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19583 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19584 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19585 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19586 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19587 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19588 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19589 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19590 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19591 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19593 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
19595 2011-10-25 Andreas Schwab <schwab@redhat.com>
19597 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
19599 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19601 2011-10-25 Ulrich Drepper <drepper@gmail.com>
19603 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
19604 .text section. Avoid duplicate constants.
19605 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19606 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19607 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19608 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19609 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19610 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19611 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19612 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19613 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19614 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
19615 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19616 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19617 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19618 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19619 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19620 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19621 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19622 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19623 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19624 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19625 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19626 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19627 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19628 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
19629 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
19630 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
19631 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
19632 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
19633 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
19634 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
19635 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
19636 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
19637 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19638 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
19639 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
19640 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
19641 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
19642 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
19643 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
19644 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
19645 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
19646 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
19647 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
19648 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19649 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
19651 2011-10-24 Ulrich Drepper <drepper@gmail.com>
19653 * sysdeps/x86_64/dla.h: Move to ...
19654 * sysdeps/x86_64/fpu/dla.h: ...here.
19655 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
19656 situations. Use __builtin_fma only for gcc 4.6 and up.
19658 * config.make.in: Add have-mfma4 entry.
19659 * configure.in: Substitute libc_cv_cc_fma4.
19660 * math/Makefile (dbl-only-routines): Add sincostab.
19661 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
19662 Use __sincostab not sincos.
19663 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
19665 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19666 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19667 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19668 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
19670 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
19671 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
19672 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
19673 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
19675 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
19676 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
19678 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
19679 define aliases when function name is a macro.
19680 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
19681 sysdeps/ieee754/dbl-64/sincos.tbl.
19682 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
19683 fma4-enabled routines.
19684 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
19685 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
19686 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
19687 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
19688 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
19689 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
19690 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
19691 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
19692 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
19693 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
19694 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
19695 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
19696 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
19697 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
19698 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
19699 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
19700 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
19701 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
19702 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
19703 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
19704 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
19705 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
19706 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
19707 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
19708 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
19709 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
19710 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
19711 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
19712 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
19713 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
19715 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
19717 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19718 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19719 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19720 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19721 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19722 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19723 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19724 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19726 2011-10-24 Andreas Schwab <schwab@redhat.com>
19728 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
19730 2011-10-23 Ulrich Drepper <drepper@gmail.com>
19732 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
19734 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
19736 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
19738 * string/strnlen.c: Don't define STRNLEN, reverse logic.
19739 Remove unused variable magic_bits.
19740 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
19742 * string/strnlen.c: Define and use STRNLEN macro.
19743 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
19744 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
19745 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
19746 * wcsmbs/wcslen.c: Define and use WCSLEN.
19747 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
19748 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
19749 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
19750 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
19751 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
19752 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
19753 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19755 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19757 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19758 strnlen-sse2-no-bsf.
19759 Rename strlen-no-bsf to strlen-sse2-no-bsf.
19760 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
19761 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
19762 Add strnlen support.
19763 (USE_AS_STRNLEN): New macro.
19764 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
19765 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
19766 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
19767 * sysdeps/x86_64/wcslen.S: New file.
19769 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
19771 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
19772 XMM-moves are used for copying on small sizes.
19774 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19776 * wcsmbs/Makefile (strop-tests): Add wcschr.
19777 * wcsmbs/test-wcschr.c: New file.
19778 * string/test-strchr.c: Update.
19779 Add wcschr support.
19782 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19784 * wcsmbs/Makefile (strop-tests): Add wcslen.
19785 * wcsmbs/test-wcslen.c: New file.
19786 * string/test-strlen.c: Update.
19787 Add wcslen support.
19790 2011-10-23 Ulrich Drepper <drepper@gmail.com>
19792 * po/it.po: Update from translation team.
19794 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19796 * sysdeps/x86_64/wcscmp.S: Update.
19797 Fix wrong comparison semantics.
19798 wcscmp shall use signed comparison not unsigned.
19799 Don't use substraction to avoid overflow bug.
19800 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
19801 * wcsmbc/wcscmp.c: Likewise.
19802 * string/test-strcmp.c: Likewise.
19803 Add new tests to check cases with negative values.
19805 2011-10-23 Ulrich Drepper <drepper@gmail.com>
19807 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
19808 * sysdeps/x86_64/dla.h: ...here. New file.
19809 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
19810 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19811 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19812 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19813 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19814 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19815 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19816 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19817 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19819 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
19821 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
19822 __ynl_finite aliases.
19824 2011-10-22 Ulrich Drepper <drepper@gmail.com>
19826 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19828 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
19830 [DLA_FMA] (EMULV): Use DLA_FMA.
19831 [DLA_FMA] (MUL12): Use EMULV.
19832 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
19833 that are not needed.
19834 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19835 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19836 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19837 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19838 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19839 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19840 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19842 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
19844 * math/s_nan.c: Undef __nan.
19845 * math/s_nanf.c: Undef __nanf.
19846 * math/s_nanl.c: Undef __nanl.
19847 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
19850 2011-10-22 Ulrich Drepper <drepper@gmail.com>
19852 * math/s_catan.c: Add branch predictions.
19853 * math/s_catanf.c: Likewise.
19854 * math/s_catanh.c: Likewise.
19855 * math/s_catanhf.c: Likewise.
19856 * math/s_catanhl.c: Likewise.
19857 * math/s_catanl.c: Likewise.
19858 * math/s_cexp.c: Likewise.
19859 * math/s_cexpf.c: Likewise.
19860 * math/s_cexpl.c: Likewise.
19861 * math/s_clog.c: Likewise.
19862 * math/s_clog10.c: Likewise.
19863 * math/s_clog10f.c: Likewise.
19864 * math/s_clog10l.c: Likewise.
19865 * math/s_clogf.c: Likewise.
19866 * math/s_clogl.c: Likewise.
19867 * math/s_csqrt.c: Likewise.
19868 * math/s_csqrtf.c: Likewise.
19869 * math/s_csqrtl.c: Likewise.
19870 * math/s_ctanf.c: Likewise.
19871 * math/s_ctanh.c: Likewise.
19872 * math/s_ctanhf.c: Likewise.
19873 * math/s_ctanhl.c: Likewise.
19874 * math/s_ctanl.c: Likewise.
19876 * math/math_private.h: Define __nan, __nanf, __nanl.
19877 * math/s_cacosh.c: Include <math_private.h>.
19878 * math/s_cacoshl.c: Likewise.
19879 * math/s_casinh.c: Likewise.
19880 * math/s_casinhf.c: Likewise.
19881 * math/s_casinhl.c: Likewise.
19882 * math/s_ccos.c: Rely entire on ccosh.
19883 * math/s_ccosf.c: Rely entire on ccoshf.
19884 * math/s_ccosl.c: Rely entirely on ccoshl.
19885 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
19886 Remove tests for FE_INVALID.
19887 * math/s_ccoshf.c: Likewise.
19888 * math/s_ccoshl.c: Likewise.
19889 * math/s_csin.c: Likewise.
19890 * math/s_csinf.c: Likewise.
19891 * math/s_csinh.c Likewise.
19892 * math/s_csinhf.c: Likewise.
19893 * math/s_csinhl.c: Likewise.
19894 * math/s_csinl.c: Likewise.
19895 * math/s_ctan.c: Likewise.
19896 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
19897 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
19898 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
19900 2011-10-21 Ulrich Drepper <drepper@gmail.com>
19902 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
19903 compilation problems.
19905 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
19908 2011-10-20 Ulrich Drepper <drepper@gmail.com>
19910 * sysdeps/i386/configure.in: Test for -mfma4 option.
19911 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
19912 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
19913 COMMON_CPUID_INDEX_80000001.
19914 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
19915 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
19916 use it if FMA3 is not supported.
19917 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
19919 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
19920 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19922 2011-10-20 Andreas Schwab <schwab@redhat.com>
19925 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
19926 it would create a cycle with a link time dependency.
19928 2011-10-19 Ulrich Drepper <drepper@gmail.com>
19930 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
19932 * string/Makefile (strop-tests): Add rawmemchr.
19933 * string/test-rawmemchr.c: New file.
19935 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
19936 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
19937 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
19938 when compiling str{,n}casecmp and when AVX is available. Hook up
19939 new optimized code in initializers.
19941 2011-10-19 Andreas Schwab <schwab@redhat.com>
19943 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
19944 __feraiseexcept instead of feraiseexcept.
19946 2011-10-18 Ulrich Drepper <drepper@gmail.com>
19948 * math/math_private.h: Define defaults for libc_fetestexcept and
19950 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
19951 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
19952 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19953 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19954 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19955 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19956 libc_fetestexcept and libc_feupdateenv.
19958 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
19959 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
19960 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
19961 * sysdeps/x86_64/fpu/math_private.h: Define special version of
19962 libc_feholdexcept_setround.
19964 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
19965 Add s_nearbyint-c and s_nearbyintf-c.
19966 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
19967 nearbyintf inlines.
19968 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
19969 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
19970 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
19971 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
19973 * math/math_private.h: Define defaults for libc_fegetround,
19974 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
19975 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
19976 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
19977 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
19978 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
19979 standard functions.
19980 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19981 Remove comments and hacks for old compiler versions.
19982 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19983 libc_fegetround, libc_fesetround, libc_feholdexcept, and
19984 libc_feholdexceptl.
19986 2011-10-18 Andreas Schwab <schwab@redhat.com>
19988 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
19989 (__feraiseexcept_renamed): Add __NTH.
19990 (feraiseexcept): Add __NTH. Rename local variables to fix
19991 namespace violations.
19993 2011-10-17 Ulrich Drepper <drepper@gmail.com>
19995 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
19997 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
19999 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
20000 recently added interfaces.
20001 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
20003 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
20004 about macro parameter expansion.
20006 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
20007 __NO_MATH_INLINES is defined. Cleanups.
20009 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
20010 and __floorf is target has SSE4.1.
20011 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
20012 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
20013 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
20014 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
20016 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
20018 (floorf): Likewise.
20020 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
20022 2011-10-17 Andreas Schwab <schwab@redhat.com>
20024 * misc/sys/cdefs.h: Fix last change.
20026 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
20029 2011-10-16 Ulrich Drepper <drepper@gmail.com>
20031 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
20033 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
20034 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20035 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20036 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20037 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20038 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20039 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20040 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20041 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20042 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
20043 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
20044 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
20045 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
20046 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
20047 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
20048 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
20049 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
20050 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
20051 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
20052 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
20053 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
20054 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
20056 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
20057 ceil, ceilf, floor, floorf.
20059 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
20060 Perform IRELATIVE relocations last.
20062 * elf/do-rel.h: Add another parameter nrelative, replacing the
20063 local variable with the same name. Change name of the function
20064 to end in Rel or Rela (uppercase).
20065 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
20066 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
20067 elf_dynamic_do_##reloc function.
20069 2011-10-15 Ulrich Drepper <drepper@gmail.com>
20071 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
20072 is sufficient, at least on modern CPUs.
20074 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
20076 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
20077 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
20079 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
20081 * math/bits/math-finite.h: Add entries for exp.
20082 * math/e_expl.c: Add __*_finite alias.
20083 * sysdeps/i386/fpu/e_exp.S: Likewise.
20084 * sysdeps/i386/fpu/e_expf.S: Likewise.
20085 * sysdeps/i386/fpu/e_expl.c: Likewise.
20086 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20087 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20088 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20089 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20090 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
20091 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20092 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20094 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
20095 is sufficient, at least on modern CPUs.
20097 * ctype/ctype-info.c (__ctype_init): Define.
20098 * include/ctype.h (__ctype_init): Declare.
20099 (__ctype_b_loc): The variable is always initialized.
20100 (__ctype_toupper_loc): Likewise.
20101 (__ctype_tolower_loc): Likewise.
20102 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
20103 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
20105 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
20107 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
20109 * configure.in: Also look in $cxxmachine/include for C++ system
20112 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20114 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
20115 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
20116 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
20117 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
20118 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
20119 (USE_AS_WMEMCMP): New macro.
20121 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
20122 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
20123 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
20124 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
20125 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20126 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
20127 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
20128 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
20129 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
20130 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
20131 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
20132 (USE_AS_WMEMCMP): New macro.
20133 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
20134 * sysdeps/string/test-memcmp.c: Update.
20135 Fix simple_wmemcmp.
20137 * wcsmbs/wmemcmp.c: Update.
20138 (WMEMCMP): New macro.
20141 2011-10-12 Andreas Jaeger <aj@suse.de>
20144 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
20146 2011-10-15 Ulrich Drepper <drepper@gmail.com>
20148 * libio/iofwide.c (do_length): Avoid warning.
20150 * ctype/ctype.h (__isctype_f): Add missing __THROW.
20152 2011-10-14 Ulrich Drepper <drepper@gmail.com>
20154 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
20156 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
20157 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
20158 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
20159 * sysdeps/i386/i686/fpu/e_log.S: New file.
20160 * sysdeps/i386/i686/fpu/e_logf.S: New file.
20161 * sysdeps/i386/i686/fpu/e_logl.S: New file.
20163 * ctype/ctype.h: Add support for inlined isXXX functions when
20164 compiling C++ code.
20166 2011-10-14 Andreas Schwab <schwab@redhat.com>
20168 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20170 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
20172 2011-10-13 Roland McGrath <roland@hack.frob.com>
20175 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
20177 2011-10-13 Andreas Schwab <schwab@redhat.com>
20179 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
20180 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
20183 * sysdeps/x86_64/memrchr.S: Check for zero size.
20185 * string/stratcliff.c: Add memrchr tests.
20187 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20189 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20190 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
20191 rawmemchr-sse2 rawmemchr-sse2-bsf.
20192 * sysdeps/i386/i686/multiarch/memchr.S: New file.
20193 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
20194 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
20195 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
20196 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
20197 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
20198 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
20199 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
20200 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
20201 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
20202 * string/memrchr.c (MEMRCHR): New macro.
20204 2011-10-12 Ulrich Drepper <drepper@gmail.com>
20206 Add integration with gcc's -ffinite-math-only and optimize wrapper
20208 * Versions.def: Define GLIBC_2.15 version for libm.
20209 * math/Makefile (headers): Add bits/math-finite.h.
20210 * math/bits/math-finite.h: New file.
20211 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
20212 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
20213 * math/e_acoshl.c: Add __*_finite alias.
20214 * math/e_acosl.c: Likewise.
20215 * math/e_asinl.c: Likewise.
20216 * math/e_atan2l.c: Likewise.
20217 * math/e_atanhl.c: Likewise.
20218 * math/e_coshl.c: Likewise.
20219 * math/e_exp10.c: Likewise.
20220 * math/e_exp10f.c: Likewise.
20221 * math/e_exp10l.c: Likewise.
20222 * math/e_exp2l.c: Likewise.
20223 * math/e_fmodl.c: Likewise.
20224 * math/e_gammal_r.c: Likewise.
20225 * math/e_hypotl.c: Likewise.
20226 * math/e_j0l.c: Likewise.
20227 * math/e_j1l.c: Likewise.
20228 * math/e_jnl.c: Likewise.
20229 * math/e_lgammal_r.c: Likewise.
20230 * math/e_log10l.c: Likewise.
20231 * math/e_log2l.c: Likewise.
20232 * math/e_logl.c: Likewise.
20233 * math/e_powl.c: Likewise.
20234 * math/e_sinhl.c: Likewise.
20235 * math/e_sqrtl.c: Likewise.
20236 * math/e_scalb.c: Completely rewritten and optimized.
20237 * math/e_scalbf.c: Likewise.
20238 * math/e_scalbl.c: Likewise.
20239 * math/w_acos.c: Likewise.
20240 * math/w_acosf.c: Likewise.
20241 * math/w_acosl.c: Likewise.
20242 * math/w_acosh.c: Likewise.
20243 * math/w_acoshf.c: Likewise.
20244 * math/w_acoshl.c: Likewise.
20245 * math/w_asin.c: Likewise.
20246 * math/w_asinf.c: Likewise.
20247 * math/w_asinl.c: Likewise.
20248 * math/w_atan2.c: Likewise.
20249 * math/w_atan2f.c: Likewise.
20250 * math/w_atan2l.c: Likewise.
20251 * math/w_atanh.c: Likewise.
20252 * math/w_atanhf.c: Likewise.
20253 * math/w_atanhl.c: Likewise.
20254 * math/w_exp10.c: Likewise.
20255 * math/w_exp10f.c: Likewise.
20256 * math/w_exp10l.c: Likewise.
20257 * math/w_fmod.c: Likewise.
20258 * math/w_fmodf.c: Likewise.
20259 * math/w_fmodl.c: Likewise.
20260 * math/w_j0.c: Likewise.
20261 * math/w_j0f.c: Likewise.
20262 * math/w_j0l.c: Likewise.
20263 * math/w_j1.c: Likewise.
20264 * math/w_j1f.c: Likewise.
20265 * math/w_j1l.c: Likewise.
20266 * math/w_jn.c: Likewise.
20267 * math/w_jnf.c: Likewise.
20268 * math/w_log.c: Likewise.
20269 * math/w_logf.c: Likewise.
20270 * math/w_logl.c: Likewise.
20271 * math/w_log10.c: Likewise.
20272 * math/w_log10f.c: Likewise.
20273 * math/w_log10l.c: Likewise.
20274 * math/w_log2.c: Likewise.
20275 * math/w_log2f.c: Likewise.
20276 * math/w_log2l.c: Likewise.
20277 * math/w_pow.c: Likewise.
20278 * math/w_powf.c: Likewise.
20279 * math/w_powl.c: Likewise.
20280 * math/w_remainder.c: Likewise.
20281 * math/w_remainderf.c: Likewise.
20282 * math/w_remainderl.c: Likewise.
20283 * math/w_scalb.c: Likewise.
20284 * math/w_scalbf.c: Likewise.
20285 * math/w_scalbl.c: Likewise.
20286 * math/w_sqrt.c: Likewise.
20287 * math/w_sqrtf.c: Likewise.
20288 * math/w_sqrtl.c: Likewise.
20289 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
20290 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
20292 * math/math_private.h: Declare __kernel_standard_f.
20293 * math/w_cosh.c: Remove cruft and optimize a bit.
20294 * math/w_coshf.c: Likewise.
20295 * math/w_coshl.c: Likewise.
20296 * math/w_exp2.c: Likewise.
20297 * math/w_exp2f.c: Likewise.
20298 * math/w_exp2l.c: Likewise.
20299 * math/w_hypot.c: Likewise.
20300 * math/w_hypotf.c: Likewise.
20301 * math/w_hypotl.c: Likewise.
20302 * math/w_lgamma.c: Likewise.
20303 * math/w_lgamma_r.c: Likewise.
20304 * math/w_lgammaf.c: Likewise.
20305 * math/w_lgammaf_r.c: Likewise.
20306 * math/w_lgammal.c: Likewise.
20307 * math/w_lgammal_r.c: Likewise.
20308 * math/w_sinh.c: Likewise.
20309 * math/w_sinhf.c: Likewise.
20310 * math/w_sinhl.c: Likewise.
20311 * math/w_tgamma.c: Likewise.
20312 * math/w_tgammaf.c: Likewise.
20313 * math/w_tgammal.c: Likewise.
20314 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20315 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20316 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
20317 Minor optimizations. Pretty printing. Remove cruft.
20318 * sysdeps/i386/fpu/e_acosf.S: Likewise.
20319 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20320 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20321 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20322 * sysdeps/i386/fpu/e_acosl.c: Likewise.
20323 * sysdeps/i386/fpu/e_asin.S: Likewise.
20324 * sysdeps/i386/fpu/e_asinf.S: Likewise.
20325 * sysdeps/i386/fpu/e_atan2.S: Likewise.
20326 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
20327 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
20328 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20329 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20330 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20331 * sysdeps/i386/fpu/e_exp10.S: Likewise.
20332 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
20333 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
20334 * sysdeps/i386/fpu/e_exp2.S: Likewise.
20335 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
20336 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
20337 * sysdeps/i386/fpu/e_fmod.S: Likewise.
20338 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
20339 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
20340 * sysdeps/i386/fpu/e_hypot.S: Likewise.
20341 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
20342 * sysdeps/i386/fpu/e_log.S: Likewise.
20343 * sysdeps/i386/fpu/e_log10.S: Likewise.
20344 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20345 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20346 * sysdeps/i386/fpu/e_log2.S: Likewise.
20347 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20348 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20349 * sysdeps/i386/fpu/e_logf.S: Likewise.
20350 * sysdeps/i386/fpu/e_logl.S: Likewise.
20351 * sysdeps/i386/fpu/e_pow.S: Likewise.
20352 * sysdeps/i386/fpu/e_powf.S: Likewise.
20353 * sysdeps/i386/fpu/e_powl.S: Likewise.
20354 * sysdeps/i386/fpu/e_remainder.S: Likewise.
20355 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
20356 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
20357 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20358 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20359 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20360 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
20361 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
20362 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
20363 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20364 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20365 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20366 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20367 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20368 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20369 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20370 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20371 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20372 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20373 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20374 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
20375 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20376 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20377 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20378 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20379 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20380 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20381 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20382 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20383 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20384 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
20385 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20386 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20387 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
20388 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
20389 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20390 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
20391 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
20392 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
20393 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20394 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20395 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20396 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
20397 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
20398 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
20399 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
20400 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
20401 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
20402 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
20403 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
20404 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
20405 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
20406 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
20407 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20408 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
20409 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
20410 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
20411 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
20412 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
20413 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
20414 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20415 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20416 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20417 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20418 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
20419 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
20420 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
20421 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
20422 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
20423 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
20424 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
20425 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20426 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20427 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
20428 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
20429 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
20430 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
20431 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
20432 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
20433 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
20434 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
20435 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
20436 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
20437 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
20438 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20439 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20440 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
20441 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20442 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
20443 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20444 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
20445 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
20446 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20447 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20448 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20449 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20450 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
20451 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20452 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
20453 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20454 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20455 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20456 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20457 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20458 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20459 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20460 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
20461 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
20462 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
20463 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
20464 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
20465 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
20466 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
20467 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20468 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20469 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20470 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20471 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
20472 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20473 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
20474 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
20475 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
20476 (__isnanf): Likewise.
20477 (__isinf_ns): Likewise.
20478 (__isinf_nsf): Likewise.
20479 (__finite): Likewise.
20480 (__finitef): Likewise.
20481 (__ieee754_sqrt): Define as macro.
20482 (__ieee754_sqrtf): Define as macro.
20483 (__ieee754_sqrtl): Define as macro.
20484 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
20486 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
20487 __FINITE_MATH_ONLY__ consistent.
20488 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
20490 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
20492 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
20495 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
20497 2011-10-09 Ulrich Drepper <drepper@gmail.com>
20499 * po/ja.po: Update from translation team.
20501 2011-10-08 Roland McGrath <roland@hack.frob.com>
20503 * locale/programs/locarchive.c (prepare_address_space): New function.
20504 (create_archive, enlarge_archive, open_archive): Use it.
20506 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
20507 inside [SHARED], where it is used.
20509 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
20511 * nss/getent.c (netgroup_keys): Remove unused variable.
20512 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20514 2011-10-08 Ulrich Drepper <drepper@gmail.com>
20516 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
20517 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
20518 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
20519 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
20520 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
20521 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
20522 * math/Makefile (libm-calls): Add s_isinf_ns.
20523 * math/divtc3.c: Use __isinf_nsl instead of isinf.
20524 * math/multc3.c: Likewise.
20525 * math/s_casin.c: Likewise.
20526 * math/s_casinf.c: Likewise.
20527 * math/s_casinl.c: Likewise.
20528 * math/s_ccos.c: Likewise.
20529 * math/s_ccosf.c: Likewise.
20530 * math/s_ccosl.c: Likewise.
20531 * math/s_ctan.c: Likewise.
20532 * math/s_ctanf.c: Likewise.
20533 * math/s_ctanh.c: Likewise.
20534 * math/s_ctanhf.c: Likewise.
20535 * math/s_ctanhl.c: Likewise.
20536 * math/s_ctanl.c: Likewise.
20537 * math/w_fmod.c: Likewise.
20538 * math/w_fmodf.c: Likewise.
20539 * math/w_fmodl.c: Likewise.
20540 * math/w_remainder.c: Likewise.
20541 * math/w_remainderf.c: Likewise.
20542 * math/w_remainderl.c: Likewise.
20543 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
20544 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
20545 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
20546 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
20547 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
20548 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
20549 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
20550 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
20552 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
20554 * stdio-common/printf_fphex.c: Likewise.
20555 * stdio-common/printf_size.c: Likewise.
20557 * math/e_exp10.c: Include math_private.h using <...> not "...".
20558 * math/e_exp10f.c: Likewise.
20559 * math/e_exp10l.c: Likewise.
20560 * math/e_exp2l.c: Likewise.
20561 * math/e_j0l.c: Likewise.
20562 * math/e_j1l.c: Likewise.
20563 * math/e_jnl.c: Likewise.
20564 * math/e_lgammal_r.c: Likewise.
20565 * math/e_rem_pio2l.c: Likewise.
20566 * math/e_scalb.c: Likewise.
20567 * math/e_scalbf.c: Likewise.
20568 * math/e_scalbl.c: Likewise.
20569 * math/k_cosl.c: Likewise.
20570 * math/k_sinl.c: Likewise.
20571 * math/k_tanl.c: Likewise.
20572 * math/s_cacoshf.c: Likewise.
20573 * math/s_catan.c: Likewise.
20574 * math/s_catanf.c: Likewise.
20575 * math/s_catanh.c: Likewise.
20576 * math/s_catanhf.c: Likewise.
20577 * math/s_catanhl.c: Likewise.
20578 * math/s_catanl.c: Likewise.
20579 * math/s_ccosh.c: Likewise.
20580 * math/s_ccoshf.c: Likewise.
20581 * math/s_ccoshl.c: Likewise.
20582 * math/s_cexp.c: Likewise.
20583 * math/s_cexpf.c: Likewise.
20584 * math/s_cexpl.c: Likewise.
20585 * math/s_clog.c: Likewise.
20586 * math/s_clog10.c: Likewise.
20587 * math/s_clog10f.c: Likewise.
20588 * math/s_clog10l.c: Likewise.
20589 * math/s_clogf.c: Likewise.
20590 * math/s_clogl.c: Likewise.
20591 * math/s_csin.c: Likewise.
20592 * math/s_csinf.c: Likewise.
20593 * math/s_csinh.c: Likewise.
20594 * math/s_csinhf.c: Likewise.
20595 * math/s_csinhl.c: Likewise.
20596 * math/s_csinl.c: Likewise.
20597 * math/s_csqrt.c: Likewise.
20598 * math/s_csqrtf.c: Likewise.
20599 * math/s_csqrtl.c: Likewise.
20600 * math/s_ctan.c: Likewise.
20601 * math/s_ctanf.c: Likewise.
20602 * math/s_ctanh.c: Likewise.
20603 * math/s_ctanhf.c: Likewise.
20604 * math/s_ctanhl.c: Likewise.
20605 * math/s_ctanl.c: Likewise.
20606 * math/s_ldexp.c: Likewise.
20607 * math/s_ldexpf.c: Likewise.
20608 * math/s_ldexpl.c: Likewise.
20609 * math/s_significand.c: Likewise.
20610 * math/s_significandf.c: Likewise.
20611 * math/s_significandl.c: Likewise.
20612 * math/w_acos.c: Likewise.
20613 * math/w_acosf.c: Likewise.
20614 * math/w_acosh.c: Likewise.
20615 * math/w_acoshf.c: Likewise.
20616 * math/w_acoshl.c: Likewise.
20617 * math/w_acosl.c: Likewise.
20618 * math/w_asin.c: Likewise.
20619 * math/w_asinf.c: Likewise.
20620 * math/w_asinl.c: Likewise.
20621 * math/w_atan2.c: Likewise.
20622 * math/w_atan2f.c: Likewise.
20623 * math/w_atan2l.c: Likewise.
20624 * math/w_atanh.c: Likewise.
20625 * math/w_atanhf.c: Likewise.
20626 * math/w_atanhl.c: Likewise.
20627 * math/w_cosh.c: Likewise.
20628 * math/w_coshf.c: Likewise.
20629 * math/w_coshl.c: Likewise.
20630 * math/w_dremf.c: Likewise.
20631 * math/w_exp10.c: Likewise.
20632 * math/w_exp10f.c: Likewise.
20633 * math/w_exp10l.c: Likewise.
20634 * math/w_exp2.c: Likewise.
20635 * math/w_exp2f.c: Likewise.
20636 * math/w_fmod.c: Likewise.
20637 * math/w_fmodf.c: Likewise.
20638 * math/w_fmodl.c: Likewise.
20639 * math/w_hypot.c: Likewise.
20640 * math/w_hypotf.c: Likewise.
20641 * math/w_hypotl.c: Likewise.
20642 * math/w_j0.c: Likewise.
20643 * math/w_j0f.c: Likewise.
20644 * math/w_j0l.c: Likewise.
20645 * math/w_j1.c: Likewise.
20646 * math/w_j1f.c: Likewise.
20647 * math/w_j1l.c: Likewise.
20648 * math/w_jn.c: Likewise.
20649 * math/w_jnf.c: Likewise.
20650 * math/w_jnl.c: Likewise.
20651 * math/w_lgamma.c: Likewise.
20652 * math/w_lgamma_r.c: Likewise.
20653 * math/w_lgammaf.c: Likewise.
20654 * math/w_lgammaf_r.c: Likewise.
20655 * math/w_lgammal.c: Likewise.
20656 * math/w_lgammal_r.c: Likewise.
20657 * math/w_log.c: Likewise.
20658 * math/w_log10.c: Likewise.
20659 * math/w_log10f.c: Likewise.
20660 * math/w_log10l.c: Likewise.
20661 * math/w_log2.c: Likewise.
20662 * math/w_log2f.c: Likewise.
20663 * math/w_log2l.c: Likewise.
20664 * math/w_logf.c: Likewise.
20665 * math/w_logl.c: Likewise.
20666 * math/w_pow.c: Likewise.
20667 * math/w_powf.c: Likewise.
20668 * math/w_powl.c: Likewise.
20669 * math/w_remainder.c: Likewise.
20670 * math/w_remainderf.c: Likewise.
20671 * math/w_remainderl.c: Likewise.
20672 * math/w_scalb.c: Likewise.
20673 * math/w_scalbf.c: Likewise.
20674 * math/w_scalbl.c: Likewise.
20675 * math/w_sinh.c: Likewise.
20676 * math/w_sinhf.c: Likewise.
20677 * math/w_sinhl.c: Likewise.
20678 * math/w_sqrt.c: Likewise.
20679 * math/w_sqrtf.c: Likewise.
20680 * math/w_sqrtl.c: Likewise.
20681 * math/w_tgamma.c: Likewise.
20682 * math/w_tgammaf.c: Likewise.
20683 * math/w_tgammal.c: Likewise.
20685 * po/ja.po: Update from translation team.
20687 2011-09-29 Andreas Jaeger <aj@suse.de>
20690 * sunrpc/netname.c (netname2host): Fix logic.
20694 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
20696 * math/w_remainder.c (__remainder): Likewise.
20697 * math/w_remainderf.c (__remainderf): Likewise.
20698 * math/libm-test.inc (remainder_test): Add test cases.
20700 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20702 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
20705 2011-10-07 Ulrich Drepper <drepper@gmail.com>
20707 * string/test-memcmp.c: Avoid unncessary #defines.
20708 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20710 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20712 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
20713 Use new sse2 version for core i3 - i7 as it's faster
20714 than sse42 version.
20715 (bit_Prefer_PMINUB_for_stringop): New.
20716 * sysdeps/x86_64/rawmemchr.S: Update.
20717 Replace with faster SSE2 version.
20718 * sysdeps/x86_64/memrchr.S: New file.
20719 * sysdeps/x86_64/memchr.S: Update.
20720 Replace with faster SSE2 version.
20722 2011-09-12 Marek Polacek <mpolacek@redhat.com>
20724 * elf/dl-load.c (lose): Add cast to avoid warning.
20726 2011-10-07 Ulrich Drepper <drepper@gmail.com>
20728 * po/ca.po: Update from translation team.
20730 * inet/getnetgrent_r.c: Hook up nscd.
20731 * nscd/Makefile (routines): Add nscd_netgroup.
20732 (nscd-modules): Add netgroupcache.
20733 (CFLAGS-netgroupcache.c): Define.
20734 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
20735 (cache_search): Add const to second parameter.
20736 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
20738 (dbs): Add netgrdb entry.
20739 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
20740 (verify_persistent_db): Handle netgrdb.
20741 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
20742 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
20744 (netgroup_response_header): Define.
20745 (innetgroup_response_header): Define.
20746 (datahead): Add netgroup_response_header and innetgroup_response_header
20748 * nscd/nscd.conf: Add entries for netgroup cache.
20749 * nscd/nscd.h (dbtype): Add netgrdb.
20750 (_PATH_NSCD_NETGROUP_DB): Define.
20751 (netgroup_iov_disabled): Declare.
20752 (xmalloc, xcalloc, xrealloc): Move declarations here.
20753 (cache_search): Adjust prototype.
20754 Add netgroup-related prototypes.
20755 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
20756 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
20757 (__nscd_innetgr): Declare.
20758 * nscd/selinux.c (perms): Use access_vector_t as element type and
20759 add netgroup-related initializers.
20760 * nscd/netgroupcache.c: New file.
20761 * nscd/nscd_netgroup.c: New file.
20762 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
20763 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
20764 For four parameters use innetgr.
20765 * nss/nss_files/files-init.c: Add definition and callback for netgr.
20766 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
20767 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
20768 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
20770 * nscd/connections.c (register_traced_file): Don't register file
20771 for disabled databases.
20773 2011-10-06 Ulrich Drepper <drepper@gmail.com>
20775 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
20777 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
20778 from tree and freeing node.
20780 2011-09-25 Jiri Olsa <jolsa@redhat.com>
20782 * nss/nsswitch.c (__nss_database_lookup): Handle
20783 nss_parse_service_list out of memory case.
20785 2011-09-15 Jiri Olsa <jolsa@redhat.com>
20787 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
20788 out of memory case.
20790 2011-10-04 Andreas Schwab <schwab@redhat.com>
20792 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
20793 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
20795 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
20796 elf_machine_rela, elf_machine_lazy_rel.
20797 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
20798 (ELF_DYNAMIC_DO_REL): Likewise.
20799 (ELF_DYNAMIC_DO_RELA): Likewise.
20800 (ELF_DYNAMIC_RELOCATE): Likewise.
20801 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
20802 to ELF_DYNAMIC_DO_REL.
20803 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
20804 (dl_main): In trace mode always set __RTLD_NOIFUNC.
20805 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
20807 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
20808 skip_ifunc, don't call ifunc function if non-zero.
20809 (elf_machine_rela): Likewise.
20810 (elf_machine_lazy_rel): Likewise.
20811 (elf_machine_lazy_rela): Likewise.
20812 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
20813 (elf_machine_lazy_rel): Likewise.
20814 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
20816 (elf_machine_lazy_rel): Likewise.
20817 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20819 (elf_machine_lazy_rel): Likewise.
20820 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
20821 (elf_machine_lazy_rel): Likewise.
20822 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
20823 (elf_machine_lazy_rel): Likewise.
20824 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20825 (elf_machine_lazy_rel): Likewise.
20826 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
20827 (elf_machine_lazy_rel): Likewise.
20828 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
20829 (elf_machine_lazy_rel): Likewise.
20830 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20831 (elf_machine_lazy_rel): Likewise.
20833 2011-09-28 Ulrich Drepper <drepper@gmail.com>
20835 * nss/nss_files/files-init.c (_nss_files_init): Use static
20836 initialization for all the *_traced_file variables.
20838 2011-09-28 Andreas Schwab <schwab@redhat.com>
20840 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20842 2011-09-27 Roland McGrath <roland@hack.frob.com>
20845 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
20847 2011-09-27 Andreas Schwab <schwab@redhat.com>
20849 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20850 Reread the line before reparsing it.
20852 2011-09-26 Andreas Schwab <schwab@redhat.com>
20854 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
20856 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
20857 Maxim Kuvyrkov <maxim@codesourcery.com>
20858 Joseph Myers <joseph@codesourcery.com>
20860 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
20861 if needed for __stack_chk_guard.
20863 2011-09-19 Roland McGrath <roland@hack.frob.com>
20865 * sysdeps/posix/spawni.c (script_execute): Always define it.
20866 It will be optimized away if unused.
20867 (maybe_script_execute): New function.
20868 (__spawni): Call it.
20870 * Makerules: Don't include tls.make.
20871 (config-tls): Always set to thread.
20872 * tls.make.c: File removed.
20874 2011-09-19 Mike Frysinger <vapier@gentoo.org>
20876 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
20877 * config.make.in (CPPFLAGS-config): New substituted variable.
20879 2011-09-15 Ulrich Drepper <drepper@gmail.com>
20881 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
20884 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
20885 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
20887 2011-09-15 Roland McGrath <roland@hack.frob.com>
20889 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
20890 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
20891 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20892 (CALL_FAIL): Likewise.
20893 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
20894 (CALL_FAIL): Macro removed.
20895 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
20897 2011-09-15 Ulrich Drepper <drepper@gmail.com>
20899 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
20900 for __FINITE_MATH_ONLY__ == 1.
20902 2011-09-15 Andreas Schwab <schwab@redhat.com>
20904 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
20905 __ieee754_sqrt instead of sqrt.
20906 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
20907 __ieee754_sqrtf instead of sqrtf.
20908 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
20909 __floorf instead of floorf.
20910 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
20911 __floorf, __truncf instead of floorf, truncf.
20913 2011-09-14 Ulrich Drepper <drepper@gmail.com>
20915 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
20917 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
20918 __extern_always_inline.
20919 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
20922 2011-09-14 Andreas Schwab <schwab@redhat.com>
20924 * elf/rtld.c (dl_main): Also relocate in dependency order when
20925 doing symbol dependency testing.
20927 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
20929 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20930 Always define `refsym'.
20932 2011-09-13 Andreas Schwab <schwab@redhat.com>
20934 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
20935 (__FD_ELT): Renamed from __FDELT.
20936 * misc/bits/select2.h (__FD_ELT): Likewise.
20937 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
20938 __FD_MASK instead of __FDELT, __FDMASK.
20939 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20941 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20944 * elf/Makefile (gen-ldd): Fix pattern.
20946 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
20947 (init_tls): Likewise.
20949 2011-09-12 Ulrich Drepper <drepper@gmail.com>
20951 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
20953 2011-09-12 Andreas Schwab <schwab@redhat.com>
20955 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
20956 `struct cmsghdr *' instead of `void *'.
20957 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
20960 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20962 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
20964 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
20965 ldd_rewrite_script.
20967 2011-09-11 Ulrich Drepper <drepper@gmail.com>
20969 * configure.in: Remove --with-tls option.
20970 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
20971 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
20972 out in case it is missing.
20973 * sysdeps/ia64/elf/configure.in: Likewise.
20974 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
20975 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
20976 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
20977 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
20978 * sysdeps/sh/elf/configure.in: Likewise.
20979 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
20980 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20981 * sysdeps/x86_64/elf/configure.in: Likewise.
20982 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
20983 * sysdeps/mach/hurd/tls.h: Likewise.
20986 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
20989 * configure.in: Fix use of AC_INIT.
20991 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
20993 2011-09-10 Ulrich Drepper <drepper@gmail.com>
20995 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
20997 * malloc/hooks.c: Likewise.
21000 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
21001 variables statically.
21002 (narenas): Initialize.
21003 (list_lock): Initialize.
21004 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
21005 initializtion of main_arena and list_lock. Small cleanups.
21006 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
21007 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
21008 Add initializers to main_arena and mp_.
21009 (malloc_state): Remove pagesize member. Change all users to use
21012 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
21013 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
21014 is always initialized.
21016 * malloc/malloc.c: Removed unused configurations and dead code.
21017 * malloc/arena.c: Likewise.
21018 * malloc/hooks.c: Likewise.
21019 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
21021 * include/tls.h: Removed. USE___THREAD must always be defined.
21022 * bits/libc-tsd.h: Don't handle !USE___THREAD.
21023 * elf/dl-libc.c: Likewise.
21024 * elf/dl-tsd.c: Likewise.
21025 * include/errno.h: Likewise.
21026 * include/netdb.h: Likewise.
21027 * include/resolv.h: Likewise.
21028 * inet/herrno-loc.c: Likewise.
21029 * inet/herrno.c: Likewise.
21030 * malloc/arena.c: Likewise.
21031 * malloc/hooks.c: Likewise.
21032 * malloc/malloc.c: Likewise.
21033 * resolv/res-state.c: Likewise.
21034 * resolv/res_libc.c: Likewise.
21035 * sysdeps/i386/dl-machine.h: Likewise.
21036 * sysdeps/ia64/dl-machine.h: Likewise.
21037 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
21038 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21039 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
21040 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
21041 * sysdeps/sh/dl-machine.h: Likewise.
21042 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21043 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21044 * sysdeps/unix/i386/sysdep.S: Likewise.
21045 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21046 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
21047 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
21048 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21049 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
21050 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21051 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21052 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21053 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21054 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21055 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21056 * sysdeps/x86_64/dl-machine.h: Likewise.
21057 * tls.make.c: Likewise.
21059 * configure.in: Remove --with-__thread option. Make tests for
21060 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
21061 tls_model attribute fail if no support is available. Remove
21063 * Makeconfig: Adjust for dropped configure option. All features are
21065 * Makerules: Likewise.
21066 * Versions.def: Likewise.
21067 * argp/argp-fmtstream.c: Likewise.
21068 * argp/argp-fmtstream.h: Likewise.
21069 * argp/argp-help.c: Likewise.
21070 * assert/assert.c: Likewise.
21071 * config.h.in: Likewise.
21072 * config.make.in: Likewise.
21073 * configure: Likewise.
21074 * configure.in: Likewise.
21075 * csu/Versions: Likewise.
21076 * csu/init.c: Likewise.
21077 * elf/tst-audit2.c: Likewise.
21078 * elf/tst-tls10.c: Likewise.
21079 * elf/tst-tls10.h: Likewise.
21080 * elf/tst-tls11.c: Likewise.
21081 * elf/tst-tls12.c: Likewise.
21082 * elf/tst-tls14.c: Likewise.
21083 * elf/tst-tlsmod11.c: Likewise.
21084 * elf/tst-tlsmod12.c: Likewise.
21085 * elf/tst-tlsmod13.c: Likewise.
21086 * elf/tst-tlsmod13a.c: Likewise.
21087 * elf/tst-tlsmod14a.c: Likewise.
21088 * elf/tst-tlsmod15b.c: Likewise.
21089 * elf/tst-tlsmod16a.c: Likewise.
21090 * elf/tst-tlsmod16b.c: Likewise.
21091 * elf/tst-tlsmod7.c: Likewise.
21092 * elf/tst-tlsmod8.c: Likewise.
21093 * elf/tst-tlsmod9.c: Likewise.
21094 * gmon/gmon.c: Likewise.
21095 * grp/fgetgrent_r.c: Likewise.
21096 * grp/putgrent.c: Likewise.
21097 * hurd/fopenport.c: Likewise.
21098 * include/libc-symbols.h: Likewise.
21099 * include/tls.h: Likewise.
21100 * intl/gettextP.h: Likewise.
21101 * intl/loadinfo.h: Likewise.
21102 * locale/global-locale.c: Likewise.
21103 * locale/localeinfo.h: Likewise.
21104 * mach/devstream.c: Likewise.
21105 * malloc/arena.c: Likewise.
21106 * malloc/set-freeres.c: Likewise.
21107 * misc/err.c: Likewise.
21108 * misc/getttyent.c: Likewise.
21109 * misc/mntent_r.c: Likewise.
21110 * posix/getopt.c: Likewise.
21111 * posix/wordexp.c: Likewise.
21112 * pwd/fgetpwent_r.c: Likewise.
21113 * resolv/Versions: Likewise.
21114 * resolv/res_hconf.c: Likewise.
21115 * shadow/fgetspent_r.c: Likewise.
21116 * shadow/putspent.c: Likewise.
21117 * stdio-common/printf_fphex.c: Likewise.
21118 * stdio-common/tmpfile.c: Likewise.
21119 * stdlib/abort.c: Likewise.
21120 * stdlib/fmtmsg.c: Likewise.
21121 * sunrpc/auth_unix.c: Likewise.
21122 * sunrpc/clnt_perr.c: Likewise.
21123 * sunrpc/clnt_tcp.c: Likewise.
21124 * sunrpc/clnt_udp.c: Likewise.
21125 * sunrpc/clnt_unix.c: Likewise.
21126 * sunrpc/openchild.c: Likewise.
21127 * sunrpc/svc_simple.c: Likewise.
21128 * sunrpc/svc_tcp.c: Likewise.
21129 * sunrpc/svc_udp.c: Likewise.
21130 * sunrpc/svc_unix.c: Likewise.
21131 * sunrpc/xdr.c: Likewise.
21132 * sunrpc/xdr_array.c: Likewise.
21133 * sunrpc/xdr_rec.c: Likewise.
21134 * sunrpc/xdr_ref.c: Likewise.
21135 * sunrpc/xdr_stdio.c: Likewise.
21137 2011-09-09 Ulrich Drepper <drepper@gmail.com>
21139 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21141 2011-07-03 Andreas Jaeger <aj@suse.de>
21143 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
21144 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
21145 regenerate with gen-libm-tests.pl.
21147 2010-05-12 Petr Baudis <pasky@suse.cz>
21150 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
21151 around j0() zero points by switching to j1().
21152 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21153 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21154 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21155 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21157 2011-09-09 Ulrich Drepper <drepper@gmail.com>
21159 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
21161 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
21163 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21164 Patch in part by Pavel Roskin <proski@gnu.org>.
21167 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
21169 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
21170 Free memory block if necessary.
21173 * libio/genops.c (INTDEF): For string streams the _lock pointer can
21174 be NULL. Don't lock in this case.
21176 2011-09-09 Roland McGrath <roland@hack.frob.com>
21178 * elf/elf.h (ELFOSABI_GNU): New macro.
21179 (ELFOSABI_LINUX): Define to that.
21181 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
21183 * string/strncat.c (strncat): Undef the symbol in case it has been
21184 defined in bits/string.h.
21186 2011-09-09 Ulrich Drepper <drepper@gmail.com>
21188 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
21190 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
21193 2011-08-17 Andreas Jaeger <aj@suse.de>
21195 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
21197 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21198 Ian Lance Taylor <iant@google.com>
21200 * math/libm-test.inc (lround_test): New testcase.
21201 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
21203 2011-09-08 Ulrich Drepper <drepper@gmail.com>
21205 * Makefile: Remove support for automatic cvs check-ins.
21206 * Makerules: Likewise.
21207 * config.make.in: Likewise.
21208 * configure.in: Likewise.
21209 * intl/Makefile: Likewise.
21210 * locale/Makefile: Likewise.
21211 * po/Makefile: Likewise.
21212 * posix/Makefile: Likewise.
21213 * sysdeps/gnu/Makefile: Likewise.
21214 * sysdeps/mach/hurd/Makefile: Likewise.
21215 * sysdeps/sparc/sparc32/Makefile: Likewise.
21218 * posix/Makefile (bug-regex32-ENV): Define.
21219 Patch by John Stanley <jpsinthemix@verizon.net>.
21221 * misc/Makefile (headers): Add bits/select2.h.
21222 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
21223 * misc/bits/select2.h: New file.
21224 * include/bits/select2.h: New file.
21225 * debug/Makefile (routines): Add fdelt_chk.
21226 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
21227 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
21229 * debug/fdelt_chk.c: New file.
21231 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
21232 * wcsmbs/test-wmemcmp.c: Likewise.
21233 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
21234 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
21236 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21238 * string/Makefile (strop-tests): Add memcmp.
21239 * string/test-wmemcmp.c: New file.
21240 * string/test-memcmp.c: Add wmemcmp support.
21242 2011-09-08 Roland McGrath <roland@hack.frob.com>
21245 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
21248 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
21249 garbage value in a __mach_port_mod_refs call in the cases of the
21250 task-self and thread-self ports.
21252 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21254 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
21256 2011-09-08 Andreas Schwab <schwab@redhat.com>
21258 * elf/dl-load.c (lose): Check for non-null L.
21260 2011-09-07 Ulrich Drepper <drepper@gmail.com>
21262 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
21264 * elf/dl-libc.c (dlerror_run): Pass back error code from
21268 * elf/dl-load.c (lose): Free l_origin if it is valid.
21270 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
21272 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
21273 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21274 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21275 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21276 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
21277 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
21279 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21281 * sysdeps/powerpc/fpu/e_hypot.c: New file.
21282 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
21283 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
21284 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
21285 * sysdeps/powerpc/fpu/k_cosf.c: New file.
21286 * sysdeps/powerpc/fpu/k_sinf.c: New file.
21287 * sysdeps/powerpc/fpu/s_cosf.c: New file.
21288 * sysdeps/powerpc/fpu/s_sinf.c: New file.
21289 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
21290 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
21292 2011-08-15 Alan Modra <amodra@gmail.com>
21295 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
21296 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
21297 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
21298 ppc_mcount to static-only-routines.
21299 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
21301 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
21302 __mcount_internal with usual JUMPTARGET. Remove useless nop.
21304 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
21306 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
21307 for finite and infinity parameters.
21309 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21311 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
21312 and add nop instructions for throughput optimization.
21313 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21315 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
21317 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
21318 aligned copy for power7 with vector-scalar instructions.
21319 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21321 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
21323 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
21326 2011-09-07 Andreas Schwab <schwab@redhat.com>
21329 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
21332 2011-09-07 Ulrich Drepper <drepper@gmail.com>
21334 * sysdeps/unix/sysv/linux/x86_64/init-first.c
21335 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
21336 syscall wrapper around clock_gettime in __vdso_clock_gettime.
21337 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
21340 2011-09-06 Ulrich Drepper <drepper@gmail.com>
21342 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
21343 Forgot to demangle the pointer.
21345 * sysdeps/i386/sysdep.h: Define atom_text_section.
21346 * sysdeps/x86_64/sysdep.h: Likewise.
21347 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
21348 section with atom_text_section.
21349 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21350 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21351 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
21352 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21353 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
21355 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
21356 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
21357 already be defined. Change to take two parameters and don't assign
21358 result to variable. Adjust all users.
21359 Define INTERNAL_GETTIME if not already defined.
21360 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
21362 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
21363 HAVE_CLOCK_GETTIME_VSYSCALL.
21364 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
21366 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
21367 gettimeofday vsyscall, just use time.
21369 2011-09-06 Andreas Schwab <schwab@redhat.com>
21371 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
21374 2011-09-06 Ulrich Drepper <drepper@gmail.com>
21376 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
21378 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
21380 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
21381 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
21382 syscall if possible.
21384 2011-09-05 Ulrich Drepper <drepper@gmail.com>
21386 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
21387 e_ident. Don't pass to find_mapsXX.
21388 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
21390 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21392 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21393 strchr-sse2-no-bsf strrchr-sse2-no-bsf
21394 * sysdeps/x86_64/multiarch/strchr.S: Update.
21395 Check bit_slow_BSF bit.
21396 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21397 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
21398 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
21400 2011-09-05 Ulrich Drepper <drepper@gmail.com>
21403 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
21405 (tryshell): Define.
21406 (__spawni): Change last parameter to be flag. Test
21407 SPAWN_XFLAGS_USE_PATH flag to use path or not.
21408 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
21409 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
21410 * posix/spawni.c: Likewise.
21411 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
21412 * posix/spawnp.c: Likewise. Change normal version to use
21413 SPAWN_XFLAGS_USE_PATH.
21414 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
21415 SPAWN_XFLAGS_TRY_SHELL.
21418 * posix/glob.h: Remove gcc 1.x support.
21421 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
21423 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21425 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21426 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
21428 * sysdeps/i386/i686/multiarch/strchr.S: New file.
21429 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
21430 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
21431 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
21432 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
21433 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
21435 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21437 * sysdeps/x86_64/wcscmp.S: New file.
21439 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
21440 wcscmp-c wcscmp-sse2
21441 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
21442 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
21443 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
21444 * wcsmbs/wcscmp.c: Allow renaming.
21446 2011-09-05 David S. Miller <davem@davemloft.net>
21448 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
21449 stack slot, rather than the struct return pointer slot.
21450 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
21451 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
21452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
21453 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
21455 2011-09-05 Ulrich Drepper <drepper@gmail.com>
21457 * po/ja.po: Update from translation team.
21460 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
21461 kernel in 64-bit binaries.
21463 2011-09-01 David S. Miller <davem@davemloft.net>
21465 * elf/elf.h (HWCAP_SPARC_*): Move to..
21466 * sysdeps/sparc/sysdep.h: this new file and add new values.
21467 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
21468 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
21469 _DL_HWCAP_COUNT to 24.
21470 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21472 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
21473 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
21474 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
21475 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
21476 instead of magic constants.
21477 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21479 2011-08-31 David S. Miller <davem@davemloft.net>
21481 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
21482 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
21483 Reimplement to do errno handling inline.
21484 (SYSCALL_ERROR_HANDLER): New macro.
21485 (__SYSCALL_STRING): Do not do errno handling in asm.
21486 (__CLONE_SYSCALL_STRING): Delete.
21487 (__INTERNAL_SYSCALL_STRING): Delete.
21488 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
21489 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
21490 (PSEUDO): Reimplement to do errno handling inline.
21491 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
21492 (SYSCALL_ERROR_HANDLER): New macro.
21493 (__SYSCALL_STRING): Do not do errno handling in asm.
21494 (__CLONE_SYSCALL_STRING): Delete.
21495 (__INTERNAL_SYSCALL_STRING): Delete.
21496 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
21497 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
21499 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
21500 (inline_syscall*): Add 'err' argument.
21501 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
21502 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
21503 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
21504 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
21506 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
21507 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21509 2011-08-30 Andreas Schwab <schwab@redhat.com>
21511 * elf/rtld.c (dl_main): Relocate objects in dependency order.
21513 2011-08-29 Jiri Olsa <jolsa@redhat.com>
21515 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
21518 2011-08-24 David S. Miller <davem@davemloft.net>
21520 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
21522 2011-08-24 Andreas Schwab <schwab@redhat.com>
21524 * elf/Makefile: Add rules to build and run unload8 test.
21525 * elf/unload8.c: New file.
21526 * elf/unload8mod1.c: New file.
21527 * elf/unload8mod1x.c: New file.
21528 * elf/unload8mod2.c: New file.
21529 * elf/unload8mod3.c: New file.
21531 * elf/dl-close.c (_dl_close_worker): Reset private search list if
21534 2011-08-23 David S. Miller <davem@davemloft.net>
21536 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
21537 subtract stack bias.
21538 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
21539 %sp not %fp in calculations.
21540 (_JMPBUF_UNWINDS_ADJ): Likewise.
21542 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
21543 (aio_suspend): Call it to force an exception region around the
21544 AIO_MISC_WAIT() invocation.
21546 2011-08-23 Andreas Schwab <schwab@redhat.com>
21548 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
21551 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
21553 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
21555 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
21556 and <dl-machine.h>.
21557 (Elf64_FuncDesc): Remove.
21559 2011-08-22 David S. Miller <davem@davemloft.net>
21561 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
21562 sigaltstack check, add missing cfi directives.
21563 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
21564 missing cfi directives, and sigaltstack handling.
21566 2011-08-16 Andreas Schwab <schwab@redhat.com>
21569 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
21570 object is seen twice.
21571 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21573 * elf/Makefile (distribute): Add tst-initorder2.c.
21574 (tests): Add tst-initorder2.
21575 (modules-names): Add tst-initorder2a tst-initorder2b
21576 tst-initorder2c tst-initorder2d. Add rules to build them.
21577 ($(objpfx)tst-initorder2.out): New rule.
21578 * elf/tst-initorder2.c: New file.
21579 * elf/tst-initorder2.exp: New file.
21581 2011-08-22 Andreas Schwab <schwab@redhat.com>
21583 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
21585 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
21586 dependencies back to end of function.
21588 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
21589 $(elfobjdir)/ld.so.
21591 2011-08-21 Ulrich Drepper <drepper@gmail.com>
21593 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
21594 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
21595 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
21596 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
21597 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
21598 of __vdso_gettimeofday.
21599 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
21600 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
21602 (_libc_vdso_platform_setup): Remove initialization of
21603 __vdso_gettimeofday and __vdso_time.
21605 2011-08-20 Ulrich Drepper <drepper@gmail.com>
21607 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
21608 and fgetc_unlocked.
21609 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
21612 * elf/dl-open.c (add_to_global): Report additions to the global scope
21613 for LD_DEBUG=scopes.
21614 (dl_open_worker): Also print scope of newly loaded dependencies.
21615 (_dl_show_scope): Indicate if there is no scope.
21618 * stdio-common/Makefile (tests): Add bug24.
21619 * stdio-common/bug24.c: New file.
21621 2011-08-19 Andreas Jaeger <aj@suse.de>
21624 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
21625 non-existant file when using close-on-exec mode.
21627 2011-08-20 Ulrich Drepper <drepper@gmail.com>
21629 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
21630 the very first instruction.
21632 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
21633 the CFI state in the end.
21634 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
21635 inclusion of dl-trampoline.h.
21636 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
21638 2011-08-19 Andreas Schwab <schwab@redhat.com>
21640 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
21641 expectations for long double.
21643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
21644 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
21646 2011-08-14 David S. Miller <davem@davemloft.net>
21648 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
21649 artificual limit depends upon the system page size.
21651 2011-08-17 Ulrich Drepper <drepper@gmail.com>
21653 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
21654 * resolv/Makefile: Define CFLAGS-libresolv.
21656 2011-08-17 Andreas Schwab <schwab@redhat.com>
21658 * nss/makedb.c (compute_tables): Make variables used in nested
21661 2011-08-17 Ulrich Drepper <drepper@gmail.com>
21663 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
21664 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
21665 if buffer was too small.
21667 * elf/pldd.c (main): Attach to all threads in the process.
21668 Rewrite /proc handling to use *at functions.
21670 2011-08-16 Ulrich Drepper <drepper@gmail.com>
21672 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
21673 specifies first scope to show.
21674 (dl_open_worker): Update callers. Move printing scope of new
21675 object to before the relocation.
21676 * elf/rtld.c (dl_main): Update _dl_show_scope call.
21677 * sysdeps/generic/ldsodefs.h: Update declaration.
21679 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
21680 string for the scope number.
21682 2011-08-14 Ulrich Drepper <drepper@gmail.com>
21684 * nscd/servicescache.c (cache_addserv): Make sure written is always
21687 2011-08-14 Roland McGrath <roland@hack.frob.com>
21689 * sysdeps/i386/i486/bits/atomic.h
21690 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
21691 statement expression, so as to suppress "set but not used" warning.
21692 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
21694 * string/strncat.c (STRNCAT): Use prototype definition.
21696 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
21697 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
21699 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
21700 (localedef-modules): Add localedef.
21701 (locale-modules): Add locale.
21703 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
21704 * elf/rtld.c (dl_main): Invert order of assignment in last change,
21705 to avoid a warning.
21707 2011-08-14 David S. Miller <davem@davemloft.net>
21709 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
21710 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
21712 2011-08-13 Ulrich Drepper <drepper@gmail.com>
21714 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
21715 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
21716 * elf/rtld.c (dl_main): Set l_name of vDSO.
21717 Call _dl_show_scope when DL_DEBUG_SCOPES.
21718 (process_dl_debug): Recognize scopes flag and also set it for all.
21719 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
21720 Declare _dl_show_scope.
21722 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
21723 (do_dlopen): Pass caller_dlopen to dl_open.
21724 (__libc_dlopen_mode): Initialize caller_dlopen.
21726 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
21727 of libc. Make tolower call locale-independent. Optimize a bit by
21728 using isdigit instead of isalnum.
21729 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
21731 2011-08-12 Ulrich Drepper <drepper@gmail.com>
21733 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
21734 was a dependency or dynamically loaded.
21736 2011-08-11 Ulrich Drepper <drepper@gmail.com>
21738 * intl/l10nflist.c: Allow architecture-specific pop function.
21739 * sysdeps/x86_64/l10nflist.c: New file.
21741 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
21744 2011-08-10 Andreas Schwab <schwab@redhat.com>
21746 * include/dirent.h: Add libc_hidden_proto for scandirat and
21747 scandirat64. Don't declare __scandirat64.
21748 * dirent/scandirat.c: Add libc_hidden_def.
21749 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
21750 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
21752 2011-08-10 David S. Miller <davem@davemloft.net>
21754 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
21756 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21757 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21758 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21760 2011-08-09 Ulrich Drepper <drepper@gmail.com>
21762 * Versions.def [libc]: Add GLIBC_2.15.
21763 * dirent/Makefile (routines): Add scandirat and scandirat64.
21764 * dirent/Versions [libc]: Export scandirat and scandirat64 for
21766 * dirent/dirent.h: Declare scandirat and scandirat64.
21767 * dirent/scandirat.c: New file.
21768 * dirent/scandirat64.c: New file.
21769 * sysdeps/wordsize-64/scandirat.c: New file.
21770 * sysdeps/wordsize-64/scandirat64.c: New file.
21771 * dirent/opendir.c: Define opendirat.
21772 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
21774 * dirent/scandir64.c: Adjust for scandir.c change.
21775 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
21776 __scandirat64, and __scandir_cancel_handler.
21777 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
21778 additional parameter and use openat instead of open (outside of ld.so).
21779 Add new __opendir as wrapper around __opendirat.
21780 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
21781 here without requiring old scandirat implementation.
21783 2011-08-08 Ulrich Drepper <drepper@gmail.com>
21785 * dirent/scandir.c (cancel_handler): Renamed to
21786 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
21787 defined. Adjust users.
21788 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
21789 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
21791 2011-08-04 Ulrich Drepper <drepper@gmail.com>
21793 * string/test-string.h (IMPL): Use __STRING to expand name and then
21796 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
21799 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21801 * string/Makefile: Update.
21802 (strop-tests): Append strncat.
21803 * string/test-wcscmp.c: New file.
21804 New comprehensive test for wcscmp.
21805 * string/test-strcmp.c: Update.
21806 (WIDE): New define.
21808 2011-07-22 Andreas Schwab <schwab@redhat.com>
21810 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
21813 2011-07-26 Andreas Schwab <schwab@redhat.com>
21815 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21816 encoding to ACE if AI_IDN.
21818 2011-08-01 Jakub Jelinek <jakub@redhat.com>
21820 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
21821 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
21823 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21825 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
21826 Fix overflow bug in strncat.
21827 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
21829 * string/test-strncat.c: Update.
21830 Add new tests for checking overflow bugs.
21832 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21834 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21835 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
21836 * sysdeps/i386/i686/multiarch/strcat.S: New file.
21837 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
21838 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
21839 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
21840 * sysdeps/i386/i686/multiarch/strncat.S: New file.
21841 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
21842 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
21844 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
21845 (USE_AS_STRCAT): Define.
21846 Add strcat and strncat support.
21847 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21849 2011-07-25 Andreas Schwab <schwab@redhat.com>
21851 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
21852 __n bigger than INT_MAX+1.
21853 (__strncmp_g): Likewise.
21855 2011-07-23 Ulrich Drepper <drepper@gmail.com>
21857 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
21858 * libio/stido.h: Likewise.
21860 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
21862 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
21865 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
21866 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21867 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21868 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21869 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21872 * scripts/test-installation.pl: Don't expect libnss_test1 to be
21875 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
21877 (_dl_x86_64_save_sse): Likewise.
21879 2011-07-22 Ulrich Drepper <drepper@gmail.com>
21881 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
21883 (_dl_x86_64_save_sse): Likewise.
21885 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
21887 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
21889 2011-07-21 Andreas Schwab <schwab@redhat.com>
21891 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
21893 (_dl_x86_64_save_sse): Use correct AVX check.
21895 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21897 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
21898 bug in strncpy/strncat.
21899 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
21901 2011-07-21 Ulrich Drepper <drepper@gmail.com>
21903 * string/tester.c (test_strcat): Add tests for different alignments
21904 of source and destination.
21905 (test_strncat): Likewise.
21907 2011-07-20 Ulrich Drepper <drepper@gmail.com>
21910 * posix/glob.c (glob): Check passed in values before using them in
21911 expressions to avoid some overflows.
21912 (glob_in_dir): Likewise.
21915 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
21916 check for AVX enablement so that we don't crash with old kernels and
21918 * elf/tst-audit4.c: Add same checks here.
21919 * elf/tst-audit6.c: Likewise.
21921 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
21923 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
21925 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
21927 2011-07-20 Ulrich Drepper <drepper@gmail.com>
21929 * po/cs.po: Update from translation team.
21930 * po/bg.po: Likewise.
21932 2011-07-12 Marek Polacek <mpolacek@redhat.com>
21934 * misc/sys/cdefs.h: Add support for const attribute.
21935 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
21936 to gnu_dev_{major,minor,makedev} functions.
21938 2011-07-20 Marek Polacek <mpolacek@redhat.com>
21940 * intl/dcigettext.c (get_output_charset): Add missing bracket.
21942 2011-07-20 Andreas Schwab <schwab@redhat.com>
21944 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
21947 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21949 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
21950 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
21951 register in order to avoid conflicts with the soft frame pointer
21952 being held in r11 when necessary.
21953 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21954 (INTERNAL_VSYSCALL_NCS): Likewise.
21956 2011-07-14 Marek Polacek <mpolacek@redhat.com>
21958 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
21959 * elf/dl-fini.c (_dl_fini): Adjust caller.
21960 * elf/dl-close.c (_dl_close_worker): Likewise.
21961 * sysdeps/generic/ldsodefs.h: Adjust declaration.
21963 2011-07-15 Marek Polacek <mpolacek@redhat.com>
21965 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
21966 "aux_cache->nlibs < 0".
21968 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
21969 in the reload-count case.
21971 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21973 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21974 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
21975 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
21976 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
21977 * sysdeps/x86_64/multiarch/strcat.S: New file.
21978 * sysdeps/x86_64/multiarch/strncat.S: New file.
21979 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
21980 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
21981 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
21982 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
21983 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
21984 (USE_AS_STRCAT): Define.
21985 Add strcat and strncat support.
21986 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21987 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21988 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
21989 * string/strncat.c: Update.
21990 (USE_AS_STRNCAT): Define.
21991 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21992 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
21994 * sysdeps/x86_64/multiarch/init-arch.h
21995 (bit_Prefer_PMINUB_for_stringop): New.
21996 (index_Prefer_PMINUB_for_stringop): Likewise.
21997 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
21998 bit_Prefer_PMINUB_for_stringop.
22000 2011-07-19 Ulrich Drepper <drepper@gmail.com>
22002 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
22004 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
22005 of casting of buffer.
22006 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
22007 buffer32 and buffer64.
22008 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
22009 writes instead of casting of buffer.
22010 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
22012 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
22015 2011-07-19 Andreas Schwab <schwab@redhat.com>
22017 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
22019 2011-07-19 Ulrich Drepper <drepper@gmail.com>
22021 * nscd/nscd.c (termination_handler): Don't do anything for a database
22022 if it has not yet been initialized.
22024 2011-07-18 Ulrich Drepper <drepper@gmail.com>
22026 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22028 2011-07-15 Marek Polacek <mpolacek@redhat.com>
22030 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22032 2011-07-18 Ulrich Drepper <drepper@gmail.com>
22034 * po/nl.po: Update from translation team.
22035 * po/sv.po: Likewise.
22037 2011-07-16 Roland McGrath <roland@hack.frob.com>
22039 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
22040 now disallowed by GCC.
22042 * configure.in (use-default-link): Default to yes if a test -shared
22043 link meets our qualifications.
22044 * configure: Regenerated.
22046 * config.make.in (output-format): New variable.
22047 * configure.in: Check for ld --print-output-format support.
22048 * configure: Regenerated.
22049 * Makerules ($(common-objpfx)format.lds)
22050 [$(output-format) != unknown]: Just use $(output-format),
22051 instead of the linker-script munging.
22053 2011-07-14 Roland McGrath <roland@hack.frob.com>
22055 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
22056 of $(common-objpfx)shlib.lds.
22057 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
22059 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
22060 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
22062 * configure.in (-z relro check): Adjust test code to add a large
22063 writable data section after it.
22064 * configure: Regenerated.
22066 2011-07-11 Roland McGrath <roland@hack.frob.com>
22068 * configure.in (-z relro check): Fix test code to make the variable
22070 * configure: Regenerated.
22072 2011-07-11 Ulrich Drepper <drepper@gmail.com>
22074 * nscd/nscd.h (struct traced_file): Define.
22075 (struct database_dyn): Remove inotify_descr, reset_res, and filename
22076 elements. Add traced_files.
22077 (inotify_fd): Declare.
22078 (register_traced_file): Declare.
22079 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
22080 (inotify_fd): Export.
22081 (resolv_conf_descr): Remove.
22082 (nscd_init): Move inotify descriptor creation to main.
22083 Don't register files for notification here.
22084 (register_traced_file): New function.
22085 (invalidate_cache): Don't use reset_res to determine whether to call
22086 res_init, go through the list of registered files.
22087 (main_loop_poll): The inotify descriptors are now stored in the
22088 structures for the traced files.
22089 (main_loop_epoll): Likewise
22090 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
22091 to __nss_disable_nscd.
22092 * nscd/cache.c (prune_cache): There is no single inotify descriptor
22093 for a database anymore. Check the records for all the registered
22095 * nss/Makefile (libnss_files-routines): Add files-init.
22096 (libnss_db-routines): Add db-init.
22097 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
22098 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
22099 * nss/nss_db/db-init.c: New file.
22100 * nss/nss_files/files-init.c: New file.
22101 * nss/nsswitch.c (nss_load_library): New function. Broken out of
22102 __nss_lookup_function.
22103 (__nss_lookup_function): Call nss_load_library.
22104 (nss_load_all_libraries): New function.
22105 (__nss_disable_nscd): Take parameter with callback function for files
22106 to register. Set is_nscd. Load all the DSOs for the NSS modules
22107 used for the cached services.
22108 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
22109 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
22110 options for features to all the files in nscd.
22112 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
22114 2011-07-10 Roland McGrath <roland@hack.frob.com>
22116 * csu/elf-init.c (__libc_csu_init): Comment typo.
22118 2011-07-09 Ulrich Drepper <drepper@gmail.com>
22120 * po/pl.po: Update from translation team.
22121 * po/ja.po: Likewise.
22122 * po/ru.po: Likewise.
22123 * po/ko.po: Likewise.
22124 * po/fr.po: Likewise.
22126 2011-07-09 Roland McGrath <roland@hack.frob.com>
22128 * configure.in (.ctors/.dtors header and trailer check):
22129 Use an empirical test on a built program.
22130 * configure: Regenerated.
22132 * configure.in (-z relro check): Use an empirical test on a built DSO.
22133 Detect, but do not require, on ia64.
22134 * configure: Regenerated.
22136 * configure.in (READELF): Find it with AC_CHECK_TOOL.
22137 Update tests that use readelf to use $READELF instead.
22138 * configure: Regenerated.
22140 2011-07-08 Ulrich Drepper <drepper@gmail.com>
22142 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
22143 if the result is not used.
22145 2011-07-05 Andreas Jaeger <aj@suse.de>
22148 * stdlib/tst-strtod.c: Add testcase.
22150 2011-07-07 Ulrich Drepper <drepper@gmail.com>
22152 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
22153 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
22154 The latter has a higher limit. Take additional parameter to pass to
22156 (__pathconf): Pass file to __statfs_link_max.
22157 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
22159 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
22163 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
22164 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22166 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
22167 (__statfs_filesize_max): Likewise.
22168 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
22170 2011-07-05 Andreas Jaeger <aj@suse.de>
22172 * resolv/res_comp.c (dn_skipname): Remove unused variable.
22174 2011-07-06 Marek Polacek <mpolacek@redhat.com>
22176 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
22178 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
22181 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
22183 * Makefile (strop-tests): Add strncat.
22184 * string/test-strncat.c: New file.
22186 2011-06-30 Marek Polacek <mpolacek@redhat.com>
22188 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
22190 2011-06-21 Andreas Jaeger <aj@suse.de>
22192 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
22193 Copy rule from iconvdata/Makefile.
22195 2011-07-06 Ulrich Drepper <drepper@gmail.com>
22198 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
22199 but no long options are defined, just return 'W'.
22201 2011-06-22 Marek Polacek <mpolacek@redhat.com>
22204 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
22206 2011-07-06 Ulrich Drepper <drepper@gmail.com>
22208 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
22210 (innetgr): Likewise.
22212 2011-07-05 Roland McGrath <roland@hack.frob.com>
22214 * config.make.in (install_root): Default to $(DESTDIR).
22216 2011-07-05 Ulrich Drepper <drepper@gmail.com>
22218 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
22220 2011-07-02 Roland McGrath <roland@hack.frob.com>
22222 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
22224 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
22225 containing directory rather than embedding absolute directory names.
22227 * scripts/check-local-headers.sh: Rewritten using awk.
22228 Match by word, not by line. Print error messages for matches.
22229 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
22231 * Makerules [shlib-lds-flags empty]:
22232 ($(common-objpfx)libc_pic.opts): New target.
22233 ($(common-objpfx)libc_pic.os.clean): New target.
22234 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
22236 * config.make.in (OBJCOPY): New variable.
22237 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
22238 * configure: Regenerated.
22240 * config.make.in (use-default-link): New variable.
22241 * configure.in (use_default_link): Grok --with-default-link to set it.
22242 * configure: Regenerated.
22243 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
22244 (shlib-lds, shlib-lds-flags): Define to empty.
22246 * Makerules (shlib-lds): New variable.
22247 (shlib-lds-flags): New variable.
22248 (build-shlib, build-moduile, build-module-asneeded): Use it.
22249 ($(common-objpfx)libc.so): Use $(shlib-lds).
22250 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
22251 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
22253 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
22254 DT_FLAGS/DT_FLAGS_1 with zero flags.
22256 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
22257 linker script munging.
22259 2011-07-02 Ulrich Drepper <drepper@gmail.com>
22261 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
22263 * crypt/sha512.c (sha512_process_block): Perform total addition using
22264 128-bit if possible.
22265 (__sha512_finish_ctx): Likewise.
22266 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
22268 * crypt/sha256.c (SWAP64): Define.
22269 (sha256_process_block): Perform total addition using 64-bit if
22271 (__sha256_finish_ctx): Likewise.
22273 2011-07-01 Ulrich Drepper <drepper@gmail.com>
22275 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
22276 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22277 * nscd/hstcache.c (cache_addhst): Likewise.
22278 * nscd/grpcache.c (cache_addgr): Likewise.
22279 * nscd/aicache.c (addhstaiX): Likewise
22280 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
22282 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
22284 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
22285 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22286 * nscd/hstcache.c (cache_addhst): Likewise.
22287 * nscd/grpcache.c (cache_addgr): Likewise.
22288 * nscd/aicache.c (addhstaiX): Likewise
22290 2011-07-01 Andreas Schwab <schwab@redhat.com>
22292 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
22293 domain only when needed.
22295 2011-06-30 Andreas Schwab <schwab@redhat.com>
22297 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
22298 is always restored.
22300 2011-06-29 Ulrich Drepper <drepper@gmail.com>
22302 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
22303 are re-adding the entry.
22304 * nscd/servicescache.c (cache_addserv): Likewise.
22306 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
22308 * sysdeps/generic/dl-irel.h: fix protection against multiple
22310 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
22312 2011-06-28 Ulrich Drepper <drepper@gmail.com>
22315 * malloc/memusage.sh: Fix quoting in message.
22316 * debug/xtrace.sh: Likewise.
22318 * configure.in: Remove support for --experimental-malloc option, make
22320 * config.make.in: Likewise.
22321 * malloc/Makefile: Likewise.
22323 2011-06-27 Andreas Schwab <schwab@redhat.com>
22325 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
22326 two-byte characters.
22328 2011-06-27 Roland McGrath <roland@hack.frob.com>
22330 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
22331 AC_CACHE_CHECK invocation.
22332 * configure: Regenerated.
22334 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
22336 2011-06-27 Ulrich Drepper <drepper@gmail.com>
22339 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
22340 bit from old_res_options.
22342 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
22344 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
22345 value type for setfct.
22347 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
22349 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22350 __gettimeofday instead of gettimeofday.
22352 2011-06-26 Ulrich Drepper <drepper@gmail.com>
22354 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
22356 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
22358 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
22360 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
22363 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
22365 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22366 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
22367 strcpy-sse2-unaligned strncpy-sse2-unaligned
22368 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
22369 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
22370 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
22371 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
22372 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
22373 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
22374 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
22375 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
22376 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
22377 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
22378 (STRCPY): Support SSE2 and SSSE3 versions.
22380 2011-06-24 Ulrich Drepper <drepper@gmail.com>
22383 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
22384 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
22385 kernels which artificially limit size of requests.
22387 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
22389 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22390 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
22391 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
22392 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
22393 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
22394 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
22395 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
22396 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
22397 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
22398 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
22399 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
22400 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
22401 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
22402 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
22403 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
22404 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22405 Enable unaligned load optimization for Intel Core i3, i5 and i7
22407 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
22409 (index_Fast_Unaligned_Load): Define.
22410 (HAS_FAST_UNALIGNED_LOAD): Define.
22412 2011-06-23 Marek Polacek <mpolacek@redhat.com>
22414 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
22416 2011-06-22 Ulrich Drepper <drepper@gmail.com>
22419 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
22420 until it is clear that the information is realy needed.
22421 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
22423 2011-06-22 Andreas Schwab <schwab@redhat.com>
22425 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
22427 2011-06-22 Ulrich Drepper <drepper@gmail.com>
22429 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22430 /sys/devices/system/cpu/online if it is usable.
22432 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
22433 reading the information from the /proc filesystem to once a second.
22435 2011-06-21 Andreas Jaeger <aj@suse.de>
22437 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
22438 NULL after inclusion of kernel headers.
22440 2011-06-21 Ulrich Drepper <drepper@gmail.com>
22442 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
22443 calls to internal_setent.
22446 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
22447 addresses using gethostbyname4_r ignore IPv4 addresses.
22449 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
22450 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
22452 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
22454 2011-06-20 David S. Miller <davem@davemloft.net>
22456 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
22458 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
22460 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
22461 (elf_irel): Use it.
22462 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
22463 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
22464 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
22465 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
22466 * sysdeps/x86_64/dl-irel.h: Likewise.
22468 * elf/dl-runtime.c: Use elf_ifunc_invoke.
22469 * elf/dl-sym.c: Likewise.
22471 2011-06-15 Ulrich Drepper <drepper@gmail.com>
22473 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
22474 need to dereference resplen2.
22476 2011-06-14 Andreas Schwab <schwab@redhat.com>
22478 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
22480 2011-06-15 Ulrich Drepper <drepper@gmail.com>
22482 * Makeconfig: Define vardbdir and inst_vardbdir.
22483 * nss/Makefile: Add rules to install db-Makefile.
22485 * nss/nss_db/db-XXX.c: Cleanup.
22487 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
22488 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
22490 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
22491 * nss/makedb.c: Implement -g option to specify that value strings
22492 are generated and should not be added to table iterated over for
22494 * nss/nss_db/db-initgroups.c: New file.
22496 * nss/getent.c: Add support for initgroups lookups through getgrouplist
22499 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
22500 (internal_getgrouplist): Adjust to name change.
22501 Update use_initgroups_entry if this is not the first call.
22502 * nss/databases.def: Add initgroups entry.
22504 * nss/makedb.c (compute_tables): Check result of multiple hash table
22505 sizes to minimize maximum chain length.
22507 2011-06-14 Ulrich Drepper <drepper@gmail.com>
22509 * Versions.def: Add entry for libnss_db.
22510 * shlib-versions: Likewise.
22511 * nss/Makefile: Add rules to build libnss_db.
22512 * nss/Versions: Add libnss_db information. Organize libnss_files
22514 * nss/db-Makefile: Add gshadow support. Change rules for the new
22515 makedb progra. Some minor improvements to generate smaller files.
22516 * nss/nss_db/nss_db.h: Move NSS database header data structures to
22518 * nss/makedb.c: ...here.
22519 Improve database format to be smaller and require less memory at
22521 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
22523 * nss/nss_db/db-netgrp.c: Likewise.
22524 * nss/nss_db/db-open.c: Likewise.
22525 * nss/nss_files/flies-XXX.x: Adjust comments.
22526 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
22527 * nss/nss_files/files-grp.c: Likewise.
22528 * nss/nss_files/files-hosts.c: Likewise.
22529 * nss/nss_files/files-network.c: Likewise.
22530 * nss/nss_files/files-proto.c: Likewise.
22531 * nss/nss_files/files-pwd.c: Likewise.
22532 * nss/nss_files/files-rpc.c: Likewise.
22533 * nss/nss_files/files-service.c: Likewise.
22534 * nss/nss_files/files-sgrp.c: Likewise.
22535 * nss/nss_files/files-spwd.c: Likewise.
22536 * nss/nss_db/db-alias.c: Removed.
22537 * nss/nss_db/dummy-db.h: Removed.
22539 2011-06-02 Ulrich Drepper <drepper@gmail.com>
22541 * nss/makedb.c: Rewritten to not use database library.
22542 * nss/Makefile: Update to build new makedb program.
22544 2011-06-14 Andreas Jaeger <aj@suse.de>
22546 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
22547 memset declaration.
22549 2011-06-10 Andreas Schwab <schwab@redhat.com>
22551 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
22554 2011-06-10 Roland McGrath <roland@hack.frob.com>
22556 * Makerules (shlib.lds): Fail if the linker script comes out empty.
22557 * elf/Makefile ($(objpfx)ld.so): Likewise.
22559 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
22560 Don't list ld.so twice in dependencies.
22562 * posix/bug-regex31.c: Include <stdlib.h>.
22564 * nscd/hstcache.c (cache_addhst): Remove unused variable.
22566 * nis/nss_compat/compat-spwd.c
22567 (getspent_next_nss_netgr): Remove unused variable.
22568 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
22570 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
22571 nonmembers" output to use the right array.
22573 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
22575 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
22577 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
22578 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
22579 * catgets/gencat.c (read_input_file): Likewise.
22580 * locale/programs/locarchive.c (enlarge_archive): Likewise.
22582 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
22583 variable definition inside #if's controlling its use.
22585 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
22587 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
22589 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
22591 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
22594 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
22596 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
22597 * configure: Regenerated.
22599 * Makerules: Revert last change.
22600 * elf/Makefile: Likewise.
22602 2011-06-09 Roland McGrath <roland@hack.frob.com>
22604 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
22605 * elf/Makefile ($(objpfx)librtld.os): Likewise.
22606 (reloc-link): Likewise.
22608 2011-06-09 Ulrich Drepper <drepper@gmail.com>
22610 * elf/Makefile: Add rules to build pldd.
22611 * elf/pldd.c: New file.
22612 * elf/pldd-xx.c: New file.
22614 2011-06-07 Ulrich Drepper <drepper@gmail.com>
22616 * version.h: Update for 2.15 development version.
22618 2011-06-07 David S. Miller <davem@davemloft.net>
22620 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
22622 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
22623 elf_machine_lazy_rel): Likewise.
22624 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22625 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
22626 elf_machine_lazy_rel): Likewise.
22627 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
22628 dl_hwcap via passed in argument.
22629 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
22632 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22634 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
22636 2011-06-06 Roland McGrath <roland@hack.frob.com>
22639 * manual/fdl-1.1.texi: New file, verbatim from:
22640 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
22641 * manual/lgpl-2.1.texi: New file, verbatim from:
22642 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
22643 * manual/Makefile (licenses): New variable, list those new file names.
22645 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
22647 * manual/fdl.texi: File removed.
22648 * manual/lesser.texi: File removed.
22649 * manual/libc.texinfo (Copying, Documentation License):
22650 Use new @include file names, put @appendix directive before @include.
22652 2011-06-04 Jakub Jelinek <jakub@redhat.com>
22655 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
22656 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
22657 (mq_open): Add __NTH.
22659 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
22661 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22662 Assume Intel Core i3/i5/i7 processor if AVX is available.
22664 2011-05-31 Ulrich Drepper <drepper@gmail.com>
22666 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22669 2011-05-31 Andreas Schwab <schwab@redhat.com>
22671 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
22672 memory. Use alloca_account. Fix memory leak when retrying.
22674 2011-05-31 Ulrich Drepper <drepper@gmail.com>
22676 * version.h (RELEASE): Bump for 2.14 release.
22677 * include/features.h (__GLIBC_MINOR__): Bump to 14.
22679 * config.make.in (RANLIB): Remove entry.
22681 2011-05-30 Ulrich Drepper <drepper@gmail.com>
22683 * po/Makefile (po-sed-cmd): Add ksh to extensions.
22684 (libc.pot): Work around missing support for .ksh extension in xgettext.
22687 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
22688 if both request failed.
22689 (send_dg): In case of server errors clear resplen or *resplen2.
22692 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
22693 when there are multiple maps.
22694 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
22695 (_dl_fini): Remove test here.
22697 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
22699 2011-05-29 Ulrich Drepper <drepper@gmail.com>
22702 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
22703 bit from old_res_options.
22704 (gaih_inet): Likewise.
22707 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
22710 * resolv/res_init.c (res_setoptions): Make the code more compact.
22713 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
22717 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
22719 * malloc/malloc.h: Mark malloc hook variables as deprecated.
22722 * malloc/malloc.h: Declare malloc hook variables as volatile.
22724 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
22728 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
22729 raise in the comment.
22730 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22731 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22732 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
22734 2011-05-28 Ulrich Drepper <drepper@gmail.com>
22737 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
22738 grow the buffers more if it already has to be sufficient.
22739 (build_wcs_upper_buffer): Likewise.
22740 * posix/regexec.c (check_matching): Likewise.
22741 (clean_state_log_if_needed): Likewise.
22742 (extend_buffers): Don't enlarge buffers beyond size of the input
22744 Patches mostly by Emil Wojak <emil@wojak.eu>.
22745 * posix/bug-regex32.c: New file.
22746 * posix/Makefile (tests): Add bug-regex32.
22748 * locale/findlocale.c (_nl_find_locale): Return right away if
22749 _nl_explode_name failed.
22750 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
22752 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
22754 * debug/xtrace.sh: Unify messages.
22755 * malloc/memusage.sh: Likewise.
22758 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
22759 time symbol from vDSO. Substitute with vsyscall if not available.
22760 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
22763 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
22764 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
22765 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
22766 Add sendmmsg and internal_sendmmsg.
22767 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
22768 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
22769 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
22771 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
22772 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
22773 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
22775 2011-05-27 Ulrich Drepper <drepper@gmail.com>
22778 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
22779 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
22781 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
22785 * iconvdata/Makefile (tests): Add bug-iconv9.
22786 * iconvdata/bug-iconv9.c: New file.
22788 2011-05-27 Andreas Schwab <schwab@redhat.com>
22791 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
22793 2011-05-25 Jakub Jelinek <jakub@redhat.com>
22795 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22796 (struct user_regs_struct): Change intcs field back to cs.
22798 2011-05-25 Ulrich Drepper <drepper@gmail.com>
22800 * po/ja.po: Update from translation team.
22802 2011-05-23 Ulrich Drepper <drepper@gmail.com>
22805 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
22806 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
22808 2011-05-20 Andreas Schwab <schwab@redhat.com>
22810 * stdlib/longlong.h: Update from GCC.
22812 2011-05-23 Andreas Schwab <schwab@redhat.com>
22814 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
22816 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
22817 Add parameter name.
22818 (__sysconf): Pass it down.
22820 2011-05-22 Ulrich Drepper <drepper@gmail.com>
22823 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
22825 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22826 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
22827 add in in __libc_use_alloca calls. Adjust callers.
22828 (glob): Use malloc in some situations.
22830 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
22831 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
22834 2011-05-21 Ulrich Drepper <drepper@gmail.com>
22836 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
22837 and CLOCK_BOOTTIME_ALARM.
22840 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
22843 * string/_strerror.c (__strerror_r): Print negative errors as signed
22847 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
22848 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
22849 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
22851 * configure.in: Fix typo in redirection and correct removal of test
22852 files in two cases.
22855 * locale/setlocale.c (new_composite_name): Fix test to check for
22856 identical name of all categories.
22859 * libio/filedoalloc.c (local_isatty): New function.
22860 (_IO_file_doallocate): Use local_isatty.
22861 * stdio-common/perror.c (perror): In case a new stream is used
22862 forward the stream error.
22863 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
22866 2011-05-20 Ulrich Drepper <drepper@gmail.com>
22869 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
22871 * include/alloca.h (extend_alloca_account): Define.
22874 * posix/regex.h: Fix comments with documentation of user-accessible
22875 fields after compilation and describe correct free'ing of pattern
22876 after re_compile_pattern.
22877 Patch by Reuben Thomas <rrt@sc3d.org>.
22879 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
22881 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
22882 and -mno-altivec to prevent the compiler from using Altivec and/or
22883 VSX instructions when the corresponding registers are not available.
22885 2011-05-19 Andreas Schwab <schwab@redhat.com>
22887 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
22889 2011-05-19 Ulrich Drepper <drepper@gmail.com>
22891 * libio/freopen.c (freopen): Use __dup2, not dup2.
22892 * libio/freopen64.c (freopen64): Likewise.
22894 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
22897 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
22898 * math/Makefile (tests): Add test-powl.
22899 (CFLAGS-test-powl.c): Define.
22900 * math/test-powl.c: New file.
22902 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
22904 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
22906 2011-05-17 Ulrich Drepper <drepper@gmail.com>
22909 * iconvdata/gb18030.c: Update to GB18020-2005.
22911 2011-05-16 Ulrich Drepper <drepper@gmail.com>
22913 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
22914 RE_SYNTAX_POSIX_AWK): Update to match recent development.
22915 Patch by Aharon Robbins <arnold@skeeve.com>.
22918 * stdlib/putenv.c (putenv): Don't always create copy of the variable
22922 * misc/pselect.c (__pselect): Handle timeout value errors hidden
22923 through underflows.
22926 * misc/error.c (error_at_line): Ensure file_name and old_file_name
22927 point to strings before performing equality test for error_one_per_line
22931 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
22934 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22935 (struct user_fpregs_struct): Avoid __uint*_t types.
22938 * malloc/mtrace.c (tr_where): Add additional parameter to point to
22939 symbol info. Use it instead of calling _dl_addr locally.
22940 (lock_and_info): New function.
22941 (tr_freehook): Call lock_and_info and pass symbol info as additional
22942 parameter to tr_where.
22943 (tr_mallochook): Likewise.
22944 (tr_reallochook): Likewise.
22945 (tr_memalignhook): Likewise.
22947 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
22948 used and couldn't be at all thread-safe.
22950 2011-05-15 Ulrich Drepper <drepper@gmail.com>
22952 * libio/freopen.c (freopen): Don't close old file descriptor
22953 before the new one is opened. Instead dup the new file descriptor
22954 to the old one after the new stream is created.
22955 * libio/freopen64.c (freopen64): Likewise.
22956 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
22957 * libio/fileops.c (_IO_new_file_close_it): Handle new
22958 _IO_FLAGS2_NOCLOSE flag.
22959 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
22960 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
22961 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
22962 _IO_FLAGS2_NOCLOSE flag.
22963 * include/unistd.h: Add hidden_proto for dup3.
22964 Define __have_dup3.
22965 * io/dup3.c: Define hidden symbol.
22966 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
22969 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
22970 when an incomplete long option is used.
22971 * posix/tst-getopt_long1.c: New file.
22972 * posix/Makefile (tests): Add tst-getopt_long1.
22975 * scripts/config.guess: Update from autoconf-2.68.
22976 * scripts/config.sub: Likewise.
22979 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
22981 (has_cpuclock): ...this. New function.
22982 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
22983 macro here based on has_cpuclock code.
22986 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22987 First byte (not low byte) is now always NUL.
22988 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
22990 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22991 Use non-cancelable interfaces.
22994 * locale/iso-639.def: Add entry for Sorani.
22997 * include/stdlib.h: Move include protection to the right place.
22998 Define abort_msg_s. Declare __abort_msg with it.
22999 * stdlib/abort.c (__abort_msg): Adjust type.
23000 * assert/assert.c (__assert_fail_base): New function. Majority
23001 of code from __assert_fail. Allocate memory for __abort_msg with
23003 (__assert_fail): Now call __assert_fail_base.
23004 * assert/assert-perr.c: Remove bulk of implementation. Use
23005 __assert_fail_base.
23006 * include/assert.hL Declare __assert_fail_base.
23007 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
23009 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
23011 2011-05-14 Ulrich Drepper <drepper@gmail.com>
23015 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
23016 until all modules are registered in the DTV.
23017 * elf/Makefile: Add rules to build and run tst-tls19.
23018 * elf/tst-tls19.c: New file.
23019 * elf/tst-tls19mod1.c: New file.
23020 * elf/tst-tls19mod2.c: New file.
23021 * elf/tst-tls19mod3.c: New file.
23022 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
23025 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
23029 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
23030 two-byte sequence errors.
23031 * iconvdata/Makefile (tests): Add bug-iconv8.
23032 * iconvdata/bug-iconv8.c: New file.
23035 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
23038 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
23041 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
23042 (dummy_getcfa): New function.
23043 (init): Get _Unwind_GetCFA address, use dummy if not found.
23044 (backtrace_helper): In recursion check, also check whether CFA changes.
23045 (__backtrace): Completely initialize arg.
23047 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
23048 storing incomplete byte sequence in state object. Avoid testing for
23049 guaranteed too small input if we know there is enough data available.
23051 2011-05-11 Andreas Schwab <schwab@redhat.com>
23053 * Makeconfig (+link-pie): Indent.
23054 * Rules (binaries-pie): Define if $(have-fpie) and
23056 (binaries-shared): Also filter out $(binaries-pie).
23057 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
23058 * nscd/Makefile (others-pie): Add nscd.
23059 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
23060 ($(objpfx)nscd): Remove command override.
23061 * login/Makefile (others-pie): Add pt_chown.
23062 ($(objpfx)pt_chown): Remove command override.
23063 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
23064 remove command overrides.
23066 2011-05-13 Ulrich Drepper <drepper@gmail.com>
23068 * libio/tst_putwc.c: Fix error messages.
23071 * libio/fileops.c (_IO_new_file_close_it): Always flush when
23072 currently writing and seek to current position when not.
23073 * libio/Makefile (tests): Add bug-fclose1.
23074 * libio/bug-fclose1.c: New file.
23076 2011-05-12 Ulrich Drepper <drepper@gmail.com>
23079 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
23080 don't set DF_1_NODELETE here.
23081 (do_lookup_x): When entering new entry test for copy relocation
23082 and if necessary set DF_1_NODELETE flag.
23083 * elf/tst-unique4.cc: New file.
23084 * elf/tst-unique4.h: New file.
23085 * elf/tst-unique4lib.cc: New file.
23086 * elf/Makefile: Add rules to build and run tst-unique4.
23087 Patch by Piotr Bury <pbury@goahead.com>.
23089 2011-05-11 Ulrich Drepper <drepper@gmail.com>
23092 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
23095 * misc/mntent_r.c (addmntent): Flush the stream after the output
23098 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
23099 (is_trusted_path_normalize): Skip initial colon. Append slash
23100 to empty buffer. Duplicate is_trusted_path code but allow
23101 constructed patch to be prefix.
23102 (is_dst): Allow $ORIGIN followed by /.
23103 (_dl_dst_substitute): Correct clearing of check_for_trusted.
23104 Correct testing of result of is_trusted_path_normalize
23105 (decompose_rpath): Fix warning.
23107 2011-05-10 Ulrich Drepper <drepper@gmail.com>
23110 * grp/initgroups.c (internal_getgrouplist): When we found the service
23111 list through the initgroups entry in nsswitch.conf do not always
23112 continue on a successful lookup. Don't always use the
23113 __nss_group_database value if it is set.
23114 * nss/nsswitch.conf (initgroups): Change action for successful db
23115 lookup to continue for compatibility.
23117 2011-05-09 Ulrich Drepper <drepper@gmail.com>
23120 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
23122 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
23124 * iconvdata/tst-tables.sh: Likewise.
23125 * iconvdata/cp770.c: New file.
23126 * iconvdata/cp771.c: New file.
23127 * iconvdata/cp772.c: New file.
23128 * iconvdata/cp773.c: New file.
23129 * iconvdata/cp774.c: New file.
23130 * iconvdata/testdata/CP770: New file.
23131 * iconvdata/testdata/CP770..UTF8: New file.
23132 * iconvdata/testdata/CP771: New file.
23133 * iconvdata/testdata/CP771..UTF8: New file.
23134 * iconvdata/testdata/CP772: New file.
23135 * iconvdata/testdata/CP772..UTF8: New file.
23136 * iconvdata/testdata/CP773: New file.
23137 * iconvdata/testdata/CP773..UTF8: New file.
23138 * iconvdata/testdata/CP774: New file.
23139 * iconvdata/testdata/CP774..UTF8: New file.
23141 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
23143 * iconvdata/gen-8bit-gap.sh: Likewise.
23144 * iconvdata/gen-8bit.sh: Likewise.
23146 * locale/iso-639.def: Add ary entry.
23149 * locale/C-translit.h.in: Add U20A1 transliteration.
23152 * locale/iso-639.def: Add wae entry.
23153 Patch by Kevin Bortis <bortis@translate-wae.ch>.
23156 * locale/programs/localedef.c (construct_output_path): Use ssize_t
23160 * locale/C-translit.h.in: Add entry for U20B9.
23161 Patch by pravin.d.s@gmail.com.
23163 2011-05-08 Ulrich Drepper <drepper@gmail.com>
23166 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
23167 ENAMETOOLONG use generic getcwd.
23168 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
23169 in rtld. Use *stat64.
23170 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
23171 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
23172 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
23173 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
23174 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
23175 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
23176 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
23177 __fstatat64 macros.
23178 * include/dirent.h: Add libc_hidden_proto for rewinddir.
23179 * dirent/rewinddir.c: Add libc_hidden_def.
23180 * sysdeps/mach/hurd/rewinddir.c: Likewise.
23181 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
23183 * include/dirent.h (__alloc_dir): Add flags parameter.
23184 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
23185 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
23187 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
23188 from fdopendir if O_CLOEXEC is already set.
23190 2011-03-15 Alan Modra <amodra@gmail.com>
23192 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
23193 l_tls_firstbyte_offset non-zero. Save padding offset in
23194 l_tls_firstbyte_offset for later use.
23195 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
23196 freeing static tls block.
23198 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
23200 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
23201 where #ifdef was intended. The intent is to prevent ARG_MAX from
23202 being defined by the kernel headers.
23204 2011-05-07 Ulrich Drepper <drepper@gmail.com>
23207 * resolv/resolv.h: Define RES_NOTLDQUERY.
23208 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
23209 no-tld-query and set RES_NOTLDQUERY.
23210 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
23211 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
23212 modern BIND to search name as TLD unless forbidden.
23214 2011-05-07 Petr Baudis <pasky@suse.cz>
23215 Ulrich Drepper <drepper@gmail.com>
23218 * elf/dl-load.c (fillin_rpath): Move trusted path check...
23219 (is_trusted_path): ...to here.
23220 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
23221 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
23222 using is_trusted_path_normalize() in setuid scripts.
23224 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23226 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
23227 __BEGIN/__END_DECLS.
23229 2011-05-06 Ulrich Drepper <drepper@gmail.com>
23231 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
23232 NSS_STATUS_NOTFOUND if no record was found.
23234 2011-05-05 Andreas Schwab <schwab@redhat.com>
23236 * sunrpc/Makefile (headers): Add rpc/netdb.h.
23237 (headers-not-in-tirpc): Remove rpc/netdb.h
23238 * resolv/netdb.h: Revert last change.
23240 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23242 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
23243 circular dependency between libgcc.a and libc.a.
23245 2011-05-05 Andreas Schwab <schwab@redhat.com>
23247 * resolv/netdb.h: Don't include <rpc/netdb.h>.
23248 * nis/Makefile: Don't install rpcsvc/*.
23249 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
23250 instead of <rpc/types.h>.
23251 (MAXHOSTNAMELEN): Define.
23253 2011-05-03 Andreas Schwab <schwab@redhat.com>
23255 * elf/ldconfig.c (add_dir): Don't crash on empty path.
23257 2011-04-28 Maciej Babinski <mbabinski@google.com>
23260 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
23261 gethostbyname4_r when IPv6 results are possible.
23263 2011-05-02 Ulrich Drepper <drepper@gmail.com>
23266 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
23267 _PC_PIPE_BUF handling.
23269 2011-04-30 Bruno Haible <bruno@clisp.org>
23272 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
23273 * resolv/netdb.h (getnameinfo): Change type of flags parameter
23275 * inet/getnameinfo.c (getnameinfo): Likewise.
23277 2011-04-29 Ulrich Drepper <drepper@gmail.com>
23279 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
23280 to groups setting in database lookup.
23281 * nss/nsswitch.conf: Add initgroups entry.
23283 2011-04-22 Ulrich Drepper <drepper@gmail.com>
23286 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
23288 Patch by Eric Blake <eblake@redhat.com>.
23290 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
23292 * sunrpc/Makefile (need-export-routines): Add svc_run.
23293 (routines): Remove svc_run.
23294 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
23295 * sunrpc/clnt_perr.c (clnt_perrno): Export.
23296 * sunrpc/svc_run.c (svc_run): Likewise.
23297 * sunrpc/svc_udp.c (svcudp_create): Likewise.
23299 2011-04-21 Ulrich Drepper <drepper@gmail.com>
23301 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
23302 problem in reallocation in last patch.
23304 2011-04-20 Ulrich Drepper <drepper@gmail.com>
23306 * sunrpc/Makefile: Move inclusion of Rules.
23308 2011-04-19 Ulrich Drepper <drepper@gmail.com>
23310 * nss/nss_files/files-initgroups.c: New file.
23311 * nss/Makefile (libnss_files-routines): Add files-initgroups.
23312 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
23313 _nss_files_initgroups_dyn.
23315 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
23317 * elf/elf.h (R_ARM_IRELATIVE): Define.
23319 2011-04-19 Ulrich Drepper <drepper@gmail.com>
23321 * po/ru.po: Update from translation team.
23323 2011-04-17 Ulrich Drepper <drepper@gmail.com>
23325 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
23328 2011-02-06 Mike Frysinger <vapier@gentoo.org>
23331 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
23332 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
23333 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23334 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23335 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23337 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
23339 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
23341 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23342 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23343 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23345 2011-04-17 Ulrich Drepper <drepper@gmail.com>
23348 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
23350 * stdlib/bug-getcontext.c: New file.
23351 * stdlib/Makefile: Add rules to build and run bug-getcontext.
23353 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23355 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
23356 instructions into .machine "z9-109".
23357 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
23358 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
23360 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23362 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
23363 between environment variables and auxiliary vector.
23365 2011-04-16 Ulrich Drepper <drepper@gmail.com>
23367 * Makefile: Add rules to build linkobj/libc.so.
23368 * include/libc-symbols.h: Define libc_hidden_nolink.
23369 * include/rpc/auth.h: Mark functions which are to be hidden.
23370 * include/rpc/auth_des.h: Likewise.
23371 * include/rpc/auth_unix.h: Likewise.
23372 * include/rpc/clnt.h: Likewise.
23373 * include/rpc/des_crypt.h: Likewise.
23374 * include/rpc/key_prot.h: Likewise.
23375 * include/rpc/pmap_clnt.h: Likewise.
23376 * include/rpc/pmap_prot.h: Likewise.
23377 * include/rpc/pmap_rmt.h: Likewise.
23378 * include/rpc/rpc_msg.h: Likewise.
23379 * include/rpc/svc.h: Likewise.
23380 * include/rpc/svc_auth.h: Likewise.
23381 * include/rpc/xdr.h: Likewise.
23382 * nis/Makefile: Link all DSOs against linkobj/libc.so.
23383 * nss/Makefile: Likewise.
23384 * sunrpc/Makefile: Don't install headers. Build library with normal
23385 entry points. Don't build rpcinfo. Link RPC tests appropriately.
23386 * sunrpc/auth_des.c: Hide exported symbols by default, export some
23387 for the compat linking library. Remove use of INTDEF/INTUSE.
23388 * sunrpc/auth_none.c: Likewise.
23389 * sunrpc/auth_unix.c: Likewise.
23390 * sunrpc/authdes_prot.c: Likewise.
23391 * sunrpc/authuxprot.c: Likewise.
23392 * sunrpc/clnt_gen.c: Likewise.
23393 * sunrpc/clnt_perr.c: Likewise.
23394 * sunrpc/clnt_raw.c: Likewise.
23395 * sunrpc/clnt_simp.c: Likewise.
23396 * sunrpc/clnt_tcp.c: Likewise.
23397 * sunrpc/clnt_udp.c: Likewise.
23398 * sunrpc/clnt_unix.c: Likewise.
23399 * sunrpc/des_crypt.c: Likewise.
23400 * sunrpc/des_soft.c: Likewise.
23401 * sunrpc/get_myaddr.c: Likewise.
23402 * sunrpc/key_call.c: Likewise.
23403 * sunrpc/key_prot.c: Likewise.
23404 * sunrpc/netname.c: Likewise.
23405 * sunrpc/pm_getmaps.c: Likewise.
23406 * sunrpc/pm_getport.c: Likewise.
23407 * sunrpc/pmap_clnt.c: Likewise.
23408 * sunrpc/pmap_prot.c: Likewise.
23409 * sunrpc/pmap_prot2.c: Likewise.
23410 * sunrpc/pmap_rmt.c: Likewise.
23411 * sunrpc/publickey.c: Likewise.
23412 * sunrpc/rpc_cmsg.c: Likewise.
23413 * sunrpc/rpc_common.c: Likewise.
23414 * sunrpc/rpc_dtable.c: Likewise.
23415 * sunrpc/rpc_prot.c: Likewise.
23416 * sunrpc/rpc_thread.c: Likewise.
23417 * sunrpc/rtime.c: Likewise.
23418 * sunrpc/svc.c: Likewise.
23419 * sunrpc/svc_auth.c: Likewise.
23420 * sunrpc/svc_authux.c: Likewise.
23421 * sunrpc/svc_raw.c: Likewise.
23422 * sunrpc/svc_run.c: Likewise.
23423 * sunrpc/svc_simple.c: Likewise.
23424 * sunrpc/svc_tcp.c: Likewise.
23425 * sunrpc/svc_udp.c: Likewise.
23426 * sunrpc/svc_unix.c: Likewise.
23427 * sunrpc/svcauth_des.c: Likewise.
23428 * sunrpc/xcrypt.c: Likewise.
23429 * sunrpc/xdr.c: Likewise.
23430 * sunrpc/xdr_array.c: Likewise.
23431 * sunrpc/xdr_float.c: Likewise.
23432 * sunrpc/xdr_intXX_t.c: Likewise.
23433 * sunrpc/xdr_mem.c: Likewise.
23434 * sunrpc/xdr_rec.c: Likewise.
23435 * sunrpc/xdr_ref.c: Likewise.
23436 * sunrpc/xdr_sizeof.c: Likewise.
23437 * sunrpc/xdr_stdio.c: Likewise.
23439 2011-04-10 Ulrich Drepper <drepper@gmail.com>
23442 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
23443 * sysdeps/ia64/dl-tls.h: Likewise.
23444 * sysdeps/powerpc/dl-tls.h: Likewise.
23445 * sysdeps/s390/dl-tls.h: Likewise.
23446 * sysdeps/sh/dl-tls.h: Likewise.
23447 * sysdeps/sparc/dl-tls.h: Likewise.
23448 * sysdeps/x86_64/dl-tls.h: Likewise.
23449 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
23451 2011-03-14 Andreas Schwab <schwab@redhat.com>
23453 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
23454 rpath element also skip the following colon.
23455 (expand_dynamic_string_token): Add is_path parameter and pass
23456 down to DL_DST_REQUIRED and _dl_dst_substitute.
23457 (decompose_rpath): Call expand_dynamic_string_token with
23458 non-zero is_path. Ignore empty rpaths.
23459 (_dl_map_object_from_fd): Call expand_dynamic_string_token
23462 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
23464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23467 2011-04-09 Ulrich Drepper <drepper@gmail.com>
23470 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
23471 Patch by Filipe David Manana <fdmanana@apache.org>.
23473 2011-04-07 Andreas Schwab <schwab@redhat.com>
23475 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
23476 Maintain aligned stack.
23477 (CHECK_RSP): Remove unused macro.
23479 2011-04-03 Ulrich Drepper <drepper@gmail.com>
23481 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
23482 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
23484 2011-04-02 Ulrich Drepper <drepper@gmail.com>
23486 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
23488 * include/features.h: Mention __USE_XOPEN2K8 in comment.
23490 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
23493 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
23494 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
23495 * sysdeps/x86_64/memmove.c: New file.
23496 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
23497 (memcpy): Renamed to ...
23498 (__new_memcpy): This.
23499 (memcpy): Provide GLIBC_2_14 memcpy.
23500 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
23501 (memcpy): Provide GLIBC_2_2_5 memcpy.
23503 2011-04-01 Ulrich Drepper <drepper@gmail.com>
23506 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
23508 2011-03-30 Andreas Schwab <schwab@redhat.com>
23510 * misc/syncfs.c: New file.
23511 * misc/Makefile (routines): Add syncfs.
23512 * posix/unistd.h: Declare syncfs.
23513 * sysdeps/unix/syscalls.list: Add syncfs.
23515 2011-04-01 Andreas Schwab <schwab@redhat.com>
23517 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
23519 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23520 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23521 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23522 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23523 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23524 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
23525 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23527 2011-04-01 Ulrich Drepper <drepper@gmail.com>
23529 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
23530 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23531 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
23532 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23533 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23534 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23535 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23537 * io/Makefile: Compile fallocate.c, fallocate64.c, and
23538 sync_file_range.c with -fexceptions.
23539 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
23540 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
23541 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
23542 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
23543 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
23544 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23545 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
23546 sync_file_range as cancellation point
23547 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
23548 now a wrapper around __call_sync_file_range with cancellation handling.
23549 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
23550 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
23551 function name to __call_sync_file_range.
23552 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
23553 Add call_sync_file_range.
23555 2011-04-01 Andreas Schwab <schwab@redhat.com>
23557 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23560 2011-04-01 Ulrich Drepper <drepper@gmail.com>
23562 * iconv/iconv.h: Fix typo in comment.
23563 * io/fcntl.h: Likewise.
23564 * libio/stdio.h: Likewise.
23565 * posix/spawn.h: Likewise.
23566 * posix/unistd.h: Likewise.
23567 * stdlib/stdlib.h: Likewise.
23568 * time/time.h: Likewise.
23569 * wcsmbs/wchar.h: Likewise.
23571 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
23572 open_by_handle): Add.
23573 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
23574 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
23575 Augment a few comments.
23576 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23577 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23578 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23579 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23580 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23581 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
23584 * io/fcntl.h (AT_EMPTY_PATH): Define.
23586 2011-03-30 Ulrich Drepper <drepper@gmail.com>
23588 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
23589 * sysdeps/unix/sysv/linux/bits/time.h: New file.
23590 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
23592 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
23593 * Versions.def: Add GLIBC_2.14.
23594 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
23597 2011-03-22 Ulrich Drepper <drepper@gmail.com>
23599 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
23601 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23603 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
23606 * string/test-strncmp.c (do_page_test): New function.
23607 (check2): Likewise.
23608 (test_main): Call check2.
23609 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
23611 2011-03-20 Ulrich Drepper <drepper@gmail.com>
23614 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
23615 Handle cache information in CPU leaf 4.
23616 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23618 2011-03-18 Ulrich Drepper <drepper@gmail.com>
23621 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
23622 character representation.
23623 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
23625 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
23627 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
23628 END(__isnan) to END(__isnanf) to match function entry point/label
23629 EALIGN(__isnanf,...).
23631 2011-03-10 Jakub Jelinek <jakub@redhat.com>
23633 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
23635 2011-03-10 Ulrich Drepper <drepper@gmail.com>
23638 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
23639 copy from the symbol referenced in the relocation to initialize the
23641 Patch by Piotr Bury <pbury@goahead.com>.
23642 * elf/Makefile: Add rules to build and tst-unique3.
23643 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
23644 * elf/tst-unique3.cc: New file.
23645 * elf/tst-unique3.h: New file.
23646 * elf/tst-unique3lib.cc: New file.
23647 * elf/tst-unique3lib2.cc: New file.
23649 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
23651 2011-03-10 Mike Frysinger <vapier@gentoo.org>
23653 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
23654 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
23657 2011-03-06 Ulrich Drepper <drepper@gmail.com>
23659 * elf/dl-load.c (_dl_map_object): If we are looking for the first
23660 to-be-loaded object along a path to loader is ld.so.
23662 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23663 Ulrich Drepper <drepper@gmail.com>
23665 * sysdeps/x86_64/memset.S: After aligning destination, code
23666 branches to different locations depending on the value of
23667 misalignment, when multiarch is enabled. Fix this.
23669 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23671 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
23672 Set _x86_64_preferred_memory_instruction for AMD processsors.
23673 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23674 Set bit_Prefer_SSE_for_memop for AMD processors.
23676 2011-03-04 Ulrich Drepper <drepper@gmail.com>
23678 * libio/fmemopen.c (fmemopen): Optimize a bit.
23680 2011-03-03 Andreas Schwab <schwab@redhat.com>
23682 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
23684 2011-03-03 Roland McGrath <roland@redhat.com>
23686 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
23688 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
23690 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
23691 __bzero_ultra1 instead of __memset_ultra1.
23693 2011-02-23 Andreas Schwab <schwab@redhat.com>
23694 Ulrich Drepper <drepper@gmail.com>
23697 * include/link.h (struct link_map): Add l_orig_initfini.
23698 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
23699 returning unsuccessfully.
23700 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
23701 close of a file loaded at startup, restore the original l_initfini
23703 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
23704 list, store the pointer.
23705 * elf/Makefile ($(objpfx)noload-mem): New rule.
23706 (noload-ENV): Define.
23707 (tests): Add $(objpfx)noload-mem.
23708 * elf/noload.c: Include <memcheck.h>.
23709 (main): Call mtrace. Close all opened handles.
23711 2011-02-17 Andreas Schwab <schwab@redhat.com>
23714 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
23715 dependencies are missing.
23717 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
23719 Fix __if_freereq crash: Unlike the generic version which uses free,
23721 * sysdeps/mach/hurd/ifreq.h: New file.
23723 2011-01-27 Petr Baudis <pasky@suse.cz>
23724 Ulrich Drepper <drepper@gmail.com>
23727 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
23728 to extend_alloca().
23729 * stdio-common/bug23.c: New file.
23730 * stdio-common/Makefile (tests): Add bug23.
23732 2010-09-28 Andreas Schwab <schwab@redhat.com>
23733 Ulrich Drepper <drepper@gmail.com>
23736 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
23737 before performing relro protection. At old place add assertion
23738 to make sure nothing changed.
23740 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
23741 Glauber de Oliveira Costa <glommer@gmail.com>
23743 * elf/elf.h: Add new ARM TLS relocs.
23745 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
23747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
23748 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
23750 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
23752 * sysdeps/wordsize-64/tst-writev.c: New file.
23754 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
23756 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
23757 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
23758 insns in _dl_start to prevent a TOC reference before relocs are
23761 2011-02-15 Ulrich Drepper <drepper@gmail.com>
23764 * Makeconfig: Remove RANLIB definition.
23765 * Makerules: Don't use RANLIB.
23766 * aclocal.m4: Remove ranlib test.
23767 * configure.in: No need to check for ranlib.
23768 * elf/rtld-Rules: Don't use RANLIB.
23770 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23772 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
23774 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
23775 inclusion protection macro.
23777 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
23778 SIGRTMIN and SIGRTMAX and print information in that case only when
23779 SIGRTMIN is defined.
23781 2011-02-11 Jakub Jelinek <jakub@redhat.com>
23783 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
23784 arginfo fn returning -1.
23786 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
23787 and thousands string is zero terminated.
23789 2011-02-03 Andreas Schwab <schwab@redhat.com>
23791 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
23792 sysdeps/unix/sysv/linux/bits/socket.h.
23794 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
23796 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
23797 (__CPU_COUNT): Remove old macros.
23798 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
23799 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
23800 (__CPU_ALLOC, __CPU_FREE): Add macros.
23801 (__sched_cpualloc, __sched_cpufree): Add declarations.
23803 2011-02-05 Ulrich Drepper <drepper@gmail.com>
23805 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
23806 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
23807 * nscd/aicache.c (addhstaiX): Return timeout of added value.
23808 (readdhstai): Return value of addhstaiX call.
23809 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
23810 (addgrbyX): Return value returned by cache_addgr.
23811 (readdgrbyname): Return value returned by addgrbyX.
23812 (readdgrbygid): Likewise.
23813 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
23814 (addpwbyX): Return value returned by cache_addpw.
23815 (readdpwbyname): Return value returned by addhstbyX.
23816 (readdpwbyuid): Likewise.
23817 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
23818 (addservbyX): Return value returned by cache_addserv.
23819 (readdservbyname): Return value returned by addservbyX:
23820 (readdservbyport): Likewise.
23821 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
23822 (addhstbyX): Return value returned by cache_addhst.
23823 (readdhstbyname): Return value returned by addhstbyX.
23824 (readdhstbyaddr): Likewise.
23825 (readdhstbynamev6): Likewise.
23826 (readdhstbyaddrv6): Likewise.
23827 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
23828 (readdinitgroups): Return value returned by addinitgroupsX.
23829 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
23830 (prune_cache): Keep track of timeout value of re-added entries.
23831 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
23832 * nscd/nscd.h: Adjust prototypes of readd* functions.
23834 2011-02-04 Roland McGrath <roland@redhat.com>
23836 * nis/nis_server.c (nis_servstate): Use the right name for 0.
23837 (nis_stats): Likewise.
23838 * nis/nis_modify.c (nis_modify): Likewise.
23839 * nis/nis_remove.c (nis_remove): Likewise.
23840 * nis/nis_add.c (nis_add): Likewise.
23842 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
23844 * posix/fnmatch_loop.c: Add some consts.
23846 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
23848 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
23851 * config.make.in (config-cflags-novzeroupper): Define.
23852 * configure.in: Substitute libc_cv_cc_novzeroupper.
23853 * elf/Makefile (AVX-CFLAGS): Define.
23854 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
23855 (CFLAGS-tst-auditmod4a.c): Likewise.
23856 (CFLAGS-tst-auditmod4b.c): Likewise.
23857 (CFLAGS-tst-auditmod6b.c): Likewise.
23858 (CFLAGS-tst-auditmod6c.c): Likewise.
23859 (CFLAGS-tst-auditmod7b.c): Likewise.
23860 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
23862 2011-02-02 Ulrich Drepper <drepper@gmail.com>
23864 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
23865 function to the callback.
23866 Patch partly by Jiri Olsa <jolsa@redhat.com>.
23868 2011-02-02 Andreas Schwab <schwab@redhat.com>
23870 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
23873 2011-01-19 Ulrich Drepper <drepper@gmail.com>
23876 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
23878 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
23880 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
23883 * elf/Makefile: Add rules to build and run new test.
23884 * elf/tst-initorder.c: New file.
23885 * elf/tst-initorder.exp: New file.
23886 * elf/tst-initordera1.c: New file.
23887 * elf/tst-initordera2.c: New file.
23888 * elf/tst-initordera3.c: New file.
23889 * elf/tst-initordera4.c: New file.
23890 * elf/tst-initorderb1.c: New file.
23891 * elf/tst-initorderb2.c: New file.
23892 * elf/tst-order-a1.c: New file.
23893 * elf/tst-order-a2.c: New file.
23894 * elf/tst-order-a3.c: New file.
23895 * elf/tst-order-a4.c: New file.
23896 * elf/tst-order-b1.c: New file.
23897 * elf/tst-order-b2.c: New file.
23898 * elf/tst-order-main.c: New file.
23899 New test case by George Gensure <werkt0@gmail.com>.
23901 2010-10-01 Andreas Schwab <schwab@redhat.com>
23903 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23904 decoding ACE if AI_CANONIDN.
23906 2011-01-18 Ulrich Drepper <drepper@gmail.com>
23908 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
23910 2011-01-17 Ulrich Drepper <drepper@gmail.com>
23912 * version.h (RELEASE): Bump for 2.13 release.
23913 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
23915 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
23917 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
23919 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
23920 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23921 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23922 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23923 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23924 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23926 * posix/getconf.c: Update copyright year.
23927 * catgets/gencat.c: Likewise.
23928 * csu/version.c: Likewise.
23929 * debug/catchsegv.sh: Likewise.
23930 * debug/xtrace.sh: Likewise.
23931 * elf/ldconfig.c: Likewise.
23932 * elf/ldd.bash.in: Likewise.
23933 * elf/sprof.c (print_version): Likewise.
23934 * iconv/iconv_prog.c: Likewise.
23935 * iconv/iconvconfig.c: Likewise.
23936 * locale/programs/locale.c: Likewise.
23937 * locale/programs/localedef.c: Likewise.
23938 * malloc/memusage.sh: Likewise.
23939 * malloc/mtrace.pl: Likewise.
23940 * nscd/nscd.c (print_version): Likewise.
23941 * nss/getent.c: Likewise.
23943 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
23944 PF_CAIF, and PF_ALG.
23945 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23947 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
23949 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
23950 (modules-names): Use them.
23951 (ifunc-test-modules, ifunc-pie-tests): Define.
23952 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
23953 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
23954 (test-extras): Likewise.
23955 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
23956 $(compile-command.c).
23957 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
23958 (all-built-dso): Define.
23959 (check-textrel.out, check-execstack.out): Depend on it.
23961 * configure.in: Don't override --enable-multi-arch.
23963 2011-01-15 Ulrich Drepper <drepper@gmail.com>
23966 * nscd/hstcache.c (tryagain): Define.
23967 (cache_addhst): Return tryagain not notfound for temporary errors.
23968 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
23971 2011-01-14 Ulrich Drepper <drepper@gmail.com>
23974 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
23975 to make the syscall.
23976 * sysdeps/unix/sysv/linux/setgroups.c: New file.
23979 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
23980 and fall back to matching as normal character if the string ends before
23981 the matching ']' is found. This is what POSIX requires.
23982 * posix/testfnm.c: Adjust test result.
23983 * posix/globtest.sh: Adjust test result. Add new test.
23984 * posix/tst-fnmatch.input: Likewise.
23985 * posix/tst-fnmatch2.c: Add new test.
23987 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
23989 * elf/Makefile (check-execstack): Revert last change. Depend on
23991 (check-execstack.h): New target.
23992 (generated): Add check-execstack.h.
23993 * elf/check-execstack.c: Include "check-execstack.h".
23994 (main): Revert last change.
23995 (handle_file): Return zero if GNU_STACK is absent and
23996 DEFAULT_STACK_PERMS doesn't include PF_X.
23998 2011-01-13 Ulrich Drepper <drepper@gmail.com>
24000 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
24001 in child fails because the descriptor is already closed.
24002 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
24003 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
24004 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
24007 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
24011 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
24012 temporary buffer used to handle multi lookups locally.
24013 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
24015 2011-01-12 Ulrich Drepper <drepper@gmail.com>
24017 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
24020 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
24022 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
24023 alignment for SSE2.
24025 2011-01-12 Ulrich Drepper <drepper@gmail.com>
24028 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
24029 characters. When rounding increased number of integer digits recompute
24031 * stdio-common/tst-grouping.c: New file.
24032 * stdio-common/Makefile: Add rules to build and run tst-grouping.
24034 2011-01-09 Ulrich Drepper <drepper@gmail.com>
24036 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
24037 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
24039 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
24041 * bits/select.h: Likewise.
24043 2011-01-08 Ulrich Drepper <drepper@gmail.com>
24045 * po/ja.po: Update from translation team.
24047 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
24050 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
24051 implementation just like for lxstat, fxstatat, et al.
24053 2010-12-27 Jim Meyering <meyering@redhat.com>
24056 * posix/regexec.c (build_trtable): Return failure indication upon
24057 calloc failure. Otherwise, re_search_internal could infloop on OOM.
24059 2010-12-25 Ulrich Drepper <drepper@gmail.com>
24062 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
24063 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
24064 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
24065 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
24068 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
24071 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
24072 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
24074 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
24076 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
24077 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
24078 script has SORT_BY_INIT_PRIORITY.
24079 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
24080 NO_CTORS_DTORS_SECTIONS is defined.
24081 * elf/soinit.c: Likewise.
24082 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
24083 NO_CTORS_DTORS_SECTIONS is defined.
24084 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
24085 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
24086 * sysdeps/sh/init-first.c: Likewise.
24087 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
24089 2010-12-24 Ulrich Drepper <drepper@gmail.com>
24091 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
24092 always use the slow path.
24094 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
24096 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
24097 similar rule which adds the sysdep directories to the header search in
24098 order to pick up the correct platform stackinfo.h.
24099 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
24100 perform test if it is, otherwise return successfully without testing.
24101 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
24102 DEFAULT_STACK_PERMS define in stackinfo.h.
24103 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
24104 defined in stackinfo.h.
24105 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
24106 DEFAULT_STACK_PERMS defined in stackinfo.h.
24107 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
24108 * sysdeps/ia64/stackinfo.h: Likewise.
24109 * sysdeps/s390/stackinfo.h: Likewise.
24110 * sysdeps/sh/stackinfo.h: Likewise.
24111 * sysdeps/sparc/stackinfo.h: Likewise.
24112 * sysdeps/x86_64/stackinfo.h: Likewise.
24113 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
24114 PF_X for powerpc64. Retain PF_X for powerpc32.
24116 2010-12-19 Ulrich Drepper <drepper@gmail.com>
24118 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
24120 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
24121 GETDENTS_64BIT_ALIGNED.
24123 2010-12-14 Ulrich Drepper <dreper@gmail.com>
24125 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
24127 2010-12-10 Andreas Schwab <schwab@redhat.com>
24129 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
24132 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
24133 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
24135 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
24136 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
24138 2010-12-09 Ulrich Drepper <drepper@gmail.com>
24141 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
24144 2010-12-09 Jakub Jelinek <jakub@redhat.com>
24146 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
24148 2010-12-03 Ulrich Drepper <drepper@gmail.com>
24150 * po/it.po: Update from translation team.
24152 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
24154 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
24157 2010-11-30 Ulrich Drepper <drepper@gmail.com>
24159 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
24161 2010-11-24 Andreas Schwab <schwab@redhat.com>
24163 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
24165 (gaih_getanswer_slice): Likewise.
24167 2010-10-20 Jakub Jelinek <jakub@redhat.com>
24169 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
24171 2010-05-31 Petr Baudis <pasky@suse.cz>
24174 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
24175 silently even in the chroot mode.
24177 2010-11-22 Ulrich Drepper <drepper@gmail.com>
24179 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
24180 last patch a bit. Pretty printing
24182 2010-05-31 Petr Baudis <pasky@suse.cz>
24185 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
24186 initialization of skip_initgroups_dyn.
24188 2010-11-19 Ulrich Drepper <drepper@gmail.com>
24190 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
24191 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24193 2010-11-16 Ulrich Drepper <drepper@gmail.com>
24195 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
24197 2010-11-11 Andreas Schwab <schwab@redhat.com>
24199 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
24200 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
24201 (tst-fnmatch-ENV): Set MALLOC_TRACE.
24202 ($(objpfx)tst-fnmatch-mem): New rule.
24203 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
24204 * posix/tst-fnmatch.c (main): Call mtrace.
24206 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
24208 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24209 Support Intel processor model 6 and model 0x2c.
24211 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
24213 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
24216 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
24219 * string/test-strncasecmp.c (check_result): New function.
24220 (do_one_test): Use it.
24221 (check1): New function.
24222 (test_main): Use it.
24223 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
24224 Support strcasecmp and strncasecmp.
24226 2010-11-08 Ulrich Drepper <drepper@gmail.com>
24229 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
24230 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24232 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
24234 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
24236 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24238 * sysdeps/x86_64/multiarch/bzero.S: New file.
24239 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
24240 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
24241 * sysdeps/x86_64/multiarch/memset.S: New file.
24242 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
24243 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24244 Set bit_Prefer_SSE_for_memop for Intel processors.
24245 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
24247 (index_Prefer_SSE_for_memop): Define.
24248 (HAS_PREFER_SSE_FOR_MEMOP): Define.
24250 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
24252 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
24253 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
24255 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
24258 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
24259 (__x86_64_raw_data_cache_size_half): Likewise.
24260 (__x86_64_raw_shared_cache_size): Likewise.
24261 (__x86_64_raw_shared_cache_size_half): Likewise.
24263 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
24264 (__x86_64_raw_data_cache_size_half): Likewise.
24265 (__x86_64_raw_shared_cache_size): Likewise.
24266 (__x86_64_raw_shared_cache_size_half): Likewise.
24267 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
24268 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
24269 and __x86_64_raw_shared_cache_size_half. Round
24270 __x86_64_data_cache_size_half, __x86_64_data_cache_size
24271 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
24272 to multiple of 256 bytes.
24274 2010-11-03 Ulrich Drepper <drepper@gmail.com>
24277 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
24278 of inacessible symlinks. Verify result of symlink before returning it.
24279 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24280 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
24282 2010-10-28 Erich Ritz <erichritz@gmail.com>
24284 * math/math.h (isinf): Fix typo in comment.
24286 2010-11-01 Ulrich Drepper <drepper@gmail.com>
24288 * po/da.po: Update from translation team.
24290 2010-10-26 Ulrich Drepper <drepper@gmail.com>
24292 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
24293 is added to the list.
24295 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24296 Ulrich Drepper <drepper@gmail.com>
24298 * elf/dl-object.c (_dl_new_object): Don't append the new object to
24299 the global list here. Move code to...
24300 (_dl_add_to_namespace_list): ...here. New function.
24301 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
24302 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
24303 * elf/dl-load.c (lose): Don't remove the element from the list.
24304 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
24305 (_dl_map_object): Likewise.
24307 2010-10-25 Ulrich Drepper <drepper@gmail.com>
24310 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
24311 into all bytes of SSE register.
24312 Patch by Richard Li <richardpku@gmail.com>.
24314 2010-10-24 Ulrich Drepper <drepper@gmail.com>
24317 * malloc/malloc.c (_int_free): Fill correct number of bytes when
24320 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
24322 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
24323 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
24324 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
24325 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
24328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
24330 2010-10-22 Andreas Schwab <schwab@redhat.com>
24332 * include/dlfcn.h (__RTLD_SECURE): Define.
24333 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
24334 mode & __RTLD_SECURE instead.
24335 (open_path): Rename preloaded parameter to secure.
24336 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
24337 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
24338 * elf/dl-deps.c (openaux): Likewise.
24339 * elf/rtld.c (struct map_args): Remove is_preloaded.
24340 (map_doit): Don't use it.
24341 (dl_main): Likewise.
24342 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
24343 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
24345 2010-09-09 Andreas Schwab <schwab@redhat.com>
24347 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
24348 (sysd-rules-targets): Remove duplicates.
24349 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
24350 rtld-%.$o dependency.
24352 2010-10-18 Andreas Schwab <schwab@redhat.com>
24354 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
24355 _dl_map_object do it.
24357 2010-10-19 Ulrich Drepper <drepper@gmail.com>
24359 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
24360 fast fma builtins, define the macros in the C99 standard.
24361 (FP_FAST_FMAF): Likewise.
24362 (FP_FAST_FMAL): Likewise.
24363 * sysdeps/x86_64/bits/mathdef.h: Likewise.
24365 * bits/mathdef.h: Update copyright year.
24366 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24368 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
24370 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
24371 builtins, define the macros in the C99 standard.
24372 (FP_FAST_FMAF): Likewise.
24373 (FP_FAST_FMAL): Likewise.
24374 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
24376 (FP_FAST_FMAF): Likewise.
24378 2010-10-15 Jakub Jelinek <jakub@redhat.com>
24381 * math/libm-test.inc (fma_test): Some new testcases.
24382 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
24383 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
24384 y and infinite z. Do multiplication by C already in long double.
24385 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
24386 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
24387 y and infinite z. Do bitwise or of inexact bit into u.d.
24388 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
24389 * sysdeps/i386/fpu/s_fmaf.S: Removed.
24390 * sysdeps/i386/fpu/s_fma.S: Removed.
24391 * sysdeps/i386/fpu/s_fmal.S: Removed.
24393 2010-10-16 Jakub Jelinek <jakub@redhat.com>
24396 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
24397 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
24398 computation is not scheduled after fetestexcept. Fix value
24399 of minimum denormal long double.
24401 2010-10-14 Jakub Jelinek <jakub@redhat.com>
24404 * math/libm-test.inc (fma_test): Add some more tests.
24405 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
24408 2010-10-15 Andreas Schwab <schwab@redhat.com>
24410 * scripts/data/localplt-s390-linux-gnu.data: New file.
24411 * scripts/data/localplt-s390x-linux-gnu.data: New file.
24413 2010-10-13 Jakub Jelinek <jakub@redhat.com>
24416 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
24417 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
24419 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
24421 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
24422 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
24423 if one of x and y is very large and the other is subnormal.
24424 * sysdeps/s390/fpu/s_fmaf.c: New file.
24425 * sysdeps/s390/fpu/s_fma.c: New file.
24426 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
24427 * sysdeps/powerpc/fpu/s_fma.S: New file.
24428 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
24429 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
24430 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
24432 2010-10-12 Jakub Jelinek <jakub@redhat.com>
24435 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
24437 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
24438 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
24439 * sysdeps/i386/i686/multiarch/s_fma.c: Include
24440 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
24441 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
24442 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
24443 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
24445 2010-10-12 Ulrich Drepper <drepper@redhat.com>
24448 * posix/regcomp.c (parse_branch): One more memory leak plugged.
24449 * posix/bug-regex31.input: Add test case.
24451 2010-10-11 Ulrich Drepper <drepper@gmail.com>
24453 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
24454 * posix/bug-regex31.input: New file.
24457 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
24458 (parse_sub_exp): Fix last change, use postorder.
24460 * posix/bug-regex31.c: New file.
24461 * posix/Makefile: Add rules to build and run bug-regex31.
24463 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
24466 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
24469 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
24470 to have entries in sys_siglist.
24473 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
24476 2010-10-07 Jakub Jelinek <jakub@redhat.com>
24479 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
24480 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
24481 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
24482 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
24483 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
24484 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
24485 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
24486 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
24487 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
24488 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
24489 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
24490 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
24491 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24492 * math/ftestexcept.c (fetestexcept): Likewise.
24493 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
24494 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
24495 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
24496 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
24497 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
24498 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
24499 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24501 2010-10-11 Ulrich Drepper <drepper@gmail.com>
24504 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
24507 2010-10-06 Ulrich Drepper <drepper@gmail.com>
24509 * string/bug-strstr1.c: New file.
24510 * string/Makefile: Add rules to build and run bug-strstr1.
24512 2010-10-05 Eric Blake <eblake@redhat.com>
24515 * string/str-two-way.h (two_way_long_needle): Always clear memory
24516 when skipping input due to the shift table.
24518 2010-10-03 Ulrich Drepper <drepper@gmail.com>
24521 * malloc/mcheck.c: Handle large requests.
24524 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
24525 for strncmp and strncasecmp.
24526 * string/stratcliff.c: Add tests for strcmp and strncmp.
24527 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
24529 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24531 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
24534 2010-09-30 Andreas Jaeger <aj@suse.de>
24536 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
24537 (CGROUP_SUPER_MAGIC): Define.
24538 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24539 Handle btrfs and cgroup file systems.
24540 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24543 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
24545 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
24546 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
24548 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24551 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
24552 trying to locate the ELF header.
24554 2010-09-27 Andreas Schwab <schwab@redhat.com>
24557 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
24558 Mask out sign-bit copies when constructing f_fsid.
24560 2010-09-24 Petr Baudis <pasky@suse.cz>
24562 * debug/stack_chk_fail_local.c: Add missing licence exception.
24563 * debug/warning-nop.c: Likewise.
24565 2010-09-15 Joseph Myers <joseph@codesourcery.com>
24567 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
24568 implementing getdents64 using getdents syscall, set d_type if
24569 __ASSUME_GETDENTS32_D_TYPE.
24571 2010-09-16 Andreas Schwab <schwab@redhat.com>
24573 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
24574 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
24576 2010-09-21 Ulrich Drepper <drepper@redhat.com>
24579 * posix/unistd.h: Undo change of feature selection for ftruncate from
24582 2010-09-20 Ulrich Drepper <drepper@redhat.com>
24584 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
24587 2010-09-20 Andreas Schwab <schwab@redhat.com>
24589 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
24591 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24593 2010-09-14 Andreas Schwab <schwab@redhat.com>
24595 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
24596 variables after CHECK_SP call.
24597 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
24599 2010-09-13 Andreas Schwab <schwab@redhat.com>
24600 Ulrich Drepper <drepper@redhat.com>
24602 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
24603 re-relocationg ld.so.
24604 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
24605 _dl_init_paths call.
24606 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
24609 2010-09-14 Ulrich Drepper <drepper@redhat.com>
24611 * resolv/res_init.c (__res_vinit): Count the default server we added.
24613 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
24614 Ulrich Drepper <drepper@redhat.com>
24617 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24618 (____longjmp_chk): Use %ebx for saving value across system call.
24621 2010-09-06 Andreas Schwab <schwab@redhat.com>
24623 * manual/Makefile: Don't mix pattern rules with normal rules.
24625 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
24627 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
24629 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
24630 * libio/iofopncook.c (_IO_cookie_init): Likewise.
24631 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
24632 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24633 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24636 2010-09-04 Ulrich Drepper <drepper@redhat.com>
24639 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
24640 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
24642 2010-09-02 Ulrich Drepper <drepper@redhat.com>
24644 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
24645 * sysdeps/x86_64/addmul_1.S: Likewise.
24646 * sysdeps/x86_64/lshift.S: Likewise.
24647 * sysdeps/x86_64/mul_1.S: Likewise.
24648 * sysdeps/x86_64/rshift.S: Likewise.
24649 * sysdeps/x86_64/sub_n.S: Likewise.
24650 * sysdeps/x86_64/submul_1.S: Likewise.
24652 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
24654 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
24655 Define __sched_param instead of SCHED_* and sched_param when
24656 <bits/sched.h> is included with __need_schedparam defined.
24657 * bits/sched.h [__need_schedparam]
24658 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
24659 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
24660 (__defined_schedparam): Define to 1.
24661 (__sched_param): New structure, identical to sched_param.
24662 (__need_schedparam): Undefine.
24664 2010-08-31 Mike Frysinger <vapier@gentoo.org>
24666 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
24667 (epoll_create1): Declare.
24669 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
24671 2010-08-31 Andreas Schwab <schwab@redhat.com>
24674 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
24675 shifting retval into place.
24677 2010-09-01 Ulrich Drepper <drepper@redhat.com>
24679 * nis/rpcsvc/nis.h: Update copyright notice.
24680 * nis/rpcsvc/nis.x: Likewise.
24681 * nis/rpcsvc/nis_callback.h: Likewise.
24682 * nis/rpcsvc/nis_callback.x: Likewise.
24683 * nis/rpcsvc/nis_object.x: Likewise.
24684 * nis/rpcsvc/nis_tags.h: Likewise.
24685 * nis/rpcsvc/yp.h: Likewise.
24686 * nis/rpcsvc/yp.x: Likewise.
24687 * nis/rpcsvc/ypupd.h: Likewise.
24688 * nis/yp_xdr.c: Likewise.
24689 * nis/ypupdate_xdr.c: Likewise.
24691 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
24692 mainly the body of pmap_getport. Add parameters to specify timeouts.
24693 (pmap_getport): Use __libc_rpc_getport.
24694 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
24695 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
24696 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
24698 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
24700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
24703 2010-08-27 Roland McGrath <roland@redhat.com>
24705 * sysdeps/i386/i686/multiarch/Makefile
24706 (CFLAGS-varshift.c): New variable.
24708 2010-08-27 Ulrich Drepper <drepper@redhat.com>
24710 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
24711 * sysdeps/i386/i686/multiarch/varshift.c: New file.
24713 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
24715 * sysdeps/x86_64/strlen.S: Minimal code improvement.
24717 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
24719 * sysdeps/x86_64/strlen.S: Unroll the loop.
24720 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24721 strlen-sse2 strlen-sse2-bsf.
24722 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
24723 __strlen_no_bsf if bit_Slow_BSF is set.
24724 (__strlen_sse42): Removed.
24725 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
24726 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
24728 2010-08-25 Roland McGrath <roland@redhat.com>
24730 * sysdeps/x86_64/multiarch/varshift.S: File removed.
24731 * sysdeps/x86_64/multiarch/varshift.c: New file.
24732 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
24733 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
24734 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
24735 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24737 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
24739 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24740 strlen-sse2 strlen-sse2-bsf.
24741 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
24742 __strlen_sse2_bsf if bit_Slow_BSF is unset.
24743 (__strlen_sse2): Removed.
24744 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
24745 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
24746 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24747 bit_Slow_BSF for Atom.
24748 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
24749 (index_Slow_BSF): Define.
24750 (HAS_SLOW_BSF): Define.
24752 2010-08-25 Ulrich Drepper <drepper@redhat.com>
24755 * resolv/res_init.c (__res_vinit): When no server address at all
24756 is given default to loopback.
24758 2010-08-24 Roland McGrath <roland@redhat.com>
24760 * configure.in: Remove config-name.h generation.
24761 * configure: Regenerated.
24762 * config-name.in: File removed.
24763 * scripts/config-uname.sh: New file.
24764 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
24765 ($(objdir)config-name.h): New target.
24767 * sunrpc/rpc_parse.h: Avoid nested comment.
24769 2010-08-24 Richard Henderson <rth@redhat.com>
24770 Ulrich Drepper <drepper@redhat.com>
24771 H.J. Lu <hongjiu.lu@intel.com>
24773 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
24774 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
24775 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
24776 Replace _mm_srli_si128 with __m128i_shift_right. Replace
24777 _mm_alignr_epi8 with _mm_loadu_si128.
24778 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
24779 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
24780 (__m128i_shift_right): Removed.
24781 * sysdeps/i386/i686/multiarch/varshift.h: New file.
24782 * sysdeps/i386/i686/multiarch/varshift.S: New file.
24783 * sysdeps/x86_64/multiarch/varshift.h: New file.
24784 * sysdeps/x86_64/multiarch/varshift.S: New file.
24786 2010-08-21 Mike Frysinger <vapier@gentoo.org>
24788 * configure.in: Move assembler checks to before sysdep dir checking.
24790 2010-08-20 Petr Baudis <pasky@suse.cz>
24792 * LICENSES: Sync the sunrpc license.
24794 2010-08-19 Ulrich Drepper <drepper@redhat.com>
24796 * sunrpc/auth_des.c: Update copyright notice once again.
24797 * sunrpc/auth_none.c: Likewise.
24798 * sunrpc/auth_unix.c: Likewise.
24799 * sunrpc/authdes_prot.c: Likewise.
24800 * sunrpc/authuxprot.c: Likewise.
24801 * sunrpc/bindrsvprt.c: Likewise.
24802 * sunrpc/clnt_gen.c: Likewise.
24803 * sunrpc/clnt_perr.c: Likewise.
24804 * sunrpc/clnt_raw.c: Likewise.
24805 * sunrpc/clnt_simp.c: Likewise.
24806 * sunrpc/clnt_tcp.c: Likewise.
24807 * sunrpc/clnt_udp.c: Likewise.
24808 * sunrpc/clnt_unix.c: Likewise.
24809 * sunrpc/des_crypt.c: Likewise.
24810 * sunrpc/des_soft.c: Likewise.
24811 * sunrpc/get_myaddr.c: Likewise.
24812 * sunrpc/getrpcport.c: Likewise.
24813 * sunrpc/key_call.c: Likewise.
24814 * sunrpc/key_prot.c: Likewise.
24815 * sunrpc/openchild.c: Likewise.
24816 * sunrpc/pm_getmaps.c: Likewise.
24817 * sunrpc/pm_getport.c: Likewise.
24818 * sunrpc/pmap_clnt.c: Likewise.
24819 * sunrpc/pmap_prot.c: Likewise.
24820 * sunrpc/pmap_prot2.c: Likewise.
24821 * sunrpc/pmap_rmt.c: Likewise.
24822 * sunrpc/rpc/auth.h: Likewise.
24823 * sunrpc/rpc/auth_unix.h: Likewise.
24824 * sunrpc/rpc/clnt.h: Likewise.
24825 * sunrpc/rpc/des_crypt.h: Likewise.
24826 * sunrpc/rpc/key_prot.h: Likewise.
24827 * sunrpc/rpc/netdb.h: Likewise.
24828 * sunrpc/rpc/pmap_clnt.h: Likewise.
24829 * sunrpc/rpc/pmap_prot.h: Likewise.
24830 * sunrpc/rpc/pmap_rmt.h: Likewise.
24831 * sunrpc/rpc/rpc.h: Likewise.
24832 * sunrpc/rpc/rpc_des.h: Likewise.
24833 * sunrpc/rpc/rpc_msg.h: Likewise.
24834 * sunrpc/rpc/svc.h: Likewise.
24835 * sunrpc/rpc/svc_auth.h: Likewise.
24836 * sunrpc/rpc/types.h: Likewise.
24837 * sunrpc/rpc/xdr.h: Likewise.
24838 * sunrpc/rpc_clntout.c: Likewise.
24839 * sunrpc/rpc_cmsg.c: Likewise.
24840 * sunrpc/rpc_common.c: Likewise.
24841 * sunrpc/rpc_cout.c: Likewise.
24842 * sunrpc/rpc_dtable.c: Likewise.
24843 * sunrpc/rpc_hout.c: Likewise.
24844 * sunrpc/rpc_main.c: Likewise.
24845 * sunrpc/rpc_parse.c: Likewise.
24846 * sunrpc/rpc_parse.h: Likewise.
24847 * sunrpc/rpc_prot.c: Likewise.
24848 * sunrpc/rpc_sample.c: Likewise.
24849 * sunrpc/rpc_scan.c: Likewise.
24850 * sunrpc/rpc_scan.h: Likewise.
24851 * sunrpc/rpc_svcout.c: Likewise.
24852 * sunrpc/rpc_tblout.c: Likewise.
24853 * sunrpc/rpc_util.c: Likewise.
24854 * sunrpc/rpc_util.h: Likewise.
24855 * sunrpc/rpcinfo.c: Likewise.
24856 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
24857 * sunrpc/rpcsvc/key_prot.x: Likewise.
24858 * sunrpc/rpcsvc/klm_prot.x: Likewise.
24859 * sunrpc/rpcsvc/mount.x: Likewise.
24860 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
24861 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
24862 * sunrpc/rpcsvc/rex.x: Likewise.
24863 * sunrpc/rpcsvc/rstat.x: Likewise.
24864 * sunrpc/rpcsvc/rusers.x: Likewise.
24865 * sunrpc/rpcsvc/sm_inter.x: Likewise.
24866 * sunrpc/rpcsvc/spray.x: Likewise.
24867 * sunrpc/rpcsvc/yppasswd.x: Likewise.
24868 * sunrpc/rtime.c: Likewise.
24869 * sunrpc/svc.c: Likewise.
24870 * sunrpc/svc_auth.c: Likewise.
24871 * sunrpc/svc_authux.c: Likewise.
24872 * sunrpc/svc_raw.c: Likewise.
24873 * sunrpc/svc_run.c: Likewise.
24874 * sunrpc/svc_simple.c: Likewise.
24875 * sunrpc/svc_tcp.c: Likewise.
24876 * sunrpc/svc_udp.c: Likewise.
24877 * sunrpc/svc_unix.c: Likewise.
24878 * sunrpc/svcauth_des.c: Likewise.
24879 * sunrpc/xcrypt.c: Likewise.
24880 * sunrpc/xdr.c: Likewise.
24881 * sunrpc/xdr_array.c: Likewise.
24882 * sunrpc/xdr_float.c: Likewise.
24883 * sunrpc/xdr_mem.c: Likewise.
24884 * sunrpc/xdr_rec.c: Likewise.
24885 * sunrpc/xdr_ref.c: Likewise.
24886 * sunrpc/xdr_sizeof.c: Likewise.
24887 * sunrpc/xdr_stdio.c: Likewise.
24889 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
24892 2010-08-19 Andreas Schwab <schwab@redhat.com>
24894 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
24896 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
24898 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
24899 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
24900 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
24901 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
24902 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
24903 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
24904 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
24905 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
24906 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
24907 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
24908 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
24909 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
24910 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
24911 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
24913 2010-07-26 Anton Blanchard <anton@samba.org>
24915 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
24916 * malloc/arena.c (heap_trim): Likewise.
24918 2010-08-16 Ulrich Drepper <drepper@redhat.com>
24920 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
24922 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
24923 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
24925 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
24927 * sysdeps/i386/elf/Makefile: New file.
24929 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24931 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
24932 from fanotify_init.
24933 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
24934 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24936 2010-08-15 Ulrich Drepper <drepper@redhat.com>
24938 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
24940 * sysdeps/multiarch/strcmp.S: Likewise.
24942 2010-08-14 Ulrich Drepper <drepper@redhat.com>
24944 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24945 strncase_l-nonascii.
24946 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24947 Add strncase_l-ssse3.
24948 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
24949 * sysdeps/x86_64/strcmp.S: Likewise.
24950 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
24951 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
24952 * sysdeps/x86_64/strncase.S: New file.
24953 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
24954 * sysdeps/x86_64/strncase_l.S: New file.
24955 * string/Makefile (strop-tests): Add strncasecmp.
24956 * string/test-strncasecmp.c: New file.
24958 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
24961 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
24962 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
24964 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24966 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
24968 2010-08-12 Ulrich Drepper <drepper@redhat.com>
24970 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
24971 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
24972 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
24974 2010-05-01 Alan Modra <amodra@gmail.com>
24976 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
24977 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
24978 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
24979 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
24980 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
24981 tidying. Don't tail-call __sigjmp_save for static lib.
24982 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
24984 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
24985 (CALL_MCOUNT): Add eh info, and nop after bl.
24986 (TAIL_CALL_SYSCALL_ERROR): New macro.
24987 (PSEUDO_RET): Use it.
24988 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24989 Correct save location of integer regs and cr.
24990 (_dl_profile_resolve): Correct cr save location. Delete nops
24991 after bl when SHARED. Reduce cfi size a little by better
24992 placement of cfi directives.
24993 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
24994 make a stack frame. Instead use parm save area as a temp.
24995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
24996 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
24997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24998 Don't make a stack frame for parent, use parm save area.
24999 Increase child stack frame to 112 bytes. Don't save unused reg,
25000 and adjust reg usage. Set up cfi on error recovery and
25001 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
25002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25003 (__makecontext): Add dummy nop after jump to exit.
25004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
25005 Use correct parm save area and cr save, reduce stack frame.
25006 Correct cfi for possible PSEUDO_RET frame setup.
25007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
25008 Branch to local label emitted by PSEUDO_RET rather than
25011 2010-08-12 Andreas Schwab <schwab@redhat.com>
25014 * locale/programs/locale.c (print_assignment): New function.
25015 (show_locale_vars): Use it.
25017 2010-08-11 Ulrich Drepper <drepper@redhat.com>
25019 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
25021 (struct statfs64): Likewise.
25022 (_STATFS_F_FLAGS): Define.
25023 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
25024 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25025 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
25026 (ST_VALID): Define locally.
25027 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
25028 __statvfs_getflags, use the provided value.
25029 * sysdeps/unix/sysv/linux/kernel-features.h: Define
25030 __ASSUME_STATFS_F_FLAGS.
25032 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
25034 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
25035 Add sys/fanotify.h.
25036 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
25037 fanotify_mask for GLIBC_2.13.
25038 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
25039 fanotify_init and fanotify_mark.
25040 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25041 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
25043 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
25045 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
25046 prlimit64 for GLIBC_2.13.
25047 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
25049 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
25051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
25052 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25053 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
25054 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
25055 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
25057 * sysdeps/unix/sysv/linux/prlimit.c: New file.
25060 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
25061 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
25063 * nss/Makefile: Add rules to build and run tst-nss-test1.
25064 * shlib-versions: Add entry for libnss_test1.
25065 * nss/nss_test1.c: New file.
25066 * nss/tst-nss-test1.c: New file.
25068 * nss/nsswitch.c (__nss_database_custom): Define new variable.
25069 (__nss_configure_lookup): Set appropriate entry in
25070 __nss_configure_lookup to true.
25071 * nss/nsswitch.h: Define enum with indeces of databases in
25072 databases and __nss_database_custom arrays. Declare
25073 __nss_database_custom.
25074 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
25075 to avoid using nscd when custom rules are installed.
25076 * nss/getXXbyYY_r.c: Likewise.
25077 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25079 * nss/nss_files/files-parse.c: Whitespace fixes.
25081 2010-08-09 Ulrich Drepper <drepper@redhat.com>
25084 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
25085 * posix/fnmatch_loop.c: Likewise.
25087 2010-07-17 Andi Kleen <ak@linux.intel.com>
25089 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
25090 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
25091 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
25092 * Versions.def [GLIBC_2.13]: Add.
25094 2010-08-06 Ulrich Drepper <drepper@redhat.com>
25096 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25097 Also fail if tpwd after pwuid call is NULL.
25099 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
25101 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
25102 when converting to ms.
25104 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
25106 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
25107 EOPNOTSUPP errors with ENOTTY.
25108 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
25109 EOPNOTSUPP errors with ENOTTY.
25111 2010-07-31 Ulrich Drepper <drepper@redhat.com>
25113 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25114 Add strcasecmp_l-ssse3.
25115 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
25117 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
25118 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
25119 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
25121 2010-07-30 Ulrich Drepper <drepper@redhat.com>
25123 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
25125 * string/Makefile (strop-tests): Add strcasecmp.
25126 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25127 strcasecmp_l-nonascii.
25128 (gen-as-const-headers): Add locale-defines.sym.
25129 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
25130 * sysdeps/x86_64/strcasecmp.S: New file.
25131 * sysdeps/x86_64/strcasecmp_l.S: New file.
25132 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
25133 * sysdeps/x86_64/locale-defines.sym: New file.
25134 * string/test-strcasecmp.c: New file.
25136 * string/test-strcasestr.c: Test both ends of the range of characters.
25137 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
25139 2010-07-29 Roland McGrath <roland@redhat.com>
25142 * manual/locale.texi (Yes-or-No Questions): Fix example code.
25144 2010-07-27 Ulrich Drepper <drepper@redhat.com>
25146 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
25149 2010-07-27 Andreas Schwab <schwab@redhat.com>
25151 * manual/memory.texi (Malloc Tunable Parameters): Document
25154 2010-07-26 Roland McGrath <roland@redhat.com>
25157 * configure.in (-fgnu89-inline check): Set and substitute
25158 gnu89_inline, not libc_cv_gnu89_inline.
25159 * configure: Regenerated.
25160 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
25162 2010-07-26 Ulrich Drepper <drepper@redhat.com>
25164 * string/test-strnlen.c: New file.
25165 * string/Makefile (strop-tests): Add strnlen.
25166 * string/tester.c (test_strnlen): Add a few more test cases.
25167 * string/tst-strlen.c: Better error reporting.
25169 * sysdeps/x86_64/strnlen.S: New file.
25171 2010-07-24 Ulrich Drepper <drepper@redhat.com>
25173 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
25174 lower-latency instructions.
25176 2010-07-23 Ulrich Drepper <drepper@redhat.com>
25178 * string/test-strcasestr.c: New file.
25179 * string/test-strstr.c: New file.
25180 * string/Makefile (strop-tests): Add strstr and strcasestr.
25181 * string/str-two-way.h: Don't undefine MAX.
25182 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
25184 2010-07-21 Andreas Schwab <schwab@redhat.com>
25186 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25187 strcasestr-nonascii.
25188 (CFLAGS-strcasestr-nonascii.c): Define.
25189 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
25190 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
25191 Remove unused attribute.
25193 2010-07-20 Roland McGrath <roland@redhat.com>
25195 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
25196 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
25197 ld.so.cache was broken. With it, there is no way to disable dsocaps
25198 like LD_HWCAP_MASK can disable hwcaps.
25200 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25202 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
25204 2010-07-16 Ulrich Drepper <drepper@redhat.com>
25206 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
25207 call in strcasestr.
25208 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
25209 __strcasestr_sse42_nonascii.
25210 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
25211 strcasestr-nonascii.c.
25212 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
25214 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
25216 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
25217 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
25218 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
25219 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
25221 2010-07-09 Ulrich Drepper <drepper@redhat.com>
25223 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
25226 2010-07-06 Andreas Schwab <schwab@redhat.com>
25229 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
25232 2010-07-06 Ulrich Drepper <drepper@redhat.com>
25234 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
25235 _PC_PIPE_BUF using F_GETPIPE_SZ.
25237 2010-07-05 Roland McGrath <roland@redhat.com>
25239 * manual/arith.texi (Rounding Functions): Fix rint description
25240 implicit in round description.
25242 2010-07-02 Ulrich Drepper <drepper@redhat.com>
25244 * elf/Makefile: Fix linking for a few tests to make recent linker
25247 2010-06-30 Andreas Schwab <schwab@redhat.com>
25249 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
25250 $(common-objpfx)libc_nonshared.a.
25252 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
25254 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
25255 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
25256 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
25257 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
25258 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
25259 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
25260 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
25261 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
25262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
25263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
25264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
25265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
25266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
25267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
25268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
25269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
25270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
25271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
25272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
25273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
25274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
25275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
25276 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
25277 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
25278 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
25279 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
25280 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
25281 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
25282 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
25283 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
25284 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
25285 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
25286 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
25287 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
25288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
25289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
25290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
25291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
25292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
25293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
25294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
25295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
25296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
25297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
25298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
25299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
25300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
25301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
25303 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
25305 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
25306 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
25307 * string/memmove.c (memmove): Renamed to ...
25308 (MEMMOVE): ...this. Default to memmove.
25309 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
25310 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
25312 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25313 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
25314 mempcpy-ssse3-back memmove-ssse3-back.
25315 * sysdeps/x86_64/multiarch/bcopy.S: New file .
25316 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
25317 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
25318 * sysdeps/x86_64/multiarch/memcpy.S: New file.
25319 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
25320 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
25321 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
25322 * sysdeps/x86_64/multiarch/memmove.c: New file.
25323 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
25324 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
25325 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
25326 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
25327 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
25328 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
25330 (index_Fast_Copy_Backward): Define.
25331 (HAS_ARCH_FEATURE): Define.
25332 (HAS_FAST_REP_STRING): Define.
25333 (HAS_FAST_COPY_BACKWARD): Define.
25335 2010-06-21 Andreas Schwab <schwab@redhat.com>
25337 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25338 Restore proper fallback handling.
25340 2010-06-19 Ulrich Drepper <drepper@redhat.com>
25343 * posix/group_member.c (__group_member): Correct checking loop.
25345 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
25346 OOM in getpwuid_r correctly. Return error number when the caller
25347 should return, otherwise -1.
25348 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
25349 call returning > 0 value.
25350 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
25352 2010-06-07 Andreas Schwab <schwab@redhat.com>
25354 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
25355 libc_nonshared.a from targets in modules-names.
25357 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
25359 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
25362 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
25364 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
25365 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
25366 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
25367 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
25369 2010-06-02 Andreas Schwab <schwab@redhat.com>
25371 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
25373 2010-06-14 Ulrich Drepper <drepper@redhat.com>
25375 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
25377 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25378 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25379 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25380 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25381 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25382 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
25384 2010-06-14 Roland McGrath <roland@redhat.com>
25386 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
25388 2010-06-07 Jakub Jelinek <jakub@redhat.com>
25390 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
25391 __REDIRECT followed by __THROW.
25392 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
25393 * posix/getopt.h (getopt): Likewise.
25395 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25397 * hurd/lookup-at.c (__file_name_lookup_at): Accept
25398 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
25399 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
25401 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
25402 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
25404 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
25406 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
25408 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
25411 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25412 Properly check family and model.
25414 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
25416 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
25418 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
25420 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
25422 2010-05-21 Ulrich Drepper <drepper@redhat.com>
25424 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
25427 2010-05-19 Andreas Schwab <schwab@redhat.com>
25429 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
25432 2010-05-21 Andreas Schwab <schwab@redhat.com>
25434 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
25435 and internal_recvmmsg.
25436 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
25437 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
25438 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
25439 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
25441 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
25442 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25443 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25445 2010-05-20 Andreas Schwab <schwab@redhat.com>
25447 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
25449 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
25451 POWER7 optimizations.
25452 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
25453 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
25455 2010-05-19 Ulrich Drepper <drepper@redhat.com>
25457 * version.h: Update for 2.13 development version.
25459 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
25461 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
25462 exceptions. Return 0.
25464 2010-05-07 Roland McGrath <roland@redhat.com>
25466 * elf/ldconfig.c (main): Add a const.
25468 2010-05-06 Ulrich Drepper <drepper@redhat.com>
25470 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
25471 (args_options): Add no-idn option.
25472 (ahosts_keys_int): Add idn_flags to ai_flags.
25473 (parse_option): Handle 'i' option to clear idn_flags.
25475 * malloc/malloc.c (_int_free): Possible race in the most recently
25476 added check. Only act on the data if no current modification
25479 See ChangeLog.17 for earlier changes.