mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Update.
2002-02-23 Ulrich Drepper <drepper@redhat.com> * csu/set-init.c: Moved to... * sysdeps/mach/hurd/set-init.c: ...here. New file. * csu/Makefile: Don't compile set-init. * sysdeps/mach/hurd/Makefile: Compile set-init for subdir csu. * sysdeps/mach/hurd/i386/init-first.c: Call __init_misc in addition to __libc_init. * sysdeps/mach/hurd/mips/init-first.c: Likewise. * sysdeps/mach/hurd/powerpc/init-first.c: Likewise. * sysdeps/unix/sysv/linux/init-first.c: Call __init_misc instead of __libc_init. * misc/init-misc.c: Always export __init_misc. Don't define hooks for __libc_subinit.
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/* Initialization code run first thing by the ELF startup code. PowerPC/Hurd.
|
||||
Copyright (C) 1995,96,97,98,99,2000,01 Free Software Foundation, Inc.
|
||||
Copyright (C) 1995-2001, 2002 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -29,6 +29,7 @@
|
||||
|
||||
extern void __mach_init (void);
|
||||
extern void __libc_init (int, char **, char **);
|
||||
extern void __init_misc (int, char **, char **);
|
||||
#ifdef USE_NONOPTION_FLAGS
|
||||
extern void __getopt_clean_environment (char **);
|
||||
#endif
|
||||
@ -69,6 +70,7 @@ posixland_init (int argc, char **argv, char **envp)
|
||||
__libc_argv = argv;
|
||||
__environ = envp;
|
||||
|
||||
__init_misc (argc, argv, envp);
|
||||
__libc_init (argc, argv, envp);
|
||||
|
||||
#ifdef USE_NONOPTION_FLAGS
|
||||
|
Reference in New Issue
Block a user