kopensolaris-gnu/glibc.git
17 years agoAdd casts to avoid warnings.
drepper [Sun, 25 Aug 2002 04:08:50 +0000 (04:08 +0000)]
Add casts to avoid warnings.

17 years agoLinux/IA-64 version of <sys/user.h>.
drepper [Sun, 25 Aug 2002 03:57:38 +0000 (03:57 +0000)]
Linux/IA-64 version of <sys/user.h>.

17 years ago(fcvt_r): Add casts to avoid warnings.
drepper [Sun, 25 Aug 2002 03:56:38 +0000 (03:56 +0000)]
(fcvt_r): Add casts to avoid warnings.

17 years agoAdd casts to avoid warning.
drepper [Sun, 25 Aug 2002 03:08:01 +0000 (03:08 +0000)]
Add casts to avoid warning.

17 years agoWe don't need the isascii test in glibc.
drepper [Sun, 25 Aug 2002 02:59:12 +0000 (02:59 +0000)]
We don't need the isascii test in glibc.

17 years ago(public_sET_STATe): use size_t as type for i.
drepper [Sun, 25 Aug 2002 02:56:18 +0000 (02:56 +0000)]
(public_sET_STATe): use size_t as type for i.

17 years ago(mALLINFo): Use size_t as type for i.
drepper [Sun, 25 Aug 2002 02:55:35 +0000 (02:55 +0000)]
(mALLINFo): Use size_t as type for i.

17 years agoAdd casts to avoid warnings.
drepper [Sun, 25 Aug 2002 02:50:46 +0000 (02:50 +0000)]
Add casts to avoid warnings.

17 years agoAdd castst to avoid warnings.
drepper [Sun, 25 Aug 2002 02:47:57 +0000 (02:47 +0000)]
Add castst to avoid warnings.

17 years ago(_IO_wstr_pbackfail): Use WEOF in comparison.
drepper [Sun, 25 Aug 2002 02:44:57 +0000 (02:44 +0000)]
(_IO_wstr_pbackfail): Use WEOF in comparison.

17 years ago(_IO_wfile_overflow): Use EOF not WEOF when examining result of
drepper [Sun, 25 Aug 2002 02:44:24 +0000 (02:44 +0000)]
(_IO_wfile_overflow): Use EOF not WEOF when examining result of
_IO_do_flush call.

17 years ago(inchar): Add cast to avoid warnings.
drepper [Sun, 25 Aug 2002 02:40:59 +0000 (02:40 +0000)]
(inchar): Add cast to avoid warnings.

17 years ago(vfprintf): Use correct type in va_arg. Use prec not spec when sizing buffers.
drepper [Sun, 25 Aug 2002 01:18:41 +0000 (01:18 +0000)]
(vfprintf): Use correct type in va_arg.  Use prec not spec when sizing buffers.

17 years ago(__open_catalog): Add casts to avoid warnings.
drepper [Sun, 25 Aug 2002 00:55:57 +0000 (00:55 +0000)]
(__open_catalog): Add casts to avoid warnings.

17 years ago(_nl_load_locale_from_archive): Add cast to avoid warning.
drepper [Sun, 25 Aug 2002 00:52:08 +0000 (00:52 +0000)]
(_nl_load_locale_from_archive): Add cast to avoid warning.

17 years ago(_nl_intern_locale_data): Add cast to avoid warning.
drepper [Sun, 25 Aug 2002 00:48:37 +0000 (00:48 +0000)]
(_nl_intern_locale_data): Add cast to avoid warning.

17 years agoDefine _ASM_IA64_CURRENT_H macro to calm down the compiler.
drepper [Sun, 25 Aug 2002 00:43:37 +0000 (00:43 +0000)]
Define _ASM_IA64_CURRENT_H macro to calm down the compiler.

17 years ago(__gconv_load_cache): Add cast to avoid warning.
drepper [Sun, 25 Aug 2002 00:40:15 +0000 (00:40 +0000)]
(__gconv_load_cache): Add cast to avoid warning.

