blob: 72eccd2a41132daae3d3dd746901f8535913e290 [file] [log] [blame]
Jeff Dikec5d4bb12008-02-04 22:31:14 -08001/*
2 * Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
Linus Torvalds1da177e2005-04-16 15:20:36 -07003 * Licensed under the GPL
4 */
5
6#include "linux/module.h"
7
Jeff Dike09b185a2006-09-27 01:50:36 -07008extern void __bb_init_func(void *) __attribute__((weak));
Linus Torvalds1da177e2005-04-16 15:20:36 -07009EXPORT_SYMBOL(__bb_init_func);
10
Jeff Dikec5d4bb12008-02-04 22:31:14 -080011/*
12 * This is defined (and referred to in profiling stub code) only by some GCC
Linus Torvalds1da177e2005-04-16 15:20:36 -070013 * versions in libgcov.
14 *
15 * Since SuSE backported the fix, we cannot handle it depending on GCC version.
Jeff Dikec5d4bb12008-02-04 22:31:14 -080016 * So, unconditionally export it. But also give it a weak declaration, which
17 * will be overridden by any other one.
Linus Torvalds1da177e2005-04-16 15:20:36 -070018 */
19
20extern void __gcov_init(void *) __attribute__((weak));
21EXPORT_SYMBOL(__gcov_init);
22
23extern void __gcov_merge_add(void *) __attribute__((weak));
24EXPORT_SYMBOL(__gcov_merge_add);