]> git.ipfire.org Git - thirdparty/glibc.git/log
thirdparty/glibc.git
22 years ago* sysdeps/mach/hurd/times.c: Fix typo in last change.
Roland McGrath [Tue, 19 Feb 2002 00:22:30 +0000 (00:22 +0000)] 
* sysdeps/mach/hurd/times.c: Fix typo in last change.

* sysdeps/mach/hurd/setpriority.c [POLICY_TIMESHARE_BASE_COUNT]:
Use task_policy in place of task_priority.

* sysdeps/generic/bits/mman.h
(MS_ASYNC, MS_SYNC, MS_INVALIDATE): New macros.
* sysdeps/mach/msync.c: New file.

* sysdeps/mach/powerpc/syscall.S: New file.

* mach/msg.c [MACH_MSG_OVERWRITE]
(__mach_msg_trap, __mach_msg_overwrite): New functions.
* mach/Versions (libc: GLIBC_2.0): Add mach_msg_overwrite and __ name.

* sysdeps/mach/configure.in: Check for clock.defs to put into
mach_interface_list.
* sysdeps/mach/configure: Regenerated.

* mach/Makefile (mach-machine): New variable, set from $(base-machine).
($(objpfx)mach-syscalls.mk): Use it in place of $(base-machine).
($(mach-syscalls:%=$(objpfx)%.S) static pattern rule):
Use <mach/machine/syscall_sw.h> instead of <sysdep.h>.
(mach-shortcuts): Add device_read_overwrite_request,
device_read_overwrite, vm_read_overwrite, thread_switch.

* configure.in (base_machine): Set to $machine by default.
* configure: Regenerated.

22 years ago* sysdeps/mach/configure.in: Check for <mach/machine/ndr_def.h>
Roland McGrath [Mon, 18 Feb 2002 20:57:51 +0000 (20:57 +0000)] 
* sysdeps/mach/configure.in: Check for <mach/machine/ndr_def.h>

or <machine/ndr_def.h> and add -DNDR_DEF_HEADER=... to DEFINES.
* sysdeps/mach/configure: Regenerated.
* mach/mach_init.c [NDR_DEF_HEADER]: #include it.

* hurd/hurdfault.c (_hurdsig_fault_init): Add a cast.

* hurd/hurd/signal.h: Include <setjmp.h> for `jmp_buf' decl.

* mach/msgserver.c (__mach_msg_server_timeout) [! MACH_RCV_LARGE]:
Double MAX_SIZE and don't retry on MACH_RCV_TOO_LARGE.

* sysdeps/mach/hurd/times.c
[NO_CREATION_TIME] (startup_time): New static variable.
[NO_CREATION_TIME] (times_init): New static function in __libc_subinit.
(__times) [NO_CREATION_TIME]: Use startup_time in lieu of task
creation_time from task_basic_info.
(__times): Use __gettimeofday instead of __host_get_time.

* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg) [! MACH_MSG_TYPE_BIT]:
Use untyped Mach IPC message format.

* hurd/catch-exc.c: Include <assert.h>, missing from last change.

22 years ago* hurd/Versions (libc: GLIBC_2.0): Add _S_catch_exception_raise_state,
Roland McGrath [Mon, 18 Feb 2002 01:50:52 +0000 (01:50 +0000)] 
* hurd/Versions (libc: GLIBC_2.0): Add _S_catch_exception_raise_state,

_S_catch_exception_raise_state_identity,
_hurdsig_fault_catch_exception_raise_state,
_hurdsig_fault_catch_exception_raise_state_identity.

* mach/shortcut.awk: Don't apply the /^}$/ rule when $proto == "".

* sysdeps/mach/getsysstats.c (__get_avphys_pages) [HOST_VM_INFO]: Use
__host_info with HOST_VM_INFO flavor instead of __vm_statistics.

* sysdeps/mach/hurd/getpriority.c [TASK_SCHED_TIMESHARE_INFO]: Find
`base_priority' in PIP->timeshare_base_info instead of PIP->taskinfo.

* sysdeps/mach/hurd/dl-sysdep.c [FMH]: Define for i386 only.
(fmh, unfmh): Define these functions only #if FMH.  Otherwise define
them as no-op macros.
[FMH] (ELF_MACHINE_USER_ADDRESS_MASK): Redefine it to zero.
(__mmap): Uncomment uses of ELF_MACHINE_USER_ADDRESS_MASK.

* sysdeps/powerpc/dl-machine.h
(ELF_MACHINE_USER_ADDRESS_MASK): New macro.

22 years agotypo
Roland McGrath [Sun, 17 Feb 2002 22:56:17 +0000 (22:56 +0000)] 
typo

* sysdeps/mach/hurd/ioctl.c (__ioctl) [! MACH_MSG_TYPE_BIT]:

22 years ago* hurd/hurdselect.c (_hurd_select) [MACH_MSG_TRAILER_MINIMUM_SIZE]:
Roland McGrath [Sun, 17 Feb 2002 22:54:39 +0000 (22:54 +0000)] 
* hurd/hurdselect.c (_hurd_select) [MACH_MSG_TRAILER_MINIMUM_SIZE]:

Use untyped Mach IPC message format.

* sysdeps/mach/hurd/ioctl.c (__ioctl) [! MACH_MSG_TYPE_BIT]: Handle
Handle untyped Mach IPC message formats.

* hurd/catch-exc.c (_S_catch_exception_raise) [EXC_MASK_ALL]:
Expect different argument conventions when this is defined.
[EXC_MASK_ALL] (_S_catch_exception_raise_state): New stub function.
[EXC_MASK_ALL] (_S_catch_exception_raise_state_identity): Likewise.
* hurd/hurdfault.c: Likewise for _hurdsig_fault_catch_exception_*.
[NDR_CHAR_ASCII] (mig_reply_header_t): #define as mig_reply_error_t
for OSF Mach variant.
(faulted): Use mig_reply_error_t for REPLY.
(_hurdsig_fault_init) [EXC_MASK_ALL]: Use EXCEPTION_STATE_IDENTITY
in __thread_set_exception_ports call.
(_hurdsig_fault_init) [MACH_PORT_RECEIVE_STATUS]: Use
__mach_port_set_attributes in place of __mach_port_set_qlimit.

* sysdeps/mach/powerpc/sysdep.h (_MACH_MACHINE_ASM_H): Define this
before include <sysdeps/mach/sysdep.h>, to inhibit <mach/machine/asm.h>
on Darwin, which includes bogons.