17 years ago(__asm__): Don't use newlines embedded in string.
drepper [Sun, 25 Aug 2002 00:34:23 +0000 (00:34 +0000)]
(__asm__): Don't use newlines embedded in string.

17 years agoUpdate comment regarding placement of errno definition.
drepper [Sat, 24 Aug 2002 23:26:46 +0000 (23:26 +0000)]
Update comment regarding placement of errno definition.

17 years ago(MAXPACKET): Increase minimum value from 1024 to 65536, to avoid buffer overrun.
drepper [Sat, 24 Aug 2002 22:29:11 +0000 (22:29 +0000)]
(MAXPACKET): Increase minimum value from 1024 to 65536, to avoid buffer overrun.

17 years agoUpdate.
aj [Sat, 24 Aug 2002 06:48:07 +0000 (06:48 +0000)]
Update.

17 years ago Remove *xattr syscalls.
aj [Sat, 24 Aug 2002 06:47:55 +0000 (06:47 +0000)]
 Remove *xattr syscalls.

17 years agoUpdate.
drepper [Sat, 24 Aug 2002 03:35:35 +0000 (03:35 +0000)]
Update.

17 years agoDefine LINUXTHREADS_VERSION.
drepper [Sat, 24 Aug 2002 03:34:32 +0000 (03:34 +0000)]
Define LINUXTHREADS_VERSION.

17 years ago(symbol_list_arr): Add LINUXTHREADS_VERSION string.
drepper [Sat, 24 Aug 2002 03:33:41 +0000 (03:33 +0000)]
(symbol_list_arr): Add LINUXTHREADS_VERSION string.

17 years ago(td_ta_new): After verifying the thread library is there check version.
drepper [Sat, 24 Aug 2002 03:32:27 +0000 (03:32 +0000)]
(td_ta_new): After verifying the thread library is there check version.

17 years agoAdd new error TD_VERSION.
drepper [Sat, 24 Aug 2002 03:31:20 +0000 (03:31 +0000)]
Add new error TD_VERSION.

17 years agoUpdate.
drepper [Sat, 24 Aug 2002 03:20:58 +0000 (03:20 +0000)]
Update.

17 years ago(__linuxthreads_version): New global constant.
drepper [Sat, 24 Aug 2002 03:19:25 +0000 (03:19 +0000)]
(__linuxthreads_version): New global constant.

17 years agoUpdate.
drepper [Sat, 24 Aug 2002 01:36:09 +0000 (01:36 +0000)]
Update.

17 years ago(log1): Define and initialize two52 locally.
drepper [Sat, 24 Aug 2002 00:21:07 +0000 (00:21 +0000)]
(log1): Define and initialize two52 locally.
(log2): Likewise.

17 years agoRemove definition of two52.
drepper [Sat, 24 Aug 2002 00:19:45 +0000 (00:19 +0000)]
Remove definition of two52.

17 years ago(__get_nprocs_conf): Prefer reading /proc/stat since it is more
drepper [Sat, 24 Aug 2002 00:00:43 +0000 (00:00 +0000)]
(__get_nprocs_conf): Prefer reading /proc/stat since it is more
uniform across architectures.

17 years agoUpdate to latest official version.
drepper [Fri, 23 Aug 2002 22:35:04 +0000 (22:35 +0000)]
Update to latest official version.

17 years agoUpdate.
drepper [Fri, 23 Aug 2002 22:33:32 +0000 (22:33 +0000)]
Update.

17 years agoDefine SHMLBA to 2^20 since this is what the kernel says.
drepper [Fri, 23 Aug 2002 22:27:00 +0000 (22:27 +0000)]
Define SHMLBA to 2^20 since this is what the kernel says.

17 years agoDefine SHMLBA.
drepper [Fri, 23 Aug 2002 22:26:24 +0000 (22:26 +0000)]
Define SHMLBA.

17 years agoRemove SHMLBA definition.
drepper [Fri, 23 Aug 2002 22:24:27 +0000 (22:24 +0000)]
Remove SHMLBA definition.

17 years agoUpdate.
drepper [Fri, 23 Aug 2002 21:47:01 +0000 (21:47 +0000)]
Update.

