diff options
author | Roland McGrath <roland@gnu.org> | 1996-07-08 06:17:09 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1996-07-08 06:17:09 +0000 |
commit | 0676b5fdca8d4f2a8dd442db4d50dc2c1ee8729f (patch) | |
tree | 2d06a28e869fac310c4cedef27e9b12255350bb6 /csu | |
parent | 467ab2479117aa161042aad4b29435b36c9e17dd (diff) | |
download | glibc-0676b5fdca8d4f2a8dd442db4d50dc2c1ee8729f.tar.gz glibc-0676b5fdca8d4f2a8dd442db4d50dc2c1ee8729f.tar.xz glibc-0676b5fdca8d4f2a8dd442db4d50dc2c1ee8729f.zip |
Mon Jul 8 00:11:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* libc-symbols.h (symbol_set_declare): Use weak_extern instead of weak_symbol. * csu/initfini.c (_init): Likewise. * locale/setlocale.c (DEFINE_CATEGORY): Likewise. * misc/efgcvt_r.c: Likewise. * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise. * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
Diffstat (limited to 'csu')
-rw-r--r-- | csu/initfini.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/csu/initfini.c b/csu/initfini.c index 8fe2368e36..28e822b38c 100644 --- a/csu/initfini.c +++ b/csu/initfini.c @@ -70,8 +70,7 @@ _init (void) gcrt1.o to reference a symbol which would be defined by some library module which has a constructor; but then user code's constructors would come first, and not be profiled. */ - extern void __gmon_start__ (void) __attribute__ ((weak)); - weak_symbol (__gmon_start__) + extern void __gmon_start__ (void); weak_extern (__gmon_start__) if (__gmon_start__) __gmon_start__ (); |