Ulrich Drepper [Sun, 1 Jan 2006 19:18:49 +0000 (1 19:18 +0000)]
.
Ulrich Drepper [Sun, 1 Jan 2006 19:15:56 +0000 (1 19:15 +0000)]
Update copyright year.
Andreas Jaeger [Sat, 31 Dec 2005 13:11:27 +0000 (31 13:11 +0000)]
[BZ #1395]
* manual/filesys.texi (Symbolic Links): Fix description of
canonicalize_file_name based on patch by Oskar Liljeblad
<oskar@osk.mine.nu>.
Ulrich Drepper [Fri, 30 Dec 2005 22:47:37 +0000 (30 22:47 +0000)]
.
Ulrich Drepper [Fri, 30 Dec 2005 22:46:34 +0000 (30 22:46 +0000)]
(_gethtbyname): Remove extra prototype.
(gethostbyname2): Likewise.
(gethostbyaddr): Likewise.
(getanswer): Use ISO C function declaration.
Ulrich Drepper [Fri, 30 Dec 2005 22:45:29 +0000 (30 22:45 +0000)]
(latlon2ul): Use ISO C function declaration.
(precsize_aton): Likewise.
(precsize_ntoa): Likewise.
Ulrich Drepper [Fri, 30 Dec 2005 22:18:48 +0000 (30 22:18 +0000)]
Add cfi instrumentation.
Ulrich Drepper [Fri, 30 Dec 2005 22:18:03 +0000 (30 22:18 +0000)]
Remove explicit .eh_frame section, use cfi_* directives.
Ulrich Drepper [Fri, 30 Dec 2005 22:17:53 +0000 (30 22:17 +0000)]
.
Ulrich Drepper [Fri, 30 Dec 2005 22:16:43 +0000 (30 22:16 +0000)]
Add cfi_endproc.
Ulrich Drepper [Fri, 30 Dec 2005 22:15:41 +0000 (30 22:15 +0000)]
Remove now duplicate cfi_startproc and cfi_endproc.
Ulrich Drepper [Fri, 30 Dec 2005 22:14:52 +0000 (30 22:14 +0000)]
Adjust cfi_startproc.
Ulrich Drepper [Fri, 30 Dec 2005 22:12:08 +0000 (30 22:12 +0000)]
Add cfi instrumentation to asm fragments.
Ulrich Drepper [Fri, 30 Dec 2005 21:04:04 +0000 (30 21:04 +0000)]
.
Ulrich Drepper [Fri, 30 Dec 2005 21:02:52 +0000 (30 21:02 +0000)]
Use PTR_MANGLE2.
Make sure pointer guard
value doesn't survive in a registers when the function returns.
Ulrich Drepper [Fri, 30 Dec 2005 21:01:53 +0000 (30 21:01 +0000)]
Use PTR_DEMANGLE2.
Ulrich Drepper [Fri, 30 Dec 2005 21:00:57 +0000 (30 21:00 +0000)]
Define PTR_MANGLE2.
Ulrich Drepper [Fri, 30 Dec 2005 18:33:11 +0000 (30 18:33 +0000)]
[__ASSEMBLER__] (PTR_DEMANGLE2): Define.
Ulrich Drepper [Fri, 30 Dec 2005 18:29:30 +0000 (30 18:29 +0000)]
.
Ulrich Drepper [Fri, 30 Dec 2005 18:27:14 +0000 (30 18:27 +0000)]
Undo last change for now.
Ulrich Drepper [Fri, 30 Dec 2005 18:23:40 +0000 (30 18:23 +0000)]
(_JMPBUF_UNWINDS): Don't use _demangle parameter for now.
Ulrich Drepper [Fri, 30 Dec 2005 18:09:21 +0000 (30 18:09 +0000)]
.
Ulrich Drepper [Fri, 30 Dec 2005 18:06:43 +0000 (30 18:06 +0000)]
(_IO_getwline_info): Move return to correct location.
Ulrich Drepper [Fri, 30 Dec 2005 16:53:24 +0000 (30 16:53 +0000)]
.
Ulrich Drepper [Fri, 30 Dec 2005 16:51:19 +0000 (30 16:51 +0000)]
Remove last remnants of -S option support.
Andreas Jaeger [Fri, 30 Dec 2005 09:28:00 +0000 (30 09:28 +0000)]
.
Andreas Jaeger [Fri, 30 Dec 2005 09:27:42 +0000 (30 09:27 +0000)]
[BZ #1067]
* sysdeps/unix/sysv/linux/mips/bits/socket.h: Fix struct msghdr
for 64-bit mips kernel.
Ulrich Drepper [Fri, 30 Dec 2005 07:32:48 +0000 (30 07:32 +0000)]
.
Ulrich Drepper [Fri, 30 Dec 2005 07:31:48 +0000 (30 07:31 +0000)]
Define INLINE_VSYSCALL, INTERNAL_VSYSCALL, INTERNAL_SYSCALL_NCS,
INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK, HAVE_CLOCK_GETRES_VSYSCALL, and
HAVE_CLOCK_GETTIME_VSYSCALL.
Ulrich Drepper [Fri, 30 Dec 2005 07:30:44 +0000 (30 07:30 +0000)]
Definitions for vdso access.
Ulrich Drepper [Fri, 30 Dec 2005 07:30:11 +0000 (30 07:30 +0000)]
Startup code for libc on Linux/ppc.
Ulrich Drepper [Fri, 30 Dec 2005 07:29:30 +0000 (30 07:29 +0000)]
gettimeofday implementation for Linux/ppc.
Ulrich Drepper [Fri, 30 Dec 2005 07:28:22 +0000 (30 07:28 +0000)]
Use vDSO.
Ulrich Drepper [Fri, 30 Dec 2005 07:27:52 +0000 (30 07:27 +0000)]
Defintions for vDSO access functions.
Ulrich Drepper [Fri, 30 Dec 2005 07:27:24 +0000 (30 07:27 +0000)]
vDSO access functions.
Ulrich Drepper [Fri, 30 Dec 2005 07:26:44 +0000 (30 07:26 +0000)]
Add dl-vdso to routines.
Ulrich Drepper [Fri, 30 Dec 2005 07:25:24 +0000 (30 07:25 +0000)]
If HAVE_CLOCK_GETTIME_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.
Ulrich Drepper [Fri, 30 Dec 2005 07:24:56 +0000 (30 07:24 +0000)]
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.
Ulrich Drepper [Fri, 30 Dec 2005 07:24:19 +0000 (30 07:24 +0000)]
High-precision timing definitions for ppc32.
Ulrich Drepper [Fri, 30 Dec 2005 07:23:19 +0000 (30 07:23 +0000)]
Add _dl_main_dispatch label.
Ulrich Drepper [Fri, 30 Dec 2005 07:22:27 +0000 (30 07:22 +0000)]
(dl_main): Initialize l_local_scope for sysinfo_map.
Ulrich Drepper [Fri, 30 Dec 2005 07:21:44 +0000 (30 07:21 +0000)]
Version definitions for Linux/ppc.
Ulrich Drepper [Fri, 30 Dec 2005 07:21:31 +0000 (30 07:21 +0000)]
Not needed anymore.
Ulrich Drepper [Thu, 29 Dec 2005 22:03:36 +0000 (29 22:03 +0000)]
.
Ulrich Drepper [Thu, 29 Dec 2005 22:01:44 +0000 (29 22:01 +0000)]
[ASSEMBLER]: Define PTR_DEMANGLE2.
Ulrich Drepper [Thu, 29 Dec 2005 22:00:59 +0000 (29 22:00 +0000)]
[PTR_MANGLE]: Mangle r0 and r1.
Ulrich Drepper [Thu, 29 Dec 2005 22:00:03 +0000 (29 22:00 +0000)]
[PTR_DEMANGLE]: Demangle r0 and r1.
Ulrich Drepper [Thu, 29 Dec 2005 21:59:17 +0000 (29 21:59 +0000)]
[PTR_MANGLE]: Also mangle r1.
Ulrich Drepper [Thu, 29 Dec 2005 21:58:15 +0000 (29 21:58 +0000)]
[PTR_DEMANGLE]: Also demangle r1.
Ulrich Drepper [Thu, 29 Dec 2005 21:16:24 +0000 (29 21:16 +0000)]
.
Ulrich Drepper [Thu, 29 Dec 2005 21:14:58 +0000 (29 21:14 +0000)]
[PTR_DEMANGLE]: Also demangle r1.
Ulrich Drepper [Thu, 29 Dec 2005 21:10:34 +0000 (29 21:10 +0000)]
.
Ulrich Drepper [Thu, 29 Dec 2005 21:07:58 +0000 (29 21:07 +0000)]
(_FRAME_BACKCHAIN, _FRAME_LR_SAVE, _FRAME_PARM_SAVE1,
_FRAME_PARM_SAVE2, _FRAME_PARM_SAVE3, _FRAME_PARM_SAVE4): Remove
unrelated stack frame defines.
Ulrich Drepper [Thu, 29 Dec 2005 21:07:44 +0000 (29 21:07 +0000)]
Common code for linux/ppc32 swapcontext.
Ulrich Drepper [Thu, 29 Dec 2005 21:06:54 +0000 (29 21:06 +0000)]
Common code for linux/ppc32 setcontext.
Ulrich Drepper [Thu, 29 Dec 2005 21:06:08 +0000 (29 21:06 +0000)]
Common code for linux/ppc32 getcontext.
Ulrich Drepper [Thu, 29 Dec 2005 21:04:28 +0000 (29 21:04 +0000)]
Move common code to
sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S.
Ulrich Drepper [Thu, 29 Dec 2005 21:03:38 +0000 (29 21:03 +0000)]
Move common code to
sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S.
Ulrich Drepper [Thu, 29 Dec 2005 21:02:31 +0000 (29 21:02 +0000)]
Move common function to
sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S.
Ulrich Drepper [Thu, 29 Dec 2005 18:00:11 +0000 (29 18:00 +0000)]
.
Ulrich Drepper [Thu, 29 Dec 2005 17:57:10 +0000 (29 17:57 +0000)]
[FLT_EVAL_METHOD!=2] (dbl_max): Defining as macro as before the last change.
Ulrich Drepper [Thu, 29 Dec 2005 16:34:57 +0000 (29 16:34 +0000)]
.
Ulrich Drepper [Thu, 29 Dec 2005 16:32:18 +0000 (29 16:32 +0000)]
If WRAPPER_INCLUDE is defined, include the named file.
Ulrich Drepper [Thu, 29 Dec 2005 16:28:32 +0000 (29 16:28 +0000)]
Define CFLAGS-sigaction.c.
Ulrich Drepper [Thu, 29 Dec 2005 16:28:12 +0000 (29 16:28 +0000)]
Wrapper function for sigaction.
Ulrich Drepper [Thu, 29 Dec 2005 16:26:17 +0000 (29 16:26 +0000)]
Not needed anymore.
Roland McGrath [Thu, 29 Dec 2005 10:51:20 +0000 (29 10:51 +0000)]
.
Roland McGrath [Thu, 29 Dec 2005 10:51:12 +0000 (29 10:51 +0000)]
2005-12-29 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/errno.c: New file.
Roland McGrath [Thu, 29 Dec 2005 10:51:09 +0000 (29 10:51 +0000)]
2005-12-29 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/ioctl.c (__ioctl): Use a union to avoid a cast.
Roland McGrath [Thu, 29 Dec 2005 10:38:16 +0000 (29 10:38 +0000)]
.
Roland McGrath [Thu, 29 Dec 2005 10:38:12 +0000 (29 10:38 +0000)]
2005-12-29 Roland McGrath <roland@frob.com>
* hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Fix cast.
* hurd/report-wait.c (_S_msg_report_wait): Likewise.
Roland McGrath [Thu, 29 Dec 2005 10:38:10 +0000 (29 10:38 +0000)]
2005-12-29 Roland McGrath <roland@frob.com>
* sysdeps/posix/libc_fatal.c (__libc_message): Add a const, a cast.
Roland McGrath [Thu, 29 Dec 2005 10:38:08 +0000 (29 10:38 +0000)]
2005-12-29 Roland McGrath <roland@frob.com>
* include/sys/xattr.h: New file.
Ulrich Drepper [Thu, 29 Dec 2005 01:09:00 +0000 (29 01:09 +0000)]
.
Ulrich Drepper [Thu, 29 Dec 2005 00:44:09 +0000 (29 00:44 +0000)]
(log_callback): Use audit_log_user_avc_message. Don't do anything if
audit_fd is invalid.
(audit_init): Don't complain if kernel support is missing.
Ulrich Drepper [Wed, 28 Dec 2005 20:50:14 +0000 (28 20:50 +0000)]
.
Ulrich Drepper [Wed, 28 Dec 2005 20:48:38 +0000 (28 20:48 +0000)]
Test for invalid signal numbers.
Ulrich Drepper [Wed, 28 Dec 2005 20:48:24 +0000 (28 20:48 +0000)]
(tests): Add tst-signal7.
Roland McGrath [Wed, 28 Dec 2005 20:40:09 +0000 (28 20:40 +0000)]
.
Roland McGrath [Wed, 28 Dec 2005 20:40:03 +0000 (28 20:40 +0000)]
2005-12-28 Roland McGrath <roland@redhat.com>
* hurd/sigunwind.c: Include <stdint.h>.
* sysdeps/mach/hurd/jmp-unwind.c: Likewise.
Ulrich Drepper [Wed, 28 Dec 2005 19:13:20 +0000 (28 19:13 +0000)]
.
Ulrich Drepper [Wed, 28 Dec 2005 19:11:46 +0000 (28 19:11 +0000)]
[PTR_MANGLE]: Also mangle stack pointer.
Ulrich Drepper [Wed, 28 Dec 2005 19:10:48 +0000 (28 19:10 +0000)]
[PTR_DEMANGLE]: Also demangle stack pointer. Add CFI.
Ulrich Drepper [Wed, 28 Dec 2005 16:49:48 +0000 (28 16:49 +0000)]
.
Ulrich Drepper [Wed, 28 Dec 2005 16:48:15 +0000 (28 16:48 +0000)]
No need to make sure return value is != 0, the caller did that.
Ulrich Drepper [Wed, 28 Dec 2005 16:37:29 +0000 (28 16:37 +0000)]
.
Ulrich Drepper [Wed, 28 Dec 2005 16:35:33 +0000 (28 16:35 +0000)]
Don't confuse unwinder by loading mangled values in %rbp and %rsp
registers and by wrong cfi.
Roland McGrath [Wed, 28 Dec 2005 06:53:43 +0000 (28 06:53 +0000)]
.
Roland McGrath [Wed, 28 Dec 2005 06:53:39 +0000 (28 06:53 +0000)]
2005-12-27 Roland McGrath <roland@redhat.com>
* config.make.in (c++-sysincludes): New substituted variable.
* configure.in (CXX_SYSINCLUDES): New substituted variable.
* configure: Regenerated.
* Makeconfig (CXXFLAGS): Prepend $(c++-sysincludes) here.
Roland McGrath [Wed, 28 Dec 2005 05:42:30 +0000 (28 05:42 +0000)]
.
Roland McGrath [Wed, 28 Dec 2005 05:41:39 +0000 (28 05:41 +0000)]
2005-12-27 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
(PTR_MANGLE): Fix cast.
Roland McGrath [Wed, 28 Dec 2005 05:41:37 +0000 (28 05:41 +0000)]
2005-12-27 Roland McGrath <roland@redhat.com>
* 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.
Roland McGrath [Wed, 28 Dec 2005 05:41:17 +0000 (28 05:41 +0000)]
2005-12-27 Roland McGrath <roland@redhat.com>
* sysdeps/x86_64/jmpbuf-unwind.h (_jmpbuf_sp): New inline function.
(_JMPBUF_UNWINDS_ADJ): Use it, to PTR_DEMANGLE before comparison.
* sysdeps/alpha/jmpbuf-unwind.h: Likewise.
* sysdeps/i386/jmpbuf-unwind.h: Likewise.
* sysdeps/mips/jmpbuf-unwind.h: Likewise.
* sysdeps/powerpc/jmpbuf-unwind.h: Likewise.
* sysdeps/s390/jmpbuf-unwind.h: Likewise.
* sysdeps/sh/jmpbuf-unwind.h: Likewise.
* sysdeps/sparc/sparc32/jmpbuf-unwind.h: Likewise.
* sysdeps/sparc/sparc64/jmpbuf-unwind.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/jmpbuf-unwind.h: Likewise.
Roland McGrath [Tue, 27 Dec 2005 22:50:12 +0000 (27 22:50 +0000)]
.
Roland McGrath [Tue, 27 Dec 2005 22:49:59 +0000 (27 22:49 +0000)]
2005-12-27 Roland McGrath <roland@redhat.com>
* resolv/herror.c (herror): Remove unused extern decl.
Roland McGrath [Tue, 27 Dec 2005 22:49:56 +0000 (27 22:49 +0000)]
2005-12-27 Roland McGrath <roland@redhat.com>
* locale/programs/simple-hash.c (insert_entry_2): Remove useless casts.
Roland McGrath [Tue, 27 Dec 2005 22:49:53 +0000 (27 22:49 +0000)]
2005-12-27 Roland McGrath <roland@redhat.com>
* elf/order2mod2.c (init): Cast ignored value to void.
Roland McGrath [Tue, 27 Dec 2005 22:49:51 +0000 (27 22:49 +0000)]
2005-12-27 Roland McGrath <roland@redhat.com>
* 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.
Roland McGrath [Tue, 27 Dec 2005 22:49:48 +0000 (27 22:49 +0000)]
2005-12-27 Roland McGrath <roland@redhat.com>
* libio/obprintf.c: Include "strfile.h".
Roland McGrath [Tue, 27 Dec 2005 22:49:45 +0000 (27 22:49 +0000)]
2005-12-27 Roland McGrath <roland@redhat.com>
* posix/tst-execle1.c (do_test): Add a const.
* posix/tst-execle2.c (do_test): Likewise.