17 years agoInclude <sys/types.h> instead of <stddef.h> since ssize_t is needed as well.
drepper [Fri, 23 Aug 2002 21:34:01 +0000 (21:34 +0000)]
Include <sys/types.h> instead of <stddef.h> since ssize_t is needed as well.
Replace const with __const.

17 years ago * sysdeps/x86_64/pt-machine.h: Use %fs instead of %gs
aj [Fri, 23 Aug 2002 15:22:24 +0000 (15:22 +0000)]
* sysdeps/x86_64/pt-machine.h: Use %fs instead of %gs
as thread specific register.
(testandset): Fix inline asm.
(THREAD_GETMEM): Fix inline asm.

17 years ago.
roland [Fri, 23 Aug 2002 10:53:52 +0000 (10:53 +0000)]
.

17 years ago2002-08-23 Roland McGrath <roland@redhat.com>
roland [Fri, 23 Aug 2002 10:53:29 +0000 (10:53 +0000)]
2002-08-23  Roland McGrath  <roland@redhat.com>

* malloc/hooks.c (__malloc_initialize_hook, __free_hook,
__malloc_hook, __realloc_hook, __memalign_hook,
__after_morecore_hook): Variable definitions moved to ...
* malloc/malloc.c: ... here, so as to be before all references.

17 years ago.
roland [Fri, 23 Aug 2002 10:35:03 +0000 (10:35 +0000)]
.

17 years ago2002-08-23 Roland McGrath <roland@redhat.com>
roland [Fri, 23 Aug 2002 10:34:49 +0000 (10:34 +0000)]
2002-08-23  Roland McGrath  <roland@redhat.com>

* sysdeps/i386/dl-machine.h (elf_machine_load_address): Add a dummy
global variable reference in an unused asm parameter, to ensure the
compiler has set up the GOT register before we use it.

17 years ago.
roland [Fri, 23 Aug 2002 09:46:50 +0000 (09:46 +0000)]
.

17 years ago2002-08-23 Roland McGrath <roland@redhat.com>
roland [Fri, 23 Aug 2002 09:46:36 +0000 (09:46 +0000)]
2002-08-23  Roland McGrath  <roland@redhat.com>

* malloc/hooks.c: Move variable definitions ahead of uses.
* libio/fileops.c: Move versioned_symbol defns ahead of _IO_jump_t
initializers that make reference to variables they define.

17 years agoUpdate.
aj [Fri, 23 Aug 2002 09:29:27 +0000 (09:29 +0000)]
Update.

17 years agoRemove *xattr syscalls.
aj [Fri, 23 Aug 2002 09:29:14 +0000 (09:29 +0000)]
Remove *xattr syscalls.

17 years agoRemove *xattr syscalls.
aj [Fri, 23 Aug 2002 09:28:59 +0000 (09:28 +0000)]
Remove *xattr syscalls.

17 years agoAdd *xattr calls with version 2.3.
aj [Fri, 23 Aug 2002 09:28:36 +0000 (09:28 +0000)]
Add *xattr calls with version 2.3.

17 years ago(headers): Add sys/xattr.h.
aj [Fri, 23 Aug 2002 09:28:14 +0000 (09:28 +0000)]
(headers): Add sys/xattr.h.
(routines): Add *xattr calls.

17 years agoDeclarations of *xattr functions.
aj [Fri, 23 Aug 2002 09:27:58 +0000 (09:27 +0000)]
Declarations of *xattr functions.

17 years ago*xattr stub implementation.
aj [Fri, 23 Aug 2002 09:27:15 +0000 (09:27 +0000)]
*xattr stub implementation.

17 years agoInclude <stdlib.h> for prototypes of alloca, free, qsort.
aj [Fri, 23 Aug 2002 09:22:11 +0000 (09:22 +0000)]
Include <stdlib.h> for prototypes of alloca, free, qsort.

17 years agoRemove unused variables.
aj [Fri, 23 Aug 2002 08:53:06 +0000 (08:53 +0000)]
Remove unused variables.