22 years ago* sysdeps/powerpc/dl-machine.h (elf_machine_rela): Move local
Roland McGrath [Sun, 17 Feb 2002 19:32:29 +0000 (19:32 +0000)] 
* sysdeps/powerpc/dl-machine.h (elf_machine_rela): Move local

variable LOADBASE so it's not declared when it's not used.

22 years ago* sysdeps/mach/hurd/times.c (__times) [NO_CREATION_TIME]: Don't try
Roland McGrath [Sun, 17 Feb 2002 07:57:32 +0000 (07:57 +0000)] 
* sysdeps/mach/hurd/times.c (__times) [NO_CREATION_TIME]: Don't try

to use BI.creation_time.

* mach/Machrules (MIG): Add -x c to CPP value passed down.

22 years ago* config.h.in: Add #undef HAVE_HOST_PAGE_SIZE.
Roland McGrath [Sun, 17 Feb 2002 07:30:04 +0000 (07:30 +0000)] 
* config.h.in: Add #undef HAVE_HOST_PAGE_SIZE.

* sysdeps/mach/configure.in: Check for host_page_size RPC to define it.
* mach/mach_init.c (__mach_init) [HAVE_HOST_PAGE_SIZE]: Use
host_page_size instead of vm_statistics.

22 years ago* sysdeps/mach/Makefile (mach-before-compile): Don't include
Roland McGrath [Sun, 17 Feb 2002 07:22:56 +0000 (07:22 +0000)] 
* sysdeps/mach/Makefile (mach-before-compile): Don't include

mach_interface.h here, since not all variants use that name.

22 years ago* sysdeps/mach/configure.in: Add some checks for Mach headers
Roland McGrath [Sun, 17 Feb 2002 07:19:11 +0000 (07:19 +0000)] 
* sysdeps/mach/configure.in: Add some checks for Mach headers

to ensure a sane installation.
(mach_interface_list): Define this variable by checking for .defs
files found in various variants.
* configure.in (mach_interface_list): AC_SUBST this.
* config.make.in (mach-interface-list): New substituted variable.
* mach/Makefile (user-interfaces): Define this using the value
of $(mach-interface-list) instead of mach, mach4.
Updated other references to mach_interface to use it as well.

* sysdeps/mach/powerpc/machine-lock.h: Avoid multi-line strings.

* mach/msgserver.c [NDR_CHAR_ASCII] (mig_reply_header_t): #define as
mig_reply_error_t for OSF Mach variant.

* mach/Makefile (routines): Remove bootprivport.
* mach/bootprivport.c: File removed.  It has never been used.

* mach/msg-destroy.c (__mach_msg_destroy) [MACH_MSG_PORT_DESCRIPTOR]:
Grok the OSF flavor of message format.
(mach_msg_destroy_port): For MAKE_SEND and
MAKE_SEND_ONCE rights, create an destroy a right to ensure proper
no-senders notification.

2002-02-06  Roland McGrath  <roland@frob.com>

* hurd/Versions (libc: GLIBC_2.0): Move cthread_fork, cthread_detach
to here if 2.0 compatibility enabled ...
(libc: GLIBC_2.1.3): ... from here.

22 years ago2002-02-16 Roland McGrath <roland@frob.com>
Roland McGrath [Sun, 17 Feb 2002 07:13:23 +0000 (07:13 +0000)] 
2002-02-16  Roland McGrath  <roland@frob.com>

* mach/Makefile (routines): Remove bootprivport.
* mach/bootprivport.c: File removed.  It has never been used.

22 years agoUpdate.
Ulrich Drepper [Sat, 16 Feb 2002 00:21:33 +0000 (00:21 +0000)] 
Update.

2002-02-15  Ulrich Drepper  <drepper@redhat.com>

* elf/dl-open.c (dl_open_worker): Catch wrap-around of TLS
generation counter.
* elf/dl-close.c (_dl_close): Likewise.

22 years agoUpdate.
Ulrich Drepper [Thu, 14 Feb 2002 10:34:55 +0000 (10:34 +0000)] 
Update.

* elf/Makefile: Add rules to build and run tst-tls8.
* elf/tst-tls8.c: New file.
* elf/tst-tlsmod4.c: New file.

22 years agoUpdate.
Ulrich Drepper [Thu, 14 Feb 2002 09:25:02 +0000 (09:25 +0000)] 
Update.

2002-02-14  Ulrich Drepper  <drepper@redhat.com>

* stdlib/test-a64l.c (tests): Add more test cases.

* sunrpc/rtime.c (rtime): Change type of thetime to uint32_t.
Reported by Walter Harms <WHarms@bfs.de>.

2002-02-11  Jes Sorensen  <jes@trained-monkey.org>

* sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add sc_flag bit
definitions for struct sigcontext.
Suggested by David Mosberger-Tang.

22 years agoUpdate.
Ulrich Drepper [Thu, 14 Feb 2002 07:57:19 +0000 (07:57 +0000)] 
Update.

* elf/dl-close.c (remove_slotinfo): New function.  Handles everything
for removing reference of module in slotinfo list.
(_dl_close): Use remove_slotinfo.
* sysdeps/generic/dl-tls.c: General pretty printing.
(oom): Define only if SHARED.
(_dl_next_tls_modid): Correct starting point for the case we assume
there is a gap.  Add missing instruction grouping (doh!).  Correct
tests for reaching maximum index.
* elf/Makefile: Add rules to build and run tst-tls7.
* elf/tst-tls7.c: New file.
* elf/tst-tlsmod3.c: New file.

* elf/tst-tlsmod1.c: Move #include "tls-macros.h" instead #ifdef
USE_TLS.
* elf/tst-tlsmod2.c: Likewise.

22 years agoUpdate.
Ulrich Drepper [Thu, 14 Feb 2002 03:54:02 +0000 (03:54 +0000)] 
Update.

* elf/dl-close.c (_dl_close): When closing an object using TLS
either decrement dl_tls_max_dtv_idx or set dl_tls_dtv_gaps to
true.  Increment dl_tls_generation only if we closed any TLS-using
object.
* elf/tst-tls6.c: New file.
* elf/Makefile: Add rules to build and run tst-tls6.

22 years agoUpdate.
Ulrich Drepper [Thu, 14 Feb 2002 01:02:42 +0000 (01:02 +0000)] 
Update.

* po/da.po: Update from translation team.

