mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
update from main archive 960922
Sun Sep 22 15:18:41 1996 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/init-first.c: Define dummy function `_dl_start' so that linking fails if this file should ever be used in ld.so. * catgets/gencat.c (main): Change --version message according to RMS' last standard revision. * db/makedb.c: Likewise. * locale/programs/locale.c: Likewise. * locale/programs/localedef.c: Likewise. (__get_nproc_conf): New function.
This commit is contained in:
@ -87,3 +87,15 @@ __libc_init_first (void)
|
||||
SYSDEP_CALL_INIT(__libc_init_first, init);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
/* This function is defined here so that if this file ever gets into
|
||||
ld.so we will get a link error. Having this file silently included
|
||||
in ld.so causes disaster, because the _init definition above will
|
||||
cause ld.so to gain an init function, which is not a cool thing. */
|
||||
|
||||
void
|
||||
_dl_start ()
|
||||
{
|
||||
abort ();
|
||||
}
|
||||
|
Reference in New Issue
Block a user