17 years ago(foo): Add prototype to avoid warning.
aj [Fri, 23 Aug 2002 08:52:49 +0000 (08:52 +0000)]
(foo): Add prototype to avoid warning.

17 years ago.
roland [Thu, 22 Aug 2002 23:47:28 +0000 (23:47 +0000)]
.

17 years ago2002-08-22 Roland McGrath <roland@redhat.com>
roland [Thu, 22 Aug 2002 23:47:18 +0000 (23:47 +0000)]
2002-08-22  Roland McGrath  <roland@redhat.com>

* sysdeps/i386/useldt.h (INIT_THREAD_SELF): Remove [HAVE_TLS_SUPPORT]
conditional.
(INIT_THREAD_SELF): Pass second arg to DO_SET_THREAD_AREA.
(DO_SET_THREAD_AREA): Take second arg, pass to DO_SET_THREAD_AREA_REUSE
macro.  That chooses whether to reuse %gs value or let kernel set it.
[USE_TLS] (DO_SET_THREAD_AREA_REUSE): New macro, always 1.
[!USE_TLS] (DO_SET_THREAD_AREA_REUSE): New macro, true if arg is
not constant 0.

17 years ago2002-08-22 Steven Munroe <sjmunroe@us.ibm.com>
geoffk [Thu, 22 Aug 2002 19:07:45 +0000 (19:07 +0000)]
2002-08-22  Steven Munroe  <sjmunroe@us.ibm.com>

* sysdeps/powerpc/elf/libc-start.c
(__cache_line_size): Declare.
(__aux_init_cache): New.
(__libc_start_main): Change type of `auxvec' parameter to
`ElfW(auxv_t) *'.  Correct walking of aux vector.  Call
__aux_init_cache.
* sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
(__cache_line_size): Declare.
(__aux_init_cache): New.
(DL_PLATFORM_INIT): Define.
* sysdeps/powerpc/memset.S: Define __cache_line_size and use its
value to select the correct stride for dcbz.

17 years agoUpdate.
aj [Thu, 22 Aug 2002 11:07:05 +0000 (11:07 +0000)]
Update.

17 years agoFix arguments of shmat.
aj [Thu, 22 Aug 2002 11:06:53 +0000 (11:06 +0000)]
Fix arguments of shmat.

17 years ago.
roland [Thu, 22 Aug 2002 08:11:48 +0000 (08:11 +0000)]
.

17 years ago2002-08-22 Roland McGrath <roland@redhat.com>
roland [Thu, 22 Aug 2002 08:10:41 +0000 (08:10 +0000)]
2002-08-22  Roland McGrath  <roland@redhat.com>

* locale/loadarchive.c (_nl_load_locale_from_archive): Check max file
position indicated by locrectab against file bounds before rounding to
page size.  In mapping loop, always set TO before breaking out of
contiguous range coalescing loop.
* locale/loadarchive.c (_nl_load_locale_from_archive): Use MAP_PRIVATE
(or MAP_COPY if available) instead of MAP_SHARED.

17 years ago.
roland [Thu, 22 Aug 2002 07:22:03 +0000 (07:22 +0000)]
.

17 years ago2002-08-22 Roland McGrath <roland@redhat.com>
roland [Thu, 22 Aug 2002 07:21:49 +0000 (07:21 +0000)]
2002-08-22  Roland McGrath  <roland@redhat.com>

* scripts/firstversions.awk: When encountering a version newer than
the specified earliest version, be sure to emit the specified earliest
version first if any renaming of an older version to that has been.

17 years ago.
roland [Thu, 22 Aug 2002 00:13:04 +0000 (00:13 +0000)]
.

17 years ago2002-08-21 Roland McGrath <roland@redhat.com>
roland [Thu, 22 Aug 2002 00:12:49 +0000 (00:12 +0000)]
2002-08-21  Roland McGrath  <roland@redhat.com>

* td_thr_tls_get_addr.c (td_thr_tls_get_addr): __attribute_used__ ->
__attribute__ ((unused)) for arguments.

17 years ago.
roland [Thu, 22 Aug 2002 00:11:48 +0000 (00:11 +0000)]
.

