kopensolaris-gnu/glibc.git
15 years agoWrapper around <rpcsvc/yp.h> header.
drepper [Sun, 24 Oct 2004 21:27:26 +0000 (21:27 +0000)]
Wrapper around <rpcsvc/yp.h> header.

15 years agoWrapper aorund <pty.h> header.
drepper [Sun, 24 Oct 2004 21:26:42 +0000 (21:26 +0000)]
Wrapper aorund <pty.h> header.

15 years agoAdd libnss_nisplus_hidden_def.
drepper [Sun, 24 Oct 2004 21:23:20 +0000 (21:23 +0000)]
Add libnss_nisplus_hidden_def.

15 years agoAdd libnss_nisplus_hidden_proto for parsers.
drepper [Sun, 24 Oct 2004 21:22:48 +0000 (21:22 +0000)]
Add libnss_nisplus_hidden_proto for parsers.

15 years agoAdd libutil_hidden_def.
drepper [Sun, 24 Oct 2004 21:20:21 +0000 (21:20 +0000)]
Add libutil_hidden_def.

15 years agoAdd libutil_hidden_proto for login_tty.
drepper [Sun, 24 Oct 2004 21:19:47 +0000 (21:19 +0000)]
Add libutil_hidden_proto for login_tty.

15 years agoDefine hidden attribute macros for libnss_nisplus and libutil.
drepper [Sun, 24 Oct 2004 21:17:08 +0000 (21:17 +0000)]
Define hidden attribute macros for libnss_nisplus and libutil.

15 years agoUpdate.
drepper [Sun, 24 Oct 2004 20:29:20 +0000 (20:29 +0000)]
Update.

15 years agoAdd libnsl_hidden_def. Minor optimizations.
drepper [Sun, 24 Oct 2004 20:28:28 +0000 (20:28 +0000)]
Add libnsl_hidden_def.  Minor optimizations.

15 years agoUse libnsl_hidden_proto for various functions.
drepper [Sun, 24 Oct 2004 20:25:25 +0000 (20:25 +0000)]
Use libnsl_hidden_proto for various functions.

15 years agoDefine hidden attribute macros for libnsl.
drepper [Sun, 24 Oct 2004 20:24:30 +0000 (20:24 +0000)]
Define hidden attribute macros for libnsl.

15 years agoAncient files moved to ports repository
roland [Sun, 24 Oct 2004 19:23:38 +0000 (19:23 +0000)]
Ancient files moved to ports repository

15 years agoUpdate.
drepper [Sun, 24 Oct 2004 09:20:14 +0000 (09:20 +0000)]
Update.

15 years ago(send_dg): Cope with failures.
drepper [Sun, 24 Oct 2004 09:14:41 +0000 (09:14 +0000)]
(send_dg): Cope with failures.

15 years agoUpdate.
drepper [Sun, 24 Oct 2004 09:06:50 +0000 (09:06 +0000)]
Update.

15 years agoUse hidden_def in parser definitions instead of libc_hidden_def.
drepper [Sun, 24 Oct 2004 09:06:12 +0000 (09:06 +0000)]
Use hidden_def in parser definitions instead of libc_hidden_def.

15 years agoAdd libnss_files_hidden_def to _nss_netgroup_parseline definition.
drepper [Sun, 24 Oct 2004 09:05:12 +0000 (09:05 +0000)]
Add libnss_files_hidden_def to _nss_netgroup_parseline definition.

15 years agoUse libnss_files_hidden_proto for the parsers defined in libnss_files,
drepper [Sun, 24 Oct 2004 09:04:33 +0000 (09:04 +0000)]
Use libnss_files_hidden_proto for the parsers defined in libnss_files,
not libc_hidden_proto.

15 years agoDefine hidden attribute macros for libnss_files.
drepper [Sun, 24 Oct 2004 09:04:03 +0000 (09:04 +0000)]
Define hidden attribute macros for libnss_files.

15 years ago.
roland [Sun, 24 Oct 2004 01:59:26 +0000 (01:59 +0000)]
.