* locale/categories.def: Fix typo [PR libc/2948].
* po/Makefile (BROKEN_LINGUAS): Works with current gettext
[PR libc/2949].
* locale/iso-4217.def: Update from official version [PR libc/2950].
* glibcbug.in: Honor TMPDIR [PR libc/2951].
* locale/programs/ld-collate.c (collate_finish): Bail out with a
message if input is too confusion instead of using assert.
(collate_read): Don't crash on unknown symbol [PR libc/2952].
Patches by Alastair McKinstry <alastair@pdd.3com.com>.

22 years agoUpdate.
Ulrich Drepper [Wed, 13 Feb 2002 22:50:48 +0000 (22:50 +0000)] 
Update.

2002-02-13  Ulrich Drepper  <drepper@redhat.com>

* locales/pl_PL: Update int_curr_symbol.

22 years agoUpdate.
Ulrich Drepper [Wed, 13 Feb 2002 17:45:55 +0000 (17:45 +0000)] 
Update.

* elf/tst-tls1.c: Move #include "tls-macros.h" instead #ifdef USE_TLS.
* elf/tst-tls2.c: Likewise.
* elf/tst-tls3.c: Likewise.

2002-02-13  Jakub Jelinek  <jakub@redhat.com>

* elf/dl-close.c (free_slotinfo): Only define if TLS supported.

2002-02-13  Ulrich Drepper  <drepper@redhat.com>

22 years agoUpdate.
Ulrich Drepper [Wed, 13 Feb 2002 09:44:17 +0000 (09:44 +0000)] 
Update.

* elf/dl-open.c (dl_open_worker): Only bump the generation counter
if this is really necessary.

22 years agoUpdate.
Ulrich Drepper [Wed, 13 Feb 2002 09:38:39 +0000 (09:38 +0000)] 
Update.

2002-02-13  Ulrich Drepper  <drepper@redhat.com>

* elf/dl-close.c (_dl_close): Implement freeing entries in the
slotinfo array.
(free_mem): Free memory for the slotinfo array if possible.

22 years agoUpdate.
Ulrich Drepper [Wed, 13 Feb 2002 09:04:53 +0000 (09:04 +0000)] 
Update.

2002-02-12  Andreas Schwab  <schwab@suse.de>

* csu/gmon-start.c (__gmon_start__): Remove '&' from ENTRY_POINT.

22 years agoUpdate.
Ulrich Drepper [Wed, 13 Feb 2002 08:03:56 +0000 (08:03 +0000)] 
Update.

2002-02-12  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/generic/dl-tls.c (TLS_DTV_UNALLOCATED): Renamed from
TLS_DTV_UNALLOCATE.
(oom): New function.
(_dl_next_tls_modid): Rewrite to handle dl_tls_dtv_slotinfo_list.
(_dl_determine_tlsoffset): Likewise.
(_dl_allocate_tls): Likewise.
(__TLS_GET_ADDR): Define if not already defined.
(_dl_tls_symaddr): New function.
(allocate_and_init): New function.
(__tls_get_addr): Actually implement handling of generation counter
and deferred allocation.
* sysdeps/generic/ldsodefs.h (_rtld_global): Remove _dl_initimage_list,
add _dl_tls_dtv_slotinfo_list, _dl_tls_static_nelem, and
_dl_tls_generation.
Define TLS_SLOTINFO_SURPLUS and DTV_SURPLUS.
Declare _dl_tls_symaddr.
* sysdeps/i386/dl-tls.h: Disable __tls_get_addr handling unless
SHARED.
* include/link.h (struct link_map):  Remove l_tls_nextimage and
l_tls_previmage.
* elf/dl-sym.c (_dl_sym): After successful lookup call _dl_tls_symaddr
instead of DL_SYMBOL_ADDRESS for STT_TLS symbols.
(_dl_vsym): Likewise.
* elf/rtld.c (_dl_start_final): Adjust initdtv initialization for new
layout.
(dl_main): Allow PT_TLS be present for empty segment.  Remove
nextimage list handling.  Instead add all modules using TLS to
dl_tls_dtv_slotinfo_list.
* elf/dl-open.c (dl_open_worker): After successfully loading all
objects add those with TLS to the dl_tls_dtv_slotinfo_list list.
* elf/dl-load.c (_dl_map_object_from_fd): If PT_TLS entry is for an
empty segment don't do anything.  Remove handling of initimage list.
* elf/Versions [ld] (GLIBC_2.0): Add __libc_memalign.
(GLIBC_PRIVATE): Add _dl_tls_symaddr.
* elf/dl-minimal.c: Define __libc_memalign.
* elf/dl-support.c: Remove _dl_initimage_list.  Add
_dl_tls_dtv_slotinfo_list, _dl_tls_static_nelem, and
_dl_tls_generation.
* include/stdlib.h: Declare __libc_memalign.

* elf/Makefile: Add rules to build and run tst-tls4 and tst-tls5.
* elf/tst-tls4.c: New file.
* elf/tst-tls5.c: New file.
* elf/tst-tlsmod2.c: New file.

* elf/tls-macros.h: asms using ___tls_get_addr destroy %ecx and %edx.

* elf/tst-tlsmod1.c: Don't define variables unles USE_TLS.

* elf/tst-tls1.c: Use test-skeleton.c.
* elf/tst-tls2.c: Likewise.
* elf/tst-tls3.c: Likewise.

* elf/dl-conflict.c (RESOLVE_MAP): Return NULL not 0.

* sysdeps/mips/machine-gmon.h: Update MCOUNT for current GCC behavior.

22 years ago(RESOLVE_MAP): Return NULL not 0.
Ulrich Drepper [Tue, 12 Feb 2002 19:17:09 +0000 (19:17 +0000)] 
(RESOLVE_MAP): Return NULL not 0.

22 years agoUpdate.
Andreas Jaeger [Mon, 11 Feb 2002 10:23:44 +0000 (10:23 +0000)] 
Update.

2002-02-08  Daniel Jacobowitz  <drow@mvista.com>

* sysdeps/mips/machine-gmon.h: Update MCOUNT for current GCC
behavior.

22 years agoUpdate MCOUNT for current GCC behavior.
Andreas Jaeger [Mon, 11 Feb 2002 10:23:36 +0000 (10:23 +0000)] 
Update MCOUNT for current GCC behavior.

22 years agoUpdate.
Ulrich Drepper [Mon, 11 Feb 2002 06:09:47 +0000 (06:09 +0000)] 
Update.

* elf/elf.h: Define R_386_TLS_GD and R_386_TLS_LDM.

22 years agoUpdate.
Ulrich Drepper [Mon, 11 Feb 2002 06:00:19 +0000 (06:00 +0000)] 
Update.

