From 15a7702daabad96042e780ff545da1e360b98ead Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 13 Mar 2002 03:49:52 +0000 Subject: [PATCH] (__libc_multiple_libcs): Define as hidden. --- sysdeps/arm/init-first.c | 4 ++-- sysdeps/mach/hurd/mips/init-first.c | 2 +- sysdeps/unix/sysv/aix/init-first.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sysdeps/arm/init-first.c b/sysdeps/arm/init-first.c index 6856314..652cf95 100644 --- a/sysdeps/arm/init-first.c +++ b/sysdeps/arm/init-first.c @@ -1,5 +1,5 @@ /* Initialization code run first thing by the ELF startup code. For ARM. - Copyright (C) 1995, 1996, 1997, 1998, 2001 Free Software Foundation, Inc. + Copyright (C) 1995,1996,1997,1998,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 @@ -25,7 +25,7 @@ extern void __getopt_clean_environment (char **); #endif extern void __libc_global_ctors (void); -int __libc_multiple_libcs = 1; +int __libc_multiple_libcs attribute_hidden = 1; static void init (int *data) diff --git a/sysdeps/mach/hurd/mips/init-first.c b/sysdeps/mach/hurd/mips/init-first.c index dbcad4b..5adba3b 100644 --- a/sysdeps/mach/hurd/mips/init-first.c +++ b/sysdeps/mach/hurd/mips/init-first.c @@ -40,7 +40,7 @@ unsigned int __hurd_threadvar_max; unsigned long int __hurd_threadvar_stack_offset; unsigned long int __hurd_threadvar_stack_mask; -int __libc_multiple_libcs = 1; +int __libc_multiple_libcs attribute_hidden = 1; int __libc_argc attribute_hidden; char **__libc_argv attribute_hidden; diff --git a/sysdeps/unix/sysv/aix/init-first.c b/sysdeps/unix/sysv/aix/init-first.c index 7b4773b..4c6768b 100644 --- a/sysdeps/unix/sysv/aix/init-first.c +++ b/sysdeps/unix/sysv/aix/init-first.c @@ -42,7 +42,7 @@ weak_extern (_dl_starting_up) /* Set nonzero if we have to be prepared for more then one libc being used in the process. Safe assumption if initializer never runs. */ -int __libc_multiple_libcs = 1; +int __libc_multiple_libcs attribute_hidden = 1; /* Remember the command line argument and enviroment contents for later calls of initializers for dynamic libraries. */ -- 2.7.4