diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-05-21 19:38:39 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-05-21 19:38:39 +0000 |
commit | 6d1d0720b1b9172bc29a6bce9e2ea5577df4796c (patch) | |
tree | c5745138707cb392909347d81927054b6df8d4d8 | |
parent | 2e1198646d3beea12bf94f9eca147b4378c65e70 (diff) | |
download | glibc-6d1d0720b1b9172bc29a6bce9e2ea5577df4796c.zip glibc-6d1d0720b1b9172bc29a6bce9e2ea5577df4796c.tar.gz glibc-6d1d0720b1b9172bc29a6bce9e2ea5577df4796c.tar.bz2 |
Update.
2003-05-21 Ulrich Drepper <drepper@redhat.com>
* csu/elf-init.c: Mark __preinit_array_start, __preinit_array_end,
__init_array_start, __init_array_end, __fini_array_start, and
__fini_array_end as hidden.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | csu/elf-init.c | 14 |
2 files changed, 13 insertions, 7 deletions
@@ -1,3 +1,9 @@ +2003-05-21 Ulrich Drepper <drepper@redhat.com> + + * csu/elf-init.c: Mark __preinit_array_start, __preinit_array_end, + __init_array_start, __init_array_end, __fini_array_start, and + __fini_array_end as hidden. + 2003-05-21 Petter Reinholdtsen <pere@hungry.com> * locale/programs/locale.c (main): Report an error if setlocale() diff --git a/csu/elf-init.c b/csu/elf-init.c index c28b73ca..f2af752 100644 --- a/csu/elf-init.c +++ b/csu/elf-init.c @@ -1,5 +1,5 @@ /* Startup support for ELF initializers/finalizers in the main executable. - Copyright (C) 2002 Free Software Foundation, Inc. + Copyright (C) 2002, 2003 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 @@ -21,12 +21,12 @@ #ifdef HAVE_INITFINI_ARRAY /* These magic symbols are provided by the linker. */ -extern void (*__preinit_array_start []) (void); -extern void (*__preinit_array_end []) (void); -extern void (*__init_array_start []) (void); -extern void (*__init_array_end []) (void); -extern void (*__fini_array_start []) (void); -extern void (*__fini_array_end []) (void); +extern void (*__preinit_array_start []) (void) attribute_hidden; +extern void (*__preinit_array_end []) (void) attribute_hidden; +extern void (*__init_array_start []) (void) attribute_hidden; +extern void (*__init_array_end []) (void) attribute_hidden; +extern void (*__fini_array_start []) (void) attribute_hidden; +extern void (*__fini_array_end []) (void) attribute_hidden; #endif /* These function symbols are provided for the .init/.fini section entry |