* elf/tst-tls3.c: New file.
* elf/tst-tlsmod1.c: New file.
* elf/Makefile: Add rules to build and run tst-tls3.

* sysdeps/i386/dl-machine.h: Include <tls.h>.
(elf_machine_type_class): Set ELF_RTYPE_CLASS_PLT also for the three
TLS relocations.

22 years agoUpdate.
Ulrich Drepper [Mon, 11 Feb 2002 02:27:43 +0000 (02:27 +0000)] 
Update.

* elf/do-lookup.h (FCT): st_value can be zero for STT_TLS symbols.

22 years agoUpdate.
Ulrich Drepper [Mon, 11 Feb 2002 01:49:22 +0000 (01:49 +0000)] 
Update.

* po/fr.po: Update from translation team.

* elf/tls-macros.h: Add alternative macros for use in PIC.

22 years agoUpdate.
Ulrich Drepper [Mon, 11 Feb 2002 01:30:15 +0000 (01:30 +0000)] 
Update.

* elf/dl-lookup.c: Include <tls.h>.
* elf/do-lookup.h (FCT): Don't discard STT_TLS symbols.

22 years agoUpdate.
Ulrich Drepper [Mon, 11 Feb 2002 00:57:37 +0000 (00:57 +0000)] 
Update.

* sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): More changes
required by passing pointer to last element of the list.

* elf/dl-load.c (_dl_map_object_from_fd): Move adjustment of
l_tls_initimage to a place where it actually is performed.

* elf/tls-macros.h: ...here.  New file.

22 years agoUpdate.
Ulrich Drepper [Sun, 10 Feb 2002 23:36:05 +0000 (23:36 +0000)] 
Update.

* sysdeps/generic/glob.c (glob): Explicitly set gl_pathc to zero
after globfree() calls.

22 years agoUpdate.
Ulrich Drepper [Sun, 10 Feb 2002 22:40:17 +0000 (22:40 +0000)] 
Update.

* elf/dl-deps.c (struct openaux_args): Add open_mode element.
(openaux): Pass open_mode as new last argument to _dl_map_object.
(_dl_map_object_deps): Add new argument open_mode.  Initialize
open_mode element of args variable with it.
* elf/dl-open.c (dl_open_worker): Pass __RTLD_DLOPEN flag is set to
_dl_map_object_deps.
* elf/rtld.c (dl_main): Add zero as last parameter to
_dl_map_object_deps call.
* sysdeps/generic/ldsodefs.h: Adjust prototype of _dl_map_object_deps.
* elf/nodlopen2.c: New file.
* elf/nodlopenmod2.c: New file.
* elf/Makefile: Add rules to build and run nodlopen2.

* elf/tls-macros.hgg: ...here.  New file.
2002-02-08  Richard Henderson  <rth@redhat.com>

22 years agoUpdate.
Ulrich Drepper [Sun, 10 Feb 2002 18:58:00 +0000 (18:58 +0000)] 
Update.

* elf/tst-tls1.c: Move TLS helper macros to...
* elf/tls-macros.h: ...here.  New file.
* elf/tst-tls2.c: New file.
* elf/Makefile (tests): Add tst-tls2.
(distribute): Add tls-macros.h.

22 years agoUpdate.
Ulrich Drepper [Sun, 10 Feb 2002 18:32:43 +0000 (18:32 +0000)] 
Update.

* po/sv.po: Update from translation team.

22 years agoUpdate.
Ulrich Drepper [Sun, 10 Feb 2002 09:15:59 +0000 (09:15 +0000)] 
Update.

* elf/tst-tls1.c (main): Add complete set of tests.  Split
architecture specific definitions from the actual test code.

22 years agoUpdate.
Ulrich Drepper [Sun, 10 Feb 2002 08:34:20 +0000 (08:34 +0000)] 
Update.

2002-02-10  Ulrich Drepper  <drepper@redhat.com>

* po/tr.po: Update from translation team.

22 years agoUpdate.
Ulrich Drepper [Sun, 10 Feb 2002 07:44:36 +0000 (07:44 +0000)] 
Update.

* elf/Makefile (tests): Add tst-tls1.
* elf/tst-tls1.c: New file.

* sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Don't handle
alignment of TCB for now.

* elf/rtld.c (dl_main): Use p_vaddr as address of TLS
initialization image for the application itself.

loop to initialize TLS block.

22 years agoUpdate.
Ulrich Drepper [Sat, 9 Feb 2002 19:02:31 +0000 (19:02 +0000)] 
Update.

2002-02-09  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/generic/dl-tls.c (_dl_allocate_tls): Correctly terminate
loop to initial TLS block.

* csu/version.c (banner): If TLS support is available say so.

22 years agoUpdate.
Ulrich Drepper [Sat, 9 Feb 2002 06:13:03 +0000 (06:13 +0000)] 
Update.

2002-02-08  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/i386/tls.h (TLS_INIT_TP): Also initialize %gs.

22 years agoUpdate.
Ulrich Drepper [Sat, 9 Feb 2002 01:59:10 +0000 (01:59 +0000)] 
Update.

2002-02-08  Richard Henderson  <rth@twiddle.net>
* sysdeps/alpha/elf/initfini.c: Use \n\ for multiline string.

22 years agoUpdate.
Ulrich Drepper [Sat, 9 Feb 2002 01:54:57 +0000 (01:54 +0000)] 
Update.

2002-02-09  Richard Henderson  <rth@twiddle.net>

* sysdeps/generic/ldsodefs.h (struct rtld_global): Also include
_dl_cpuclock_offset if HP_SMALL_TIMING_AVAIL.

2002-02-09  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/generic/dl-environ.c (unsetenv): Clear cnt before use.

* po/ca.po: Update from translation team.
* po/sk.po: Likewise.

22 years agoUpdate.
Ulrich Drepper [Sat, 9 Feb 2002 01:41:44 +0000 (01:41 +0000)] 
Update.

2002-02-08  Ulrich Drepper  <drepper@redhat.com>

* elf/rtld.c (_dl_start_final): Install DTV explicitly.
(dl_main): Move dtv/static TLS handling before relocation.
Unconditionally call _dl_tlsoffset.  Call _dl_allocate_tls and
TLS_INIT_TP to allocate and install the dtv/static TLS block.
* sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): If no object
so far uses TLS initialize GL(dl_tls_static_size) and
GL(dl_tls_static_align) to account for the TCB.
(_dl_allocate_tls): New function.
* sysdeps/generic/ldsodefs.h (rtld_global): Add
_dl_initial_dtv_malloced.