17 years ago2002-08-21 Roland McGrath <roland@redhat.com>
roland [Thu, 22 Aug 2002 00:11:24 +0000 (00:11 +0000)]
2002-08-21  Roland McGrath  <roland@redhat.com>

* configure.in: Make GCC version check require 3.[2-9]* and no others.
* configure: Regenerated.
* manual/install.texi (Tools for Compilation): Say 3.2 is required.
(Configuring and compiling): Don't mention older GCC versions any more.
* INSTALL: Regenerated.

17 years ago2002-08-21 Roland McGrath <roland@redhat.com>
roland [Thu, 22 Aug 2002 00:09:34 +0000 (00:09 +0000)]
2002-08-21  Roland McGrath  <roland@redhat.com>

* configure.in: Make GCC version check require 3.[2-9]* and no others.
* configure: Regenerated.
* manual/install.texi (Tools for Compilation): Say 3.2 is required.
(Configuring and compiling): Don't mention older GCC versions any more.

17 years ago2002-08-21 Roland McGrath <roland@redhat.com>
roland [Thu, 22 Aug 2002 00:09:29 +0000 (00:09 +0000)]
2002-08-21  Roland McGrath  <roland@redhat.com>

* configure.in: Make GCC version check require 3.[2-9]* and no others.
* configure: Regenerated.
* manual/install.texi (Tools for Compilation): Say 3.2 is required.
(Configuring and compiling): Don't mention older GCC versions any more.
* manual/install.texi (Configuring and compiling, Installation,
Running make install, Linux): Linux -> GNU/Linux where appropriate.

17 years ago2002-08-21 Roland McGrath <roland@redhat.com>
roland [Thu, 22 Aug 2002 00:09:26 +0000 (00:09 +0000)]
2002-08-21  Roland McGrath  <roland@redhat.com>

* elf/rtld.c (_dl_start_final): Move defn before _dl_start so it can
be inlined.  Declare it with always_inline if [DONT_USE_BOOTSTRAP_MAP]
and with noinline otherwise.  Remove hack alloca use to prevent
inlining, we can ask for it explicitly nowadays.

17 years agoUpdate.
drepper [Wed, 21 Aug 2002 23:28:24 +0000 (23:28 +0000)]
Update.

17 years ago.
roland [Wed, 21 Aug 2002 23:04:01 +0000 (23:04 +0000)]
.

17 years ago2002-08-21 Roland McGrath <roland@redhat.com>
roland [Wed, 21 Aug 2002 23:03:46 +0000 (23:03 +0000)]
2002-08-21  Roland McGrath  <roland@redhat.com>

* dlfcn/bug-dlsym1.c: New file.
* dlfcn/bug-dlsym1-lib1.c, dlfcn/bug-dlsym1-lib2.c: New files.
* dlfcn/Makefile (distribute): Add them.
(tests): Add bug-dlsym1 here.
(modules-names): Add bug-dlsym1-lib1 and bug-dlsym1-lib2 here.
($(objpfx)bug-dlsym1, $(objpfx)bug-dlsym1.out): New targets.
($(objpfx)bug-dlsym1-lib1.so, $(objpfx)bug-dlsym1-lib2.so): Likewise.

17 years agoUpdate.
drepper [Wed, 21 Aug 2002 23:01:40 +0000 (23:01 +0000)]
Update.

17 years ago(start_time): New global variable. Moved from _dl_start.
drepper [Wed, 21 Aug 2002 23:00:30 +0000 (23:00 +0000)]
(start_time): New global variable.  Moved from _dl_start.
(DONT_USE_BOOTSTRAP_MAP): Define if we can use non-exported symbols
before relocation.
(_dl_start): Don't use local bootstrap_map variable if
DONT_USE_BOOTSTRAP_MAP is defined.  Use GL(dl_rtld_map).  Don't
pass bootstrap_map to _dl_start_final in this case either.  Don't
pass start_time to _dl_start_final ever.
(_dl_start_final): Don't copy bootstrap_map of DONT_USE_BOOTSTRAP_MAP.

