aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-12-30Remove last remnants of -S option support.Ulrich Drepper3-51/+18
2005-12-30[BZ #1067]Andreas Jaeger1-0/+6
2005-12-30 Andreas Jaeger <aj@suse.de> [BZ #1067] * sysdeps/unix/sysv/linux/mips/bits/socket.h: Fix struct msghdr for 64-bit mips kernel.
2005-12-30[BZ #1067] Andreas Jaeger1-2/+2
* sysdeps/unix/sysv/linux/mips/bits/socket.h: Fix struct msghdr for 64-bit mips kernel.
2005-12-302005-12-08 Steven Munroe <sjmunroe@us.ibm.com>Ulrich Drepper16-98/+659
Tom Gall <tom_gall@vnet.ibm.com> * elf/rtld.c (dl_main): Initialize l_local_scope for sysinfo_map. * sysdeps/powerpc/elf/libc-start.c: Move this... * sysdeps/unix/sysv/linux/powerpc/libc-start.c: ...to here. * sysdeps/powerpc/powerpc32/dl-start.S: Add _dl_main_dispatch label. * sysdeps/powerpc/powerpc32/hp-timing.h: New file. * sysdeps/unix/sysv/linux/powerpc/Versions: New file. * sysdeps/unix/sysv/linux/clock_getres.c: If HAVE_CLOCK_GETRES_VSYSCALL is not defined, redefine INTERNAL_VSYSCALL and INLINE_VSYSCALL to INTERNAL_SYSCALL and INLINE_SYSCALL respectively. Otherwise include <bits/libc-vdso.h>. Use INLINE_VSYSCALL and INTERNAL_SYSCALL instead of the normal versions throughout the code. * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise if HAVE_CLOCK_GETTIME_VSYSCALL is defined. * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: New file. * sysdeps/unix/sysv/linux/powerpc/dl-vdso.c: New file. * sysdeps/unix/sysv/linux/powerpc/dl-vdso.h: New file. * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use vDSO. * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: New file. * sysdeps/unix/sysv/linux/powerpc/Makefile: Add dl-vdso to routines. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define INLINE_VSYSCALL, INTERNAL_VSYSCALL, INTERNAL_SYSCALL_NCS, INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK, HAVE_CLOCK_GETRES_VSYSCALL, and HAVE_CLOCK_GETTIME_VSYSCALL. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2005-12-29* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h [ASSEMBLER]:Ulrich Drepper7-1/+40
Define PTR_DEMANGLE2. * sysdeps/powerpc/powerpc32/setjmp-common.S [PTR_MANGLE]: Also mangle r1. * sysdeps/powerpc/powerpc32/__longjmp-common.S [PTR_DEMANGLE]: Also demangle r1. * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [PTR_MANGLE]: Mangle r0 and r1. * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [PTR_DEMANGLE]: Demangle r0 and r1.
2005-12-29* sysdeps/powerpc/powerpc64/setjmp-common.S [PTR_MANGLE]: AlsoUlrich Drepper2-0/+10
mangle r1. * sysdeps/powerpc/powerpc64/__longjmp-common.S [PTR_DEMANGLE]: Also demangle r1.
2005-12-29* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S:Ulrich Drepper8-1397/+1201
Move common function to... * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Move common function to... * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Move common function to... * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.sym (_FRAME_BACKCHAIN, _FRAME_LR_SAVE, _FRAME_PARM_SAVE1, _FRAME_PARM_SAVE2, _FRAME_PARM_SAVE3, _FRAME_PARM_SAVE4): Remove unrelated stack frame defines.
2005-12-29* stdio-common/tstdiomisc.c [FLT_EVAL_METHOD!=2] (dbl_max):Ulrich Drepper2-1/+4
Defining as macro as before the last change.
2005-12-29* sysdeps/unix/sysv/linux/sigaction.c: If WRAPPER_INCLUDE is defined,Ulrich Drepper11-8/+103
include the named file. * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2005-12-29Not needed anymore.Ulrich Drepper1-58/+0
2005-12-29* sysdeps/mach/hurd/errno.c: New file.Roland McGrath3-2/+16
* sysdeps/mach/hurd/ioctl.c (__ioctl): Use a union to avoid a cast.
2005-12-29* sysdeps/posix/libc_fatal.c (__libc_message): Add a const, a cast.Roland McGrath4-6/+16
* hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Fix cast. * hurd/report-wait.c (_S_msg_report_wait): Likewise. * include/sys/xattr.h: New file.
2005-12-292005-12-29 Roland McGrath <roland@frob.com>Roland McGrath1-0/+1
* include/sys/xattr.h: New file.
2005-12-29* nscd/selinux.c (log_callback): Use audit_log_user_avc_message.Ulrich Drepper2-6/+31
Don't do anything if audit_fd is invalid. (audit_init): Don't complain if kernel support is missing. Patch by Steve Grubb <sgrubb@redhat.com>.
2005-12-28* Makefile (tests): Add tst-signal7.Ulrich Drepper2-0/+64
* tst-signal7.c: New file.
2005-12-28(tests): Add tst-signal7.Ulrich Drepper1-1/+1
2005-12-28* hurd/sigunwind.c: Include <stdint.h>.Roland McGrath1-0/+5
* sysdeps/mach/hurd/jmp-unwind.c: Likewise.
2005-12-282005-12-28 Roland McGrath <roland@redhat.com>Roland McGrath2-0/+2
* hurd/sigunwind.c: Include <stdint.h>. * sysdeps/mach/hurd/jmp-unwind.c: Likewise.
2005-12-28* sysdeps/i386/__longjmp.S [PTR_DEMANGLE]: Also demangle stackUlrich Drepper5-2/+45
pointer. Add CFI. * sysdeps/i386/bsd-_setjmp.S [PTR_MANGLE]: Also mangle stack pointer. * sysdeps/i386/bsd-setjmp.S: Likewise. * sysdeps/i386/setjmp.S: Likewise.
2005-12-28* sysdeps/x86_64/__longjmp.S: No need to make sure return value isUlrich Drepper2-3/+5
!= 0, the caller did that.
2005-12-28* sysdeps/x86_64/__longjmp.S: Don't confuse unwinder by loadingUlrich Drepper1-0/+3
mangled values in %rbp and %rsp registers and by wrong cfi.
2005-12-28Don't confuse unwinder by loading mangled values in %rbp and %rsp registers ↵Ulrich Drepper1-10/+13
and by wrong cfi.
2005-12-28* config.make.in (c++-sysincludes): New substituted variable.Roland McGrath5-2/+26
* configure.in (CXX_SYSINCLUDES): New substituted variable. * configure: Regenerated. * Makeconfig (CXXFLAGS): Prepend $(c++-sysincludes) here.
2005-12-28* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.hRoland McGrath27-69/+231
(PTR_MANGLE): Fix cast. * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Take third argument DEMANGLE, and pass SP value through it. * sysdeps/hppa/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. * sysdeps/mips/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. * sysdeps/s390/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. * sysdeps/sh/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. * sysdeps/sparc/sparc32/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Likewise. * sysdeps/x86_64/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Pass inline demangler function to _JMPBUF_UNWINDS. * sysdeps/mach/hurd/jmp-unwind.c (demangle_ptr): New function. (_longjmp_unwind): Pass it to _JMPBUF_UNWINDS.
2005-12-27* posix/tst-execle1.c (do_test): Add a const.Roland McGrath26-89/+138
* posix/tst-execle2.c (do_test): Likewise. * posix/transbug.c (run_test): Add some casts. * posix/bug-regex22.c (main): Likewise. * posix/bug-regex5.c (main): Likewise. * wcsmbs/tst-mbsrtowcs.c (main): Likewise. * string/test-strspn.c (do_test, do_random_tests): Likewise. * string/test-strrchr.c (do_test, do_random_tests): Likewise. * string/test-strlen.c (do_random_tests): Likewise. * string/test-strpbrk.c (do_test, do_random_tests): Likewise. * string/test-strcmp.c (do_random_tests): Likewise. * string/test-strchr.c (do_test, do_random_tests): Likewise. * string/test-strcat.c (do_test, do_random_tests): Likewise. * string/test-strncpy.c (do_random_tests): Likewise. * string/test-strcpy.c (do_test, do_random_tests): Likewise. * string/test-memccpy.c (do_test): Likewise. * string/test-memmove.c (do_test, do_random_tests): Likewise. * string/test-memcpy.c (do_test, do_random_tests): Likewise. * string/test-memcmp.c (do_test, do_random_tests): Likewise. * string/test-memchr.c (do_test, do_random_tests): Likewise. * dlfcn/bug-atexit1.c (do_test): Fix up prototype in cast. * stdio-common/tst-fgets.c (do_test): Add a cast. * iconvdata/bug-iconv4.c (xiconv): Add a cast. * locale/programs/simple-hash.c (insert_entry_2): Remove useless casts. * resolv/herror.c (herror): Remove unused extern decl. * libio/obprintf.c: Include "strfile.h". * elf/order2mod2.c (init): Cast ignored value to void. * stdio-common/tstdiomisc.c: If FLT_EVAL_METHOD is 2, use long
2005-12-272005-12-27 Roland McGrath <roland@redhat.com>Roland McGrath2-2/+2
* posix/tst-execle1.c (do_test): Add a const. * posix/tst-execle2.c (do_test): Likewise.
2005-12-27* elf/tst-tls13.c (do_test): Avoid using the library path whenUlrich Drepper2-3/+6
looking for tst-tlsmod13a.so.
2005-12-27* stdio-common/tstdiomisc.c: If FLT_EVEL_METHOD is 2 use longUlrich Drepper3-5/+214
double math to generate NaN results.
2005-12-27* sysdeps/unix/sysv/linux/sparc/bits/errno.h: Define EOWNERDEADUlrich Drepper11-21/+96
and ENOTRECOVERABLE if not already defined. * sysdeps/unix/sysv/linux/alpha/bits/errno.h: Likewise. 2005-12-27 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/alpha/Versions: Add new errlist-compat entry for up to 138 errnos.
2005-12-27* iconv/gconv_trans.c (__gconv_transliterate): Demangle step __fctUlrich Drepper3-4/+23
before calling it. 2005-12-27 David S. Miller <davem@sunset.davemloft.net> * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist-compat entry for up to 134 errnos.
2005-12-27* Versions.def: Add GLIBC_2.4 for libpthread.cvs/fedora-glibc-20051227T1426Ulrich Drepper31-58/+980
2005-12-25* stdlib/Makefile ($(objpfx)isomac.out): Move -I.. to the end soUlrich Drepper2-1/+6
that $(..)/bits is not found early.
2005-12-24* manual/errno.texi: Add new Linux errno codes.Ulrich Drepper6-0/+94
* sysdeps/unix/sysv/linux/Versions: Add new errlist-compat entry for up to 132 errnos.
2005-12-24* sysdeps/unix/sysv/linux/bits/errno.h: Define EOWNERDEAD andUlrich Drepper4-5/+19
ENOTRECOVERABLE if not already defined.
2005-12-23* pthread_mutex_destroy.c: Set mutex type to an invalid value.Ulrich Drepper6-13/+32
* pthread_mutex_lock.c: Return EINVAL for invalid mutex type. * pthread_mutex_trylock.c: Likewise. * pthread_mutex_timedlock.c: Likewise. * pthread_mutex_unlock.c: Likewise.
2005-12-23[BZ #1566]Ulrich Drepper2-1/+6
2005-12-23 Ulrich Drepper <drepper@redhat.com> [BZ #1566] * sysdeps/i386/i586/memusage.h: New file. * sysdeps/i386/memusage.h: Don't define GETTIME.
2005-12-23i586 definitions for memusage.Ulrich Drepper1-0/+1
2005-12-23* sysdeps/pthread/sigaction.c: Use "" instead of <> to include self,Roland McGrath1-0/+6
so that #include_next's search location is not reset to the -I.. directory where <nptl/...> can be found.
2005-12-232005-12-22 Roland McGrath <roland@redhat.com>Roland McGrath1-2/+6
* sysdeps/pthread/sigaction.c: Use "" instead of <> to include self, so that #include_next's search location is not reset to the -I.. directory where <nptl/...> can be found.
2005-12-23[BZ #1499]Ulrich Drepper2-4/+9
* misc/syslog.c (SyslogAddr): Use sockaddr_un instead of sockaddr. (openlog_internal): Adjust for this change.
2005-12-23* Makeconfig: Define CXXFLAGS. Split out warnings from +gccwarn whichUlrich Drepper8-7/+159
are not understood by the C++ compiler. * Makerules: Add rules to build C++ code for test cases. * include/stdlib.h: Protect for inclusion in C++ code. * include/time.h: Likewise. * test-skeleton.c (timeout_handler): Rewrite ts initialization for C++ compatibility.
2005-12-23(timeout_handler): Rewrite ts initialization for C++.Ulrich Drepper1-1/+3
2005-12-22* Makerules [gen-as-const-headers] (tests): Add one test per .symRoland McGrath1-0/+8
file, not just one. ($(objpfx)test-as-const.c): Target replaced with ... ($(objpfx)test-as-const-%.c): ... this pattern rule. (generated): Add those files.
2005-12-222005-12-22 Roland McGrath <roland@redhat.com>Roland McGrath1-4/+4
* Makerules [gen-as-const-headers] (tests): Add one test per .sym file, not just one. ($(objpfx)test-as-const.c): Target replaced with ... ($(objpfx)test-as-const-%.c): ... this pattern rule. (generated): Add those files.
2005-12-22* sysdeps/x86_64/__longjmp.S: Also protect SP and BP.Ulrich Drepper3-2/+13
* sysdeps/x86_64/setjmp.S: Likewise.
2005-12-22Also protect SP and BP.Ulrich Drepper2-0/+11
2005-12-22Typo fix.Roland McGrath1-2/+2
2005-12-22* sysdeps/unix/sysv/linux/i386/ucontext_i.h: File removed.Roland McGrath25-634/+366
* sysdeps/unix/sysv/linux/i386/ucontext_i.sym: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h: File removed. * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.sym: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h: File removed. * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym: New file. * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: File removed. * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: File removed. * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: New file. * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.h: File removed. * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: New file. * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.h: File removed. * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: New file. * sysdeps/unix/sysv/linux/x86_64/ucontext_i.h: File removed. * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym: New file. * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = stdlib]: (gen-as-const-headers): Add it. * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise. * sysdeps/unix/sysv/linux/sh/Makefile: Likewise. * sysdeps/unix/sysv/linux/s390/Makefile: Likewise. * sysdeps/unix/sysv/linux/x86_64/Makefile: Likewise. * stdlib/tst-ucontext-off.c: File removed. * stdlib/Makefile (tests): Remove it. * scripts/gen-as-const.awk: Support generating a test program. * Makerules [gen-as-const-headers] (tests): Add test-as-const. [gen-as-const-headers] ($(objpfx)test-as-const.c): New target.
2005-12-222005-12-21 Roland McGrath <roland@redhat.com>Roland McGrath73-4840/+9
* sysdeps/generic/bits: Subdirectory and all files moved to ... * bits: ... here, new subdirectory. * Makeconfig (+includes): Reordered includes to put build and sysdeps dirs first after $(..)include, $(sysincludes) last. * sysdeps/generic/bits: Subdirectory and all files moved to ... * bits: ... here, new subdirectory. * Makeconfig (+includes): Reordered includes to put build and sysdeps dirs first after $(..)include, $(sysincludes) last.
2005-12-22[BZ #2066]Roland McGrath2-2/+11
2005-12-21 Roland McGrath <roland@redhat.com> [BZ #2066] * intl/l10nflist.c (_nl_make_l10nflist): Free ABS_FILENAME when later malloc fails.