* configure.in: Test for __builtin_memset more realistically.

* csu/version.c (banner): If TLS support available say so.

22 years ago(banner): If TLS support available say so.
Ulrich Drepper [Sat, 9 Feb 2002 01:29:45 +0000 (01:29 +0000)] 
(banner): If TLS support available say so.

22 years agoUpdate.
Andreas Jaeger [Fri, 8 Feb 2002 18:57:15 +0000 (18:57 +0000)] 
Update.

2002-02-04  H.J. Lu  <hjl@gnu.org>

* sysdeps/mips/dl-machine.h (elf_machine_matches_host): Use
__attribute_used__.
(__dl_runtime_resolve): Likewise.

* sysdeps/mips/machine-gmon.h (_MCOUNT_DECL): Make it a real
declaration.

22 years agoUpdate.
Andreas Jaeger [Fri, 8 Feb 2002 16:21:13 +0000 (16:21 +0000)] 
Update.

2001-11-15  H.J. Lu  <hjl@gnu.org>

* sysdeps/unix/sysv/linux/mips/sys/procfs.h: Don't include
<signal.h>, <sys/ucontext.h> nor <asm/elf.h>. Updated for gdb.

* sysdeps/unix/sysv/linux/mips/sys/user.h: New.

22 years ago* sysdeps/mips/atomicity.h (compare_and_swap): Remove
Andreas Jaeger [Fri, 8 Feb 2002 16:15:43 +0000 (16:15 +0000)] 
* sysdeps/mips/atomicity.h (compare_and_swap): Remove

".set noreorder".
* sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set):
Likewise.

22 years ago* sysdeps/mips/pspinlock.c (__pthread_spin_lock): Silence the
Andreas Jaeger [Fri, 8 Feb 2002 16:14:43 +0000 (16:14 +0000)] 
* sysdeps/mips/pspinlock.c (__pthread_spin_lock): Silence the

gcc warning.
(__pthread_spin_lock): Remove ".set noreorder".
* sysdeps/mips/pt-machine.h (__compare_and_swap): Liekwise.
2002-02-07  H.J. Lu  <hjl@gnu.org>

* sysdeps/mips/pspinlock.c (__pthread_spin_lock): Silence the
gcc warning.
(__pthread_spin_lock): Remove ".set noreorder".
* sysdeps/mips/pt-machine.h (__compare_and_swap): Liekwise.

22 years agoUpdate.
Ulrich Drepper [Fri, 8 Feb 2002 07:50:07 +0000 (07:50 +0000)] 
Update.

* sysdeps/unix/sysv/linux/bits/stat.h: Undo last patch.

22 years agoUpdate.
Ulrich Drepper [Fri, 8 Feb 2002 06:24:57 +0000 (06:24 +0000)] 
Update.

* sysdeps/i386/dl-tls.h (__tls_get_addr): Call
___tls_get_addr_internal.
(___tls_get_addr_internal): Define as alias for ___tls_get_addr.

22 years agoUpdate.
Ulrich Drepper [Fri, 8 Feb 2002 05:03:57 +0000 (05:03 +0000)] 
Update.

2002-02-07  Ulrich Drepper  <drepper@redhat.com>

* po/ko.po: Update from translation team.

22 years agoUpdate.
Ulrich Drepper [Fri, 8 Feb 2002 04:59:15 +0000 (04:59 +0000)] 
Update.

2002-02-07  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/bits/stat.h (struct stat): Remove packed
attribute, change __pad{1,2} type to unsigned int.
(struct stat64): Remove packed attribute.

22 years agoUpdate.
Ulrich Drepper [Thu, 7 Feb 2002 18:04:59 +0000 (18:04 +0000)] 
Update.

2002-02-07  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/i386/dl-tls.h: No need for #ifdef USE_TLS.

22 years agoUpdate.
Ulrich Drepper [Thu, 7 Feb 2002 17:54:45 +0000 (17:54 +0000)] 
Update.

2002-02-07  Andreas Schwab  <schwab@suse.de>

* configure.in: Fix check for -zcombreloc.

2002-02-06  H.J. Lu  <hjl@gnu.org>

* config.h.in (HAVE_BUILTIN_MEMSET): New.
* configure.in: Check if __builtin_memset really works.
* elf/rtld.c (_dl_start): Check HAVE_BUILTIN_MEMSET instead of
__GNUC_PREREQ (2, 96) before using __builtin_memset.

2002-02-06  Jakub Jelinek  <jakub@redhat.com>

* io/bug-ftw3.c (main): Don't try the test if root.

2002-02-06  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* sysdeps/unix/sysv/linux/s390/brk.c (__brk): Correct inline assembly
constraints.
* sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h (RLIMIT_LOCKS):
Add RLIMIT_LOCKS and adjust RLIMIT_NLIMITS.
* sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h (RLIMIT_LOCKS):
Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/clone.S (clone): Make clone
a weak alias for __clone.
* sysdeps/unix/sysv/linux/s390/s390-64/clone.S (clone): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h: Fix typo.
* sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add framestate.
* sysdeps/unix/sysv/linux/s390/s390-64/Versions: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/mmap.S (__mmap64): Make __mmap
a weak alias for __mmap64.

* sysdeps/mips/atomicity.h (exchange_and_add): Not use branch likely.
* sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Likewise.
* sysdeps/generic/dl-tls.c: Don't read TLS header if TLS is not needed.

22 years agoDon't read TLS header if TLS is not needed.
Ulrich Drepper [Thu, 7 Feb 2002 17:29:14 +0000 (17:29 +0000)] 
Don't read TLS header if TLS is not needed.

22 years ago* sysdeps/mips/atomicity.h (exchange_and_add): Not use branch
Andreas Jaeger [Thu, 7 Feb 2002 10:40:03 +0000 (10:40 +0000)] 
* sysdeps/mips/atomicity.h (exchange_and_add): Not use branch

likely.
(atomic_add): Likewise.
(compare_and_swap): Likewise.
* sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set):
Likewise.

22 years agoDo not use branch likely.
Andreas Jaeger [Thu, 7 Feb 2002 10:39:07 +0000 (10:39 +0000)] 
Do not use branch likely.

2002-02-05  H.J. Lu  <hjl@gnu.org>

* sysdeps/mips/pspinlock.c (__pthread_spin_lock): Not use
branch likely.
* sysdeps/mips/pt-machine.h (testandset): Likewise.
(__compare_and_swap): Likewise.