15 years ago2004-10-23 Roland McGrath <roland@frob.com>
roland [Sun, 24 Oct 2004 01:59:16 +0000 (01:59 +0000)]
2004-10-23  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Don't return early
after an RPC succeeds.

15 years agoMoved ancient files to ports repository
roland [Sat, 23 Oct 2004 21:38:39 +0000 (21:38 +0000)]
Moved ancient files to ports repository

15 years agoMoved tahoe files to ports repository
roland [Sat, 23 Oct 2004 21:03:01 +0000 (21:03 +0000)]
Moved tahoe files to ports repository

15 years agoMoved vax files to ports repository
roland [Sat, 23 Oct 2004 20:39:10 +0000 (20:39 +0000)]
Moved vax files to ports repository

15 years ago.
roland [Sat, 23 Oct 2004 20:10:46 +0000 (20:10 +0000)]
.

15 years ago2004-10-22 Roland McGrath <roland@frob.com>
roland [Sat, 23 Oct 2004 20:10:40 +0000 (20:10 +0000)]
2004-10-22  Roland McGrath  <roland@frob.com>

* Makefile (%.bz2, %.gz): Move these pattern rules ...
* Makerules: ... to here.

15 years agoUpdate.
drepper [Sat, 23 Oct 2004 08:22:29 +0000 (08:22 +0000)]
Update.

15 years ago(send_dg): Combine write and read to socket into one loop.
drepper [Sat, 23 Oct 2004 08:21:51 +0000 (08:21 +0000)]
(send_dg): Combine write and read to socket into one loop.

15 years agoUpdate.
drepper [Sat, 23 Oct 2004 06:45:30 +0000 (06:45 +0000)]
Update.

15 years agoRemove compatibility code which is unused in glibc and probably bitrotten.
drepper [Sat, 23 Oct 2004 06:12:20 +0000 (06:12 +0000)]
Remove compatibility code which is unused in glibc and probably bitrotten.

15 years ago.
roland [Sat, 23 Oct 2004 02:52:41 +0000 (02:52 +0000)]
.

15 years ago2001-10-31 Alexandre Oliva <aoliva@redhat.com>
roland [Sat, 23 Oct 2004 02:52:29 +0000 (02:52 +0000)]
2001-10-31  Alexandre Oliva  <aoliva@redhat.com>

* elf/elf.h: Add R_MN10300_* relocation numbers.

15 years ago.
roland [Fri, 22 Oct 2004 22:24:08 +0000 (22:24 +0000)]
.

15 years ago2004-10-22 Paul Eggert <eggert@cs.ucla.edu>
roland [Fri, 22 Oct 2004 22:24:04 +0000 (22:24 +0000)]
2004-10-22  Paul Eggert  <eggert@cs.ucla.edu>

