Ulrich Drepper
8e17ea5817
Update.
...
2000-06-09 Ulrich Drepper <drepper@redhat.com>
Rewrite error message handling.
* elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
_dl_catch_error.
* elf/dl-error (struct catch): Add objname member.
(_dl_signal_error): Take new parameter with object name. When
passing message on simply store object name and duplicate error
message.
(_dl_catch_error): Take new parameter. Store object name in the
place pointed to.
* include/dlfcn.h: Adjust _dl_catch_error prototype.
* sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
* elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
* elf/dl-open.c (_dl_open): Likewise.
* elf/rtld.c (dl_main): Likewise.
* elf/dl-close.c: Mark error messages with N_().
* elf/dl-deps.c: Likewise.
* elf/dl-error.c: Likewise.
* elf/dl-load.c: Likewise.
* elf/dl-open.c: Likewise.
* elf/dl-reloc.c: Likewise.
* elf/dl-support.c: Likewise.
* elf/dl-sym.c: Likewise.
* elf/dl-version.c: Likewise.
* elf/dl-lookup.c: Add comments about problems with error message
translations.
* elf/dl-reloc.c: Likewise.
* elf/dl-version.c: Likewise.
2000-06-10 04:01:36 +00:00
Ulrich Drepper
f3863621f6
Update.
...
2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
* sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
* sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
* sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
* sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
* sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
2000-06-10 00:14:45 +00:00
Ulrich Drepper
af501e154e
Update.
...
* sysdeps/unix/sysv/linux/ia64/brk.S: New file.
* sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
2000-06-09 Jes Sorensen <jes@linuxcare.com>
2000-06-10 00:10:30 +00:00
Ulrich Drepper
c79c9039b3
Update.
...
2000-06-09 Jes Sorensen <jes@linuxcare.com>
Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
* sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
* sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
* sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
* sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
* sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
2000-06-10 00:05:44 +00:00
Ulrich Drepper
301909fbcb
Update.
...
2000-06-09 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
to find correct mount point despite wrong information from the
kernel.
2000-06-09 17:34:27 +00:00
Ulrich Drepper
b511d8fc6b
Update.
...
2000-06-09 Jes Sorensen <jes@linuxcare.com>
* elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
the address of a symbol so function pointers are handled properly.
2000-06-09 16:45:21 +00:00
Ulrich Drepper
8aa8fc7fd0
Update.
...
* sysdeps/i386/Dist: Add bp-asm.h.
2000-06-09 06:45:09 +00:00
Ulrich Drepper
480a06dfde
Update.
...
* sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
defaultdir variable instead of "/var/shm" everywhere.
(defaultdir): Change to /dev/shm/.
2000-06-09 06:42:46 +00:00
Ulrich Drepper
1acc0b5513
Update.
...
2000-06-08 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/shm_open.c (defaultdir): Change to /dev/shm/.
2000-06-09 06:35:03 +00:00
Ulrich Drepper
7987cf3a1d
(__timer_thread_queue_timer): Correct handling of matching variable.
2000-06-09 06:30:08 +00:00
Greg McGary
3f02f778cd
* sysdeps/i386/bp-asm.h: New file.
...
* sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
offsets. Add ENTER/LEAVE macros for optionally maintaining
frame-pointer chain when debugging.
* sysdeps/i386/add_n.S: Likewise.
* sysdeps/i386/addmul_1.S: Likewise.
* sysdeps/i386/lshift.S: Likewise.
* sysdeps/i386/memchr.S: Likewise.
* sysdeps/i386/memcmp.S: Likewise.
* sysdeps/i386/mul_1.S: Likewise.
* sysdeps/i386/rawmemchr.S: Likewise.
* sysdeps/i386/rshift.S: Likewise.
* sysdeps/i386/stpcpy.S: Likewise.
* sysdeps/i386/stpncpy.S: Likewise.
* sysdeps/i386/strchr.S: Likewise.
* sysdeps/i386/strchrnul.S: Likewise.
* sysdeps/i386/strcspn.S: Likewise.
* sysdeps/i386/strpbrk.S: Likewise.
* sysdeps/i386/strrchr.S: Likewise.
* sysdeps/i386/strspn.S: Likewise.
* sysdeps/i386/strtok.S: Likewise.
* sysdeps/i386/sub_n.S: Likewise.
* sysdeps/i386/submul_1.S: Likewise.
* sysdeps/i386/elf/setjmp.S: Likewise.
* sysdeps/i386/i486/strcat.S: Likewise.
* sysdeps/i386/i486/strlen.S: Likewise.
* sysdeps/i386/i586/add_n.S: Likewise.
* sysdeps/i386/i586/lshift.S: Likewise.
* sysdeps/i386/i586/memcpy.S: Likewise.
* sysdeps/i386/i586/memset.S: Likewise.
* sysdeps/i386/i586/rshift.S: Likewise.
* sysdeps/i386/i586/strchr.S: Likewise.
* sysdeps/i386/i586/strcpy.S: Likewise.
* sysdeps/i386/i586/strlen.S: Likewise.
* sysdeps/i386/i586/sub_n.S: Likewise.
* sysdeps/i386/i686/add_n.S: Likewise.
* sysdeps/i386/i686/memcpy.S: Likewise.
* sysdeps/i386/i686/mempcpy.S: Likewise.
* sysdeps/i386/i686/memset.S: Likewise.
* sysdeps/i386/i686/strcmp.S: Likewise.
2000-06-08 Greg McGary <greg@mcgary.org>
* sysdeps/i386/bp-asm.h: New file.
* sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
offsets. Add ENTER/LEAVE macros for optionally maintaining
frame-pointer chain when debugging.
* sysdeps/i386/add_n.S: Likewise.
* sysdeps/i386/addmul_1.S: Likewise.
* sysdeps/i386/lshift.S: Likewise.
* sysdeps/i386/memchr.S: Likewise.
* sysdeps/i386/memcmp.S: Likewise.
* sysdeps/i386/mul_1.S: Likewise.
* sysdeps/i386/rawmemchr.S: Likewise.
* sysdeps/i386/rshift.S: Likewise.
* sysdeps/i386/stpcpy.S: Likewise.
* sysdeps/i386/stpncpy.S: Likewise.
* sysdeps/i386/strchr.S: Likewise.
* sysdeps/i386/strchrnul.S: Likewise.
* sysdeps/i386/strcspn.S: Likewise.
* sysdeps/i386/strpbrk.S: Likewise.
* sysdeps/i386/strrchr.S: Likewise.
* sysdeps/i386/strspn.S: Likewise.
* sysdeps/i386/strtok.S: Likewise.
* sysdeps/i386/sub_n.S: Likewise.
* sysdeps/i386/submul_1.S: Likewise.
* sysdeps/i386/elf/setjmp.S: Likewise.
* sysdeps/i386/i486/strcat.S: Likewise.
* sysdeps/i386/i486/strlen.S: Likewise.
* sysdeps/i386/i586/add_n.S: Likewise.
* sysdeps/i386/i586/lshift.S: Likewise.
* sysdeps/i386/i586/memcpy.S: Likewise.
* sysdeps/i386/i586/memset.S: Likewise.
* sysdeps/i386/i586/rshift.S: Likewise.
* sysdeps/i386/i586/strchr.S: Likewise.
* sysdeps/i386/i586/strcpy.S: Likewise.
* sysdeps/i386/i586/strlen.S: Likewise.
* sysdeps/i386/i586/sub_n.S: Likewise.
* sysdeps/i386/i686/add_n.S: Likewise.
* sysdeps/i386/i686/memcpy.S: Likewise.
* sysdeps/i386/i686/mempcpy.S: Likewise.
* sysdeps/i386/i686/memset.S: Likewise.
* sysdeps/i386/i686/strcmp.S: Likewise.
2000-06-09 06:14:39 +00:00
Ulrich Drepper
a40fb915f8
(main): Rewrite initializers to avoid warnings.
2000-06-09 06:09:51 +00:00
Ulrich Drepper
18e4e4462d
Update.
...
* sysdeps/pthread/timer_routines.c (__timer_thread_queue_timer):
Be prepared for empty timer list.
2000-06-09 04:59:48 +00:00
Ulrich Drepper
165ab1d78d
Update.
...
* sysdeps/pthread/timer_create.c (timer_create): Correct names of
CPUTIME clock ID. Add support for thread clocks.
2000-06-09 04:33:59 +00:00
Ulrich Drepper
f2a5974b32
Update.
...
* sysdeps/pthread/posix-timer.h (timer_ptr2id): Operands in
subtraction were switched.
2000-06-09 04:33:00 +00:00
Ulrich Drepper
c0f79a04a7
Update.
...
* sysdeps/pthread/timer_routines.c (init_module): Use
THREAD_MAXNODES threads.
2000-06-08 21:13:20 +00:00
Ulrich Drepper
5593827387
Update.
...
* sysdeps/pthread/posix-timer.h (struct timer_node): Add creator_pid.
* sysdeps/pthread/timer_create.c: Fill in creator_pid.
* sysdeps/pthread/timer_routines.c (thread_expire_timer): Send signal
with sigqueueinfo is this system call is available.
* sysdeps/pthread/timer_create.c (timer_create): Allow
CLOCK_CPUTIME if _POSIX_CPUTIME is defined.
2000-06-08 20:38:08 +00:00
Ulrich Drepper
2715f28ad4
Update.
...
* sysdeps/pthread/Makefile: New file. Add rules to build timer
functionality.
* sysdeps/unix/sysv/linux/bits/local_lim.h: Add TIMER_MAX.
2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
* sysdeps/pthread/posix-timer.h: New file.
* sysdeps/pthread/timer_create.c: New file.
* sysdeps/pthread/timer_delete.c: New file.
* sysdeps/pthread/timer_getoverr.c: New file.
* sysdeps/pthread/timer_gettime.c: New file.
* sysdeps/pthread/timer_routines.c: New file.
* sysdeps/pthread/timer_settime.c: New file.
* sysdeps/pthread/tst-timer.c: New file.
2000-06-08 Ulrich Drepper <drepper@redhat.com>
2000-06-08 19:54:27 +00:00
Ulrich Drepper
47bc7a9be1
Update.
...
* sysdeps/unix/sysv/linux/getdtsz.c: New file.
2000-06-08 15:14:02 +00:00
Ulrich Drepper
9001274de9
Update.
...
* sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
256 and don't use OPEN_MAX.
2000-06-08 10:09:10 +00:00
Ulrich Drepper
de1a717765
Update.
...
* sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
2000-06-08 10:05:46 +00:00
Ulrich Drepper
9e56352f88
Update.
...
2000-06-08 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
use it instead of LINK_MAX.
2000-06-08 10:03:13 +00:00
Ulrich Drepper
a504f07154
Define LINUX_LINK_MAX and use it instead of LINK_MAX.
2000-06-08 10:00:47 +00:00
Andreas Jaeger
46a26d4506
Update.
...
2000-06-08 Andreas Jaeger <aj@suse.de>
* libio/genops.c (_IO_list_lock): Only compile body if we're
thread safe.
(_IO_list_unlock): Likewise.
(_IO_list_resetlock): Likewise.
2000-06-08 09:02:03 +00:00
Andreas Jaeger
92cfdd8a9e
* libio/genops.c (_IO_list_lock): Only compile body if we're
...
thread safe.
(_IO_list_unlock): Likewise.
(_IO_list_resetlock): Likewise.
2000-06-08 09:01:34 +00:00
Ulrich Drepper
1b579f9167
Update.
...
2000-06-08 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/bits/local_lim.h: Remove OPEN_MAX and
LINK_MAX definitions if necessary.
2000-06-08 08:07:07 +00:00
Ulrich Drepper
bb7901065e
Update.
...
* sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
unless user defined it.
2000-06-08 06:48:41 +00:00
Ulrich Drepper
104d06900c
Update.
...
* sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
if not defined by the user.
2000-06-08 06:32:43 +00:00
Ulrich Drepper
a27c96b0b1
Update.
...
* libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
* libio/iofwrite.c (_IO_fwrite): Likewise.
2000-06-08 06:17:50 +00:00
Ulrich Drepper
777414995d
Update.
...
* time/time.h: Add missing __THROW for clock_getcpuclockid
prototype.
2000-06-08 04:57:40 +00:00
Ulrich Drepper
ffa8a90345
Update.
...
* elf/Makefile (distribute): Add dl-dtprocnum.h.
2000-06-08 04:54:46 +00:00
Ulrich Drepper
b0982c4ad3
Update.
...
* include/elf.h: Include also <dl-dtprocnum.h>.
* elf/dl-deps.c: Likewise.
* elf/dl-lookup.c: Likewise.
* elf/dl-runtime.c: Likewise.
* elf/dl-version.c: Likewise.
* elf/do-rel.h: Likewise.
* elf/dynamic-link.h: Likewise.
* elf/link.h: Likewise.
* elf/rtld.c: Likewise.
* sysdeps/generic/dl-dtprocnum.h: New file.
* sysdeps/ia64/dl-dtprocnum.h: New file.
* sysdeps/mips/dl-dtprocnum.h: New file.
* sysdeps/sparc/dl-dtprocnum.h: New file.
2000-06-08 04:48:56 +00:00
Ulrich Drepper
d4f170a980
Update.
...
* sysdeps/i386/dl-machine.h: Add more __builtin_expect.
2000-06-08 04:19:30 +00:00
Ulrich Drepper
7e281477f1
Update.
...
* elf/do-lookup.h: Add some __builtin_expect.
2000-06-08 03:31:44 +00:00
Ulrich Drepper
dec126b41a
Update.
...
* dlfcn/dlfcn.h: Pretty print dladdr declaraction.
* elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
(_dl_dynamic_weak): New variable.
* elf/dl-support.c: Likewise.
* sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
* elf/do-lookup.h: If we find a weak definition treat it like a
normal symbol unless _dl_dynamic_weak is nonzero. In the latter
case treat it like before.
2000-06-08 03:03:00 +00:00
Ulrich Drepper
b8565e7817
Update.
...
* elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
is in main program.
* elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
2000-06-08 02:19:27 +00:00
Ulrich Drepper
1c14af448e
Update.
...
* elf/dl-addr.c (_dl_addr): Do exact testing of address range
using l_map_start and l_map_end.
2000-06-08 01:50:04 +00:00
Ulrich Drepper
7b228b6857
Update.
...
* elf/dl-version.c: Add __builtin_expect in many places.
2000-06-08 01:12:15 +00:00
Ulrich Drepper
dc3b5786d2
Update.
...
2000-06-07 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
Update.
2000-06-07 23:43:59 +00:00
Ulrich Drepper
3fc9ca4e38
Update.
...
2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
Lock for stdio stream list becomes global, for use in LinuxThreads.
* libio/genops.c (_IO_iter_begin, _IO_iter_end,
_IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
_IO_list_resetlock): New interface for iterating global list of
streams without accessing the _IO_list_all global variable,
and for manipulating the lock which protects this list.
* libio/libioP.h: Likewise.
* libio/Version: Add entries for the new functions.
* libio/libioP.h (_IO_ITER): New typedef, just an alias for
pointer to _IO_FILE.
2000-06-07 22:50:32 +00:00
Ulrich Drepper
ce177a8416
Update.
...
* locale/programs/ld-ctype.c (set_class_defaults): Several uses of
BIT() must actually be BITw().
2000-06-07 19:32:36 +00:00
Ulrich Drepper
45c952394b
Update.
...
* locale/programs/ld-ctype.c: Handle SP and space consistently.
2000-06-07 19:13:50 +00:00
Ulrich Drepper
2a63199095
Update.
...
2000-06-07 Ulrich Drepper <drepper@redhat.com>
* locale/programs/charmap.c: Allow string arguments for
code_set_name and repertoiremap.
2000-06-07 17:20:28 +00:00
Ulrich Drepper
99ac5e47c0
Update.
...
2000-06-07 Andreas Jaeger <aj@suse.de>
* elf/Makefile: Build ldconfig only when building shared libraries.
2000-06-07 Jakub Jelinek <jakub@redhat.com>
* sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
__USE_ISOC99.
(fdimf, __fdim, fdim): Likewise.
2000-06-07 16:53:48 +00:00
Ulrich Drepper
345f9ac0db
Update.
...
2000-06-07 Ulrich Drepper <drepper@redhat.com>
* locale/findlocale.c: Add __builtin_expect in many places.
* locale/loadlocale.c: Likewise.
2000-06-07 16:36:48 +00:00
Ulrich Drepper
3a31f6f409
Add __builtin_expect in many places.
2000-06-07 16:35:57 +00:00
Greg McGary
d5bc737a32
* sysdeps/mips/elf/start.S: Trim redundant code.
...
* sysdeps/mips/elf/start.S: Trim redundant code.
2000-06-07 00:30:05 +00:00
Ulrich Drepper
4c3192f900
Update.
...
* iconvdata/utf-16.c: Add __builtin_expect in many places.
* iconvdata/unicode.c: Likewise.
* iconvdata/uhc.c: Likewise.
* iconvdata/t.61.c: Likewise.
* iconvdata/sjis.c: Likewise.
* iconvdata/johab.c: Likewise.
* iconvdata/iso_6937.c: Likewise.
* iconvdata/iso_6937-2.c: Likewise.
* iconvdata/iso8859-1.c: Likewise.
* iconvdata/iso646.c: Likewise.
* iconvdata/iso-2022-kr.c: Likewise.
2000-06-06 22:59:19 +00:00
Ulrich Drepper
ee4ce28907
Add __builtin_expect in many places.
2000-06-06 22:58:45 +00:00
Greg McGary
1d280d9f1e
* sysdeps/powerpc/memset.S: Define & use symbolic register names.
...
Use C comments throughout. Line up operands column with tabs.
* sysdeps/powerpc/strchr.S: Likewise.
* sysdeps/powerpc/strcmp.S: Likewise.
* sysdeps/powerpc/strcpy.S: Likewise.
* sysdeps/powerpc/strlen.S: Likewise.
* sysdeps/powerpc/memset.S: Define & use symbolic register names.
Use C comments throughout. Line up operands column with tabs.
* sysdeps/powerpc/strchr.S: Likewise.
* sysdeps/powerpc/strcmp.S: Likewise.
* sysdeps/powerpc/strcpy.S: Likewise.
* sysdeps/powerpc/strlen.S: Likewise.
2000-06-06 22:37:40 +00:00