>>>>>>> 1.469

22 years agoUpdate.
Ulrich Drepper [Thu, 7 Feb 2002 08:44:37 +0000 (08:44 +0000)] 
Update.

2002-02-07  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Account for
alignment of the TCB and store total size and alignment of static
TLS block in _dl_tls_static_size and _dl_tls_static_align.
tls_index is a typedef.
* sysdeps/generic/ldsodefs.h: Declare _dl_tls_static_size and
_dl_tls_static_align.
* sysdeps/i386/dl-tls.h: tls_index is a typedef.
* elf/dl-support.c: Define _dl_tls_static_size and
_dl_tls_static_align.

22 years agoUpdate.
Ulrich Drepper [Thu, 7 Feb 2002 06:38:57 +0000 (06:38 +0000)] 
Update.

2002-02-06  Ulrich Drepper  <drepper@redhat.com>

* configure.in: Add --without-tls option.
* sysdeps/i386/elf/configure.in: Don't check for TLS support if
--without-tls is given.

* sysdeps/generic/dl-tls.c: Include <tls.h>.

* sysdeps/i386/dl-tls.h: Don't define anything if !USE_TLS.

22 years agoDon't define anything if !USE_TLS.
Ulrich Drepper [Thu, 7 Feb 2002 06:06:02 +0000 (06:06 +0000)] 
Don't define anything if !USE_TLS.

22 years ago* malloc/hooks.c [! HAVE_MREMAP]: Conditionalize unused decls.
Roland McGrath [Thu, 7 Feb 2002 05:30:48 +0000 (05:30 +0000)] 
* malloc/hooks.c [! HAVE_MREMAP]: Conditionalize unused decls.

* malloc/malloc.c [! HAVE_MREMAP]: Likewise.

22 years ago* scripts/versions.awk: Improve error message for missing version.
Roland McGrath [Thu, 7 Feb 2002 05:25:11 +0000 (05:25 +0000)] 
* scripts/versions.awk: Improve error message for missing version.

Each version inherits from the last one only if they have the same
nonnumeric prefix, i.e. GLIBC_x.y and GLIBC_x.z or FOO_x and FOO_y
but not GLIBC_x and FOO_y.

* scripts/firstversions.awk: Handle libraries that don't have each
particular version named in the third column of shlib-versions.

22 years ago* scripts/firstversions.awk: Don't mess with GLIBC_PRIVATE.
Roland McGrath [Thu, 7 Feb 2002 04:37:38 +0000 (04:37 +0000)] 
* scripts/firstversions.awk: Don't mess with GLIBC_PRIVATE.

22 years ago2002-02-06 Roland McGrath <roland@frob.com>
Roland McGrath [Thu, 7 Feb 2002 04:33:51 +0000 (04:33 +0000)] 
2002-02-06  Roland McGrath  <roland@frob.com>

* scripts/firstversions.awk: Don't mess with GLIBC_PRIVATE.

22 years agoUpdate.
Ulrich Drepper [Thu, 7 Feb 2002 04:08:19 +0000 (04:08 +0000)] 
Update.

2002-02-06  Ulrich Drepper  <drepper@redhat.com>

* Versions.def [ld]: Add GLIBC_2.3.
* elf/Versions [ld]: Add __tls_get_addr to GLIBC_2.3.
* elf/Makefile (dl-routines): Add dl-tls.
(distribute): Add dl-tls.h.
* sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
_dl_tls_module_cnt, add _dl_tls_max_dtv_idx and _dl_tls_dtv_gaps.
Add prototypes for _dl_next_tls_modid and _dl_determine_tlsoffset.
* elf/dl-load.c (_dl_map_object_from_fd): Store alignment requirement
along with the other info in the link map.  Change queueing of init
images for double linked list.  Use _dl_next_tls_modid to compute
l_tls_modid.
* elf/rtld.c (_dl_start_final): Store alignment requirement
along with the other info in rtld map and executable map.
(dl_main): Add ld.so to the init image list if necessary.  Compute
final module ID with _dl_next_tls_modid.
* include/link.h (struct link_map): Add l_tls_previmage and
l_tls_align.
* eld/dl-support.c: Define _dl_tls_max_dtv_idx and _dl_tls_dtv_gaps.
* sysdeps/i386/elf/Versions: New file.
* sysdeps/generic/dl-tls.c: New file.
* sysdeps/generic/dl-tls.h: New file.
* sysdeps/i386/dl-tls.h: New file.

attribute((packed)) to counter stupid people misusing gcc options.

22 years ago(_dl_map_object_from_fd): Store alignment requirement along with the other info in...
Ulrich Drepper [Thu, 7 Feb 2002 03:53:17 +0000 (03:53 +0000)] 
(_dl_map_object_from_fd): Store alignment requirement along with the other info in the link map.  Change queueing of init images for double linked list.  Use _dl_next_tls_modid to compute l_tls_modid.

22 years ago* sysdeps/mach/configure.in: New file.
Roland McGrath [Thu, 7 Feb 2002 03:52:18 +0000 (03:52 +0000)] 
* sysdeps/mach/configure.in: New file.

* sysdeps/mach/configure: New generated file.

* mach/Makefile (user-interfaces): Remove default_pager_helper.
It has never been used by anything.

22 years agowhitespace
Roland McGrath [Thu, 7 Feb 2002 03:50:24 +0000 (03:50 +0000)] 
whitespace

22 years ago[ld]: Add __tls_get_addr to GLIBC_2.3.
Ulrich Drepper [Thu, 7 Feb 2002 03:50:23 +0000 (03:50 +0000)] 
[ld]: Add __tls_get_addr to GLIBC_2.3.

22 years ago* sysdeps/unix/sysv/linux/netinet/ip.h: Moved to ...
Roland McGrath [Thu, 7 Feb 2002 03:49:52 +0000 (03:49 +0000)] 
* sysdeps/unix/sysv/linux/netinet/ip.h: Moved to ...

* sysdeps/generic/netinet/ip.h: ... here, replacing old file.

22 years ago(dl-routines): Add dl-tls. (distribute): Add dl-tls.h.
Ulrich Drepper [Thu, 7 Feb 2002 03:49:37 +0000 (03:49 +0000)] 
(dl-routines): Add dl-tls. (distribute): Add dl-tls.h.

22 years ago2002-02-06 Roland McGrath <roland@frob.com>
Roland McGrath [Thu, 7 Feb 2002 03:49:18 +0000 (03:49 +0000)] 
2002-02-06  Roland McGrath  <roland@frob.com>

