Roland McGrath
7289d08b95
2005-12-21 Roland McGrath <roland@redhat.com>
...
* csu/dso_handle.c (__dso_handle): Add const to pointer type too.
2005-12-21 21:21:43 +00:00
Ulrich Drepper
4c038b68b5
* iconv/gconv_conf.c: Initialize empty_path_elem.
2005-12-21 19:33:05 +00:00
Ulrich Drepper
403a632578
* sysdeps/ieee754/dbl-64/halfulp.c: Mark tab54 as static and const.
...
* sysdeps/i386/fpu/e_expl.c: Mark c0 and c1 as const.
* sysdeps/ieee754/flt-32/s_expm1f.c: Make sure huge and tiny end
up in .rodata.
* sysdeps/ieee754/flt-32/e_exp2f.c: Make sure TWO127 and TWOM100
end up in .rodata.
* sysdeps/ieee754/flt-32/e_expf.c: Likewise.
* sysdeps/ieee754/dbl-64/e_exp2.c: Make sure TWO1023 and TWOM1000
end up in .rodata.
2005-12-21 19:12:22 +00:00
Ulrich Drepper
2fdaad97be
* elf/readlib.c: Fix include of readelflib.c.
2005-12-21 15:31:50 +00:00
Ulrich Drepper
f9b2d293f0
[BZ #1962 ]
...
* io/fts.c (fts_open): Change type of len to size_t.
(fts_build): Remove cast in call to fts_alloc.
(fts_alloc): Change third parameter's type to size_t.
2005-12-21 08:34:35 +00:00
Ulrich Drepper
87629a1c50
[BZ #1960 ]
...
2005-12-21 Ulrich Drepper <drepper@redhat.com>
[BZ #1960 ]
* io/fts.c (fts_open): Avoid function call in MAX macro use.
2005-12-21 08:24:13 +00:00
Ulrich Drepper
4b5b009cc3
* locale/xlocale.c (_nl_C_locobj): Mark as const.
...
* include/locale.h: Define _nl_C_locobj_ptr.
* iconv/gconv_charset.h: Use _nl_C_locobj_ptr instead of using pointer
to _nl_C_locobj because we also need a cast.
* iconv/gconv_conf.c: Likewise.
* iconv/gconv_int.h: Likewise.
* iconv/gconv_open.c: Likewise.
* locale/duplocale.c: Likewise.
* locale/freelocale.c: Likewise.
* locale/newlocale.c: Likewise.
* misc/syslog.c: Likewise.
* stdlib/strtod_l.c: Likewise.
* sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
2005-12-21 07:28:33 +00:00
Ulrich Drepper
808e0190f7
* csu/dso_handle.c (__dso_handle): Mark as const.
2005-12-21 04:27:56 +00:00
Ulrich Drepper
72005a5d0d
* intl/plural-exp.c (GERMANIC_PLURAL): Mark as const.
...
* intl/plural-exp.h: Adjust declaration of
__gettext_germanic_plural.
2005-12-21 04:23:34 +00:00
Ulrich Drepper
e1545188b3
* resolv/herror.c (h_errlist): Mark as const.
...
(h_nerr): Likewise.
2005-12-21 04:07:21 +00:00
Ulrich Drepper
31d7b14cfa
* sunrpc/clnt_unix.c (unix_ops): Mark as const.
...
* sunrpc/auth_des.c (authdes_ops): Likewise.
* sunrpc/svc_raw.c (server_ops): Likewise.
* sunrpc/clnt_udp.c (udp_ops): Likewise.
* sunrpc/clnt_tcp.c (tcp_ops): Likewise.
* sunrpc/clnt_raw.c (client_ops): Likewise.
* sunrpc/auth_unix.c (auth_unix_ops): Likewise.
2005-12-20 22:56:06 +00:00
Ulrich Drepper
a5abbd3316
(client_ops): Mark as const.
2005-12-20 22:00:50 +00:00
Roland McGrath
a25e7e9f72
[BZ #2061 ]
...
2005-12-15 Thomas Schwinge <tschwinge@gnu.org>
[BZ #2061 ]
* sysdeps/mach/hurd/xmknod.c (__xmknod): Handle S_IFREG.
2005-12-20 21:57:53 +00:00
Roland McGrath
7d9642f06f
* sysdeps/unix/sysv/linux/ifreq.h: File removed.
...
* sysdeps/unix/sysv/linux/ifreq.c: #include "kernel-features.h" here.
* sysdeps/mach/hurd/ifreq.h: File removed.
(__ifreq): Function moved to ...
* sysdeps/mach/hurd/ifreq.c: ... here, new file.
2005-12-20 21:53:22 +00:00
Roland McGrath
287058ead3
2005-12-20 Roland McGrath <roland@redhat.com>
...
* sysdeps/mach/hurd/ifreq.h: File removed.
(__ifreq): Function moved to ...
* sysdeps/mach/hurd/ifreq.c: ... here, new file.
2005-12-20 21:52:56 +00:00
Ulrich Drepper
55b6a4f263
* sunrpc/auth_unix.c (auth_unix_ops): Mark as const.
...
* sunrpc/auth_none.c (ops): Likewise.
2005-12-20 19:25:53 +00:00
Ulrich Drepper
3d50529df9
* sunrpc/auth_none.c (ops): Mark as const.
...
* nss/nsswitch.c (databases): Mark as const. Change name field
into array.
* nss/databases.def: Add warning.
2005-12-20 19:00:19 +00:00
Ulrich Drepper
cc2f0a2bb9
* resolv/res_hconf.c (arg_service_list): Reduce size of svcs and
...
mark const.
(cmd): Mark as const.
2005-12-20 18:35:45 +00:00
Ulrich Drepper
545f1b1177
* resolv/res_hconf.c (cmd): Mark as const.
...
(parse_line): Mark c as pointer to const.
2005-12-20 18:25:49 +00:00
Ulrich Drepper
970362dc56
* misc/getusershell.c (initshells): Remove unnecessary tests.
...
(endusershell): Likewise.
(okshells): Mark as const.
2005-12-20 18:18:28 +00:00
Ulrich Drepper
2094e1a975
* sysdeps/posix/gai_strerror.c: Complete rewrite. Avoid relocations.
...
* sysdeps/posix/gai_strerror-strs.h: New file.
* sysdeps/posix/Dist: New file.
2005-12-20 17:53:00 +00:00
Ulrich Drepper
192c0fa590
* sysdeps/posix/getaddrinfo.c (gaih): Mark as const.
...
* locale/loadlocale.c (_nl_value_types): Likewise.
2005-12-20 16:51:14 +00:00
Ulrich Drepper
aa87e9156d
* locale/loadlocale.c (_nl_value_types): Mark as const.
...
* iconv/gconv_conf.c (builtin_aliases): Likewise.
2005-12-20 16:35:25 +00:00
Ulrich Drepper
8da21f96b5
* iconv/gconv_conf.c (builtin_aliases): Mark as const.
...
* iconv/gconv_open.c (internal_trans_names): Likewise.
2005-12-20 16:14:06 +00:00
Ulrich Drepper
b7cc4503da
* iconv/gconv_open.c (internal_trans_names): Mark as const.
2005-12-20 15:54:40 +00:00
Ulrich Drepper
d9038ff837
* sysdeps/unix/sysv/linux/sh/sysdep.h: Include tls.h.
...
(PTR_MANGLE, PTR_DEMANGLE): Define.
(SYSCALL_ERROR_HANDLER): Fix typo.
* sysdeps/sh/sh4/__longjmp.S: Use PTR_DEMANGLE if defined.
* sysdeps/sh/sh3/__longjmp.S: Likewise.
* sysdeps/sh/sh4/setjmp.S: Use PTR_MANGLE if defined.
* sysdeps/sh/sh3/setjmp.S: Likewise.
2005-12-20 15:28:51 +00:00
Ulrich Drepper
3525901584
* sysdeps/ia64/fpu/libm-test-ulps: Update for GCC 4.1 prerelease.
...
* sysdeps/unix/sysv/linux/time.c: If __NR_time is not defined,
use sysdeps/unix/time.c implementation.
2005-12-20 15:11:40 +00:00
Ulrich Drepper
0f7920cf33
[BZ #1952 , BZ #1955 ]
...
2005-12-19 Ulrich Drepper <drepper@redhat.com>
[BZ #1955 ]
* timezone/zic.c (tofile;): Fix typo in symlink creation.
Patch by Phil Estes <pestes@us.ibm.com>.
[BZ #1952 ]
* sysdeps/unix/sysv/linux/time.c: New file.
* sysdeps/unix/sysv/linux/i386/syscalls.list: Remove time entry.
2005-12-15 Thomas Schwinge <tschwinge@gnu.org>
2005-12-20 07:57:16 +00:00
Ulrich Drepper
869379c962
time implementation for Linux.
2005-12-20 07:49:43 +00:00
Roland McGrath
5a2a21c776
2005-12-15 Thomas Schwinge <tschwinge@gnu.org>
...
* io/xmknodat.c: Include <stddef.h>.
* misc/futimesat.c: Remove weak_alias and correct stub_warning.
* stdio-common/renameat.c (renameat): Fix typo.
2005-12-20 07:31:21 +00:00
Roland McGrath
322a48c5bf
2005-12-15 Thomas Schwinge <tschwinge@gnu.org>
...
* io/xmknodat.c: Include <stddef.h>.
* misc/futimesat.c: Remove weak_alias and correct stub_warning.
* stdio-common/renameat.c (renameat): Fix typo.
2005-12-20 07:31:14 +00:00
Ulrich Drepper
00c2b3b91d
[BZ #1978 ]
...
2005-12-16 Thorsten Kukuk <kukuk@suse.de>
[BZ #1978 ]
* sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
Map more filesystem types to a string.
* sysdeps/unix/sysv/linux/linux_fsinfo.h: Add SYSFS_MAGIC.
2005-12-19 Jakub Jelinek <jakub@redhat.com>
* locale/Makefile (programs/%-kw.h): Run $(GPERF) inside of the
programs subdirectory.
* sysdeps/powerpc/powerpc32/__longjmp-common.S (__longjmp): Use
PTR_DEMANGLE for PC if defined.
* sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp):
Likewise.
* sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Likewise.
* sysdeps/s390/s390-32/__longjmp.c (__longjmp): Xor %r14 with
THREAD_GET_POINTER_GUARD () if PTR_DEMANGLE is defined.
* sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
* sysdeps/powerpc/powerpc32/setjmp-common.S (__sigsetjmp): Use
PTR_MANGLE for PC if defined.
* sysdeps/powerpc/powerpc64/setjmp-common.S (__sigsetjmp): Likewise.
* sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
Avoid call to __sigjmp_save if IS_IN_rtld.
* 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/unix/sysv/linux/ia64/setjmp.S (__sigsetjmp): Likewise.
* sysdeps/unix/sysv/linux/ia64/sysdep.h (PTR_MANGLE, PTR_DEMANGLE):
Define.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Include tls.h.
(PTR_MANGLE, PTR_DEMANGLE): Define.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Include tls.h
(PTR_MANGLE, PTR_DEMANGLE): Define.
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Include tls.h.
(PTR_MANGLE, PTR_DEMANGLE): Define.
(SYSCALL_ERROR_HANDLER): Add missing semicolons.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Include tls.h.
(PTR_MANGLE, PTR_DEMANGLE): Define.
* sysdeps/unix/sysv/linux/s390/s390-64/socket.S (__socket): Add
SYSCALL_ERROR_HANDLER.
2005-12-19 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Handle NO_WEAK_ALIAS.
* sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
Patch by Clint Adams.
2005-12-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/unix/sysv/linux/s390/sys/user.h: Copy struct user and
dependent definitions from the kernel header to sys/user.h and
remove the #include of asm/user.h.
2005-12-20 07:21:59 +00:00
Ulrich Drepper
fc3480d3ee
* sysdeps/gnu/Makefile: Make sure the correct errlist.c file is
...
used when generating errlist-compat.c.
2005-12-20 04:13:54 +00:00
Ulrich Drepper
915a6c51c5
* iconv/gconv.c: Demangle pointers before use if necessary.
...
* iconv/gconv_cache.c: Likewise.
* iconv/skeleton.c: Likewise.
* libio/iofwide.c: Likewise.
* wcsmbs/btowc.c: Likewise.
* wcsmbs/mbrtowc.c: Likewise.
* wcsmbs/mbsnrtowcs.c: Likewise.
* wcsmbs/mbsrtowcs_l.c: Likewise.
* wcsmbs/wcrtomb.c: Likewise.
* wcsmbs/wcsnrtombs.c: Likewise.
* wcsmbs/wcsrtombs.c: Likewise.
* wcsmbs/wctob.c: Likewise.
* iconv_gconv_db.c: Likewise. After init functions returns mangle
btowc pointer if necessary.
* iconv/gconv_dl.c: Mangle function pointers retrieved from dlsym.
2005-12-19 07:26:29 +00:00
Ulrich Drepper
477aa8698f
* iconv/gconv_builtin.c (builtin_map): Change type of size
...
information fields to int8_t.
2005-12-19 04:55:31 +00:00
Ulrich Drepper
97d261ad22
* libio/libioP.h (__libio_codecvt): Adjust declaraction.
2005-12-19 03:33:32 +00:00
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