17 years agoUpdate.
drepper [Wed, 21 Aug 2002 22:53:06 +0000 (22:53 +0000)]
Update.

17 years agoUpdate.
drepper [Wed, 21 Aug 2002 22:48:22 +0000 (22:48 +0000)]
Update.

17 years ago(_dl_map_object_deps): Revert patch from 2002-05-28. This cripples
drepper [Wed, 21 Aug 2002 22:36:32 +0000 (22:36 +0000)]
(_dl_map_object_deps): Revert patch from 2002-05-28.  This cripples
the scope lists necessary to search for symbols in dependencies which
are not in the global scope.

17 years agoUpdate.
aj [Wed, 21 Aug 2002 12:44:11 +0000 (12:44 +0000)]
Update.

17 years agoFix assembler
aj [Wed, 21 Aug 2002 12:38:20 +0000 (12:38 +0000)]
Fix assembler

17 years agoUpdate.
drepper [Wed, 21 Aug 2002 11:04:22 +0000 (11:04 +0000)]
Update.

17 years ago(TLS_SETUP_GS_SEGMENT): Add new parameter also to the third definition
drepper [Wed, 21 Aug 2002 11:02:31 +0000 (11:02 +0000)]
(TLS_SETUP_GS_SEGMENT): Add new parameter also to the third definition
of this macro.

17 years agoUpdate.
drepper [Wed, 21 Aug 2002 08:14:07 +0000 (08:14 +0000)]
Update.

17 years agoUpdate.
aj [Wed, 21 Aug 2002 08:09:34 +0000 (08:09 +0000)]
Update.

17 years ago(CFLAGS-pt-initfini.s): Set it.
aj [Wed, 21 Aug 2002 08:09:19 +0000 (08:09 +0000)]
(CFLAGS-pt-initfini.s): Set it.

17 years ago(__libc_longjmp): Add declaration.
drepper [Wed, 21 Aug 2002 08:08:03 +0000 (08:08 +0000)]
(__libc_longjmp): Add declaration.

17 years agoGenerate bits/syscall.h with biarch support.
aj [Wed, 21 Aug 2002 08:06:35 +0000 (08:06 +0000)]
Generate bits/syscall.h with biarch support.

17 years agoUpdate.
aj [Wed, 21 Aug 2002 07:57:48 +0000 (07:57 +0000)]
Update.

17 years ago(sysdep_routines): Add _mcount.
aj [Wed, 21 Aug 2002 07:54:22 +0000 (07:54 +0000)]
(sysdep_routines): Add _mcount.

17 years ago(CALL_MCOUNT): Fix it.
aj [Wed, 21 Aug 2002 07:54:15 +0000 (07:54 +0000)]
(CALL_MCOUNT): Fix it.

17 years agox86-64 mcount implementation
aj [Wed, 21 Aug 2002 07:52:27 +0000 (07:52 +0000)]
x86-64 mcount implementation

17 years agoUpdate.
drepper [Wed, 21 Aug 2002 02:35:30 +0000 (02:35 +0000)]
Update.

17 years agoGo back to using 16-bit instructions when loading/reading segment
drepper [Wed, 21 Aug 2002 02:32:59 +0000 (02:32 +0000)]
Go back to using 16-bit instructions when loading/reading segment
registers.  Some old hardware doesn't handle the 32-bit instructions
as expected.

17 years agoGo back to using 16-bit instructions when loading/reading segment
drepper [Wed, 21 Aug 2002 02:32:18 +0000 (02:32 +0000)]
Go back to using 16-bit instructions when loading/reading segment
registers.  Some old hardware doesn't handle the 32-bit instructions
as expected.

17 years agoUpdate.
drepper [Wed, 21 Aug 2002 00:17:09 +0000 (00:17 +0000)]
Update.

17 years ago(__libc_setup_tls): Pass 0 to TL_INIT_TP.
drepper [Wed, 21 Aug 2002 00:15:30 +0000 (00:15 +0000)]
(__libc_setup_tls): Pass 0 to TL_INIT_TP.