* sysdeps/unix/sysv/linux/netinet/ip.h: Moved to ...
* sysdeps/generic/netinet/ip.h: ... here, replacing old file.

22 years ago[ld]: Add GLIBC_2.3.
Ulrich Drepper [Thu, 7 Feb 2002 03:48:00 +0000 (03:48 +0000)] 
[ld]: Add GLIBC_2.3.

22 years agoAdditional version definitions for i386/ELF.
Ulrich Drepper [Thu, 7 Feb 2002 03:47:17 +0000 (03:47 +0000)] 
Additional version definitions for i386/ELF.

22 years ago* sysdeps/mips/elf/ldsodefs.h: Make sure the right <ldsodefs.h>
Andreas Jaeger [Wed, 6 Feb 2002 22:48:57 +0000 (22:48 +0000)] 
* sysdeps/mips/elf/ldsodefs.h: Make sure the right <ldsodefs.h>

is included.

22 years agoMake sure the right <ldsodefs.h> is included.
Andreas Jaeger [Wed, 6 Feb 2002 22:48:35 +0000 (22:48 +0000)] 
Make sure the right <ldsodefs.h> is included.

22 years agoUpdate.
Ulrich Drepper [Wed, 6 Feb 2002 18:14:12 +0000 (18:14 +0000)] 
Update.

2002-02-06  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/bits/stat.h (struct stat): Add
attribute((packed)) to counter stupid people misuing gcc options.
(struct stat64): Likewise.

2002-02-05  Ulrich Drepper  <drepper@redhat.com>

* elf/rtld.c (dl_main): Correct indentation.  Use bool as type for
the variables which are used as booleans.

22 years ago(struct stat): Add attribute((packed)) to counter stupid people misuing gcc options...
Ulrich Drepper [Wed, 6 Feb 2002 18:12:16 +0000 (18:12 +0000)] 
(struct stat): Add attribute((packed)) to counter stupid people misuing gcc options. (struct stat64): Likewise.

22 years agoUpdate.
Andreas Jaeger [Wed, 6 Feb 2002 14:19:54 +0000 (14:19 +0000)] 
Update.

* elf/dl-error.c: Likewise.
* elf/dl-fini.c: Likewise.
* elf/dl-runtime.c: Likewise.
* elf/do-lookup.h: Likewise.

22 years agoUpdate.
Andreas Jaeger [Wed, 6 Feb 2002 14:14:51 +0000 (14:14 +0000)] 
Update.

2002-02-06  Andreas Jaeger  <aj@suse.de>

* include/libc-symbols.h (INTUSE): Renamed from INT.
* elf/dl-deps.c: Change users.
* sysdeps/generic/dl-sysdep.c: Likewise.
* sysdeps/generic/dl-cache.c: Likewise.
* elf/dl-reloc.c: Likewise.
* elf/rtld.c: Likewise.
* elf/dl-version.c: Likewise.
* elf/dl-load.c: Likewise.
* elf/dl-dst.h: Likewise.
* elf/dl-init.c: Likewise.

22 years agoUpdate.
Andreas Jaeger [Wed, 6 Feb 2002 12:55:35 +0000 (12:55 +0000)] 
Update.

2002-02-05  Andreas Jaeger  <aj@suse.de>

* stdio-common/_itoa.h: Undefine SPECIAL to avoid duplicate
definition.
* stdio-common/_itowa.h: Likewise.

22 years agoUndefine SPECIAL to avoid duplicate definition.
Andreas Jaeger [Wed, 6 Feb 2002 12:54:16 +0000 (12:54 +0000)] 
Undefine SPECIAL to avoid duplicate definition.

22 years ago(dl_main): Correct indentation. Use bool as type for the variables which are used...
Ulrich Drepper [Wed, 6 Feb 2002 03:42:42 +0000 (03:42 +0000)] 
(dl_main): Correct indentation.  Use bool as type for the variables which are used as booleans.

22 years agoUpdate.
Ulrich Drepper [Wed, 6 Feb 2002 01:14:01 +0000 (01:14 +0000)] 
Update.

* elf/dl-minimal.c: Define _itoa_lower_digits.

* elf/dynamic-link.h (elf_get_dynamic_info): ld.so can have
DT_FLAGS set.

22 years agoUpdate.
Ulrich Drepper [Wed, 6 Feb 2002 00:55:46 +0000 (00:55 +0000)] 
Update.

* elf/dl-load.c (_dl_map_object_from_fd): Prevent dynamically
loading modules with the DF_STATIC_TLS flag set.
* elf/dynamic-link.h (elf_get_dynamic_info): Initialize l_flags
element.
* include/link.h (struct link_map): Add l_flags field.
* elf/elf.h (DF_STATIC_TLS): New definition.

22 years agoUpdate.
Ulrich Drepper [Wed, 6 Feb 2002 00:28:46 +0000 (00:28 +0000)] 
Update.

* dlfcn/Makefile: Add rules to build and run bug-dlopen1.
* dlfcn/bug-dlopen1.c: New file.  By Bruno Haible.

22 years agoUpdate.
Ulrich Drepper [Wed, 6 Feb 2002 00:19:11 +0000 (00:19 +0000)] 
Update.

* elf/rtld.c (process_dl_debug): Correct printing help message.
* elf/dl-misc.c (_dl_debug_vdprintf): Implement precision handling
for %s.

22 years agoUpdate.
Ulrich Drepper [Tue, 5 Feb 2002 23:29:24 +0000 (23:29 +0000)] 
Update.

* inet/getnetgrent_r.c (innetgr): Add int* parameter to getfct
definition and pass &errno in use of this variable.
Reported by Simon Wilkinson <simon@sxw.org.uk> [PR libc/2911].

2002-02-04  Andreas Schwab  <schwab@suse.de>

* locale/programs/localedef.h (WITH_CUR_LOCALE): Define.
* locale/programs/charmap-dir.c: Wrap calls that output messages
with WITH_CUR_LOCALE.  Include "localedef.h" first.
* locale/programs/charmap.c: 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/localedef.c: Likewise.
* locale/programs/locfile.c: Likewise.
* locale/programs/repertoire.c: Likewise.

2002-02-05  Ulrich Drepper  <drepper@redhat.com>

22 years agoUpdate.
Ulrich Drepper [Tue, 5 Feb 2002 19:39:42 +0000 (19:39 +0000)] 
Update.

