gmon_syms.c 691 B

1234567891011121314151617181920212223
  1. /*
  2. * Copyright (C) 2001, 2002 Jeff Dike (jdike@karaya.com)
  3. * Licensed under the GPL
  4. */
  5. #include "linux/module.h"
  6. extern void __bb_init_func(void *) __attribute__((weak));
  7. EXPORT_SYMBOL(__bb_init_func);
  8. /* This is defined (and referred to in profiling stub code) only by some GCC
  9. * versions in libgcov.
  10. *
  11. * Since SuSE backported the fix, we cannot handle it depending on GCC version.
  12. * So, unconditinally export it. But also give it a weak declaration, which will
  13. * be overriden by any other one.
  14. */
  15. extern void __gcov_init(void *) __attribute__((weak));
  16. EXPORT_SYMBOL(__gcov_init);
  17. extern void __gcov_merge_add(void *) __attribute__((weak));
  18. EXPORT_SYMBOL(__gcov_merge_add);