aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/kernel/gmon_syms.c
blob: 72eccd2a41132daae3d3dd746901f8535913e290 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
 * Licensed under the GPL
 */

#include "linux/module.h"

extern void __bb_init_func(void *)  __attribute__((weak));
EXPORT_SYMBOL(__bb_init_func);

/*
 * This is defined (and referred to in profiling stub code) only by some GCC
 * versions in libgcov.
 *
 * Since SuSE backported the fix, we cannot handle it depending on GCC version.
 * So, unconditionally export it. But also give it a weak declaration, which
 * will be overridden by any other one.
 */

extern void __gcov_init(void *) __attribute__((weak));
EXPORT_SYMBOL(__gcov_init);

extern void __gcov_merge_add(void *) __attribute__((weak));
EXPORT_SYMBOL(__gcov_merge_add);