| Jeff Dike | c5d4bb1 | 2008-02-04 22:31:14 -0800 | [diff] [blame] | 1 | /* | 
|  | 2 | * Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3 | * Licensed under the GPL | 
|  | 4 | */ | 
|  | 5 |  | 
|  | 6 | #include "linux/module.h" | 
|  | 7 |  | 
| Jeff Dike | 09b185a | 2006-09-27 01:50:36 -0700 | [diff] [blame] | 8 | extern void __bb_init_func(void *)  __attribute__((weak)); | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 9 | EXPORT_SYMBOL(__bb_init_func); | 
|  | 10 |  | 
| Jeff Dike | c5d4bb1 | 2008-02-04 22:31:14 -0800 | [diff] [blame] | 11 | /* | 
|  | 12 | * This is defined (and referred to in profiling stub code) only by some GCC | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | * versions in libgcov. | 
|  | 14 | * | 
|  | 15 | * Since SuSE backported the fix, we cannot handle it depending on GCC version. | 
| Jeff Dike | c5d4bb1 | 2008-02-04 22:31:14 -0800 | [diff] [blame] | 16 | * So, unconditionally export it. But also give it a weak declaration, which | 
|  | 17 | * will be overridden by any other one. | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 | */ | 
|  | 19 |  | 
|  | 20 | extern void __gcov_init(void *) __attribute__((weak)); | 
|  | 21 | EXPORT_SYMBOL(__gcov_init); | 
|  | 22 |  | 
|  | 23 | extern void __gcov_merge_add(void *) __attribute__((weak)); | 
|  | 24 | EXPORT_SYMBOL(__gcov_merge_add); |