Ulrich Drepper
86d131f833
* libio/iofwide.c (__libio_codecvt): Mark as const.
...
(__libio_translit): Likewise.
2005-12-19 02:24:26 +00:00
Ulrich Drepper
d7fb2a9242
* wcsmbs/wcsmbsload.c (to_wc): Mark as const.
...
(to_mb): Likewise.
2005-12-19 00:25:58 +00:00
Ulrich Drepper
bd62cef6d2
(to_wc): Mark as const. (to_mb): Likewise.
2005-12-19 00:24:49 +00:00
Richard Henderson
cafdac626c
* sysdeps/alpha/libc-tls.c: Fix directory on include of base file.
...
2005-12-18 Richard Henderson <rth@redhat.com>
* sysdeps/alpha/libc-tls.c: Fix directory on include of base file.
2005-12-18 22:47:08 +00:00
Ulrich Drepper
e0b849e9b1
* iconv/gconv_builtin.c: Mark map with attribute_relro.
2005-12-18 22:02:01 +00:00
Ulrich Drepper
7725f8749a
* sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Define C
...
version for inside ld.so.
* elf/rtld.c (dl_main): Don't use hp timing code unless it's available.
2005-12-18 21:09:20 +00:00
Ulrich Drepper
d87921ee19
* sysdeps/powerpc/powerpc32/setjmp-common.S [IS_IN_rtld]: Avoid
...
call to __sigjmp_save.
* sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2005-12-18 18:36:38 +00:00
Ulrich Drepper
a3c8855372
* stdlib/cxa_atexit.c: Use PTR_MANGLE on function pointer. Fill in
...
flavor field last and protect with memory barrier.
* stdlib/on_exit.c: Likewise.
* stdlib/cxa_finalize.c: Use PTR_DEMANGLE on function pointer before
using it.
* stdlib/exit.c: Likewise.
2005-12-18 17:32:37 +00:00
Ulrich Drepper
3467f5c369
* sysdeps/unix/sysv/linux/i386/sysdep.h: Define PTR_MANGLE and
...
PTR_DEMANGLE for C code in libc.
* sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2005-12-18 16:59:55 +00:00
Ulrich Drepper
827b70873b
* elf/Versions [GLIBC_PRIVATE]: Export __pointer_chk_guard if defined.
...
* elf/rtld.c: Define __pointer_chk_guard_local and if necessary
__pointer_chk_guard.
(_rtld_global_ro): Initialize _dl_pointer_guard.
(dl_main): Initialize __pointer_chk_guard_local and either
__pointer_chk_guard or TLS value if necessary.
(process_envvars): Recognize and handle LD_POINTER_GUARD.
* sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_pointer_guard.
* sysdeps/i386/__longjmp.S: Use PTR_DEMANGLE for PC if defined.
* sysdeps/x86_64/__longjmp.S: Likewise.
* sysdeps/i386/bsd-_setjmp.S: Use PTR_MANGLE for PC if defined.
* sysdeps/i386/bsd-_setjmp.S: Likewise.
* sysdeps/i386/setjmp.S: Likewise.
[IS_IN_rtld]: Avoid call to __sigjmp_save.
* sysdeps/i386/setjmp.S: Likewise.
* sysdeps/unix/sysv/linux/i386/sysdep.h: Define PTR_MANGLE and
PTR_DEMANGLE.
* sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
* sysdeps/i386/elf/setjmp.S: Removed.
* sysdeps/i386/elf/bsd-setjmp.S: Removed.
2005-12-18 06:58:22 +00:00
Ulrich Drepper
8292f6fc71
* elf/dl-error.c (_dl_catch_error): Use __sigsetgjmp instead of
...
setjmp.
2005-12-17 23:26:28 +00:00
Ulrich Drepper
b15cc6a1ef
* elf/dl-error.c (_dl_signal_error): Use __longjmp instead of longjmp.
...
* elf/dl-minimal.c (longjmp): Remove definition.
2005-12-17 23:09:41 +00:00
Ulrich Drepper
1f0996ef0d
* sysdeps/x86_64/bsd-setjmp.S [PIC] (setjmp): Add missing jmp.
2005-12-17 22:48:36 +00:00
Ulrich Drepper
c7d1182906
* nscd/Makefile: Don't build nscd_nischeck.
...
* nscd/nscd_nischeck.c: Removed.
2005-12-16 04:07:00 +00:00
Ulrich Drepper
5c46041a9c
* sysdeps/unix/sysv/linux/renameat.c: Move errno setting code in
...
separate function __atfct_seterrno_2.
* include/fcntl.h: Declare __atfct_seterrno_2.
* posix/unistd.h: Declare linkat, symlinkat, readlinkat.
* io/Makefile (routines): Add linkat, symlinkat, readlinkat.
* io/Versions [GLIBC_2.4]: Export linkat, symlinkat, readlinkat.
* io/linkat.c: New file.
* io/readlinkat.c: New file.
* io/symlinkat.c: New file.
* sysdeps/unix/sysv/linux/linkat.c: New file.
* sysdeps/unix/sysv/linux/readlinkat.c: New file.
* sysdeps/unix/sysv/linux/symlinkat.c: New file.
2005-12-16 00:24:16 +00:00
Ulrich Drepper
fc30e8dafa
Move errno setting code in separate function __atfct_seterrno_2.
2005-12-16 00:13:45 +00:00
Roland McGrath
29402b1285
[BZ #1997 ]
...
* manual/stdio.texi (String Streams): For open_memstream, elaborate a
little on malloc reference.
2005-12-15 22:30:40 +00:00
Roland McGrath
2826ac7e14
* sysdeps/alpha/fpu/s_cacosf.c: Don't use sysdeps/generic/.
...
* sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
* sysdeps/alpha/fpu/s_casinf.c: Likewise.
* sysdeps/alpha/fpu/s_casinhf.c: Likewise.
* sysdeps/alpha/fpu/s_catanf.c: Likewise.
* sysdeps/alpha/fpu/s_catanhf.c: Likewise.
* sysdeps/alpha/fpu/s_ccosf.c: Likewise.
* sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
* sysdeps/alpha/fpu/s_cexpf.c: Likewise.
* sysdeps/alpha/fpu/s_clog10f.c: Likewise.
* sysdeps/alpha/fpu/s_clogf.c: Likewise.
* sysdeps/alpha/fpu/s_cpowf.c: Likewise.
* sysdeps/alpha/fpu/s_cprojf.c: Likewise.
* sysdeps/alpha/fpu/s_csinf.c: Likewise.
* sysdeps/alpha/fpu/s_csinhf.c: Likewise.
* sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
* sysdeps/alpha/fpu/s_ctanf.c: Likewise.
* sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
* sysdeps/alpha/libc-tls.c: Likewise.
* sysdeps/gnu/glob64.c: Likewise.
* sysdeps/gnu/updwtmp.c: Likewise.
* sysdeps/gnu/utmp_file.c: Likewise.
* sysdeps/i386/bzero.c: Likewise.
* sysdeps/i386/ffs.c: Likewise.
* sysdeps/i386/i686/ffs.c: Likewise.
* sysdeps/i386/memset.c: Likewise.
* sysdeps/ia64/fpu/printf_fphex.c: Likewise.
* sysdeps/ia64/libc-tls.c: Likewise.
* sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
* sysdeps/m68k/ffs.c: Likewise.
* sysdeps/mach/hurd/getdents.c: Likewise.
* sysdeps/mach/hurd/init-posix.c: Likewise.
* sysdeps/mach/msync.c: Likewise.
* sysdeps/mips/libc-tls.c: Likewise.
* sysdeps/posix/profil.c: Likewise.
* sysdeps/posix/shm_open.c: Likewise.
* sysdeps/posix/shm_unlink.c: Likewise.
* sysdeps/posix/sprofil.c: Likewise.
* sysdeps/powerpc/ffs.c: Likewise.
* sysdeps/rs6000/ffs.c: Likewise.
* sysdeps/s390/libc-tls.c: Likewise.
* sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/wordexp.c: Likewise.
* sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
* sysdeps/unix/sysv/linux/gai_sigqueue.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
* sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
* sysdeps/unix/sysv/linux/i386/readelflib.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/readelflib.c: Likewise.
* sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/readelflib.c: Likewise.
* sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
* sysdeps/unix/sysv/linux/mq_close.c: Likewise.
* sysdeps/unix/sysv/linux/mq_getattr.c: Likewise.
* sysdeps/unix/sysv/linux/mq_notify.c: Likewise.
* sysdeps/unix/sysv/linux/mq_open.c: Likewise.
* sysdeps/unix/sysv/linux/mq_receive.c: Likewise.
* sysdeps/unix/sysv/linux/mq_send.c: Likewise.
* sysdeps/unix/sysv/linux/mq_unlink.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/readelflib.c: Likewise.
* sysdeps/unix/sysv/linux/s390/readelflib.c: Likewise.
* sysdeps/unix/sysv/linux/sched_getaffinity.c: Likewise.
* sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
* sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
* sysdeps/unix/sysv/linux/sigstack.c: Likewise.
* sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
* sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/readelflib.c: Likewise.
* sysdeps/unix/sysv/linux/truncate64.c: Likewise.
* sysdeps/unix/sysv/linux/vfork.c: Likewise.
* sysdeps/unix/sysv/linux/x86_64/readelflib.c: Likewise.
2005-12-15 21:13:14 +00:00
Roland McGrath
7c285188ca
* sysdeps/unix/sysv/linux/Makefile (inhibit-siglist): Removed.
2005-12-15 20:48:12 +00:00
Roland McGrath
34e72eb280
2005-12-15 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/Makefile (inhibit-siglist): Removed.
2005-12-15 20:47:12 +00:00
Ulrich Drepper
9d13fb2413
Moved to csu/errno-loc.c.
2005-12-14 15:06:39 +00:00
Ulrich Drepper
b6ab06cef4
2005-12-13 Ulrich Drepper <drepper@redhat.com>
2005-12-14 08:43:25 +00:00
Ulrich Drepper
d1dc39a44e
Use "config.h" to refer to the local config.h file.
2005-12-14 07:50:13 +00:00
Roland McGrath
8599849f7a
* sysdeps/generic/Makefile: Remove remaining bits/endian.h cruft.
2005-12-13 20:55:23 +00:00
Roland McGrath
869899d032
2005-12-13 Roland McGrath <roland@redhat.com>
...
* sysdeps/generic/Makefile: Remove remaining bits/endian.h cruft.
2005-12-13 20:55:16 +00:00
Ulrich Drepper
9200ba90d7
* sysdeps/generic/signame.c: Removed.
...
* sysdeps/generic/signame.h: Removed.
* sysdeps/generic/configure.in: Removed.
* sysdeps/generic/Dist: Remove these files.
2005-12-13 20:23:15 +00:00
Ulrich Drepper
e26b64c4e0
* sysdeps/generic/det_endian.c: Removed.
...
* sysdeps/generic/Makefile: Remove rule to build it.
* sysdeps/generic/Dist: Don't distribute it.
2005-12-13 17:10:24 +00:00
Ulrich Drepper
75c47633bf
Remove det_endian.c.
2005-12-13 17:09:11 +00:00
Roland McGrath
857a1627c7
* sysdeps/powerpc/dl-procinfo.c: New file.
...
* sysdeps/powerpc/dl-procinfo.h: New file.
2005-12-13 09:26:19 +00:00
Roland McGrath
f0d1a3b5b7
* init.c (__pthread_initialize_minimal_internal): Do __static_tls_size
...
adjustments before choosing stack size. Update minimum stack size
calculation to match allocate_stack change.
2005-12-13 07:32:26 +00:00
Roland McGrath
b399707ead
2005-12-12 Roland McGrath <roland@redhat.com>
...
* init.c (__pthread_initialize_minimal_internal): Do __static_tls_size
adjustments before choosing stack size. Update minimum stack size
calculation to match allocate_stack change.
2005-12-13 07:32:19 +00:00
Ulrich Drepper
db13ddbcfa
* allocatestack.c (allocate_stack): Don't demand that there is an
...
additional full page available on the stack beside guard, TLS, the
minimum stack.
2005-12-13 06:16:04 +00:00
Ulrich Drepper
1b64c27a9e
* io/sys/stat.h: Add restrict to fstatat declarations.
2005-12-12 21:45:40 +00:00
Ulrich Drepper
1ad07b7739
* posix/regex_internal.h: Include <stdint.h> if available.
...
2005-12-06 Paolo Bonzini <bonzini@gnu.org>
* posix/regex_internal.h (SIZE_MAX): Provide a default definition.
2005-12-11 05:59:13 +00:00
Ulrich Drepper
929b1c0708
* nis/nis_call.c (inetstr2int): Optimize.
2005-12-09 06:48:51 +00:00
Ulrich Drepper
8c058eec1e
* nis/nis_call.c (__nisbind_create): Remove __nisbind_destroy,
...
->clnt cannot be != NULL.
(__do_niscall): No need to use __nisbind_destroy, __nisbind_next
did it.
(__nisbind_connect): use_auth is already TRUE, otherwise we would
not be here.
* nis/nis_lookup.c (nis_lookup): Remove unnecessary
__nisbind_destroy calls. __nisbind_next does all that.
2005-12-08 20:32:12 +00:00
Ulrich Drepper
e975f14ee9
* nis/ypclnt.c (yp_update): Before trying default authentication,
...
free DES descriptor.
2005-12-08 15:42:25 +00:00
Ulrich Drepper
07683f843d
* nis/nis_table.c (nis_list): Fix memory handling in error case.
...
2005-12-07 Ulrich Drepper <drepper@redhat.com>
* nis/nis_table.c (nis_list): Remove have_tablepath, just use the
pointer value itself.
2005-12-08 04:12:07 +00:00
Ulrich Drepper
43bc8ac6ea
* catgets/gencat.c: Use GPL, not LGPL.
...
* elf/cache.c: Likewise.
* elf/chroot_canon.c: Likewise.
* elf/ldconfig.c: Likewise.
* elf/readlib.c: Likewise.
* iconv/dummy-repertoire.c: Likewise.
* iconv/iconv_charmap.c: Likewise.
* iconv/iconv_prog.c: Likewise.
* iconv/iconvconfig.c: Likewise.
* locale/programs/3level.h: Likewise.
* locale/programs/charmap-dir.c: Likewise.
* locale/programs/charmap-dir.h: Likewise.
* locale/programs/charmap-kw.gperf: Likewise.
* locale/programs/charmap.c: Likewise.
* locale/programs/charmap.h: Likewise.
* locale/programs/config.h: Likewise.
* locale/programs/ld-address.c: Likewise.
* locale/programs/ld-collate.c: Likewise.
* locale/programs/ld-ctype.c: Likewise.
* locale/programs/ld-identification.c: Likewise.
* locale/programs/ld-measurement.c: Likewise.
* locale/programs/ld-messages.c: Likewise.
* locale/programs/ld-monetary.c: Likewise.
* locale/programs/ld-name.c: Likewise.
* locale/programs/ld-numeric.c: Likewise.
* locale/programs/ld-paper.c: Likewise.
* locale/programs/ld-telephone.c: Likewise.
* locale/programs/ld-time.c: Likewise.
* locale/programs/linereader.c: Likewise.
* locale/programs/linereader.h: Likewise.
* locale/programs/locale-spec.c: Likewise.
* locale/programs/locale.c: Likewise.
* locale/programs/localedef.c: Likewise.
* locale/programs/localedef.h: Likewise.
* locale/programs/locarchive.c: Likewise.
* locale/programs/locfile-kw.gperf: Likewise.
* locale/programs/locfile-token.h: Likewise.
* locale/programs/locfile.c: Likewise.
* locale/programs/locfile.h: Likewise.
* locale/programs/repertoire.c: Likewise.
* locale/programs/repertoire.h: Likewise.
* locale/programs/simple-hash.c: Likewise.
* locale/programs/simple-hash.h: Likewise.
* locale/programs/xmalloc.c: Likewise.
* locale/programs/xstrdup.c: Likewise.
* malloc/memusagestat.c: Likewise.
* nscd/aicache.c: Likewise.
* nscd/cache.c: Likewise.
* nscd/connections.c: Likewise.
* nscd/dbg_log.c: Likewise.
* nscd/gai.c: Likewise.
* nscd/getgrgid_r.c: Likewise.
* nscd/getgrnam_r.c: Likewise.
* nscd/gethstbyad_r.c: Likewise.
* nscd/gethstbynm2_r.c: Likewise.
* nscd/getpwnam_r.c: Likewise.
* nscd/getpwuid_r.c: Likewise.
* nscd/grpcache.c: Likewise.
* nscd/hstcache.c: Likewise.
* nscd/initgrcache.c: Likewise.
* nscd/mem.c: Likewise.
* nscd/nscd.c: Likewise.
* nscd/nscd_conf.c: Likewise.
* nscd/pwdcache.c: Likewise.
* posix/getconf.c: Likewise.
* sysdeps/generic/nscd_setup_thread.c: Likewise.
* sysdeps/unix/sysv/linux/nscd_setup_thread.c: Likewise.
2005-12-07 05:49:17 +00:00
Ulrich Drepper
1b4c0afbec
* sunrpc/auth_des.c (authdes_pk_create): If conversation key
...
cannot be created, free memory.
Reported by rprasad@vmware.com .
2005-12-07 04:12:32 +00:00
Ulrich Drepper
1eab355198
(authdes_pk_create): If conversation key cannot be created, free memory.
2005-12-07 04:10:51 +00:00
Roland McGrath
2ce7e666e9
* sysdeps/hppa/bits/setjmp.h: Add _BITS_SETJMP_H preprocessor
...
protection and allow pthread.h to include bits/setjmp.h as well as
setjmp.h.
* sysdeps/m68k/bits/setjmp.h: Likewise.
* sysdeps/s390/bits/setjmp.h: Make sure only setjmp.h or pthread.h
are allow to include bits/setjmp.h.
* sysdeps/mips/bits/setjmp.h (_JMPBUF_UNWINDS): Cast rhs to match lhs
cast of address.
* sysdeps/sh/bits/setjmp.h: Likewise.
2005-11-12 Jim Meyering <jim@meyering.net>
* sysdeps/unix/opendir.c (__alloc_dir): Declare STATP parameter
to be pointer to const.
* include/dirent.h: Update decl.
2005-12-06 01:38:34 +00:00
Roland McGrath
a6ba1c33ef
* sysdeps/generic/dwarf2.h: Replace license text with glibc LGPL.
2005-12-06 01:28:16 +00:00
Roland McGrath
eff75b8d56
* hurd/hurdmalloc.c: Remove $ tag $ magic.
...
* mach/err_kern.sub: Likewise.
* mach/err_server.sub: Likewise.
* mach/err_us.sub: Likewise.
* mach/error_compat.c: Likewise.
* mach/errorlib.h: Likewise.
* mach/errstring.c: Likewise.
* mach/mach/error.h: Likewise.
* mach/mach_error.c: Likewise.
* mach/mach_error.h: Likewise.
* mach/msg-destroy.c: Likewise.
* mach/msgserver.c: Likewise.
* sysdeps/mach/sys/reboot.h: Likewise.
2005-12-06 01:24:30 +00:00
Roland McGrath
bd7b22b2eb
* malloc/tst-mallocfork.c (do_test): Make sure sa_flags is
...
initialized. Reported by John Reiser <jreiser@BitWagon.com>.
2005-12-06 00:50:15 +00:00
Roland McGrath
f30070ae4e
* stdlib/longlong.h: Update from GCC.
2005-12-06 00:48:30 +00:00
Roland McGrath
d57e74714e
* soft-fp/soft-fp.h: Include <stdlib.h>.
...
* soft-fp/floatdisf.c (__floatdisf): Return float.
2005-12-06 00:38:43 +00:00
Roland McGrath
f3423d5ab5
* sysdeps/unix/sysv/linux/kernel-features.h
...
(__ASSUME_POSIX_CPU_TIMERS): New macro, for 2.6.12 and later.
2005-12-06 00:35:22 +00:00
Roland McGrath
ec116e200e
* sysdeps/generic/dwarf2.h: Replace license text with glibc LGPL.
2005-12-06 00:15:06 +00:00
Roland McGrath
90f50d89ba
2005-12-05 Roland McGrath <roland@redhat.com>
...
* sysdeps/generic/dwarf2.h: Replace license text with glibc LGPL.
2005-12-06 00:15:01 +00:00