[BZ #471] Fix imported from gnulib.
* time/mktime.c (leapyear, ydms_tm_diff): Year is of type
long int, not int, to avoid problems when tm_year == INT_MAX
and tm_mon > 12.
(__mktime_intenral): Compute year using long int arithmetic,
not int arithmetic, to avoid problems on hosts where time_t
and long are 64 bits but int is 32.

15 years ago.
roland [Fri, 22 Oct 2004 22:21:36 +0000 (22:21 +0000)]
.

15 years ago2004-10-22 Paul Eggert <eggert@cs.ucla.edu>
roland [Fri, 22 Oct 2004 22:21:25 +0000 (22:21 +0000)]
2004-10-22  Paul Eggert  <eggert@cs.ucla.edu>

[BZ #468] Import a fix from gnulib.
* time/mktime.c [! DEBUG]: Do not include <string.h>.
It's needed only if DEBUG is nonzero.

15 years ago.
roland [Fri, 22 Oct 2004 22:17:48 +0000 (22:17 +0000)]
.

15 years ago2004-10-22 Paul Eggert <eggert@cs.ucla.edu>
roland [Fri, 22 Oct 2004 22:17:42 +0000 (22:17 +0000)]
2004-10-22  Paul Eggert  <eggert@cs.ucla.edu>

[BZ #470] Import fix from gnulib.
* time/mktime.c [!_LIBC] (__mktime_internal): Define to
mktime_internal, to avoid clashes with any __mktime_internal
function defined in the standard library.

15 years ago.
roland [Fri, 22 Oct 2004 22:15:54 +0000 (22:15 +0000)]
.

15 years ago2004-10-22 Paul Eggert <eggert@cs.ucla.edu>
roland [Fri, 22 Oct 2004 22:15:41 +0000 (22:15 +0000)]
2004-10-22  Paul Eggert  <eggert@cs.ucla.edu>

[BZ #469] Imported from gnulib.
* time/mktime.c (__isleap): Remove; all uses replaced by:
(leapyear): New function, which avoids overflow by not adding
1900 to year before testing whether it is a leap year.

15 years ago.
roland [Fri, 22 Oct 2004 22:11:00 +0000 (22:11 +0000)]
.

15 years ago2004-10-22 Paul Eggert <eggert@cs.ucla.edu>
roland [Fri, 22 Oct 2004 22:10:39 +0000 (22:10 +0000)]
2004-10-22  Paul Eggert  <eggert@cs.ucla.edu>

[BZ #472] Imported from gnulib.
* time/mktime.c (Local Variables): Remove -DHAVE_TIME_R_POSIX;
no longer used.

15 years agoUpdate.
drepper [Fri, 22 Oct 2004 21:08:43 +0000 (21:08 +0000)]
Update.

15 years agoRemove __THROW from backtrace prototype.
drepper [Fri, 22 Oct 2004 21:07:57 +0000 (21:07 +0000)]
Remove __THROW from backtrace prototype.

15 years ago(CFLAGS-backtrace.c): Add -fexceptions.
drepper [Fri, 22 Oct 2004 21:06:19 +0000 (21:06 +0000)]
(CFLAGS-backtrace.c): Add -fexceptions.

15 years agoInclude <bits/libc-lock.h>, <dlfcn.h>,
drepper [Fri, 22 Oct 2004 21:05:47 +0000 (21:05 +0000)]
Include <bits/libc-lock.h>, <dlfcn.h>,
<stdlib.h> and <unwind.h>.  Remove <bp-checks.h> include.
(struct trace_arg): New type.
(unwind_backtrace, unwind_getip, unwind_getcfa, unwind_getgr): New
fn pointers resp. macros.
(init, backtrace_helper): New functions.
(__backtrace): Rewritten to use _Unwind_Backtrace first and fall
back to frame pointer walking.

15 years agoUpdate.
drepper [Fri, 22 Oct 2004 19:58:34 +0000 (19:58 +0000)]
Update.

15 years agoThaings are still in flux, it seems.
drepper [Fri, 22 Oct 2004 19:57:45 +0000 (19:57 +0000)]
Thaings are still in flux, it seems.

15 years agoUpdate.
drepper [Fri, 22 Oct 2004 06:27:54 +0000 (06:27 +0000)]
Update.

15 years ago(execvp): Also ignore ENODEV and ETIMEDOUT errno values.
drepper [Fri, 22 Oct 2004 06:01:25 +0000 (06:01 +0000)]
(execvp): Also ignore ENODEV and ETIMEDOUT errno values.

15 years agoUpdate.
drepper [Thu, 21 Oct 2004 09:00:31 +0000 (09:00 +0000)]
Update.

15 years ago(__lll_mutex_timedlock_wait): If woken but cannot get the lock,
drepper [Thu, 21 Oct 2004 08:59:36 +0000 (08:59 +0000)]
(__lll_mutex_timedlock_wait): If woken but cannot get the lock,
make sure 2 is stored in the futex and we looked at the old value.
Fix a few other problems to return the correct value.

15 years ago. fedora-glibc-20041021T0701
roland [Thu, 21 Oct 2004 01:29:31 +0000 (01:29 +0000)]
.

15 years ago2004-10-20 Roland McGrath <roland@redhat.com>
roland [Thu, 21 Oct 2004 01:29:26 +0000 (01:29 +0000)]
2004-10-20  Roland McGrath  <roland@redhat.com>

* Makeconfig ($(common-objpfx)soversions.i): Replace shell loop with
use of ...
* scripts/soversions.awk: ... this new file.  Collect lib info and
match any DEFAULT line before emitting anything, so DEFAULT can come
later in the concatenation of shlib-versions files.

15 years ago2004-10-20 Roland McGrath <roland@redhat.com>
roland [Thu, 21 Oct 2004 01:29:24 +0000 (01:29 +0000)]
2004-10-20  Roland McGrath  <roland@redhat.com>

* Makeconfig ($(common-objpfx)shlib-versions.v.i): Check also
$(config-sysdirs) for shlib-versions files.
* Makeconfig ($(common-objpfx)soversions.i): Replace shell loop with
use of ...
* scripts/soversions.awk: ... this new file.  Collect lib info and
match any DEFAULT line before emitting anything, so DEFAULT can come
later in the concatenation of shlib-versions files.

15 years ago. fedora-glibc-20041020T1016
roland [Wed, 20 Oct 2004 10:05:07 +0000 (10:05 +0000)]
.

15 years ago2004-10-20 Roland McGrath <roland@redhat.com>
roland [Wed, 20 Oct 2004 10:05:00 +0000 (10:05 +0000)]
2004-10-20  Roland McGrath  <roland@redhat.com>

* manual/errno.texi (Error Codes): Add ENOKEY, EKEYEXPIRED,
EKEYREVOKED, EKEYREJECTED.
* sysdeps/unix/sysv/linux/Versions (libc: GLIBC_2.3.4): New errlist.
* sysdeps/gnu/errlist.c: Regenerated

15 years ago2004-10-20 Roland McGrath <roland@redhat.com>
roland [Wed, 20 Oct 2004 10:04:57 +0000 (10:04 +0000)]
2004-10-20  Roland McGrath  <roland@redhat.com>

* sysdeps/gnu/errlist-compat.awk: Don't bail if Versions gives a count
higher than ERR_MAX reports.  Instead, emit a #define ERR_MAX.
* sysdeps/gnu/Makefile ($(objpfx)errlist-compat.h): New target.
(generated): Add errlist-compat.h.
* sysdeps/gnu/errlist.awk: Make output #include <errlist-compat.h> to
define ERR_MAX and use that for table size.

15 years agoUpdate.
drepper [Wed, 20 Oct 2004 07:09:15 +0000 (07:09 +0000)]
Update.

15 years agoExport setaltroot, key_add, key_request, and keyctl syscalls.
drepper [Wed, 20 Oct 2004 07:07:32 +0000 (07:07 +0000)]
Export setaltroot, key_add, key_request, and keyctl syscalls.

15 years agoAdd entries for setaltroot, key_add, key_request, and keyctl syscalls.
drepper [Wed, 20 Oct 2004 07:06:58 +0000 (07:06 +0000)]
Add entries for setaltroot, key_add, key_request, and keyctl syscalls.

15 years agoRegenerated from ../sysdeps/gnu/errlist.awk ../manual/errno.texi
drepper [Wed, 20 Oct 2004 07:00:30 +0000 (07:00 +0000)]
Regenerated from ../sysdeps/gnu/errlist.awk ../manual/errno.texi

15 years ago.
roland [Wed, 20 Oct 2004 06:43:19 +0000 (06:43 +0000)]
.

15 years ago2004-10-19 Roland McGrath <roland@frob.com>
roland [Wed, 20 Oct 2004 06:43:15 +0000 (06:43 +0000)]
2004-10-19  Roland McGrath  <roland@frob.com>

* sysdeps/mach/readonly-area.c: New file.

15 years agoRegenerated from ../sysdeps/gnu/errlist.awk ../manual/errno.texi
drepper [Wed, 20 Oct 2004 06:29:15 +0000 (06:29 +0000)]
Regenerated from ../sysdeps/gnu/errlist.awk ../manual/errno.texi

15 years agotypo
roland [Wed, 20 Oct 2004 06:20:16 +0000 (06:20 +0000)]
typo

15 years agoUpdate.
drepper [Tue, 19 Oct 2004 22:21:46 +0000 (22:21 +0000)]
Update.

15 years ago[ld, GLIBC_PRIVATE]: Add _dl_debug_state.
drepper [Tue, 19 Oct 2004 22:20:33 +0000 (22:20 +0000)]
[ld, GLIBC_PRIVATE]: Add _dl_debug_state.

15 years ago(_dl_debug_state): Add rtld_hidden_def.
drepper [Tue, 19 Oct 2004 22:19:58 +0000 (22:19 +0000)]
(_dl_debug_state): Add rtld_hidden_def.

15 years ago(_dl_debug_state): Don't maek as hidden but use rtld_hidden_proto.
drepper [Tue, 19 Oct 2004 22:19:17 +0000 (22:19 +0000)]
(_dl_debug_state): Don't maek as hidden but use rtld_hidden_proto.

15 years agoUpdate.
drepper [Tue, 19 Oct 2004 21:45:14 +0000 (21:45 +0000)]
Update.

15 years ago(__readonly_str): Renamed to ...
drepper [Tue, 19 Oct 2004 21:44:30 +0000 (21:44 +0000)]
(__readonly_str): Renamed to ...
(__readonly_area): ... this.

15 years agoUpdate.
drepper [Tue, 19 Oct 2004 21:21:42 +0000 (21:21 +0000)]
Update.

15 years ago(__strcpy_chk): Speed up by checking destlen only every 4 bytes.
drepper [Tue, 19 Oct 2004 21:21:03 +0000 (21:21 +0000)]
(__strcpy_chk): Speed up by checking destlen only every 4 bytes.

15 years agoUpdate.
drepper [Tue, 19 Oct 2004 21:11:32 +0000 (21:11 +0000)]
Update.

15 years ago(hosts_keys): Let inet_pton decide whether the string is an address or not.
drepper [Tue, 19 Oct 2004 21:10:56 +0000 (21:10 +0000)]
(hosts_keys): Let inet_pton decide whether the string is an address or not.

15 years agoUpdate.
drepper [Tue, 19 Oct 2004 16:44:56 +0000 (16:44 +0000)]
Update.

15 years ago(_dl_addr): Don't look at STT_TLS symbols.
drepper [Tue, 19 Oct 2004 16:44:19 +0000 (16:44 +0000)]
(_dl_addr): Don't look at STT_TLS symbols.
Use DL_SYMBOL_ADDRESS to set dli_saddr.

15 years agoUpdate.
drepper [Tue, 19 Oct 2004 16:05:21 +0000 (16:05 +0000)]
Update.

15 years ago(catchsegv): Prefix $LIB with a backslash.
drepper [Tue, 19 Oct 2004 16:04:30 +0000 (16:04 +0000)]
(catchsegv): Prefix $LIB with a backslash.

15 years ago.
drepper [Tue, 19 Oct 2004 10:42:59 +0000 (10:42 +0000)]
.

15 years agoUpdate.
drepper [Tue, 19 Oct 2004 10:36:18 +0000 (10:36 +0000)]
Update.

15 years ago($(objpfx)catchsegv): To support multilib platforms, use $LIB in path
drepper [Tue, 19 Oct 2004 10:35:25 +0000 (10:35 +0000)]
($(objpfx)catchsegv): To support multilib platforms, use $LIB in path
to slibdir.

15 years agoUpdate copyright year.
drepper [Tue, 19 Oct 2004 10:34:20 +0000 (10:34 +0000)]
Update copyright year.
Use mktemp to create segv_output file.

15 years ago.
roland [Tue, 19 Oct 2004 05:13:11 +0000 (05:13 +0000)]
.

15 years ago2004-10-18 Roland McGrath <roland@redhat.com>
roland [Tue, 19 Oct 2004 05:12:58 +0000 (05:12 +0000)]
2004-10-18  Roland McGrath  <roland@redhat.com>

[BZ #406]
* Makefile (linuxthreads-CPPFLAGS): New variable;
adds -DIS_IN_linuxthreads=1.
* sysdeps/i386/tls.h: Protect "useldt.h" with
[!IS_IN_linuxthreads && !DO_MODIFY_LDT].
* sysdeps/i386/i686/pt-machine.h: Revert last change.

15 years agoUpdate. fedora-glibc-20041018T2320
drepper [Mon, 18 Oct 2004 23:17:46 +0000 (23:17 +0000)]
Update.

15 years ago(_dl_open_hook): Extern decl.
drepper [Mon, 18 Oct 2004 23:15:33 +0000 (23:15 +0000)]
(_dl_open_hook): Extern decl.
(ptmalloc_init): Don't call _dl_addr when dlopened from statically
linked programs but don't use brk for them either.

15 years agoDefine libdl_hidden_proto and friends.
drepper [Mon, 18 Oct 2004 23:15:10 +0000 (23:15 +0000)]
Define libdl_hidden_proto and friends.

15 years ago(DL_CALLER_DECL, DL_CALLER RETURN_ADDRESS): Define.
drepper [Mon, 18 Oct 2004 23:14:40 +0000 (23:14 +0000)]
(DL_CALLER_DECL, DL_CALLER RETURN_ADDRESS): Define.
(struct dlfcn_hook): New type.
(_dlfcn_hook): New extern decl.
(__dlopen, __dlclose, __dlsym, __dlerror, __dladdr, __dladdr1,
__dlinfo, __dlmopen, __libc_dlsym_private,
__libc_register_dl_open_hook, __libc_register_dlfcn_hook): New
prototypes.
(__dlvsym): Use DL_CALLER_DECL.

15 years ago(libdl): Export _dlfcn_hook@GLIBC_PRIVATE.
drepper [Mon, 18 Oct 2004 23:14:12 +0000 (23:14 +0000)]
(libdl): Export _dlfcn_hook@GLIBC_PRIVATE.

15 years agoDynamic linking in static code support.
drepper [Mon, 18 Oct 2004 23:13:03 +0000 (23:13 +0000)]
Dynamic linking in static code support.

15 years agoCall _dlfcn_hook from libdl.so if not NULL.
drepper [Mon, 18 Oct 2004 23:11:49 +0000 (23:11 +0000)]
Call _dlfcn_hook from libdl.so if not NULL.
Define __ prefixed routine in libc.a and in libdl.a just call it.

15 years agoTesting dynamic loading in statically linked code.
drepper [Mon, 18 Oct 2004 23:10:22 +0000 (23:10 +0000)]
Testing dynamic loading in statically linked code.

15 years ago(routines, elide-routines.os): Set. Add rules to build and test
drepper [Mon, 18 Oct 2004 23:08:31 +0000 (23:08 +0000)]
(routines, elide-routines.os): Set.  Add rules to build and test
tststatic2.

15 years ago(__libc_dlsym_private, __libc_register_dl_open_hook): New functions.
drepper [Mon, 18 Oct 2004 23:07:59 +0000 (23:07 +0000)]
(__libc_dlsym_private, __libc_register_dl_open_hook): New functions.
(__libc_dlopen_mode): Call __libc_register_dl_open_hook and
__libc_register_dlfcn_hook.

15 years ago.
roland [Mon, 18 Oct 2004 18:54:06 +0000 (18:54 +0000)]
.

15 years ago2004-10-18 Roland McGrath <roland@redhat.com>
roland [Mon, 18 Oct 2004 18:53:53 +0000 (18:53 +0000)]
2004-10-18  Roland McGrath  <roland@redhat.com>

* dlfcn/bug-dlsym1.c (main): Remove bogus setenv call.

15 years agoUpdate.
drepper [Mon, 18 Oct 2004 15:44:52 +0000 (15:44 +0000)]
Update.

15 years ago(dl_open_worker): Avoid dereferencing map in statically linked code if
drepper [Mon, 18 Oct 2004 15:37:14 +0000 (15:37 +0000)]
(dl_open_worker): Avoid dereferencing map in statically linked code if
there might none be found.