Ulrich Drepper
6cac69275f
(nscd_init): Remove if block which should have been removed as part of the -S option removal.
2006-01-03 21:26:28 +00:00
Andreas Jaeger
5e1f32525a
* scripts/check-local-headers.sh: Allow $includedir/c++.
...
2006-01-03 Andreas Jaeger <aj@suse.de>
* scripts/check-local-headers.sh: Allow $includedir/c++.
2006-01-03 19:00:59 +00:00
Ulrich Drepper
35c2fd59ba
* posix/unistd.h (ctermid): Remove __nonnull attribute.
2006-01-03 16:13:21 +00:00
Ulrich Drepper
305bb37e1e
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PTR_MANGLE,
...
PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Define.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (PTR_MANGLE,
PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Define.
* sysdeps/unix/sysv/linux/sparc/bits/setjmp.h [__WORDSIZE == 64]
(_JMPBUF_UNWINDS): Don't demangle uc_mcontext.mc_fp.
* sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Mangle %fp, %sp
and %o7.
* sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Demangle %fp, %sp
and %o7.
2006-01-02 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PTR_MANGLE2):
Define.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (PTR_MANGLE2):
Likewise.
* sysdeps/s390/s390-32/__longjmp.c (__longjmp): Demangle also %r15.
* sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
* sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Mangle also %r15.
* sysdeps/s390/s390-32/elf/setjmp.S (__sigsetjmp): Likewise.
* sysdeps/s390/s390-64/setjmp.S (__sigsetjmp): Likewise.
* sysdeps/s390/s390-64/elf/setjmp.S (__sigsetjmp): Likewise.
* sysdeps/s390/bits/setjmp.h (__jmp_buf): Add __s390_jmp_buf
struct tag to make C++ happy.
2006-01-02 Ulrich Drepper <drepper@redhat.com>
* posix/Makefile ($(objpfx)annexc.out): Move -I.. to the end of
the include list.
2006-01-02 20:57:43 +00:00
Ulrich Drepper
cc792128be
* posix/getconf.c: Update copyright year.
...
* nss/getent.c: Likewise.
* iconv/iconvconfig.c: Likewise.
* iconv/iconv_prog.c: Likewise.
* elf/ldconfig.c: Likewise.
* catgets/gencat.c: Likewise.
* csu/version.c: Likewise.
* elf/ldd.bash.in: Likewise.
* elf/sprof.c (print_version): Likewise.
* locale/programs/locale.c: Likewise.
* locale/programs/localedef.c: Likewise.
* nscd/nscd.c (print_version): Likewise.
* debug/xtrace.sh: Likewise.
* malloc/memusage.sh: Likewise.
* malloc/mtrace.pl: Likewise.
* debug/catchsegv.sh: Likewise.
* resolv/res_debug.c (latlon2ul): Use ISO C function definition.
(getanswer): Use ISO C function definition.
2006-01-01 19:18:49 +00:00
Ulrich Drepper
e56bad6ce6
Update copyright year.
2006-01-01 19:15:56 +00:00
Andreas Jaeger
fd63cc3ba8
[BZ #1395 ]
...
* manual/filesys.texi (Symbolic Links): Fix description of
canonicalize_file_name based on patch by Oskar Liljeblad
<oskar@osk.mine.nu>.
2005-12-31 Andreas Jaeger <aj@suse.de>
[BZ #1395 ]
* manual/filesys.texi (Symbolic Links): Fix description of
canonicalize_file_name based on patch by Oskar Liljeblad
<oskar@osk.mine.nu>.
2005-12-31 13:11:27 +00:00
Ulrich Drepper
db0a00d3aa
* resolv/res_debug.c (latlon2ul): Use ISO C function declaration.
...
(precsize_aton): Likewise.
(precsize_ntoa): Likewise.
* resolv/gethnamaddr.c (_gethtbyname): Remove extra prototype.
(gethostbyname2): Likewise.
(gethostbyaddr): Likewise.
(getanswer): Use ISO C function declaration.
2005-12-30 22:47:37 +00:00
Ulrich Drepper
3ddf7149f0
* sysdeps/sh/sysdep.h: Add cfi instrumentation to asm fragments.
...
* sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
* sysdeps/sh/_mcount.S: Add cfi instrumentation.
* sysdeps/unix/sh/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/sh/makecontext.S: Adjust cfi_startproc.
* sysdeps/unix/sysv/linux/sh/sh4/getcontext.S: Remove now duplicate
cfi_startproc and cfi_endproc.
* sysdeps/unix/sysv/linux/sh/sh4/setcontext.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
* sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sysdep.S: Add cfi_endproc.
2005-12-30 22:17:53 +00:00
Ulrich Drepper
5ad7714494
* sysdeps/powerpc/powerpc64/setjmp-common.S: Make sure pointer guard
...
value doesn't survive in a registers when the function returns.
* sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
* sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2005-12-30 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
PTR_MANGLE2.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
PTR_MANGLE2 and PTR_DEMANGLE2.
* sysdeps/powerpc/powerpc64/__longjmp-common.S: Use PTR_DEMANGLE2.
* sysdeps/powerpc/powerpc64/setjmp-common.S: Use PTR_MANGLE2.
* sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
* sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2005-12-30 Ulrich Drepper <drepper@redhat.com>
2005-12-30 21:04:04 +00:00
Ulrich Drepper
b36205c4ab
* sysdeps/unix/sysv/linux/ia64/bits/setjmp.h (_JMPBUF_UNWINDS):
...
Don't use _demangle parameter for now.
2005-12-30 18:29:30 +00:00
Ulrich Drepper
b5352f2d51
[BZ #2080 ]
...
* libio/iogetwline.c (_IO_getwline_info): Move return to correct
location.
2005-12-30 18:09:21 +00:00
Ulrich Drepper
fd83714aa0
* nscd/connections.c: Remove last remnants of -S option support.
...
* nscd/nscd.c: Likewise.
* nscd/nscd.h: Likewise.
2005-12-30 16:53:24 +00:00
Ulrich Drepper
70e2ebba53
Remove last remnants of -S option support.
2005-12-30 16:51:19 +00:00
Andreas Jaeger
08be1ea824
[BZ #1067 ]
...
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 09:28:00 +00:00
Andreas Jaeger
f3da7f2a6d
[BZ #1067 ]
...
* sysdeps/unix/sysv/linux/mips/bits/socket.h: Fix struct msghdr
for 64-bit mips kernel.
2005-12-30 09:27:42 +00:00
Ulrich Drepper
8c2e201ba9
2005-12-08 Steven Munroe <sjmunroe@us.ibm.com>
...
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-30 07:32:48 +00:00
Ulrich Drepper
4e54d7e476
* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h [ASSEMBLER]:
...
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 22:03:36 +00:00
Ulrich Drepper
8a422e9efd
* sysdeps/powerpc/powerpc64/setjmp-common.S [PTR_MANGLE]: Also
...
mangle r1.
* sysdeps/powerpc/powerpc64/__longjmp-common.S [PTR_DEMANGLE]: Also
demangle r1.
2005-12-29 21:16:24 +00:00
Ulrich Drepper
c50ce9a464
* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S:
...
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 21:10:34 +00:00
Ulrich Drepper
099cf5dba2
* stdio-common/tstdiomisc.c [FLT_EVAL_METHOD!=2] (dbl_max):
...
Defining as macro as before the last change.
2005-12-29 18:00:11 +00:00
Ulrich Drepper
8b4f159823
* sysdeps/unix/sysv/linux/sigaction.c: If WRAPPER_INCLUDE is defined,
...
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-29 16:34:57 +00:00
Ulrich Drepper
02f15bca29
Not needed anymore.
2005-12-29 16:26:17 +00:00
Roland McGrath
1d02865b2d
* sysdeps/mach/hurd/errno.c: New file.
...
* sysdeps/mach/hurd/ioctl.c (__ioctl): Use a union to avoid a cast.
2005-12-29 10:51:20 +00:00
Roland McGrath
8ad684db49
* sysdeps/posix/libc_fatal.c (__libc_message): Add a const, a cast.
...
* 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-29 10:38:16 +00:00
Roland McGrath
fc0c638f9d
2005-12-29 Roland McGrath <roland@frob.com>
...
* include/sys/xattr.h: New file.
2005-12-29 10:38:08 +00:00
Ulrich Drepper
62a8cefb90
* nscd/selinux.c (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.
Patch by Steve Grubb <sgrubb@redhat.com>.
2005-12-29 01:09:00 +00:00
Ulrich Drepper
fec5592dbe
* Makefile (tests): Add tst-signal7.
...
* tst-signal7.c: New file.
2005-12-28 20:50:14 +00:00
Ulrich Drepper
ce50c583a9
(tests): Add tst-signal7.
2005-12-28 20:48:24 +00:00
Roland McGrath
8c7a8501d1
* hurd/sigunwind.c: Include <stdint.h>.
...
* sysdeps/mach/hurd/jmp-unwind.c: Likewise.
2005-12-28 20:40:09 +00:00
Roland McGrath
d745642e91
2005-12-28 Roland McGrath <roland@redhat.com>
...
* hurd/sigunwind.c: Include <stdint.h>.
* sysdeps/mach/hurd/jmp-unwind.c: Likewise.
2005-12-28 20:40:03 +00:00
Ulrich Drepper
272b289859
* sysdeps/i386/__longjmp.S [PTR_DEMANGLE]: Also demangle stack
...
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 19:13:20 +00:00
Ulrich Drepper
4973f31953
* sysdeps/x86_64/__longjmp.S: No need to make sure return value is
...
!= 0, the caller did that.
2005-12-28 16:49:48 +00:00
Ulrich Drepper
ebef0bd6aa
* sysdeps/x86_64/__longjmp.S: Don't confuse unwinder by loading
...
mangled values in %rbp and %rsp registers and by wrong cfi.
2005-12-28 16:37:29 +00:00
Ulrich Drepper
ff8fecbe42
Don't confuse unwinder by loading mangled values in %rbp and %rsp registers and by wrong cfi.
2005-12-28 16:35:33 +00:00
Roland McGrath
ef226fecbe
* config.make.in (c++-sysincludes): New substituted variable.
...
* configure.in (CXX_SYSINCLUDES): New substituted variable.
* configure: Regenerated.
* Makeconfig (CXXFLAGS): Prepend $(c++-sysincludes) here.
2005-12-28 06:53:43 +00:00
Roland McGrath
db169ed561
* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
...
(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-28 05:42:30 +00:00
Roland McGrath
0317eaecb1
* posix/tst-execle1.c (do_test): Add a const.
...
* 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-27 22:50:12 +00:00
Roland McGrath
89c47e9c50
2005-12-27 Roland McGrath <roland@redhat.com>
...
* posix/tst-execle1.c (do_test): Add a const.
* posix/tst-execle2.c (do_test): Likewise.
2005-12-27 22:49:45 +00:00
Ulrich Drepper
285a709ace
* elf/tst-tls13.c (do_test): Avoid using the library path when
...
looking for tst-tlsmod13a.so.
2005-12-27 22:29:27 +00:00
Ulrich Drepper
11f685f5d8
* stdio-common/tstdiomisc.c: If FLT_EVEL_METHOD is 2 use long
...
double math to generate NaN results.
2005-12-27 21:45:22 +00:00
Ulrich Drepper
bfffffaee3
* sysdeps/unix/sysv/linux/sparc/bits/errno.h: Define EOWNERDEAD
...
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 15:27:09 +00:00
Ulrich Drepper
1911b455dc
* iconv/gconv_trans.c (__gconv_transliterate): Demangle step __fct
...
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 15:06:33 +00:00
Ulrich Drepper
1bcfb5a5eb
* Versions.def: Add GLIBC_2.4 for libpthread.
2005-12-27 01:04:06 +00:00
Ulrich Drepper
08f60b258e
* stdlib/Makefile ($(objpfx)isomac.out): Move -I.. to the end so
...
that $(..)/bits is not found early.
2005-12-25 19:19:20 +00:00
Ulrich Drepper
d4d138a4d9
* manual/errno.texi: Add new Linux errno codes.
...
* sysdeps/unix/sysv/linux/Versions: Add new errlist-compat entry
for up to 132 errnos.
2005-12-24 21:12:00 +00:00
Ulrich Drepper
9333ed0d58
* sysdeps/unix/sysv/linux/bits/errno.h: Define EOWNERDEAD and
...
ENOTRECOVERABLE if not already defined.
2005-12-24 20:07:27 +00:00
Ulrich Drepper
dcc73a8dda
* pthread_mutex_destroy.c: Set mutex type to an invalid value.
...
* 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 23:49:41 +00:00
Ulrich Drepper
9256e5794f
[BZ #1566 ]
...
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-23 15:29:25 +00:00
Ulrich Drepper
0a9a2b33e6
i586 definitions for memusage.
2005-12-23 15:26:46 +00:00