* elf/rtld.c (_dl_start_final): Determine load address to locate
ehdr with GL(dl_rtld_map).l_map_start.

22 years agoUpdate.
Ulrich Drepper [Tue, 5 Feb 2002 19:20:07 +0000 (19:20 +0000)] 
Update.

* po/ca.po: Update from translation team.

22 years agoUpdate.
Ulrich Drepper [Tue, 5 Feb 2002 08:38:38 +0000 (08:38 +0000)] 
Update.

* elf/dl-load.c (_dl_map_object_from_fd): Handle PT_TLS program
header entry.
* elf/dl-support.c: Define _dl_initimage_list and _dl_tls_module_cnt.

22 years agoUpdate.
Ulrich Drepper [Tue, 5 Feb 2002 08:25:04 +0000 (08:25 +0000)] 
Update.

2002-02-05  Ulrich Drepper  <drepper@redhat.com>

* elf/rtld.c (dl_main): Read PT_TLS entry of the executable.
* sysdeps/generic/ldsodefs.h (struct rtld_global): Add
_dl_tls_module_cnt.

22 years agoUpdate.
Ulrich Drepper [Tue, 5 Feb 2002 08:02:04 +0000 (08:02 +0000)] 
Update.

* elf/rtld.c (_dl_start): Fill TLS values in link map for rtld.
* include/link.h (struct link_map): Add various members for TLS
information.
* sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
_rtld_tlsoffset, add _dl_initimage_list.
* sysdeps/i386/dl-lookupcfg.h: New file.
* sysdeps/i386/dl-machine.h (elf_machine_rel): Implement missing
TLS relocation.  When using TLS we now use RESOLVE_MAP.
(elf_machine_rela): Use RESOLVE_MAP instead of RESOLVE_MAP if TLS
is used.

* sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Mark as possibly
unused.

22 years agoUpdate.
Ulrich Drepper [Tue, 5 Feb 2002 00:57:29 +0000 (00:57 +0000)] 
Update.

* elf/rtld.c (_dl_start_final): Allocate TLS and initialize
thread-pointer as soon as possible.
* sysdeps/generic/ldsodefs.h: Include <tls.h>.  Define first TLS
elements in rtld_global.
* sysdeps/generic/tls.h: New file.
* elf/Makefile (distribute): Add tls.h.
* sysdeps/i386/dl-machine.h (elf_machine_rel): Add support for TLS
relocations.  Not complete yet.

* resolv/resolv.h: Allow user to define __need_res_state and only
define __res_start structure then.
* include/resolv.h: Only declare functions if _RESOLV_H_ is defined.

22 years agoUpdate.
Ulrich Drepper [Mon, 4 Feb 2002 08:38:52 +0000 (08:38 +0000)] 
Update.

2002-02-04  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Move
dl_cpuclock_offset initialization to _dl_start_final.
(_dl_show_auxv): Avoid unnecessary sign extension.
* elf/rtld.c (_dl_start_final): Initialize dl_cpuclock_offset.

22 years agoUpdate.
Ulrich Drepper [Mon, 4 Feb 2002 06:24:37 +0000 (06:24 +0000)] 
Update.

2002-02-03  Ulrich Drepper  <drepper@redhat.com>

* config.h.in: Add HAVE_TLS_SUPPORT.
* sysdeps/i386/elf/configure.in: New file.

22 years agoUpdate.
Ulrich Drepper [Sun, 3 Feb 2002 19:39:52 +0000 (19:39 +0000)] 
Update.

2002-02-03  Andreas Schwab  <schwab@suse.de>

* sysdeps/posix/readv.c: Use ssize_t for bytes_read.
* sysdeps/posix/writev.c: Use ssize_t for bytes_written.  Fix comment.

2002-02-03  Thorsten Kukuk  <kukuk@suse.de>

* sysdeps/posix/writev.c: Check for ssize_t overflow, don't use
alloca if the memory reqirements are too high.

2002-02-03  Ulrich Drepper  <drepper@redhat.com>

* elf/dl-load.c (decompose_rpath): Avoid using strstr.
* elf/dl-minimal.c (_strerror_r): Use _itoa instead of _itoa_word since
the former is available anyway and speed isn't important here.
* elf/dl-misc.c (_dl_debug_vdprintf): Likewise.
* elf/dl-version.c (match_symbol): Likewise.
(_dl_check_map_versions): Likewise.
* elf/rtld.c (process_envvars): Likewise.
(print_statistics): Likewise.
* sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Likewise.
* elf/dl-minimal.c (_itoa): Always define it.  Make it work for all
bases.  Add assert to catch uses of unimplemented features.
(__strsep): Add assert to catch uses of unimplemented features.
* elf/dl-object.c (_dl_new_object): Don't use rawmemchr.  Use strchr
and avoid inline optimization.
* elf/rtld.c (process_envvars): Likewise.
* elf/dl-open.c: Don't include <stdio-common/_itoa.h>.
* elf/dl-profile.c (_dl_start_profile): Help compiler to avoid ffs.
* elf/rtld.c (dl_main): Avoid strsep inline optimization.

* stdio-common/_itoa.h: Minor simplifications of the code.
* stdio-common/_itoa.c: Likewise.

* elf/dl-reloc.c (_dl_relocate_object): Use _dl_debug_printf
instead of _dl_printf for debugging info output.

* sysdeps/mips/atomicity.h (exchange_and_add): Use branch likely.

22 years agoUpdate.
Ulrich Drepper [Sun, 3 Feb 2002 02:33:57 +0000 (02:33 +0000)] 
Update.

2002-02-02  Ulrich Drepper  <drepper@redhat.com>

* manual/examples/mkfsock.c (make_named_socket): Make sure name is
always NUL-terminated.  Patch by Chris D. Sloan <cds@cs.hmc.edu>.

22 years agoUpdate.
Ulrich Drepper [Sun, 3 Feb 2002 02:26:37 +0000 (02:26 +0000)] 
Update.

2002-02-01  H.J. Lu  <hjl@gnu.org>

* sysdeps/mips/atomicity.h (exchange_and_add): Use branch
likely.
(atomic_add): Likewise.
(compare_and_swap): Return 0 only when failed to compare. Use
branch likely.

* sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Use
branch likely.

2002-02-03  kaz Kojima  <kkojima@rr.iij4u.or.jp>

* sysdeps/sh/dl-machine.h (elf_machine_rela): Fix a typo.

2002-02-02  Ulrich Drepper  <drepper@redhat.com>

* elf/dl-minimal.c (__strsep): New minimal implementation.