1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

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.
This commit is contained in:
Roland McGrath
1996-07-08 06:17:09 +00:00
parent 467ab24791
commit 0676b5fdca
4 changed files with 5 additions and 6 deletions

View File

@ -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__ ();